Skip to content

Instantly share code, notes, and snippets.

View eemcmullan's full-sized avatar

Emily McMullan eemcmullan

  • Red Hat
View GitHub Profile
- message: all go files
ruleID: file-001
description: "Testing that we can get all the go files in the project"
links:
- title: "Golang"
url: "https://go.dev"
labels:
- "testing"
- "test"
category: potential
- message: python sample rule 001
ruleID: python-sample-rule-001
when:
python.referenced:
pattern: "hello_world"
- message: python sample rule 002
ruleID: python-sample-rule-002
when:
python.referenced:
pattern: "speak"
[root@f01-h07-000-r640 ~]# oc -n openshift-adp exec deployment/velero -c velero -it -- ./velero backup describe backup-test2 -n openshift-adp --details
Name: backup-test2
Namespace: openshift-adp
Labels: velero.io/storage-location=velero-sample-1
Annotations: velero.io/source-cluster-k8s-gitversion=v1.25.4+77bec7a
velero.io/source-cluster-k8s-major-version=1
velero.io/source-cluster-k8s-minor-version=25
Phase: WaitingForPluginOperations
This file has been truncated, but you can view the full file.
time="2023-03-22T15:36:56Z" level=info msg="setting log-level to INFO" logSource="pkg/cmd/server/server.go:187"
time="2023-03-22T15:36:56Z" level=info msg="Starting Velero server konveyor-dev (-)" logSource="pkg/cmd/server/server.go:189"
time="2023-03-22T15:36:56Z" level=info msg="1 feature flags enabled [EnableCSI]" logSource="pkg/cmd/server/server.go:191"
time="2023-03-22T15:36:56Z" level=info msg="registering plugin" command=/velero kind=BackupItemAction logSource="pkg/plugin/clientmgmt/process/registry.go:101" name=velero.io/crd-remap-version
time="2023-03-22T15:36:56Z" level=info msg="registering plugin" command=/velero kind=BackupItemAction logSource="pkg/plugin/clientmgmt/process/registry.go:101" name=velero.io/pod
time="2023-03-22T15:36:56Z" level=info msg="registering plugin" command=/velero kind=BackupItemAction logSource="pkg/plugin/clientmgmt/process/registry.go:101" name=velero.io/pv
time="2023-03-22T15:36:56Z" level=info msg="registering plugin" command=/velero kind=BackupItemAction logSource="p
group: auto_dealer_schema
Model = {
model_id:number, model_name:string, first_production_year:string
1,'Model1',"1985"
2,'Model2',"1987"
3,'2 Series',"1990"
4,'Focus',"1986"
5,'ModelX', "2000"
6,'GT4000', "2010"
// Program to install Velero in OpenShift cluster using the OADP operator
// Assumes the OADP operator is already install in cluster
// Creates Velero CR from operator to install
package main
import (
"context"
"fmt"
"log"