├── vendor ├── cel.dev │ └── expr │ │ ├── WORKSPACE.bzlmod │ │ ├── .gitignore │ │ ├── .bazelversion │ │ ├── .gitattributes │ │ ├── cloudbuild.yaml │ │ ├── regen_go_proto_canonical_protos.sh │ │ ├── regen_go_proto.sh │ │ └── MAINTAINERS.md ├── github.com │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── Gopkg.lock │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── go_below_118.go │ │ │ └── go_above_118.go │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ ├── log.go │ │ │ └── executor.go │ ├── emicklei │ │ └── go-restful │ │ │ └── v3 │ │ │ ├── .goconvey │ │ │ ├── Srcfile │ │ │ ├── coverage.sh │ │ │ ├── Makefile │ │ │ ├── .travis.yml │ │ │ ├── bench_test.sh │ │ │ └── SECURITY.md │ ├── robfig │ │ └── cron │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ └── .gitignore │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ ├── .golangci.yaml │ │ │ ├── .editorconfig │ │ │ └── .travis.yml │ │ └── cobra │ │ │ ├── .mailmap │ │ │ ├── MAINTAINERS │ │ │ └── .gitignore │ ├── go-openapi │ │ ├── jsonpointer │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ │ ├── jsonreference │ │ │ └── .gitignore │ │ └── swag │ │ │ ├── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── string_bytes.go │ │ │ └── .editorconfig │ ├── go-task │ │ └── slim-sprig │ │ │ └── v3 │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── Taskfile.yml │ │ │ ├── network.go │ │ │ ├── .editorconfig │ │ │ ├── crypto.go │ │ │ └── reflect.go │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ ├── .travis.yml │ │ │ └── terminal_check_windows.go │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── MAINTAINERS.md │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── SECURITY.md │ │ │ ├── NOTICE │ │ │ └── .golangci.yml │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ ├── build.sh │ │ │ └── Gopkg.lock │ ├── openshift │ │ ├── api │ │ │ ├── config │ │ │ │ ├── .codegen.yaml │ │ │ │ ├── v1 │ │ │ │ │ ├── zz_generated.crd-manifests │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ │ ├── v1alpha1 │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ │ └── v1alpha2 │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ ├── operator │ │ │ │ ├── v1alpha1 │ │ │ │ │ ├── zz_generated.crd-manifests │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ │ └── v1 │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ ├── security │ │ │ │ └── v1 │ │ │ │ │ ├── Makefile │ │ │ │ │ └── doc.go │ │ │ └── image │ │ │ │ ├── docker10 │ │ │ │ └── doc.go │ │ │ │ ├── dockerpre012 │ │ │ │ ├── doc.go │ │ │ │ └── deepcopy.go │ │ │ │ └── v1 │ │ │ │ └── doc.go │ │ ├── library-go │ │ │ └── pkg │ │ │ │ ├── crypto │ │ │ │ ├── OWNERS │ │ │ │ └── rotation.go │ │ │ │ ├── operator │ │ │ │ ├── events │ │ │ │ │ └── OWNERS │ │ │ │ └── v1helpers │ │ │ │ │ └── fake_informers.go │ │ │ │ ├── verify │ │ │ │ └── OWNERS │ │ │ │ └── manifest │ │ │ │ └── OWNERS │ │ └── client-go │ │ │ ├── config │ │ │ ├── clientset │ │ │ │ └── versioned │ │ │ │ │ ├── fake │ │ │ │ │ └── doc.go │ │ │ │ │ ├── typed │ │ │ │ │ └── config │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── fake │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ ├── fake │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── v1alpha2 │ │ │ │ │ │ ├── fake │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ └── scheme │ │ │ │ │ └── doc.go │ │ │ └── listers │ │ │ │ └── config │ │ │ │ └── v1alpha2 │ │ │ │ └── expansion_generated.go │ │ │ ├── operator │ │ │ └── clientset │ │ │ │ └── versioned │ │ │ │ ├── fake │ │ │ │ └── doc.go │ │ │ │ ├── typed │ │ │ │ └── operator │ │ │ │ │ ├── v1 │ │ │ │ │ ├── doc.go │ │ │ │ │ └── fake │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── v1alpha1 │ │ │ │ │ ├── fake │ │ │ │ │ └── doc.go │ │ │ │ │ ├── doc.go │ │ │ │ │ └── generated_expansion.go │ │ │ │ └── scheme │ │ │ │ └── doc.go │ │ │ ├── security │ │ │ └── clientset │ │ │ │ └── versioned │ │ │ │ ├── fake │ │ │ │ └── doc.go │ │ │ │ ├── typed │ │ │ │ └── security │ │ │ │ │ └── v1 │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── fake │ │ │ │ │ └── doc.go │ │ │ │ │ └── generated_expansion.go │ │ │ │ └── scheme │ │ │ │ └── doc.go │ │ │ └── image │ │ │ └── clientset │ │ │ └── versioned │ │ │ ├── typed │ │ │ └── image │ │ │ │ └── v1 │ │ │ │ ├── doc.go │ │ │ │ └── generated_expansion.go │ │ │ └── scheme │ │ │ └── doc.go │ ├── onsi │ │ ├── ginkgo │ │ │ └── v2 │ │ │ │ ├── types │ │ │ │ ├── version.go │ │ │ │ └── types_patch.go │ │ │ │ ├── OWNERS │ │ │ │ ├── .gitignore │ │ │ │ ├── internal │ │ │ │ ├── progress_report_win.go │ │ │ │ ├── output_interceptor_wasm.go │ │ │ │ ├── interrupt_handler │ │ │ │ │ ├── sigquit_swallower_windows.go │ │ │ │ │ └── sigquit_swallower_unix.go │ │ │ │ ├── output_interceptor_win.go │ │ │ │ ├── progress_report_wasm.go │ │ │ │ ├── counter.go │ │ │ │ ├── progress_report_unix.go │ │ │ │ ├── progress_report_bsd.go │ │ │ │ ├── spec_patch.go │ │ │ │ └── global │ │ │ │ │ └── init.go │ │ │ │ ├── ginkgo_cli_dependencies.go │ │ │ │ ├── Makefile │ │ │ │ └── ginkgo │ │ │ │ └── watch │ │ │ │ └── delta.go │ │ └── gomega │ │ │ ├── .gitignore │ │ │ └── matchers │ │ │ ├── support │ │ │ └── goraph │ │ │ │ ├── node │ │ │ │ └── node.go │ │ │ │ └── util │ │ │ │ └── util.go │ │ │ ├── attributes_slice.go │ │ │ └── be_nil_matcher.go │ ├── google │ │ ├── gnostic-models │ │ │ ├── jsonschema │ │ │ │ └── README.md │ │ │ ├── compiler │ │ │ │ └── README.md │ │ │ └── extensions │ │ │ │ └── README.md │ │ ├── uuid │ │ │ ├── CONTRIBUTORS │ │ │ ├── doc.go │ │ │ └── node_js.go │ │ ├── pprof │ │ │ └── AUTHORS │ │ ├── go-cmp │ │ │ └── cmp │ │ │ │ └── internal │ │ │ │ ├── flags │ │ │ │ └── flags.go │ │ │ │ └── diff │ │ │ │ └── debug_disable.go │ │ └── cel-go │ │ │ ├── common │ │ │ ├── overloads │ │ │ │ └── BUILD.bazel │ │ │ ├── operators │ │ │ │ └── BUILD.bazel │ │ │ ├── functions │ │ │ │ └── BUILD.bazel │ │ │ ├── debug │ │ │ │ └── BUILD.bazel │ │ │ ├── runes │ │ │ │ └── BUILD.bazel │ │ │ └── types │ │ │ │ └── ref │ │ │ │ └── BUILD.bazel │ │ │ └── checker │ │ │ └── decls │ │ │ └── BUILD.bazel │ ├── josharian │ │ └── intern │ │ │ └── README.md │ ├── go-logr │ │ └── logr │ │ │ ├── CHANGELOG.md │ │ │ ├── .golangci.yaml │ │ │ └── CONTRIBUTING.md │ ├── operator-framework │ │ └── api │ │ │ └── pkg │ │ │ └── operators │ │ │ ├── doc.go │ │ │ ├── v1 │ │ │ └── doc.go │ │ │ ├── v2 │ │ │ └── doc.go │ │ │ ├── v1alpha1 │ │ │ └── doc.go │ │ │ └── v1alpha2 │ │ │ └── doc.go │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── munnerz │ │ └── goautoneg │ │ │ └── Makefile │ ├── fxamacker │ │ └── cbor │ │ │ └── v2 │ │ │ ├── .gitignore │ │ │ ├── omitzero_go124.go │ │ │ ├── omitzero_pre_go124.go │ │ │ └── SECURITY.md │ ├── stoewer │ │ └── go-strcase │ │ │ ├── .gitignore │ │ │ ├── doc.go │ │ │ ├── .golangci.yml │ │ │ └── kebab.go │ ├── x448 │ │ └── float16 │ │ │ └── .travis.yml │ ├── antlr4-go │ │ └── antlr │ │ │ └── v4 │ │ │ ├── .gitignore │ │ │ ├── atn_type.go │ │ │ ├── char_stream.go │ │ │ ├── int_stream.go │ │ │ ├── token_source.go │ │ │ └── token_stream.go │ ├── openshift-eng │ │ └── openshift-tests-extension │ │ │ └── pkg │ │ │ ├── util │ │ │ └── sets │ │ │ │ └── README.md │ │ │ ├── version │ │ │ └── version.go │ │ │ ├── flags │ │ │ ├── suite.go │ │ │ ├── names.go │ │ │ ├── concurrency.go │ │ │ └── component.go │ │ │ └── extension │ │ │ └── extensiontests │ │ │ └── result.go │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── testall.sh │ │ │ ├── xxhash_asm.go │ │ │ └── xxhash_safe.go │ ├── mwitkow │ │ └── go-conntrack │ │ │ └── .travis.yml │ ├── mailru │ │ └── easyjson │ │ │ └── jlexer │ │ │ ├── error.go │ │ │ └── bytestostr_nounsafe.go │ ├── blang │ │ └── semver │ │ │ └── v4 │ │ │ ├── json.go │ │ │ ├── sort.go │ │ │ └── sql.go │ ├── inconshreveable │ │ └── mousetrap │ │ │ └── trap_others.go │ └── gogo │ │ └── protobuf │ │ └── AUTHORS ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── config_pre_go124.go │ │ │ └── timer.go │ │ └── idna │ │ │ ├── pre_go118.go │ │ │ └── go118.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── ptrace_ios.go │ │ │ ├── vgetrandom_unsupported.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── endian_big.go │ │ │ ├── ptrace_darwin.go │ │ │ ├── constants.go │ │ │ ├── endian_little.go │ │ │ ├── mmap_nomremap.go │ │ │ ├── vgetrandom_linux.go │ │ │ ├── auxv_unsupported.go │ │ │ ├── aliases.go │ │ │ ├── readdirent_getdents.go │ │ │ ├── pagesize_unix.go │ │ │ ├── sysvshm_unix_other.go │ │ │ ├── asm_aix_ppc64.s │ │ │ ├── syscall_linux_gc_arm.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── syscall_linux_alarm.go │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── syscall_linux_gc.go │ │ │ ├── syscall_hurd_386.go │ │ │ ├── sysvshm_linux.go │ │ │ ├── sockcmsg_dragonfly.go │ │ │ ├── race0.go │ │ │ ├── syscall_linux_gc_386.go │ │ │ └── syscall_linux_gccgo_arm.go │ │ ├── plan9 │ │ │ ├── asm.s │ │ │ ├── pwd_plan9.go │ │ │ ├── race0.go │ │ │ ├── mksysnum_plan9.sh │ │ │ ├── str.go │ │ │ └── env_plan9.go │ │ └── windows │ │ │ ├── aliases.go │ │ │ ├── mksyscall.go │ │ │ ├── race0.go │ │ │ └── str.go │ │ ├── term │ │ ├── codereview.cfg │ │ ├── term_unix_other.go │ │ ├── term_unix_bsd.go │ │ └── README.md │ │ ├── oauth2 │ │ ├── internal │ │ │ └── doc.go │ │ └── .travis.yml │ │ └── text │ │ ├── secure │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ │ ├── encoding │ │ ├── japanese │ │ │ └── all.go │ │ └── simplifiedchinese │ │ │ └── all.go │ │ └── internal │ │ └── language │ │ └── common.go ├── k8s.io │ ├── kube-openapi │ │ └── pkg │ │ │ ├── util │ │ │ └── proto │ │ │ │ └── OWNERS │ │ │ ├── validation │ │ │ └── spec │ │ │ │ └── .gitignore │ │ │ └── internal │ │ │ └── third_party │ │ │ └── go-json-experiment │ │ │ └── json │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── utils │ │ ├── ptr │ │ │ ├── README.md │ │ │ └── OWNERS │ │ └── clock │ │ │ └── README.md │ ├── client-go │ │ ├── openapi │ │ │ └── OWNERS │ │ ├── util │ │ │ ├── retry │ │ │ │ └── OWNERS │ │ │ ├── keyutil │ │ │ │ └── OWNERS │ │ │ └── cert │ │ │ │ └── OWNERS │ │ ├── tools │ │ │ ├── metrics │ │ │ │ └── OWNERS │ │ │ ├── record │ │ │ │ └── OWNERS │ │ │ ├── auth │ │ │ │ └── OWNERS │ │ │ ├── leaderelection │ │ │ │ └── OWNERS │ │ │ └── cache │ │ │ │ └── OWNERS │ │ ├── applyconfigurations │ │ │ └── OWNERS │ │ ├── transport │ │ │ └── OWNERS │ │ ├── pkg │ │ │ └── apis │ │ │ │ └── clientauthentication │ │ │ │ └── OWNERS │ │ └── rest │ │ │ ├── OWNERS │ │ │ └── .mockery.yaml │ ├── klog │ │ └── v2 │ │ │ ├── .golangci.yaml │ │ │ ├── code-of-conduct.md │ │ │ ├── internal │ │ │ └── clock │ │ │ │ └── README.md │ │ │ ├── .gitignore │ │ │ ├── OWNERS │ │ │ ├── klog_file_others.go │ │ │ ├── RELEASE.md │ │ │ └── SECURITY_CONTACTS │ ├── apimachinery │ │ ├── pkg │ │ │ ├── util │ │ │ │ ├── mergepatch │ │ │ │ │ └── OWNERS │ │ │ │ ├── strategicpatch │ │ │ │ │ └── OWNERS │ │ │ │ └── validation │ │ │ │ │ └── OWNERS │ │ │ ├── api │ │ │ │ ├── resource │ │ │ │ │ └── OWNERS │ │ │ │ ├── validation │ │ │ │ │ └── OWNERS │ │ │ │ ├── meta │ │ │ │ │ └── OWNERS │ │ │ │ └── errors │ │ │ │ │ └── OWNERS │ │ │ └── apis │ │ │ │ └── meta │ │ │ │ ├── v1 │ │ │ │ └── OWNERS │ │ │ │ └── v1beta1 │ │ │ │ └── deepcopy.go │ │ └── third_party │ │ │ └── forked │ │ │ └── golang │ │ │ └── json │ │ │ └── OWNERS │ ├── apiextensions-apiserver │ │ └── pkg │ │ │ └── apis │ │ │ └── apiextensions │ │ │ ├── v1 │ │ │ └── .import-restrictions │ │ │ └── v1beta1 │ │ │ └── .import-restrictions │ └── component-base │ │ ├── metrics │ │ └── OWNERS │ │ └── version │ │ └── OWNERS ├── gopkg.in │ ├── fsnotify.v1 │ │ ├── .editorconfig │ │ ├── .gitignore │ │ ├── open_mode_bsd.go │ │ ├── open_mode_darwin.go │ │ └── .travis.yml │ ├── evanphx │ │ └── json-patch.v4 │ │ │ └── .gitignore │ ├── yaml.v2 │ │ ├── .travis.yml │ │ └── NOTICE │ └── yaml.v3 │ │ └── NOTICE ├── sigs.k8s.io │ ├── json │ │ ├── OWNERS │ │ ├── code-of-conduct.md │ │ ├── SECURITY_CONTACTS │ │ └── doc.go │ ├── yaml │ │ ├── code-of-conduct.md │ │ ├── .gitignore │ │ ├── OWNERS │ │ ├── RELEASE.md │ │ └── SECURITY_CONTACTS │ └── randfill │ │ ├── code-of-conduct.md │ │ ├── OWNERS │ │ ├── OWNERS_ALIASES │ │ └── SECURITY_CONTACTS ├── go.opentelemetry.io │ └── otel │ │ ├── codes │ │ ├── README.md │ │ └── doc.go │ │ ├── trace │ │ ├── README.md │ │ ├── embedded │ │ │ └── README.md │ │ ├── internal │ │ │ └── telemetry │ │ │ │ └── doc.go │ │ └── nonrecording.go │ │ ├── attribute │ │ ├── README.md │ │ └── doc.go │ │ └── semconv │ │ └── v1.26.0 │ │ ├── README.md │ │ ├── exception.go │ │ ├── doc.go │ │ └── schema.go ├── google.golang.org │ └── protobuf │ │ ├── internal │ │ ├── editiondefaults │ │ │ ├── editions_defaults.binpb │ │ │ └── defaults.go │ │ ├── flags │ │ │ ├── proto_legacy_enable.go │ │ │ └── proto_legacy_disable.go │ │ ├── genid │ │ │ ├── name.go │ │ │ ├── doc.go │ │ │ ├── wrappers.go │ │ │ ├── map_entry.go │ │ │ ├── empty_gen.go │ │ │ └── goname.go │ │ ├── impl │ │ │ └── codec_unsafe.go │ │ └── protolazy │ │ │ └── pointer_unsafe.go │ │ ├── encoding │ │ ├── prototext │ │ │ └── doc.go │ │ └── protojson │ │ │ └── doc.go │ │ ├── runtime │ │ └── protoiface │ │ │ └── legacy.go │ │ └── proto │ │ ├── proto_reflect.go │ │ └── proto_methods.go └── go.yaml.in │ └── yaml │ ├── v2 │ ├── .travis.yml │ └── NOTICE │ └── v3 │ └── NOTICE ├── pkg ├── cvo │ └── testdata │ │ ├── paralleltest │ │ ├── manifests │ │ │ └── .gitkeep │ │ └── release-manifests │ │ │ ├── release-metadata │ │ │ ├── image-references │ │ │ ├── 0000_10_a_file.yaml │ │ │ ├── 0000_20_a_file.yaml │ │ │ └── 0000_20_b_file.yaml │ │ ├── payloadtest │ │ ├── manifests │ │ │ └── .gitkeep │ │ └── release-manifests │ │ │ ├── image-references │ │ │ ├── 0000_10_a_file.yaml │ │ │ ├── 0000_10_a_file.yml │ │ │ ├── 0000_10_a_file │ │ │ ├── 0000_20_a_exclude.yml │ │ │ ├── 0000_10_a_file.json │ │ │ └── release-metadata │ │ ├── payloadtest-2 │ │ ├── manifests │ │ │ └── .gitkeep │ │ └── release-manifests │ │ │ ├── image-references │ │ │ ├── 0000_10_a_file.yaml │ │ │ ├── 0000_10_a_file.yml │ │ │ ├── release-metadata │ │ │ ├── 0000_10_a_file │ │ │ └── 0000_10_a_file.json │ │ ├── payloadtest-3 │ │ ├── manifests │ │ │ └── .gitkeep │ │ └── release-manifests │ │ │ ├── image-references │ │ │ ├── 0000_10_a_file.yaml │ │ │ └── release-metadata │ │ ├── payloadtestarch │ │ ├── manifests │ │ │ └── .gitkeep │ │ └── release-manifests │ │ │ ├── image-references │ │ │ ├── 0000_10_a_file.json │ │ │ └── release-metadata │ │ ├── payloadcapabilitytest │ │ ├── test1 │ │ │ ├── current │ │ │ │ └── file_1.yaml │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ ├── test10 │ │ │ ├── update │ │ │ │ └── file_1.yaml │ │ │ └── current │ │ │ │ └── file_1.yaml │ │ ├── test2 │ │ │ ├── current │ │ │ │ └── file_1.yaml │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ ├── test3 │ │ │ ├── current │ │ │ │ └── file_1.yaml │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ ├── test4 │ │ │ ├── current │ │ │ │ └── file_1.yaml │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ ├── test5 │ │ │ ├── current │ │ │ │ └── file_1.yaml │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ ├── test6 │ │ │ ├── current │ │ │ │ ├── file_1.yaml │ │ │ │ └── file_2.yaml │ │ │ └── update │ │ │ │ ├── file_1.yaml │ │ │ │ └── file_2.yaml │ │ ├── test8 │ │ │ └── current │ │ │ │ └── file_1.yaml │ │ ├── test9 │ │ │ └── update │ │ │ │ └── file_1.yaml │ │ └── test7 │ │ │ ├── current │ │ │ ├── file_1.yaml │ │ │ ├── file_2.yaml │ │ │ ├── file_4.yaml │ │ │ ├── file_5.yaml │ │ │ ├── file_6.yaml │ │ │ └── file_3.yaml │ │ │ └── update │ │ │ ├── file_5.yaml │ │ │ ├── file_6.yaml │ │ │ ├── file_1.yaml │ │ │ ├── file_2.yaml │ │ │ ├── file_4.yaml │ │ │ └── file_3.yaml │ │ └── manifests │ │ └── requires-data.yaml ├── dependencymagnet │ └── doc.go ├── version │ └── version.go └── clusterconditions │ └── standard │ └── standard.go ├── .gitignore ├── hack ├── verify-yaml.sh ├── update-vendor.sh ├── yamllint-config.yaml ├── update-test-metadata.sh ├── push-image.sh ├── build-image.sh ├── build-info.sh └── cluster-version-util │ └── main.go ├── .ci-operator.yaml ├── lib ├── resourcemerge │ ├── doc.go │ └── helper.go ├── resourceapply │ └── doc.go ├── resourcebuilder │ ├── errors.go │ └── helper.go └── doc.go ├── docs └── user │ └── README.md ├── test └── cvo │ ├── cvo.go │ └── cvo_suite_test.go ├── .openshift-tests-extension └── openshift_payload_cluster-version-operator.json ├── install ├── 0000_00_cluster-version-operator_02_configuration-DevPreviewNoUpgrade.yaml ├── 0000_00_cluster-version-operator_02_configuration-TechPreviewNoUpgrade.yaml ├── 0000_00_cluster-version-operator_01_admingate_configmap.yaml ├── 0000_90_cluster-version-operator_00_prometheusrole.yaml ├── 0000_00_cluster-version-operator_02_roles.yaml ├── 0000_00_cluster-version-operator_01_adminack_configmap.yaml ├── 0000_00_cluster-version-operator_02_networkpolicy.yaml └── 0000_90_cluster-version-operator_01_prometheusrolebinding.yaml ├── cmd └── cluster-version-operator │ ├── version.go │ └── main.go └── OWNERS /vendor/cel.dev/expr/WORKSPACE.bzlmod: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/manifests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/manifests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/manifests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-3/manifests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtestarch/manifests/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | bin/ 3 | .DS_Store 4 | _output 5 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/.goconvey: -------------------------------------------------------------------------------- 1 | ignore -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/robfig/cron/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.gitignore: -------------------------------------------------------------------------------- 1 | bazel-* 2 | MODULE.bazel.lock 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonpointer/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonreference/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | /.glide 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/kube-openapi/pkg/util/proto/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - apelisse 3 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/Srcfile: -------------------------------------------------------------------------------- 1 | {"SkipDirs": ["examples"]} 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | 4 | .idea/ 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /testdata/fixtures/ 2 | /fixtures 3 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/kube-openapi/pkg/validation/spec/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.bazelversion: -------------------------------------------------------------------------------- 1 | 7.3.2 2 | # Keep this pinned version in parity with cel-go 3 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pb.go linguist-generated=true 2 | *.pb.go -diff -merge 3 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/.codegen.yaml: -------------------------------------------------------------------------------- 1 | swaggerdocs: 2 | commentPolicy: Warn 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | vendor 3 | Godeps 4 | .idea 5 | *.out 6 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/types/version.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | const VERSION = "2.21.0" 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | approvers: 3 | - bertinatto 4 | - stbenjam 5 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.test 3 | . 4 | .idea 5 | gomega.iml 6 | TODO 7 | .vscode -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1/zz_generated.crd-manifests/doc.go: -------------------------------------------------------------------------------- 1 | package config_v1_crdmanifests 2 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/crypto/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - stlaz 3 | approvers: 4 | - stlaz 5 | -------------------------------------------------------------------------------- /hack/verify-yaml.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -euo pipefail 4 | 5 | yamllint -c hack/yamllint-config.yaml -s . 6 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/coverage.sh: -------------------------------------------------------------------------------- 1 | go test -coverprofile=coverage.out 2 | go tool cover -html=coverage.out -------------------------------------------------------------------------------- /vendor/k8s.io/utils/ptr/README.md: -------------------------------------------------------------------------------- 1 | # Pointer 2 | 3 | This package provides some functions for pointer-based operations. 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | TODO 3 | tmp/**/* 4 | *.coverprofile 5 | .vscode 6 | .idea/ 7 | *.log -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests/doc.go: -------------------------------------------------------------------------------- 1 | package operator_v1alpha1_crdmanifests 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.golangci.yaml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: 4 | - nolintlint 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.gitattributes: -------------------------------------------------------------------------------- 1 | # gofmt always uses LF, whereas Git uses CRLF on Windows. 2 | *.go text eol=lf 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/openapi/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - apelisse 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/util/retry/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - caesarxuchao 5 | -------------------------------------------------------------------------------- /.ci-operator.yaml: -------------------------------------------------------------------------------- 1 | build_root_image: 2 | name: release 3 | namespace: openshift 4 | tag: rhel-9-release-golang-1.24-openshift-4.21 5 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/release-manifests/release-metadata: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "cincinnati-metadata-v0", 3 | "version": "1.0.0-abc" 4 | } 5 | -------------------------------------------------------------------------------- /lib/resourcemerge/doc.go: -------------------------------------------------------------------------------- 1 | // Package resourcemerge contains functions to merge in-cluster state with required local state. 2 | package resourcemerge 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/evanphx/json-patch.v4/.gitignore: -------------------------------------------------------------------------------- 1 | # editor and IDE paraphernalia 2 | .idea 3 | .vscode 4 | 5 | # macOS paraphernalia 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - deads2k 5 | - jpbetz 6 | - liggitt 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/release-manifests/image-references: -------------------------------------------------------------------------------- 1 | kind: ImageStream 2 | apiVersion: image.openshift.io/v1 3 | metadata: 4 | name: 1.0.0-abc -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/image-references: -------------------------------------------------------------------------------- 1 | kind: ImageStream 2 | apiVersion: image.openshift.io/v1 3 | metadata: 4 | name: 1.0.1-abc -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/image-references: -------------------------------------------------------------------------------- 1 | kind: ImageStream 2 | apiVersion: image.openshift.io/v1 3 | metadata: 4 | name: 1.0.0-abc -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtestarch/release-manifests/image-references: -------------------------------------------------------------------------------- 1 | kind: ImageStream 2 | apiVersion: image.openshift.io/v1 3 | metadata: 4 | name: 1.0.0-abc -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="config.openshift.io/v1" 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - wojtek-t 5 | - jayunit100 6 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-3/release-manifests/image-references: -------------------------------------------------------------------------------- 1 | kind: ImageStream 2 | apiVersion: image.openshift.io/v1 3 | metadata: 4 | name: 1.0.1-abc 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/operator/v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="operator.openshift.io/v1" 4 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/security/v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="security.openshift.io/v1" 4 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/.golangci.yaml: -------------------------------------------------------------------------------- 1 | linters: 2 | disable-all: true 3 | enable: # sorted alphabetical 4 | - gofmt 5 | - misspell 6 | - revive 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/utils/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | 3 | This package provides an interface for time-based operations. It allows 4 | mocking time for testing. 5 | -------------------------------------------------------------------------------- /lib/resourceapply/doc.go: -------------------------------------------------------------------------------- 1 | // Package resourceapply contains functions to update in-cluster resources after merging with required local state. 2 | package resourceapply 3 | -------------------------------------------------------------------------------- /vendor/github.com/google/gnostic-models/jsonschema/README.md: -------------------------------------------------------------------------------- 1 | # jsonschema 2 | 3 | This directory contains code for reading, writing, and manipulating JSON 4 | schemas. 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1alpha1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="config.openshift.io/v1alpha1" 4 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1alpha2/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="config.openshift.io/v1alpha2" 4 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/operator/v1alpha1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | make -C ../../tests test GINKGO_EXTRA_ARGS=--focus="operator.openshift.io/v1alpha1" 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/mergepatch/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - pwittrock 5 | reviewers: 6 | - apelisse 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/applyconfigurations/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - apelisse 5 | - jpbetz 6 | - api-approvers 7 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/docker10/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | 3 | // Package docker10 is the docker10 version of the API. 4 | package docker10 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/util/keyutil/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - sig-auth-certificates-approvers 3 | reviewers: 4 | - sig-auth-certificates-reviewers 5 | labels: 6 | - sig/auth 7 | -------------------------------------------------------------------------------- /vendor/github.com/google/gnostic-models/compiler/README.md: -------------------------------------------------------------------------------- 1 | # Compiler support code 2 | 3 | This directory contains compiler support code used by Gnostic and Gnostic 4 | extensions. 5 | -------------------------------------------------------------------------------- /vendor/github.com/josharian/intern/README.md: -------------------------------------------------------------------------------- 1 | Docs: https://godoc.org/github.com/josharian/intern 2 | 3 | See also [Go issue 5160](https://golang.org/issue/5160). 4 | 5 | License: MIT 6 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/operator/events/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - mfojtik 3 | - deads2k 4 | - sttts 5 | approvers: 6 | - mfojtik 7 | - deads2k 8 | - sttts 9 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/third_party/forked/golang/json/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - pwittrock 5 | reviewers: 6 | - apelisse 7 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | ID int 5 | Value interface{} 6 | } 7 | 8 | type NodeOrderedSet []Node 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/codes/README.md: -------------------------------------------------------------------------------- 1 | # Codes 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/codes)](https://pkg.go.dev/go.opentelemetry.io/otel/codes) 4 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/dockerpre012/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | 3 | // Package dockerpre012 is the dockerpre012 version of the API. 4 | package dockerpre012 5 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/README.md: -------------------------------------------------------------------------------- 1 | # Trace API 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace)](https://pkg.go.dev/go.opentelemetry.io/otel/trace) 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_win.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package internal 5 | 6 | import "os" 7 | 8 | var PROGRESS_SIGNALS = []os.Signal{} 9 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/Makefile: -------------------------------------------------------------------------------- 1 | all: test 2 | 3 | test: 4 | go vet . 5 | go test -cover -v . 6 | 7 | ex: 8 | find ./examples -type f -name "*.go" | xargs -I {} go build -o /tmp/ignore {} -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | ## v1.0.0-rc1 4 | 5 | This is the first logged release. Major changes (including breaking changes) 6 | have occurred since earlier tags. 7 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/api/pkg/operators/doc.go: -------------------------------------------------------------------------------- 1 | // +kubebuilder:skip 2 | 3 | // Package operators contains all resource types of the operators.coreos.com API group. 4 | package operators 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | * Ben Kochie @SuperQ 4 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/attribute/README.md: -------------------------------------------------------------------------------- 1 | # Attribute 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/attribute)](https://pkg.go.dev/go.opentelemetry.io/otel/attribute) 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/record/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - sig-instrumentation-reviewers 5 | approvers: 6 | - sig-instrumentation-approvers 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/transport/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - smarterclayton 5 | - wojtek-t 6 | - deads2k 7 | - liggitt 8 | - caesarxuchao 9 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/randfill/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/output_interceptor_wasm.go: -------------------------------------------------------------------------------- 1 | //go:build wasm 2 | 3 | package internal 4 | 5 | func NewOutputInterceptor() OutputInterceptor { 6 | return &NoopOutputInterceptor{} 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated fake clientset. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated fake clientset. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/security/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated fake clientset. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Prometheus Community Code of Conduct 2 | 3 | Prometheus follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/ginkgo_cli_dependencies.go: -------------------------------------------------------------------------------- 1 | //go:build ginkgoclidependencies 2 | // +build ginkgoclidependencies 3 | 4 | package ginkgo 5 | 6 | import ( 7 | _ "github.com/onsi/ginkgo/v2/ginkgo" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/interrupt_handler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | //go:build windows 2 | // +build windows 3 | 4 | package interrupt_handler 5 | 6 | func SwallowSigQuit() { 7 | //noop 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/types/types_patch.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | type TestSpec interface { 4 | CodeLocations() []CodeLocation 5 | Text() string 6 | AppendText(text string) 7 | Labels() []string 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/image/clientset/versioned/typed/image/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/api/pkg/operators/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +groupName=operators.coreos.com 2 | 3 | // Package v1 contains resources types for version v1 of the operators.coreos.com API group. 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/api/pkg/operators/v2/doc.go: -------------------------------------------------------------------------------- 1 | // +groupName=operators.coreos.com 2 | 3 | // Package v2 contains resources types for version v2 of the operators.coreos.com API group. 4 | package v2 5 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/utils/ptr/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - apelisse 5 | - stewart-yu 6 | - thockin 7 | reviewers: 8 | - apelisse 9 | - stewart-yu 10 | - thockin 11 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/operator/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:defaulter-gen=TypeMeta 3 | // +k8s:openapi-gen=true 4 | 5 | // +groupName=operator.openshift.io 6 | package v1alpha1 7 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/security/clientset/versioned/typed/security/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/embedded/README.md: -------------------------------------------------------------------------------- 1 | # Trace Embedded 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/trace/embedded)](https://pkg.go.dev/go.opentelemetry.io/otel/trace/embedded) 4 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/release-manifests/0000_10_a_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: 10-a-file 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/release-manifests/0000_20_a_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: 20-a-file 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/paralleltest/release-manifests/0000_20_b_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: 20-b-file 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/0000_10_a_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-yaml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/0000_10_a_file.yml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-yml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-3/release-manifests/0000_10_a_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-yaml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/0000_10_a_file.yaml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-yaml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/0000_10_a_file.yml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-yml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/output_interceptor_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package internal 4 | 5 | func NewOutputInterceptor() OutputInterceptor { 6 | return NewOSGlobalReassigningOutputInterceptor() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_wasm.go: -------------------------------------------------------------------------------- 1 | //go:build wasm 2 | 3 | package internal 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGUSR1} 11 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha2/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/image/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package contains the scheme of the automatically generated clientset. 4 | package scheme 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/security/clientset/versioned/typed/security/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/README.md: -------------------------------------------------------------------------------- 1 | # Semconv v1.26.0 2 | 3 | [![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/semconv/v1.26.0)](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.26.0) 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/.import-restrictions: -------------------------------------------------------------------------------- 1 | inverseRules: 2 | # Allow use of this package in all k8s.io packages. 3 | - selectorRegexp: k8s[.]io 4 | allowedPrefixes: 5 | - '' 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/Taskfile.yml: -------------------------------------------------------------------------------- 1 | # https://taskfile.dev 2 | 3 | version: '3' 4 | 5 | tasks: 6 | default: 7 | cmds: 8 | - task: test 9 | 10 | test: 11 | cmds: 12 | - go test -v . 13 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package contains the scheme of the automatically generated clientset. 4 | package scheme 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1alpha1 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha2/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1alpha2 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package contains the scheme of the automatically generated clientset. 4 | package scheme 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // Package fake has the automatically generated clients. 4 | package fake 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/security/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package contains the scheme of the automatically generated clientset. 4 | package scheme 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang/prometheus.svg)](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openshift/cluster-version-operator/HEAD/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb -------------------------------------------------------------------------------- /vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/.import-restrictions: -------------------------------------------------------------------------------- 1 | inverseRules: 2 | # Allow use of this package in all k8s.io packages. 3 | - selectorRegexp: k8s[.]io 4 | allowedPrefixes: 5 | - '' 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/util/cert/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-certificates-approvers 5 | reviewers: 6 | - sig-auth-certificates-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha2/generated_expansion.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | package v1alpha2 4 | 5 | type InsightsDataGatherExpansion interface{} 6 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | // This package has the automatically generated typed clients. 4 | package v1alpha1 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a security issue 2 | 3 | The Prometheus security policy, including how to report vulnerabilities, can be 4 | found here: 5 | 6 | 7 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/auth/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-authenticators-approvers 5 | reviewers: 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/verify/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md 2 | # This file just uses aliases defined in OWNERS_ALIASES. 3 | 4 | approvers: 5 | - update-approvers 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/MAINTAINERS: -------------------------------------------------------------------------------- 1 | maintainers: 2 | - spf13 3 | - johnSchnake 4 | - jpmcb 5 | - marckhouzam 6 | inactive: 7 | - anthonyfok 8 | - bep 9 | - bogem 10 | - broady 11 | - eparis 12 | - jharshman 13 | - wfernandes 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/strategicpatch/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - apelisse 5 | - pwittrock 6 | reviewers: 7 | - apelisse 8 | emeritus_approvers: 9 | - mengqiy 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/counter.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | func MakeIncrementingIndexCounter() func() (int, error) { 4 | idx := -1 5 | return func() (int, error) { 6 | idx += 1 7 | return idx, nil 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/manifest/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md 2 | # This file just uses aliases defined in OWNERS_ALIASES. 3 | 4 | approvers: 5 | - update-approvers 6 | -------------------------------------------------------------------------------- /docs/user/README.md: -------------------------------------------------------------------------------- 1 | # Permanently Moved 2 | 3 | Other than generated files which may move later, all other documents have moved to [openshift/enhancements](https://github.com/openshift/enhancements/tree/master/dev-guide/cluster-version-operator). 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/operator/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:defaulter-gen=TypeMeta 3 | // +k8s:openapi-gen=true 4 | 5 | // +kubebuilder:validation:Optional 6 | // +groupName=operator.openshift.io 7 | package v1 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/cloudbuild.yaml: -------------------------------------------------------------------------------- 1 | steps: 2 | - name: 'gcr.io/cloud-builders/bazel:7.3.2' 3 | entrypoint: bazel 4 | args: ['build', '...'] 5 | id: bazel-build 6 | waitFor: ['-'] 7 | timeout: 15m 8 | options: 9 | machineType: 'N1_HIGHCPU_32' 10 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/attribute/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package attribute provides key and value attributes. 5 | package attribute // import "go.opentelemetry.io/otel/attribute" 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - derekwaynecarr 8 | - mikedanese 9 | - saad-ali 10 | - janetkuo 11 | -------------------------------------------------------------------------------- /hack/update-vendor.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # This script updates Go vendoring using dep. 4 | 5 | set -euo pipefail 6 | 7 | # Go to the root of the repo 8 | cd "$(git rev-parse --show-cdup)" 9 | 10 | # Run dep. 11 | go mod vendor 12 | go mod verify 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_unix.go: -------------------------------------------------------------------------------- 1 | //go:build linux || solaris 2 | // +build linux solaris 3 | 4 | package internal 5 | 6 | import ( 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGUSR1} 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/release-metadata: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "cincinnati-metadata-v0", 3 | "version": "1.0.1-abc", 4 | "previous": [ 5 | "1.0.0-abc" 6 | ], 7 | "metadata": { 8 | "url": "https://example.com/v1.0.1-abc" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-3/release-manifests/release-metadata: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "cincinnati-metadata-v0", 3 | "version": "1.0.1-abc", 4 | "previous": [ 5 | "1.0.0-abc" 6 | ], 7 | "metadata": { 8 | "url": "https://example.com/v1.0.1-abc" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/string_bytes.go: -------------------------------------------------------------------------------- 1 | package swag 2 | 3 | import "unsafe" 4 | 5 | // hackStringBytes returns the (unsafe) underlying bytes slice of a string. 6 | func hackStringBytes(str string) []byte { 7 | return unsafe.Slice(unsafe.StringData(str), len(str)) 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1alpha2/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:defaulter-gen=TypeMeta 3 | // +k8s:openapi-gen=true 4 | 5 | // +groupName=config.openshift.io 6 | // Package v1alpha2 is the v1alpha2 version of the API. 7 | package v1alpha2 8 | -------------------------------------------------------------------------------- /lib/resourcemerge/helper.go: -------------------------------------------------------------------------------- 1 | package resourcemerge 2 | 3 | // injectCABundleAnnotation is the annotation used to indicate into which resources 4 | // the service-ca controller should inject the CA bundle. 5 | const injectCABundleAnnotation = "service.beta.openshift.io/inject-cabundle" 6 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/0000_10_a_file: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "file", 6 | "annotations": { 7 | "include.release.openshift.io/self-managed-high-availability": "true" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/0000_20_a_exclude.yml: -------------------------------------------------------------------------------- 1 | kind: Test 2 | apiVersion: v1 3 | metadata: 4 | name: file-20-yml 5 | annotations: 6 | include.release.openshift.io/self-managed-high-availability: "true" 7 | exclude.release.openshift.io/exclude-test: "true" 8 | -------------------------------------------------------------------------------- /hack/yamllint-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | extends: default 4 | 5 | rules: 6 | document-start: disable 7 | line-length: disable 8 | indentation: 9 | indent-sequences: consistent 10 | 11 | ignore: 12 | - vendor/ 13 | - bootstrap/bootstrap-pod.yaml # it is a go template file 14 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/0000_10_a_file: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "file", 6 | "annotations": { 7 | "include.release.openshift.io/self-managed-high-availability": "true" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /vendor/github.com/munnerz/goautoneg/Makefile: -------------------------------------------------------------------------------- 1 | include $(GOROOT)/src/Make.inc 2 | 3 | TARG=bitbucket.org/ww/goautoneg 4 | GOFILES=autoneg.go 5 | 6 | include $(GOROOT)/src/Make.pkg 7 | 8 | format: 9 | gofmt -w *.go 10 | 11 | docs: 12 | gomake clean 13 | godoc ${TARG} > README.txt 14 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/0000_10_a_file.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "file-json", 6 | "annotations": { 7 | "include.release.openshift.io/self-managed-high-availability": "true" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtestarch/release-manifests/0000_10_a_file.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "file", 6 | "annotations": { 7 | "include.release.openshift.io/self-managed-high-availability": "true" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | 6 | before_install: 7 | - go test -v 8 | 9 | script: 10 | - go test -race -coverprofile=coverage.txt -covermode=atomic 11 | 12 | after_success: 13 | - bash <(curl -s https://codecov.io/bash) -------------------------------------------------------------------------------- /vendor/github.com/fxamacker/cbor/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | -------------------------------------------------------------------------------- /vendor/github.com/fxamacker/cbor/v2/omitzero_go124.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) Faye Amacker. All rights reserved. 2 | // Licensed under the MIT License. See LICENSE in the project root for license information. 3 | 4 | //go:build go1.24 5 | 6 | package cbor 7 | 8 | var jsonStdlibSupportsOmitzero = true 9 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/pkg/apis/clientauthentication/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # approval on api packages bubbles to api-approvers 4 | reviewers: 5 | - sig-auth-authenticators-approvers 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | -------------------------------------------------------------------------------- /lib/resourcebuilder/errors.go: -------------------------------------------------------------------------------- 1 | package resourcebuilder 2 | 3 | // RetryLaterError instructs the resource can't be reconciled right now, so retry later. 4 | type RetryLaterError struct { 5 | Message string 6 | } 7 | 8 | func (e *RetryLaterError) Error() string { 9 | return e.Message 10 | } 11 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test1/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test1/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test10/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test2/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test2/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Diff", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test3/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test3/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test4/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test4/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test5/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test5/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test6/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test6/current/file_2.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name2", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test6/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test6/update/file_2.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name2", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test8/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test9/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest-2/release-manifests/0000_10_a_file.json: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "v1", 4 | "metadata": { 5 | "name": "file-json", 6 | "annotations": { 7 | "include.release.openshift.io/self-managed-high-availability": "true" 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /vendor/github.com/fxamacker/cbor/v2/omitzero_pre_go124.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) Faye Amacker. All rights reserved. 2 | // Licensed under the MIT License. See LICENSE in the project root for license information. 3 | 4 | //go:build !go1.24 5 | 6 | package cbor 7 | 8 | var jsonStdlibSupportsOmitzero = false 9 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | vendor 8 | doc 9 | 10 | # Temporary files 11 | *~ 12 | *.swp 13 | 14 | # Editor and IDE config 15 | .idea 16 | *.iml 17 | .vscode 18 | -------------------------------------------------------------------------------- /vendor/github.com/x448/float16/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.11.x 5 | 6 | env: 7 | - GO111MODULE=on 8 | 9 | script: 10 | - go test -short -coverprofile=coverage.txt -covermode=count ./... 11 | 12 | after_success: 13 | - bash <(curl -s https://codecov.io/bash) 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/rest/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - caesarxuchao 7 | - wojtek-t 8 | - deads2k 9 | - liggitt 10 | - sttts 11 | - luxas 12 | - dims 13 | - cjcullen 14 | - lojies 15 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test10/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [solve-meta] 5 | analyzer-name = "dep" 6 | analyzer-version = 1 7 | input-imports = [] 8 | solver-name = "gps-cdcl" 9 | solver-version = 1 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/component-base/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-instrumentation-approvers 5 | - logicalhan 6 | - RainbowMango 7 | reviewers: 8 | - sig-instrumentation-reviewers 9 | - YoyinZyc 10 | labels: 11 | - sig/instrumentation 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/internal/clock/README.md: -------------------------------------------------------------------------------- 1 | # Clock 2 | 3 | This package provides an interface for time-based operations. It allows 4 | mocking time for testing. 5 | 6 | This is a copy of k8s.io/utils/clock. We have to copy it to avoid a circular 7 | dependency (k8s.io/klog -> k8s.io/utils -> k8s.io/klog). 8 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/randfill/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | # See the OWNERS_ALIASES file at https://github.com/kubernetes-sigs/randfill/blob/main/OWNERS_ALIASES for a list of members for each alias. 3 | 4 | approvers: 5 | - sig-testing-leads 6 | - thockin 7 | 8 | reviewers: [] 9 | -------------------------------------------------------------------------------- /lib/doc.go: -------------------------------------------------------------------------------- 1 | // Package lib defines a Manifest type. 2 | // 3 | // It also contains subpackages for reconciling in-cluster resources 4 | // with local state. The entrypoint is resourcebuilder, which consumes 5 | // resourceread and resourceapply. resourceapply in turn consumer 6 | // resourcemerge. 7 | package lib 8 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1+cap3+cap5+cap7" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/leaderelection/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - mikedanese 5 | - jefftree 6 | reviewers: 7 | - wojtek-t 8 | - deads2k 9 | - mikedanese 10 | - ingvagabund 11 | - jefftree 12 | emeritus_approvers: 13 | - timothysc 14 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/manifests/requires-data.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: release-verification 5 | namespace: openshift-config-managed 6 | annotations: 7 | include.release.openshift.io/self-managed-high-availability: "true" 8 | release.openshift.io/verification-config-map: "" 9 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_2.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name2", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1+cap2+cap4+cap6+cap8" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_4.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name4", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap10+cap12+cap14+cap16" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_5.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name5", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap17+cap19+cap21+cap23" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_6.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name6", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap18+cap20+cap22+cap24" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_5.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name5", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap17+cap19+cap21+cap23" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_6.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name6", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap18+cap20+cap22+cap24" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/network.go: -------------------------------------------------------------------------------- 1 | package sprig 2 | 3 | import ( 4 | "math/rand" 5 | "net" 6 | ) 7 | 8 | func getHostByName(name string) string { 9 | addrs, _ := net.LookupHost(name) 10 | //TODO: add error handing when release v3 comes out 11 | return addrs[rand.Intn(len(addrs))] 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:defaulter-gen=TypeMeta 3 | // +k8s:openapi-gen=true 4 | 5 | // +kubebuilder:validation:Optional 6 | // +groupName=config.openshift.io 7 | // Package v1alpha1 is the v1alpha1 version of the API. 8 | package v1alpha1 9 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/current/file_3.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name3", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap2+cap9+cap11+cap13+cap15" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_1.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name1", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap111+cap113+cap115+cap117" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | insert_final_newline = true 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | indent_style = tab 10 | indent_size = 8 11 | 12 | [*.{md,yml,yaml,json}] 13 | indent_style = space 14 | indent_size = 2 15 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/operator/v1helpers/fake_informers.go: -------------------------------------------------------------------------------- 1 | package v1helpers 2 | 3 | import "k8s.io/client-go/informers" 4 | 5 | func NewFakeKubeInformersForNamespaces(informers map[string]informers.SharedInformerFactory) KubeInformersForNamespaces { 6 | return kubeInformersForNamespaces(informers) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/validation/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # Disable inheritance as this is an api owners file 4 | options: 5 | no_parent_owners: true 6 | approvers: 7 | - api-approvers 8 | reviewers: 9 | - api-reviewers 10 | labels: 11 | - kind/api-change 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/validation/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # Disable inheritance as this is an api owners file 4 | options: 5 | no_parent_owners: true 6 | approvers: 7 | - api-approvers 8 | reviewers: 9 | - api-reviewers 10 | labels: 11 | - kind/api-change 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # OSX trash 5 | .DS_Store 6 | 7 | # Eclipse files 8 | .classpath 9 | .project 10 | .settings/** 11 | 12 | # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA 13 | .idea/ 14 | *.iml 15 | 16 | # Vscode files 17 | .vscode 18 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_2.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name2", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap111+cap112+cap114+cap116+cap118" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_4.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name4", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap1110+cap1112+cap1114+cap1116" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /test/cvo/cvo.go: -------------------------------------------------------------------------------- 1 | package cvo 2 | 3 | import ( 4 | . "github.com/onsi/ginkgo/v2" 5 | . "github.com/onsi/gomega" 6 | ) 7 | 8 | var _ = Describe(`[Jira:"Cluster Version Operator"] cluster-version-operator-tests`, func() { 9 | It("should support passing tests", func() { 10 | Expect(true).To(BeTrue()) 11 | }) 12 | }) 13 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/.gitignore: -------------------------------------------------------------------------------- 1 | ### Go template 2 | 3 | # Binaries for programs and plugins 4 | *.exe 5 | *.exe~ 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, built with `go test -c` 11 | *.test 12 | 13 | 14 | # Go workspace file 15 | go.work 16 | 17 | # No Goland stuff in this repo 18 | .idea 19 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:conversion-gen=github.com/openshift/origin/pkg/image/apis/image 3 | // +k8s:defaulter-gen=TypeMeta 4 | // +k8s:openapi-gen=true 5 | 6 | // +groupName=image.openshift.io 7 | // Package v1 is the v1 version of the API. 8 | package v1 9 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/listers/config/v1alpha2/expansion_generated.go: -------------------------------------------------------------------------------- 1 | // Code generated by lister-gen. DO NOT EDIT. 2 | 3 | package v1alpha2 4 | 5 | // InsightsDataGatherListerExpansion allows custom methods to be added to 6 | // InsightsDataGatherLister. 7 | type InsightsDataGatherListerExpansion interface{} 8 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadcapabilitytest/test7/update/file_3.yaml: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "Test", 3 | "apiVersion": "k8s.io/v1", 4 | "metadata": { 5 | "name": "name3", 6 | "namespace": "ns1", 7 | "annotations": { 8 | "capability.openshift.io/name": "cap112+cap119+cap1111+cap1113+cap1115" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.9.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/rest/.mockery.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | dir: . 3 | filename: "mock_{{.InterfaceName | snakecase}}_test.go" 4 | boilerplate-file: ../../../../../hack/boilerplate/boilerplate.generatego.txt 5 | outpkg: rest 6 | with-expecter: true 7 | packages: 8 | k8s.io/client-go/rest: 9 | interfaces: 10 | BackoffManager: 11 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/security/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:conversion-gen=github.com/openshift/origin/pkg/security/apis/security 3 | // +k8s:defaulter-gen=TypeMeta 4 | // +k8s:openapi-gen=true 5 | 6 | // +groupName=security.openshift.io 7 | // Package v1 is the v1 version of the API. 8 | package v1 9 | -------------------------------------------------------------------------------- /vendor/github.com/robfig/cron/README.md: -------------------------------------------------------------------------------- 1 | [![GoDoc](http://godoc.org/github.com/robfig/cron?status.png)](http://godoc.org/github.com/robfig/cron) 2 | [![Build Status](https://travis-ci.org/robfig/cron.svg?branch=master)](https://travis-ci.org/robfig/cron) 3 | 4 | # cron 5 | 6 | Documentation here: https://godoc.org/github.com/robfig/cron 7 | -------------------------------------------------------------------------------- /vendor/go.yaml.in/yaml/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v2 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/progress_report_bsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || darwin || dragonfly 2 | // +build freebsd openbsd netbsd darwin dragonfly 3 | 4 | package internal 5 | 6 | import ( 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | var PROGRESS_SIGNALS = []os.Signal{syscall.SIGINFO, syscall.SIGUSR1} 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix zos 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - harshanarayana 4 | - mengjiao-liu 5 | - pohly 6 | approvers: 7 | - dims 8 | - pohly 9 | - thockin 10 | emeritus_approvers: 11 | - brancz 12 | - justinsb 13 | - lavalamp 14 | - piosz 15 | - serathius 16 | - tallclair 17 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/config/v1/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package,register 2 | // +k8s:defaulter-gen=TypeMeta 3 | // +k8s:openapi-gen=true 4 | // +openshift:featuregated-schema-gen=true 5 | 6 | // +kubebuilder:validation:Optional 7 | // +groupName=config.openshift.io 8 | // Package v1 is the v1 version of the API. 9 | package v1 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - mikedanese 11 | - liggitt 12 | - janetkuo 13 | - dims 14 | emeritus_reviewers: 15 | - ncdc 16 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/prototext/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package prototext marshals and unmarshals protocol buffer messages as the 6 | // textproto format. 7 | package prototext 8 | -------------------------------------------------------------------------------- /test/cvo/cvo_suite_test.go: -------------------------------------------------------------------------------- 1 | // This file is to support running tests with ginkgo-cli: 2 | // ginkgo ./test/... 3 | package cvo 4 | 5 | import ( 6 | "testing" 7 | 8 | . "github.com/onsi/ginkgo/v2" 9 | . "github.com/onsi/gomega" 10 | ) 11 | 12 | func TestGinkgo(t *testing.T) { 13 | RegisterFailHandler(Fail) 14 | RunSpecs(t, "CVO Suite") 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/google/pprof/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of pprof authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | # Names should be added to this file as: 5 | # Name or Organization 6 | # The email address is not required for organizations. 7 | Google Inc. -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/Makefile: -------------------------------------------------------------------------------- 1 | # default task since it's first 2 | .PHONY: all 3 | all: vet test 4 | 5 | .PHONY: test 6 | test: 7 | go run github.com/onsi/ginkgo/v2/ginkgo -r -p -randomize-all -keep-going 8 | 9 | .PHONY: vet 10 | vet: 11 | go vet ./... 12 | 13 | .PHONY: update-deps 14 | update-deps: 15 | go get -u ./... 16 | go mod tidy -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | install: 7 | - export GOPATH="$HOME/gopath" 8 | - mkdir -p "$GOPATH/src/golang.org/x" 9 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 10 | - go get -v -t -d golang.org/x/oauth2/... 11 | 12 | script: 13 | - go test -v golang.org/x/oauth2/... 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build protolegacy 6 | // +build protolegacy 7 | 8 | package flags 9 | 10 | const protoLegacy = true 11 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/util/sets/README.md: -------------------------------------------------------------------------------- 1 | This package is copy/pasted from [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery/tree/master/pkg/util/sets) 2 | to avoid a circular dependency with `openshift/kubernetes` as it requires OTE and, without having done this, 3 | OTE would require `kubernetes/kubernetes`. 4 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !protolegacy 6 | // +build !protolegacy 7 | 8 | package flags 9 | 10 | const protoLegacy = false 11 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - mikedanese 11 | - liggitt 12 | - saad-ali 13 | - janetkuo 14 | - tallclair 15 | - dims 16 | - cjcullen 17 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/klog_file_others.go: -------------------------------------------------------------------------------- 1 | //go:build !windows 2 | // +build !windows 3 | 4 | package klog 5 | 6 | import ( 7 | "os/user" 8 | ) 9 | 10 | func getUserName() string { 11 | userNameOnce.Do(func() { 12 | current, err := user.Current() 13 | if err == nil { 14 | userName = current.Username 15 | } 16 | }) 17 | 18 | return userName 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/testall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -eu -o pipefail 3 | 4 | # Small convenience script for running the tests with various combinations of 5 | # arch/tags. This assumes we're running on amd64 and have qemu available. 6 | 7 | go test ./... 8 | go test -tags purego ./... 9 | GOARCH=arm64 go test 10 | GOARCH=arm64 go test -tags purego 11 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/exception.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 5 | 6 | const ( 7 | // ExceptionEventName is the name of the Span event representing an exception. 8 | ExceptionEventName = "exception" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 10 | return ENOTSUP 11 | } 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - caesarxuchao 9 | - liggitt 10 | - sttts 11 | - luxas 12 | - janetkuo 13 | - justinsb 14 | - soltysh 15 | - dims 16 | emeritus_reviewers: 17 | - ncdc 18 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtest/release-manifests/release-metadata: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "cincinnati-metadata-v0", 3 | "version": "1.0.0-abc", 4 | "previous": [ 5 | "1.1.1", 6 | "1.2.2" 7 | ], 8 | "metadata": { 9 | "url": "https://example.com/v1.0.0-abc", 10 | "io.openshift.upgrades.graph.release.channels": "channel-c,channel-a,channel-b" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/api/pkg/operators/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // +groupName=operators.coreos.com 2 | // +k8s:deepcopy-gen=package 3 | // +k8s:conversion-gen=github.com/operator-framework/operator-lifecycle-manager/pkg/api/apis/operators 4 | 5 | // Package v1alpha1 contains resources types for version v1alpha1 of the operators.coreos.com API group. 6 | package v1alpha1 7 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/api/pkg/operators/v1alpha2/doc.go: -------------------------------------------------------------------------------- 1 | // +groupName=operators.coreos.com 2 | // +k8s:deepcopy-gen=package 3 | // +k8s:conversion-gen=github.com/operator-framework/operator-lifecycle-manager/pkg/api/apis/operators 4 | 5 | // Package v1alpha2 contains resources types for version v1alpha2 of the operators.coreos.com API group. 6 | package v1alpha2 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/sirupsen/logrus 3 | git: 4 | depth: 1 5 | env: 6 | - GO111MODULE=on 7 | go: 1.15.x 8 | os: linux 9 | install: 10 | - ./travis/install.sh 11 | script: 12 | - cd ci 13 | - go run mage.go -v -w ../ crossBuild 14 | - go run mage.go -v -w ../ lint 15 | - go run mage.go -v -w ../ test 16 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/regen_go_proto_canonical_protos.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | bazel build //proto/cel/expr:all 3 | 4 | rm -vf ./*.pb.go 5 | 6 | files=( $(bazel cquery //proto/cel/expr:expr_go_proto --output=starlark --starlark:expr="'\n'.join([f.path for f in target.output_groups.go_generated_srcs.to_list()])") ) 7 | for src in "${files[@]}"; 8 | do 9 | cp -v "${src}" ./ 10 | done 11 | -------------------------------------------------------------------------------- /vendor/github.com/robfig/cron/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/internal/telemetry/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package telemetry provides a lightweight representations of OpenTelemetry 6 | telemetry that is compatible with the OTLP JSON protobuf encoding. 7 | */ 8 | package telemetry // import "go.opentelemetry.io/otel/trace/internal/telemetry" 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/pre_go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build !go1.18 8 | 9 | package idna 10 | 11 | const transitionalLookup = true 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux || !go1.24 6 | 7 | package unix 8 | 9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) { 10 | return -1, false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/mwitkow/go-conntrack/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - "1.8" 5 | - "1.9" 6 | - "1.10" 7 | - "1.11" 8 | - "1.12" 9 | 10 | install: 11 | - go get github.com/stretchr/testify 12 | - go get github.com/prometheus/client_golang/prometheus 13 | - go get golang.org/x/net/context 14 | - go get golang.org/x/net/trace 15 | 16 | script: 17 | - go test -v ./... 18 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/operator/clientset/versioned/typed/operator/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | package v1alpha1 4 | 5 | type ClusterVersionOperatorExpansion interface{} 6 | 7 | type EtcdBackupExpansion interface{} 8 | 9 | type ImageContentSourcePolicyExpansion interface{} 10 | 11 | type OLMExpansion interface{} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //go:noescape 12 | func gettimeofday(tv *Timeval) (err syscall.Errno) 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY 13 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/atn_type.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. 2 | // Use of this file is governed by the BSD 3-clause license that 3 | // can be found in the LICENSE.txt file in the project root. 4 | 5 | package antlr 6 | 7 | // Represent the type of recognizer an ATN applies to. 8 | const ( 9 | ATNTypeLexer = 0 10 | ATNTypeParser = 1 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package flags 6 | 7 | // Deterministic controls whether the output of Diff should be deterministic. 8 | // This is only used for testing. 9 | var Deterministic bool 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 10 | return ptrace1(request, pid, addr, data) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # Eclipse files 5 | .classpath 6 | .project 7 | .settings/** 8 | 9 | # Idea files 10 | .idea/** 11 | .idea/ 12 | 13 | # Emacs save files 14 | *~ 15 | 16 | # Vim-related files 17 | [._]*.s[a-w][a-z] 18 | [._]s[a-w][a-z] 19 | *.un~ 20 | Session.vim 21 | .netrwhist 22 | 23 | # Go test binaries 24 | *.test 25 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || linux || solaris || zos 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/regen_go_proto.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | bazel build //proto/cel/expr/conformance/... 3 | files=($(bazel aquery 'kind(proto, //proto/cel/expr/conformance/...)' | grep Outputs | grep "[.]pb[.]go" | sed 's/Outputs: \[//' | sed 's/\]//' | tr "," "\n")) 4 | for src in ${files[@]}; 5 | do 6 | dst=$(echo $src | sed 's/\(.*\/cel.dev\/expr\/\(.*\)\)/\2/') 7 | echo "copying $dst" 8 | $(cp $src $dst) 9 | done 10 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - dims 5 | - jpbetz 6 | - smarterclayton 7 | - deads2k 8 | - sttts 9 | - liggitt 10 | reviewers: 11 | - dims 12 | - thockin 13 | - jpbetz 14 | - smarterclayton 15 | - wojtek-t 16 | - deads2k 17 | - derekwaynecarr 18 | - mikedanese 19 | - liggitt 20 | - sttts 21 | - tallclair 22 | labels: 23 | - sig/api-machinery 24 | -------------------------------------------------------------------------------- /.openshift-tests-extension/openshift_payload_cluster-version-operator.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "[Jira:\"Cluster Version Operator\"] cluster-version-operator-tests should support passing tests", 4 | "labels": {}, 5 | "resources": { 6 | "isolation": {} 7 | }, 8 | "source": "openshift:payload:cluster-version-operator", 9 | "lifecycle": "blocking", 10 | "environmentSelector": {} 11 | } 12 | ] -------------------------------------------------------------------------------- /lib/resourcebuilder/helper.go: -------------------------------------------------------------------------------- 1 | package resourcebuilder 2 | 3 | import "k8s.io/client-go/rest" 4 | 5 | // withProtobuf makes a client use protobuf. 6 | func withProtobuf(config *rest.Config) *rest.Config { 7 | config = rest.CopyConfig(config) 8 | config.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json" 9 | config.ContentType = "application/vnd.kubernetes.protobuf" 10 | return config 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - errcheck 5 | - godot 6 | - gosimple 7 | - govet 8 | - ineffassign 9 | - misspell 10 | - revive 11 | - staticcheck 12 | - testifylint 13 | - unused 14 | 15 | linter-settings: 16 | godot: 17 | capital: true 18 | exclude: 19 | # Ignore "See: URL" 20 | - 'See:' 21 | misspell: 22 | locale: US 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/name.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package genid 6 | 7 | const ( 8 | NoUnkeyedLiteral_goname = "noUnkeyedLiteral" 9 | NoUnkeyedLiteralA_goname = "XXX_NoUnkeyedLiteral" 10 | 11 | BuilderSuffix_goname = "_builder" 12 | ) 13 | -------------------------------------------------------------------------------- /pkg/dependencymagnet/doc.go: -------------------------------------------------------------------------------- 1 | // Package dependencymagnet adds nominal Go dependencies so 'go mod' 2 | // will pull in content we do not actually need to compile our Go, but 3 | // which we do need to build our container image. 4 | package dependencymagnet 5 | 6 | import ( 7 | _ "github.com/openshift/api/config/v1/zz_generated.crd-manifests" 8 | _ "github.com/openshift/api/operator/v1alpha1/zz_generated.crd-manifests" 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_asm.go: -------------------------------------------------------------------------------- 1 | //go:build (amd64 || arm64) && !appengine && gc && !purego 2 | // +build amd64 arm64 3 | // +build !appengine 4 | // +build gc 5 | // +build !purego 6 | 7 | package xxhash 8 | 9 | // Sum64 computes the 64-bit xxHash digest of b with a zero seed. 10 | // 11 | //go:noescape 12 | func Sum64(b []byte) uint64 13 | 14 | //go:noescape 15 | func writeBlocks(d *Digest, b []byte) int 16 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/overloads/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "overloads.go", 12 | ], 13 | importpath = "github.com/google/cel-go/common/overloads", 14 | ) 15 | -------------------------------------------------------------------------------- /pkg/cvo/testdata/payloadtestarch/release-manifests/release-metadata: -------------------------------------------------------------------------------- 1 | { 2 | "kind": "cincinnati-metadata-v0", 3 | "version": "1.0.0-abc", 4 | "previous": [ 5 | "1.1.1", 6 | "1.2.2" 7 | ], 8 | "metadata": { 9 | "url": "https://example.com/v1.0.0-abc", 10 | "io.openshift.upgrades.graph.release.channels": "channel-c,channel-a,channel-b", 11 | "release.openshift.io/architecture": "multi" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/japanese/all.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package japanese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{EUCJP, ISO2022JP, ShiftJIS} 13 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/operators/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "operators.go", 12 | ], 13 | importpath = "github.com/google/cel-go/common/operators", 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | package v1alpha1 4 | 5 | type BackupExpansion interface{} 6 | 7 | type ClusterImagePolicyExpansion interface{} 8 | 9 | type ClusterMonitoringExpansion interface{} 10 | 11 | type ImagePolicyExpansion interface{} 12 | 13 | type InsightsDataGatherExpansion interface{} 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/bench_test.sh: -------------------------------------------------------------------------------- 1 | #go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out 2 | 3 | go test -c 4 | ./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany 5 | ./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly 6 | 7 | #go tool pprof go-restful.test tmp.prof 8 | go tool pprof go-restful.test curly.prof 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/mmap_nomremap.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | var mapper = &mmapper{ 10 | active: make(map[*byte][]byte), 11 | mmap: mmap, 12 | munmap: munmap, 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 10 | -------------------------------------------------------------------------------- /vendor/github.com/fxamacker/cbor/v2/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | Security fixes are provided for the latest released version of fxamacker/cbor. 4 | 5 | If the security vulnerability is already known to the public, then you can open an issue as a bug report. 6 | 7 | To report security vulnerabilities not yet known to the public, please email faye.github@gmail.com and allow time for the problem to be resolved before reporting it to the public. 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/vgetrandom_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && go1.24 6 | 7 | package unix 8 | 9 | import _ "unsafe" 10 | 11 | //go:linkname vgetrandom runtime.vgetrandom 12 | //go:noescape 13 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/simplifiedchinese/all.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package simplifiedchinese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{GB18030, GBK, HZGB2312} 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/runtime/protoiface/legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package protoiface 6 | 7 | type MessageV1 interface { 8 | Reset() 9 | String() string 10 | ProtoMessage() 11 | } 12 | 13 | type ExtensionRangeV1 struct { 14 | Start, End int32 // both inclusive 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, A. Stoewer 2 | // All rights reserved. 3 | 4 | // Package strcase converts between different kinds of naming formats such as camel case 5 | // (CamelCase), snake case (snake_case) or kebab case (kebab-case). The package is designed 6 | // to work only with strings consisting of standard ASCII letters. Unicode is currently not 7 | // supported. 8 | package strcase 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/internal/language/common.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | package language 4 | 5 | // This file contains code common to the maketables.go and the package code. 6 | 7 | // AliasType is the type of an alias in AliasMap. 8 | type AliasType int8 9 | 10 | const ( 11 | Deprecated AliasType = iota 12 | Macro 13 | Legacy 14 | 15 | AliasTypeUnknown AliasType = -1 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/char_stream.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. 2 | // Use of this file is governed by the BSD 3-clause license that 3 | // can be found in the LICENSE.txt file in the project root. 4 | 5 | package antlr 6 | 7 | type CharStream interface { 8 | IntStream 9 | GetText(int, int) string 10 | GetTextFromTokens(start, end Token) string 11 | GetTextFromInterval(Interval) string 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/interrupt_handler/sigquit_swallower_unix.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd || openbsd || netbsd || dragonfly || darwin || linux || solaris 2 | // +build freebsd openbsd netbsd dragonfly darwin linux solaris 3 | 4 | package interrupt_handler 5 | 6 | import ( 7 | "os" 8 | "os/signal" 9 | "syscall" 10 | ) 11 | 12 | func SwallowSigQuit() { 13 | c := make(chan os.Signal, 1024) 14 | signal.Notify(c, syscall.SIGQUIT) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/codes/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | /* 5 | Package codes defines the canonical error codes used by OpenTelemetry. 6 | 7 | It conforms to [the OpenTelemetry 8 | specification](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.20.0/specification/trace/api.md#set-status). 9 | */ 10 | package codes // import "go.opentelemetry.io/otel/codes" 11 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/randfill/OWNERS_ALIASES: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md 2 | # This file should be kept in sync with k/org. 3 | 4 | aliases: 5 | # Reference: https://github.com/kubernetes/org/blob/main/OWNERS_ALIASES 6 | sig-testing-leads: 7 | - BenTheElder 8 | - alvaroaleman 9 | - aojea 10 | - cjwagner 11 | - jbpratt 12 | - michelle192837 13 | - pohly 14 | - xmcqueen 15 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/v3/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | | Version | Supported | 6 | | ------- | ------------------ | 7 | | v3.7.x | :white_check_mark: | 8 | | < v3.0.1 | :x: | 9 | 10 | ## Reporting a Vulnerability 11 | 12 | Create an Issue and put the label `[security]` in the title of the issue. 13 | Valid reported security issues are expected to be solved within a week. 14 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | deadline: 10m 3 | 4 | linters: 5 | enable: 6 | - dupl 7 | - goconst 8 | - gocyclo 9 | - godox 10 | - gosec 11 | - interfacer 12 | - lll 13 | - maligned 14 | - misspell 15 | - prealloc 16 | - stylecheck 17 | - unconvert 18 | - unparam 19 | - errcheck 20 | - golint 21 | - gofmt 22 | disable: [] 23 | fast: false 24 | 25 | issues: 26 | exclude-use-default: false 27 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/editiondefaults/defaults.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package editiondefaults contains the binary representation of the editions 6 | // defaults. 7 | package editiondefaults 8 | 9 | import _ "embed" 10 | 11 | //go:embed editions_defaults.binpb 12 | var Defaults []byte 13 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/auxv_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.21 && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Auxv() ([][2]uintptr, error) { 12 | return nil, syscall.ENOTSUP 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | if !t.isRTL() { 11 | return true 12 | } 13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/int_stream.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. 2 | // Use of this file is governed by the BSD 3-clause license that 3 | // can be found in the LICENSE.txt file in the project root. 4 | 5 | package antlr 6 | 7 | type IntStream interface { 8 | Consume() 9 | LA(int) int 10 | Mark() int 11 | Release(marker int) 12 | Index() int 13 | Seek(index int) 14 | Size() int 15 | GetSourceName() string 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/jlexer/error.go: -------------------------------------------------------------------------------- 1 | package jlexer 2 | 3 | import "fmt" 4 | 5 | // LexerError implements the error interface and represents all possible errors that can be 6 | // generated during parsing the JSON data. 7 | type LexerError struct { 8 | Reason string 9 | Offset int 10 | Data string 11 | } 12 | 13 | func (l *LexerError) Error() string { 14 | return fmt.Sprintf("parse error: %s near offset %d of '%s'", l.Reason, l.Offset, l.Data) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/attributes_slice.go: -------------------------------------------------------------------------------- 1 | package matchers 2 | 3 | import ( 4 | "encoding/xml" 5 | "strings" 6 | ) 7 | 8 | type attributesSlice []xml.Attr 9 | 10 | func (attrs attributesSlice) Len() int { return len(attrs) } 11 | func (attrs attributesSlice) Less(i, j int) bool { 12 | return strings.Compare(attrs[i].Name.Local, attrs[j].Name.Local) == -1 13 | } 14 | func (attrs attributesSlice) Swap(i, j int) { attrs[i], attrs[j] = attrs[j], attrs[i] } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/pwd_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package plan9 6 | 7 | import "syscall" 8 | 9 | func fixwd() { 10 | syscall.Fixwd() 11 | } 12 | 13 | func Getwd() (wd string, err error) { 14 | return syscall.Getwd() 15 | } 16 | 17 | func Chdir(path string) error { 18 | return syscall.Chdir(path) 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | type Signal = syscall.Signal 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/kebab.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, A. Stoewer 2 | // All rights reserved. 3 | 4 | package strcase 5 | 6 | // KebabCase converts a string into kebab case. 7 | func KebabCase(s string) string { 8 | return delimiterCase(s, '-', false) 9 | } 10 | 11 | // UpperKebabCase converts a string into kebab case with capital letters. 12 | func UpperKebabCase(s string) string { 13 | return delimiterCase(s, '-', true) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/security/clientset/versioned/typed/security/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | package v1 4 | 5 | type PodSecurityPolicyReviewExpansion interface{} 6 | 7 | type PodSecurityPolicySelfSubjectReviewExpansion interface{} 8 | 9 | type PodSecurityPolicySubjectReviewExpansion interface{} 10 | 11 | type RangeAllocationExpansion interface{} 12 | 13 | type SecurityContextConstraintsExpansion interface{} 14 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go: -------------------------------------------------------------------------------- 1 | // This file is included to the build if any of the buildtags below 2 | // are defined. Refer to README notes for more details. 3 | 4 | //+build easyjson_nounsafe appengine 5 | 6 | package jlexer 7 | 8 | // bytesToStr creates a string normally from []byte 9 | // 10 | // Note that this method is roughly 1.5x slower than using the 'unsafe' method. 11 | func bytesToStr(data []byte) string { 12 | return string(data) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | var ( 4 | // CommitFromGit is a constant representing the source version that 5 | // generated this build. It should be set during build via -ldflags. 6 | CommitFromGit string 7 | // BuildDate in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') 8 | BuildDate string 9 | // GitTreeState has the state of git tree, either "clean" or "dirty" 10 | GitTreeState string 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/idna/go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build go1.18 8 | 9 | package idna 10 | 11 | // Transitional processing is disabled by default in Go 1.18. 12 | // https://golang.org/issue/47510 13 | const transitionalLookup = false 14 | -------------------------------------------------------------------------------- /hack/update-test-metadata.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eu 4 | 5 | source hack/build-info.sh 6 | 7 | # Update test metadata 8 | if ! "${BIN_PATH}/cluster-version-operator-tests" "update"; then 9 | >&2 echo "Failed to update metadata. It is likely because an incompatible change is introduced, such as a test is renamed. 10 | See https://github.com/openshift/cluster-version-operator/blob/main/cmd/cluster-version-operator-tests/README.md#test-names for details." 11 | exit 1 12 | fi 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_02_configuration-DevPreviewNoUpgrade.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: operator.openshift.io/v1alpha1 2 | kind: ClusterVersionOperator 3 | metadata: 4 | name: cluster 5 | annotations: 6 | include.release.openshift.io/ibm-cloud-managed: "true" 7 | include.release.openshift.io/self-managed-high-availability: "true" 8 | release.openshift.io/feature-set: DevPreviewNoUpgrade 9 | release.openshift.io/create-only: "true" 10 | spec: 11 | operatorLogLevel: Normal 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname resolveTypeOff reflect.resolveTypeOff 10 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 11 | 12 | //go:linkname makemap reflect.makemap 13 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 14 | 15 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 16 | return makemap(rtype, cap) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | // Package semconv implements OpenTelemetry semantic conventions. 5 | // 6 | // OpenTelemetry semantic conventions are agreed standardized naming 7 | // patterns for OpenTelemetry things. This package represents the v1.26.0 8 | // version of the OpenTelemetry semantic conventions. 9 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package genid contains constants for declarations in descriptor.proto 6 | // and the well-known types. 7 | package genid 8 | 9 | import "google.golang.org/protobuf/reflect/protoreflect" 10 | 11 | const GoogleProtobuf_package protoreflect.FullName = "google.protobuf" 12 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_02_configuration-TechPreviewNoUpgrade.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: operator.openshift.io/v1alpha1 2 | kind: ClusterVersionOperator 3 | metadata: 4 | name: cluster 5 | annotations: 6 | include.release.openshift.io/ibm-cloud-managed: "true" 7 | include.release.openshift.io/self-managed-high-availability: "true" 8 | release.openshift.io/feature-set: TechPreviewNoUpgrade 9 | release.openshift.io/create-only: "true" 10 | spec: 11 | operatorLogLevel: Normal 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin && !ios) || zos 6 | 7 | package unix 8 | 9 | // SysvShmCtl performs control operations on the shared memory segment 10 | // specified by id. 11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 12 | return shmctl(id, cmd, desc) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/cel.dev/expr/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | # CEL Language Council 2 | 3 | | Name | Company | Area of Expertise | 4 | |-----------------|--------------|-------------------| 5 | | Alfred Fuller | Facebook | cel-cpp, cel-spec | 6 | | Jim Larson | Google | cel-go, cel-spec | 7 | | Matthais Blume | Google | cel-spec | 8 | | Tristan Swadell | Google | cel-go, cel-spec | 9 | 10 | ## Emeritus 11 | 12 | * Sanjay Ghemawat (Google) 13 | * Wolfgang Grieskamp (Facebook) 14 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/functions/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "functions.go", 12 | ], 13 | importpath = "github.com/google/cel-go/common/functions", 14 | deps = [ 15 | "//common/types/ref:go_default_library", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/flags/suite.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | import ( 4 | "github.com/spf13/pflag" 5 | ) 6 | 7 | // SuiteFlags contains information for specifying the suite. 8 | type SuiteFlags struct { 9 | Suite string 10 | } 11 | 12 | func NewSuiteFlags() *SuiteFlags { 13 | return &SuiteFlags{} 14 | } 15 | 16 | func (f *SuiteFlags) BindFlags(fs *pflag.FlagSet) { 17 | fs.StringVar(&f.Suite, 18 | "suite", 19 | f.Suite, 20 | "specify the suite to use") 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && gc && linux 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/spec_patch.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/v2/types" 5 | ) 6 | 7 | func (s Spec) CodeLocations() []types.CodeLocation { 8 | return s.Nodes.CodeLocations() 9 | } 10 | 11 | func (s Spec) AppendText(text string) { 12 | s.Nodes[len(s.Nodes)-1].Text += text 13 | } 14 | 15 | func (s Spec) Labels() []string { 16 | var labels []string 17 | for _, n := range s.Nodes { 18 | labels = append(labels, n.Labels...) 19 | } 20 | 21 | return labels 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/.golangci.yaml: -------------------------------------------------------------------------------- 1 | run: 2 | timeout: 1m 3 | tests: true 4 | 5 | linters: 6 | disable-all: true 7 | enable: 8 | - asciicheck 9 | - errcheck 10 | - forcetypeassert 11 | - gocritic 12 | - gofmt 13 | - goimports 14 | - gosimple 15 | - govet 16 | - ineffassign 17 | - misspell 18 | - revive 19 | - staticcheck 20 | - typecheck 21 | - unused 22 | 23 | issues: 24 | exclude-use-default: false 25 | max-issues-per-linter: 0 26 | max-same-issues: 10 27 | -------------------------------------------------------------------------------- /vendor/github.com/google/gnostic-models/extensions/README.md: -------------------------------------------------------------------------------- 1 | # Extensions 2 | 3 | **Extension Support is experimental.** 4 | 5 | This directory contains support code for building Gnostic extensio handlers and 6 | associated examples. 7 | 8 | Extension handlers can be used to compile vendor or specification extensions 9 | into protocol buffer structures. 10 | 11 | Like plugins, extension handlers are built as separate executables. Extension 12 | bodies are written to extension handlers as serialized 13 | ExtensionHandlerRequests. 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_alarm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) 6 | 7 | package unix 8 | 9 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH 10 | // values. 11 | 12 | //sys Alarm(seconds uint) (remaining uint, err error) 13 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/semconv/v1.26.0/schema.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package semconv // import "go.opentelemetry.io/otel/semconv/v1.26.0" 5 | 6 | // SchemaURL is the schema URL that matches the version of the semantic conventions 7 | // that this package defines. Semconv packages starting from v1.4.0 must declare 8 | // non-empty schema URL in the form https://opentelemetry.io/schemas/ 9 | const SchemaURL = "https://opentelemetry.io/schemas/1.26.0" 10 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | //go:build appengine 2 | // +build appengine 3 | 4 | // This file contains the safe implementations of otherwise unsafe-using code. 5 | 6 | package xxhash 7 | 8 | // Sum64String computes the 64-bit xxHash digest of s with a zero seed. 9 | func Sum64String(s string) uint64 { 10 | return Sum64([]byte(s)) 11 | } 12 | 13 | // WriteString adds more data to d. It always returns len(s), nil. 14 | func (d *Digest) WriteString(s string) (n int, err error) { 15 | return d.Write([]byte(s)) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !cmp_debug 6 | // +build !cmp_debug 7 | 8 | package diff 9 | 10 | var debug debugger 11 | 12 | type debugger struct{} 13 | 14 | func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc { 15 | return f 16 | } 17 | func (debugger) Update() {} 18 | func (debugger) Finish() {} 19 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_01_admingate_configmap.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: admin-gates 5 | namespace: openshift-config-managed 6 | annotations: 7 | kubernetes.io/description: Define update gates for the administrator to acknowledge in the admin-acks ConfigMap in the openshift-config namespace. 8 | include.release.openshift.io/hypershift: "true" 9 | include.release.openshift.io/ibm-cloud-managed: "true" 10 | include.release.openshift.io/self-managed-high-availability: "true" 11 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests/result.go: -------------------------------------------------------------------------------- 1 | package extensiontests 2 | 3 | func (results ExtensionTestResults) Walk(walkFn func(*ExtensionTestResult)) { 4 | for i := range results { 5 | walkFn(results[i]) 6 | } 7 | } 8 | 9 | // AddDetails adds additional information to an ExtensionTestResult. Value must marshal to JSON. 10 | func (result *ExtensionTestResult) AddDetails(name string, value interface{}) { 11 | result.Details = append(result.Details, Details{Name: name, Value: value}) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/api/image/dockerpre012/deepcopy.go: -------------------------------------------------------------------------------- 1 | package dockerpre012 2 | 3 | // DeepCopyInto is manually built to copy the (probably bugged) time.Time 4 | func (in *ImagePre012) DeepCopyInto(out *ImagePre012) { 5 | *out = *in 6 | out.Created = in.Created 7 | in.ContainerConfig.DeepCopyInto(&out.ContainerConfig) 8 | if in.Config != nil { 9 | in, out := &in.Config, &out.Config 10 | if *in == nil { 11 | *out = nil 12 | } else { 13 | *out = new(Config) 14 | (*in).DeepCopyInto(*out) 15 | } 16 | } 17 | return 18 | } 19 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/wrappers.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package genid 6 | 7 | import "google.golang.org/protobuf/reflect/protoreflect" 8 | 9 | // Generic field name and number for messages in wrappers.proto. 10 | const ( 11 | WrapperValue_Value_field_name protoreflect.Name = "value" 12 | WrapperValue_Value_field_number protoreflect.FieldNumber = 1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/cache/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - caesarxuchao 9 | - liggitt 10 | reviewers: 11 | - thockin 12 | - smarterclayton 13 | - wojtek-t 14 | - deads2k 15 | - derekwaynecarr 16 | - caesarxuchao 17 | - mikedanese 18 | - liggitt 19 | - janetkuo 20 | - justinsb 21 | - soltysh 22 | - jsafrane 23 | - dims 24 | - ingvagabund 25 | emeritus_approvers: 26 | - lavalamp 27 | - ncdc 28 | -------------------------------------------------------------------------------- /install/0000_90_cluster-version-operator_00_prometheusrole.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: rbac.authorization.k8s.io/v1 2 | kind: Role 3 | metadata: 4 | name: prometheus-k8s 5 | namespace: openshift-cluster-version 6 | annotations: 7 | kubernetes.io/description: Grant access to monitor the cluster-version operator's metrics. 8 | include.release.openshift.io/self-managed-high-availability: "true" 9 | rules: 10 | - apiGroups: 11 | - "" 12 | resources: 13 | - services 14 | - endpoints 15 | - pods 16 | verbs: 17 | - get 18 | - list 19 | - watch 20 | -------------------------------------------------------------------------------- /pkg/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | import ( 4 | "fmt" 5 | "strings" 6 | 7 | "github.com/blang/semver/v4" 8 | ) 9 | 10 | var ( 11 | // Raw is the string representation of the version. This will be replaced 12 | // with the calculated version at build time. 13 | Raw = "v0.0.1" 14 | 15 | // Version is the semver representation of the version. 16 | Version = semver.MustParse(strings.TrimLeft(Raw, "v")) 17 | 18 | // String is the human-friendly representation of the version. 19 | String = fmt.Sprintf("ClusterVersionOperator %s", Raw) 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/token_source.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. 2 | // Use of this file is governed by the BSD 3-clause license that 3 | // can be found in the LICENSE.txt file in the project root. 4 | 5 | package antlr 6 | 7 | type TokenSource interface { 8 | NextToken() Token 9 | Skip() 10 | More() 11 | GetLine() int 12 | GetCharPositionInLine() int 13 | GetInputStream() CharStream 14 | GetSourceName() string 15 | setTokenFactory(factory TokenFactory) 16 | GetTokenFactory() TokenFactory 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/openshift/client-go/image/clientset/versioned/typed/image/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | // Code generated by client-gen. DO NOT EDIT. 2 | 3 | package v1 4 | 5 | type ImageExpansion interface{} 6 | 7 | type ImageSignatureExpansion interface{} 8 | 9 | type ImageStreamExpansion interface{} 10 | 11 | type ImageStreamImageExpansion interface{} 12 | 13 | type ImageStreamImportExpansion interface{} 14 | 15 | type ImageStreamMappingExpansion interface{} 16 | 17 | type ImageStreamTagExpansion interface{} 18 | 19 | type ImageTagExpansion interface{} 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo && linux && amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `klog` is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/config_pre_go124.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.24 6 | 7 | package http2 8 | 9 | import "net/http" 10 | 11 | // Pre-Go 1.24 fallback. 12 | // The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24. 13 | 14 | func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {} 15 | 16 | func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {} 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package impl 6 | 7 | // When using unsafe pointers, we can just treat enum values as int32s. 8 | 9 | var ( 10 | coderEnumNoZero = coderInt32NoZero 11 | coderEnum = coderInt32 12 | coderEnumPtr = coderInt32Ptr 13 | coderEnumSlice = coderInt32Slice 14 | coderEnumPackedSlice = coderInt32PackedSlice 15 | ) 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/fsnotify.v1/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.8.x 6 | - 1.9.x 7 | - tip 8 | 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | fast_finish: true 13 | 14 | before_script: 15 | - go get -u github.com/golang/lint/golint 16 | 17 | script: 18 | - go test -v --race ./... 19 | 20 | after_script: 21 | - test -z "$(gofmt -s -l -w . | tee /dev/stderr)" 22 | - test -z "$(golint ./... | tee /dev/stderr)" 23 | - go vet ./... 24 | 25 | os: 26 | - linux 27 | - osx 28 | 29 | notifications: 30 | email: false 31 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `yaml` Project is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/node_js.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build js 6 | 7 | package uuid 8 | 9 | // getHardwareInterface returns nil values for the JS version of the code. 10 | // This removes the "net" dependency, because it is not used in the browser. 11 | // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. 12 | func getHardwareInterface(name string) (string, []byte) { return "", nil } 13 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_02_roles.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: rbac.authorization.k8s.io/v1 2 | kind: ClusterRoleBinding 3 | metadata: 4 | name: cluster-version-operator 5 | annotations: 6 | kubernetes.io/description: Grant the cluster-version operator permission to perform cluster-admin actions while managing the OpenShift core. 7 | include.release.openshift.io/self-managed-high-availability: "true" 8 | roleRef: 9 | kind: ClusterRole 10 | name: cluster-admin 11 | subjects: 12 | - kind: ServiceAccount 13 | namespace: openshift-cluster-version 14 | name: default 15 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/crypto.go: -------------------------------------------------------------------------------- 1 | package sprig 2 | 3 | import ( 4 | "crypto/sha1" 5 | "crypto/sha256" 6 | "encoding/hex" 7 | "fmt" 8 | "hash/adler32" 9 | ) 10 | 11 | func sha256sum(input string) string { 12 | hash := sha256.Sum256([]byte(input)) 13 | return hex.EncodeToString(hash[:]) 14 | } 15 | 16 | func sha1sum(input string) string { 17 | hash := sha1.Sum([]byte(input)) 18 | return hex.EncodeToString(hash[:]) 19 | } 20 | 21 | func adler32sum(input string) string { 22 | hash := adler32.Checksum([]byte(input)) 23 | return fmt.Sprintf("%d", hash) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/internal/global/init.go: -------------------------------------------------------------------------------- 1 | package global 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/v2/internal" 5 | ) 6 | 7 | var Suite *internal.Suite 8 | var Failer *internal.Failer 9 | var backupSuite *internal.Suite 10 | 11 | func init() { 12 | InitializeGlobals() 13 | } 14 | 15 | func InitializeGlobals() { 16 | Failer = internal.NewFailer() 17 | Suite = internal.NewSuite() 18 | } 19 | 20 | func PushClone() error { 21 | var err error 22 | backupSuite, err = Suite.Clone() 23 | return err 24 | } 25 | 26 | func PopClone() { 27 | Suite = backupSuite 28 | } 29 | -------------------------------------------------------------------------------- /vendor/k8s.io/component-base/version/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # Currently assigned this directory to sig-api-machinery since this is 4 | # an interface to the version definition in "k8s.io/apimachinery/pkg/version", 5 | # and also to sig-release since this version information is set up for 6 | # each release. 7 | 8 | approvers: 9 | - sig-api-machinery-api-approvers 10 | - release-engineering-approvers 11 | reviewers: 12 | - sig-api-machinery-api-reviewers 13 | - release-managers 14 | labels: 15 | - sig/api-machinery 16 | - sig/release 17 | -------------------------------------------------------------------------------- /hack/push-image.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eu 4 | 5 | 6 | function print_info { 7 | echo "INFO: $1" >&2 8 | } 9 | 10 | REPO=${REPO:-"openshift"} 11 | 12 | if [ -z ${VERSION_OVERRIDE+a} ]; then 13 | print_info "Using version from git..." 14 | VERSION_OVERRIDE=$(git describe --abbrev=8 --dirty --always) 15 | fi 16 | 17 | set -x 18 | podman push "cluster-version-operator:${VERSION_OVERRIDE}" "${REPO}/origin-cluster-version-operator:${VERSION_OVERRIDE}" 19 | podman push "cluster-version-operator:${VERSION_OVERRIDE}" "${REPO}/origin-cluster-version-operator:latest" 20 | -------------------------------------------------------------------------------- /vendor/go.opentelemetry.io/otel/trace/nonrecording.go: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | package trace // import "go.opentelemetry.io/otel/trace" 5 | 6 | // nonRecordingSpan is a minimal implementation of a Span that wraps a 7 | // SpanContext. It performs no operations other than to return the wrapped 8 | // SpanContext. 9 | type nonRecordingSpan struct { 10 | noopSpan 11 | 12 | sc SpanContext 13 | } 14 | 15 | // SpanContext returns the wrapped SpanContext. 16 | func (s nonRecordingSpan) SpanContext() SpanContext { return s.sc } 17 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/flags/names.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | import ( 4 | "github.com/spf13/pflag" 5 | ) 6 | 7 | // NamesFlags contains information for specifying multiple test names. 8 | type NamesFlags struct { 9 | Names []string 10 | } 11 | 12 | func NewNamesFlags() *NamesFlags { 13 | return &NamesFlags{ 14 | Names: []string{}, 15 | } 16 | } 17 | 18 | func (f *NamesFlags) BindFlags(fs *pflag.FlagSet) { 19 | fs.StringArrayVarP(&f.Names, 20 | "names", 21 | "n", 22 | f.Names, 23 | "specify test name (can be specified multiple times)") 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build plan9 && !race 6 | 7 | package plan9 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc 6 | 7 | package unix 8 | 9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 11 | 12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 13 | // fail. 14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/protojson/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package protojson marshals and unmarshals protocol buffer messages as JSON 6 | // format. It follows the guide at 7 | // https://protobuf.dev/programming-guides/proto3#json. 8 | // 9 | // This package produces a different output than the standard [encoding/json] 10 | // package, which does not operate correctly on protocol buffer messages. 11 | package protojson 12 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_01_adminack_configmap.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: admin-acks 5 | namespace: openshift-config 6 | annotations: 7 | kubernetes.io/description: Record administrator acknowledgments of update gates defined in the admin-gates ConfigMap in the openshift-config-managed namespace. 8 | include.release.openshift.io/hypershift: "true" 9 | include.release.openshift.io/ibm-cloud-managed: "true" 10 | include.release.openshift.io/self-managed-high-availability: "true" 11 | release.openshift.io/create-only: "true" 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2009 The Go Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style 4 | # license that can be found in the LICENSE file. 5 | 6 | COMMAND="mksysnum_plan9.sh $@" 7 | 8 | cat <= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md 2 | 3 | approvers: 4 | - wking 5 | - DavidHurta 6 | - PratikMahajan 7 | - hongkailiu 8 | - fao89 9 | reviewers: 10 | - wking 11 | - DavidHurta 12 | - hongkailiu 13 | - fao89 14 | emeritus_approvers: 15 | - petr-muller 16 | - smarterclayton 17 | - abhinavdahiya 18 | - LalatenduMohanty 19 | 20 | # This is a Red Hat extension, mapping the Git repository to an OpenShift Bugzilla component: 21 | # https://bugzilla.redhat.com/enter_bug.cgi?product=OpenShift%20Container%20Platform 22 | component: "Cluster Version Operator" 23 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/be_nil_matcher.go: -------------------------------------------------------------------------------- 1 | // untested sections: 2 2 | 3 | package matchers 4 | 5 | import "github.com/onsi/gomega/format" 6 | 7 | type BeNilMatcher struct { 8 | } 9 | 10 | func (matcher *BeNilMatcher) Match(actual interface{}) (success bool, err error) { 11 | return isNil(actual), nil 12 | } 13 | 14 | func (matcher *BeNilMatcher) FailureMessage(actual interface{}) (message string) { 15 | return format.Message(actual, "to be nil") 16 | } 17 | 18 | func (matcher *BeNilMatcher) NegatedFailureMessage(actual interface{}) (message string) { 19 | return format.Message(actual, "not to be nil") 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/protolazy/pointer_unsafe.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package protolazy 6 | 7 | import ( 8 | "sync/atomic" 9 | "unsafe" 10 | ) 11 | 12 | func atomicLoadIndex(p **[]IndexEntry) *[]IndexEntry { 13 | return (*[]IndexEntry)(atomic.LoadPointer((*unsafe.Pointer)(unsafe.Pointer(p)))) 14 | } 15 | func atomicStoreIndex(p **[]IndexEntry, v *[]IndexEntry) { 16 | atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(p)), unsafe.Pointer(v)) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/debug/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "debug.go", 12 | ], 13 | importpath = "github.com/google/cel-go/common/debug", 14 | deps = [ 15 | "//common:go_default_library", 16 | "//common/ast:go_default_library", 17 | "//common/types:go_default_library", 18 | "//common/types/ref:go_default_library", 19 | ], 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/runes/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "buffer.go", 12 | ], 13 | importpath = "github.com/google/cel-go/common/runes", 14 | ) 15 | 16 | go_test( 17 | name = "go_default_test", 18 | size = "small", 19 | srcs = [ 20 | "buffer_test.go", 21 | ], 22 | embed = [ 23 | ":go_default_library", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/flags/concurrency.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | import "github.com/spf13/pflag" 4 | 5 | // ConcurrencyFlags contains information for configuring concurrency 6 | type ConcurrencyFlags struct { 7 | MaxConcurency int 8 | } 9 | 10 | func NewConcurrencyFlags() *ConcurrencyFlags { 11 | return &ConcurrencyFlags{ 12 | MaxConcurency: 10, 13 | } 14 | } 15 | 16 | func (f *ConcurrencyFlags) BindFlags(fs *pflag.FlagSet) { 17 | fs.IntVarP(&f.MaxConcurency, 18 | "max-concurrency", 19 | "c", 20 | f.MaxConcurency, 21 | "maximum number of tests to run in parallel", 22 | ) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/go.yaml.in/yaml/v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/go.yaml.in/yaml/v3/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/timer.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | package http2 5 | 6 | import "time" 7 | 8 | // A timer is a time.Timer, as an interface which can be replaced in tests. 9 | type timer = interface { 10 | C() <-chan time.Time 11 | Reset(d time.Duration) bool 12 | Stop() bool 13 | } 14 | 15 | // timeTimer adapts a time.Timer to the timer interface. 16 | type timeTimer struct { 17 | *time.Timer 18 | } 19 | 20 | func (t timeTimer) C() <-chan time.Time { return t.Timer.C } 21 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/antlr4-go/antlr/v4/token_stream.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2022 The ANTLR Project. All rights reserved. 2 | // Use of this file is governed by the BSD 3-clause license that 3 | // can be found in the LICENSE.txt file in the project root. 4 | 5 | package antlr 6 | 7 | type TokenStream interface { 8 | IntStream 9 | 10 | LT(k int) Token 11 | Reset() 12 | 13 | Get(index int) Token 14 | GetTokenSource() TokenSource 15 | SetTokenSource(TokenSource) 16 | 17 | GetAllText() string 18 | GetTextFromInterval(Interval) string 19 | GetTextFromRuleContext(RuleContext) string 20 | GetTextFromTokens(Token, Token) string 21 | } 22 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | deads2k 14 | lavalamp 15 | liggitt 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sysvshm_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux 6 | 7 | package unix 8 | 9 | import "runtime" 10 | 11 | // SysvShmCtl performs control operations on the shared memory segment 12 | // specified by id. 13 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 14 | if runtime.GOARCH == "arm" || 15 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 16 | cmd |= ipc_64 17 | } 18 | 19 | return shmctl(id, cmd, desc) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/proto/proto_reflect.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // The protoreflect build tag disables use of fast-path methods. 6 | //go:build protoreflect 7 | // +build protoreflect 8 | 9 | package proto 10 | 11 | import ( 12 | "google.golang.org/protobuf/reflect/protoreflect" 13 | "google.golang.org/protobuf/runtime/protoiface" 14 | ) 15 | 16 | const hasProtoMethods = false 17 | 18 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 19 | return nil 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/openshift-eng/openshift-tests-extension/pkg/flags/component.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | import ( 4 | "github.com/spf13/pflag" 5 | ) 6 | 7 | const DefaultExtension = "default" 8 | 9 | // ComponentFlags contains information for specifying the component. 10 | type ComponentFlags struct { 11 | Component string 12 | } 13 | 14 | func NewComponentFlags() *ComponentFlags { 15 | return &ComponentFlags{ 16 | Component: DefaultExtension, 17 | } 18 | } 19 | 20 | func (f *ComponentFlags) BindFlags(fs *pflag.FlagSet) { 21 | fs.StringVar(&f.Component, 22 | "component", 23 | f.Component, 24 | "specify the component to enable") 25 | } 26 | -------------------------------------------------------------------------------- /cmd/cluster-version-operator/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | 6 | "github.com/spf13/cobra" 7 | "k8s.io/klog/v2" 8 | ) 9 | 10 | var ( 11 | rootCmd = &cobra.Command{ 12 | Use: "cluster-version-operator", 13 | Short: "Run Cluster Version Controller", 14 | Long: "", 15 | } 16 | ) 17 | 18 | func init() { 19 | klog.InitFlags(flag.CommandLine) 20 | _ = flag.CommandLine.Set("alsologtostderr", "true") 21 | rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine) 22 | } 23 | 24 | func main() { 25 | defer klog.Flush() 26 | if err := rootCmd.Execute(); err != nil { 27 | klog.Exitf("Error executing: %v", err) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /hack/build-image.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eu 4 | 5 | # Print errors to stderr 6 | function print_error { 7 | echo "ERROR: $1" >&2 8 | } 9 | 10 | function print_info { 11 | echo "INFO: $1" >&2 12 | } 13 | 14 | # Warn when unprivileged 15 | if [ `id --user` -ne 0 ]; then 16 | print_error "Note: Building unprivileged may fail due to permissions" 17 | fi 18 | 19 | if [ -z ${VERSION_OVERRIDE+a} ]; then 20 | print_info "Using version from git..." 21 | VERSION_OVERRIDE=$(git describe --abbrev=8 --dirty --always) 22 | fi 23 | 24 | set -x 25 | podman build -t "cluster-version-operator:${VERSION_OVERRIDE}" -f Dockerfile --no-cache 26 | -------------------------------------------------------------------------------- /hack/build-info.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -eu 4 | 5 | REPO=github.com/openshift/cluster-version-operator 6 | GOFLAGS=${GOFLAGS:--mod=vendor} 7 | GLDFLAGS=${GLDFLAGS:-} 8 | 9 | eval $(go env | grep -e "GOHOSTOS" -e "GOHOSTARCH") 10 | 11 | GOOS=${GOOS:-${GOHOSTOS}} 12 | GOARCH=${GOARCH:-${GOHOSTARCH}} 13 | 14 | VERSION_OVERRIDE=${VERSION_OVERRIDE:-${OS_GIT_VERSION:-}} 15 | if [ -z "${VERSION_OVERRIDE:-}" ]; then 16 | echo "Using version from git..." 17 | VERSION_OVERRIDE=$(git describe --abbrev=8 --dirty --always) 18 | fi 19 | 20 | eval $(go env) 21 | 22 | if [ -z ${BIN_PATH+a} ]; then 23 | export BIN_PATH=_output/${GOOS}/${GOARCH} 24 | fi 25 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoGo authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS file, which 3 | # lists people. For example, employees are listed in CONTRIBUTORS, 4 | # but not in AUTHORS, because the employer holds the copyright. 5 | 6 | # Names should be added to this file as one of 7 | # Organization's name 8 | # Individual's name 9 | # Individual's name 10 | 11 | # Please keep the list sorted. 12 | 13 | Sendgrid, Inc 14 | Vastech SA (PTY) LTD 15 | Walter Schulze 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | // Round the length of a raw sockaddr up to align it properly. 8 | func cmsgAlignOf(salen int) int { 9 | salign := SizeofPtr 10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { 11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires 12 | // 32-bit aligned access to network subsystem. 13 | salign = 4 14 | } 15 | return (salen + salign - 1) & ^(salign - 1) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | thockin 14 | BenTheElder 15 | aojea 16 | pohly 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/map_entry.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package genid 6 | 7 | import "google.golang.org/protobuf/reflect/protoreflect" 8 | 9 | // Generic field names and numbers for synthetic map entry messages. 10 | const ( 11 | MapEntry_Key_field_name protoreflect.Name = "key" 12 | MapEntry_Value_field_name protoreflect.Name = "value" 13 | 14 | MapEntry_Key_field_number protoreflect.FieldNumber = 1 15 | MapEntry_Value_field_number protoreflect.FieldNumber = 2 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/proto/proto_methods.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // The protoreflect build tag disables use of fast-path methods. 6 | //go:build !protoreflect 7 | // +build !protoreflect 8 | 9 | package proto 10 | 11 | import ( 12 | "google.golang.org/protobuf/reflect/protoreflect" 13 | "google.golang.org/protobuf/runtime/protoiface" 14 | ) 15 | 16 | const hasProtoMethods = true 17 | 18 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 19 | return m.ProtoMethods() 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_118.go: -------------------------------------------------------------------------------- 1 | //+build !go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) (val *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | return &UnsafeMapIterator{ 17 | hiter: mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj)), 18 | pKeyRType: type2.pKeyRType, 19 | pElemRType: type2.pElemRType, 20 | } 21 | } -------------------------------------------------------------------------------- /vendor/github.com/openshift/library-go/pkg/crypto/rotation.go: -------------------------------------------------------------------------------- 1 | package crypto 2 | 3 | import ( 4 | "crypto/x509" 5 | "time" 6 | ) 7 | 8 | // FilterExpiredCerts checks are all certificates in the bundle valid, i.e. they have not expired. 9 | // The function returns new bundle with only valid certificates or error if no valid certificate is found. 10 | func FilterExpiredCerts(certs ...*x509.Certificate) []*x509.Certificate { 11 | currentTime := time.Now() 12 | var validCerts []*x509.Certificate 13 | for _, c := range certs { 14 | if c.NotAfter.After(currentTime) { 15 | validCerts = append(validCerts, c) 16 | } 17 | } 18 | 19 | return validCerts 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_windows.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | 9 | "golang.org/x/sys/windows" 10 | ) 11 | 12 | func checkIfTerminal(w io.Writer) bool { 13 | switch v := w.(type) { 14 | case *os.File: 15 | handle := windows.Handle(v.Fd()) 16 | var mode uint32 17 | if err := windows.GetConsoleMode(handle, &mode); err != nil { 18 | return false 19 | } 20 | mode |= windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING 21 | if err := windows.SetConsoleMode(handle, mode); err != nil { 22 | return false 23 | } 24 | return true 25 | } 26 | return false 27 | } 28 | -------------------------------------------------------------------------------- /install/0000_00_cluster-version-operator_02_networkpolicy.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: networking.k8s.io/v1 2 | kind: NetworkPolicy 3 | metadata: 4 | # This NetworkPolicy is used to deny all ingress and egress traffic by default in this namespace, 5 | # serving as a baseline. At the moment no other Network Policy should be needed: 6 | # - CVO is a host-networked Pod, so it is not affected by network policies 7 | # - Bare `version` Pods spawned by CVO do not require any network communication 8 | name: default-deny 9 | namespace: openshift-cluster-version 10 | spec: 11 | # Match all pods in the namespace 12 | podSelector: {} 13 | policyTypes: 14 | - Ingress 15 | - Egress 16 | -------------------------------------------------------------------------------- /pkg/clusterconditions/standard/standard.go: -------------------------------------------------------------------------------- 1 | package standard 2 | 3 | import ( 4 | "github.com/openshift/cluster-version-operator/pkg/clusterconditions" 5 | "github.com/openshift/cluster-version-operator/pkg/clusterconditions/always" 6 | "github.com/openshift/cluster-version-operator/pkg/clusterconditions/promql" 7 | ) 8 | 9 | func NewConditionRegistry(promqlTarget clusterconditions.PromQLTarget) clusterconditions.ConditionRegistry { 10 | conditionRegistry := clusterconditions.NewConditionRegistry() 11 | conditionRegistry.Register("Always", &always.Always{}) 12 | conditionRegistry.Register("PromQL", promql.NewPromQL(promqlTarget)) 13 | 14 | return conditionRegistry 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/v2/ginkgo/watch/delta.go: -------------------------------------------------------------------------------- 1 | package watch 2 | 3 | import "sort" 4 | 5 | type Delta struct { 6 | ModifiedPackages []string 7 | 8 | NewSuites []*Suite 9 | RemovedSuites []*Suite 10 | modifiedSuites []*Suite 11 | } 12 | 13 | type DescendingByDelta []*Suite 14 | 15 | func (a DescendingByDelta) Len() int { return len(a) } 16 | func (a DescendingByDelta) Swap(i, j int) { a[i], a[j] = a[j], a[i] } 17 | func (a DescendingByDelta) Less(i, j int) bool { return a[i].Delta() > a[j].Delta() } 18 | 19 | func (d Delta) ModifiedSuites() []*Suite { 20 | sort.Sort(DescendingByDelta(d.modifiedSuites)) 21 | return d.modifiedSuites 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/term/README.md: -------------------------------------------------------------------------------- 1 | # Go terminal/console support 2 | 3 | [![Go Reference](https://pkg.go.dev/badge/golang.org/x/term.svg)](https://pkg.go.dev/golang.org/x/term) 4 | 5 | This repository provides Go terminal and console support packages. 6 | 7 | ## Report Issues / Send Patches 8 | 9 | This repository uses Gerrit for code changes. To learn how to submit changes to 10 | this repository, see https://go.dev/doc/contribute. 11 | 12 | The git repository is https://go.googlesource.com/term. 13 | 14 | The main issue tracker for the term repository is located at 15 | https://go.dev/issues. Prefix your issue with "x/term:" in the 16 | subject line, so it is easy to find. 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/empty_gen.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Code generated by generate-protos. DO NOT EDIT. 6 | 7 | package genid 8 | 9 | import ( 10 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 | ) 12 | 13 | const File_google_protobuf_empty_proto = "google/protobuf/empty.proto" 14 | 15 | // Names for google.protobuf.Empty. 16 | const ( 17 | Empty_message_name protoreflect.Name = "Empty" 18 | Empty_message_fullname protoreflect.FullName = "google.protobuf.Empty" 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/logr/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Logr is open to pull-requests, provided they fit within the intended scope of 4 | the project. Specifically, this library aims to be VERY small and minimalist, 5 | with no external dependencies. 6 | 7 | ## Compatibility 8 | 9 | This project intends to follow [semantic versioning](http://semver.org) and 10 | is very strict about compatibility. Any proposed changes MUST follow those 11 | rules. 12 | 13 | ## Performance 14 | 15 | As a logging library, logr must be as light-weight as possible. Any proposed 16 | code change must include results of running the [benchmark](./benchmark) 17 | before and after the change. 18 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | # Unix-style newlines with a newline ending every file 5 | [*] 6 | end_of_line = lf 7 | insert_final_newline = true 8 | indent_style = space 9 | indent_size = 2 10 | trim_trailing_whitespace = true 11 | 12 | # Set default charset 13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}] 14 | charset = utf-8 15 | 16 | # Tab indentation (no size specified) 17 | [*.go] 18 | indent_style = tab 19 | 20 | [*.md] 21 | trim_trailing_whitespace = false 22 | 23 | # Matches the exact files either package.json or .travis.yml 24 | [{package.json,.travis.yml}] 25 | indent_style = space 26 | indent_size = 2 27 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_118.go: -------------------------------------------------------------------------------- 1 | //+build go1.18 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | // m escapes into the return value, but the caller of mapiterinit 10 | // doesn't let the return value escape. 11 | //go:noescape 12 | //go:linkname mapiterinit reflect.mapiterinit 13 | func mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer, it *hiter) 14 | 15 | func (type2 *UnsafeMapType) UnsafeIterate(obj unsafe.Pointer) MapIterator { 16 | var it hiter 17 | mapiterinit(type2.rtype, *(*unsafe.Pointer)(obj), &it) 18 | return &UnsafeMapIterator{ 19 | hiter: &it, 20 | pKeyRType: type2.pKeyRType, 21 | pElemRType: type2.pElemRType, 22 | } 23 | } -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos 6 | 7 | package unix 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc && 386 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | 15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | -------------------------------------------------------------------------------- /install/0000_90_cluster-version-operator_01_prometheusrolebinding.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: rbac.authorization.k8s.io/v1 2 | kind: RoleBinding 3 | metadata: 4 | name: prometheus-k8s 5 | namespace: openshift-cluster-version 6 | annotations: 7 | kubernetes.io/description: Grant Prometheus access to monitor the cluster-version operator's metrics. 8 | exclude.release.openshift.io/internal-openshift-hosted: "true" 9 | include.release.openshift.io/self-managed-high-availability: "true" 10 | roleRef: 11 | apiGroup: rbac.authorization.k8s.io 12 | kind: Role 13 | name: prometheus-k8s 14 | subjects: 15 | - kind: ServiceAccount 16 | name: prometheus-k8s 17 | namespace: openshift-monitoring 18 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/checker/decls/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "decls.go", 12 | ], 13 | importpath = "github.com/google/cel-go/checker/decls", 14 | deps = [ 15 | "@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library", 16 | "@org_golang_google_protobuf//types/known/emptypb:go_default_library", 17 | "@org_golang_google_protobuf//types/known/structpb:go_default_library", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | # Vim files https://github.com/github/gitignore/blob/master/Global/Vim.gitignore 23 | # swap 24 | [._]*.s[a-w][a-z] 25 | [._]s[a-w][a-z] 26 | # session 27 | Session.vim 28 | # temporary 29 | .netrwhist 30 | *~ 31 | # auto-generated tag files 32 | tags 33 | 34 | *.exe 35 | cobra.test 36 | bin 37 | 38 | .idea/ 39 | *.iml 40 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonpointer/.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | # Unix-style newlines with a newline ending every file 5 | [*] 6 | end_of_line = lf 7 | insert_final_newline = true 8 | indent_style = space 9 | indent_size = 2 10 | trim_trailing_whitespace = true 11 | 12 | # Set default charset 13 | [*.{js,py,go,scala,rb,java,html,css,less,sass,md}] 14 | charset = utf-8 15 | 16 | # Tab indentation (no size specified) 17 | [*.go] 18 | indent_style = tab 19 | 20 | [*.md] 21 | trim_trailing_whitespace = false 22 | 23 | # Matches the exact files either package.json or .travis.yml 24 | [{package.json,.travis.yml}] 25 | indent_style = space 26 | indent_size = 2 27 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | dims 14 | thockin 15 | justinsb 16 | tallclair 17 | piosz 18 | brancz 19 | DirectXMan12 20 | lavalamp 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/deepcopy.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package v1beta1 18 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/json/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2021 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | package json // import "sigs.k8s.io/json" 18 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/v4/sort.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "sort" 5 | ) 6 | 7 | // Versions represents multiple versions. 8 | type Versions []Version 9 | 10 | // Len returns length of version collection 11 | func (s Versions) Len() int { 12 | return len(s) 13 | } 14 | 15 | // Swap swaps two versions inside the collection by its indices 16 | func (s Versions) Swap(i, j int) { 17 | s[i], s[j] = s[j], s[i] 18 | } 19 | 20 | // Less checks if version at index i is less than version at index j 21 | func (s Versions) Less(i, j int) bool { 22 | return s[i].LT(s[j]) 23 | } 24 | 25 | // Sort sorts a slice of versions 26 | func Sort(versions []Version) { 27 | sort.Sort(Versions(versions)) 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/executor.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import "context" 4 | 5 | // Executor replace go keyword to start a new goroutine 6 | // the goroutine should cancel itself if the context passed in has been cancelled 7 | // the goroutine started by the executor, is owned by the executor 8 | // we can cancel all executors owned by the executor just by stop the executor itself 9 | // however Executor interface does not Stop method, the one starting and owning executor 10 | // should use the concrete type of executor, instead of this interface. 11 | type Executor interface { 12 | // Go starts a new goroutine controlled by the context 13 | Go(handler func(ctx context.Context)) 14 | } 15 | -------------------------------------------------------------------------------- /hack/cluster-version-util/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "flag" 5 | 6 | "github.com/spf13/cobra" 7 | "k8s.io/klog/v2" 8 | ) 9 | 10 | var ( 11 | rootCmd = &cobra.Command{ 12 | Use: "cluster-version-util", 13 | Short: "Utilities for understanding cluster-version operator functionality. Not for production use.", 14 | } 15 | ) 16 | 17 | func init() { 18 | klog.InitFlags(flag.CommandLine) 19 | _ = flag.CommandLine.Set("alsologtostderr", "true") 20 | rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine) 21 | } 22 | 23 | func main() { 24 | rootCmd.AddCommand(newTaskGraphCmd()) 25 | 26 | if err := rootCmd.Execute(); err != nil { 27 | klog.Exitf("Error executing: %v", err) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/github.com/go-task/slim-sprig/v3/reflect.go: -------------------------------------------------------------------------------- 1 | package sprig 2 | 3 | import ( 4 | "fmt" 5 | "reflect" 6 | ) 7 | 8 | // typeIs returns true if the src is the type named in target. 9 | func typeIs(target string, src interface{}) bool { 10 | return target == typeOf(src) 11 | } 12 | 13 | func typeIsLike(target string, src interface{}) bool { 14 | t := typeOf(src) 15 | return target == t || "*"+target == t 16 | } 17 | 18 | func typeOf(src interface{}) string { 19 | return fmt.Sprintf("%T", src) 20 | } 21 | 22 | func kindIs(target string, src interface{}) bool { 23 | return target == kindOf(src) 24 | } 25 | 26 | func kindOf(src interface{}) string { 27 | return reflect.ValueOf(src).Kind().String() 28 | } 29 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [[projects]] 11 | name = "github.com/modern-go/reflect2" 12 | packages = ["."] 13 | revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" 14 | version = "1.0.1" 15 | 16 | [solve-meta] 17 | analyzer-name = "dep" 18 | analyzer-version = 1 19 | inputs-digest = "ea54a775e5a354cb015502d2e7aa4b74230fc77e894f34a838b268c25ec8eeb8" 20 | solver-name = "gps-cdcl" 21 | solver-version = 1 22 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/genid/goname.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package genid 6 | 7 | // Go names of implementation-specific struct fields in generated messages. 8 | const ( 9 | State_goname = "state" 10 | 11 | SizeCache_goname = "sizeCache" 12 | SizeCacheA_goname = "XXX_sizecache" 13 | 14 | UnknownFields_goname = "unknownFields" 15 | UnknownFieldsA_goname = "XXX_unrecognized" 16 | 17 | ExtensionFields_goname = "extensionFields" 18 | ExtensionFieldsA_goname = "XXX_InternalExtensions" 19 | ExtensionFieldsB_goname = "XXX_extensions" 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/v4/sql.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "database/sql/driver" 5 | "fmt" 6 | ) 7 | 8 | // Scan implements the database/sql.Scanner interface. 9 | func (v *Version) Scan(src interface{}) (err error) { 10 | var str string 11 | switch src := src.(type) { 12 | case string: 13 | str = src 14 | case []byte: 15 | str = string(src) 16 | default: 17 | return fmt.Errorf("version.Scan: cannot convert %T to string", src) 18 | } 19 | 20 | if t, err := Parse(str); err == nil { 21 | *v = t 22 | } 23 | 24 | return 25 | } 26 | 27 | // Value implements the database/sql/driver.Valuer interface. 28 | func (v Version) Value() (driver.Value, error) { 29 | return v.String(), nil 30 | } 31 | -------------------------------------------------------------------------------- /vendor/github.com/google/cel-go/common/types/ref/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") 2 | 3 | package( 4 | default_visibility = ["//visibility:public"], 5 | licenses = ["notice"], # Apache 2.0 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "provider.go", 12 | "reference.go", 13 | ], 14 | importpath = "github.com/google/cel-go/common/types/ref", 15 | deps = [ 16 | "@org_golang_google_genproto_googleapis_api//expr/v1alpha1:go_default_library", 17 | "@org_golang_google_protobuf//proto:go_default_library", 18 | "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", 19 | ], 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Team to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | cjcullen 14 | jessfraz 15 | liggitt 16 | philips 17 | tallclair 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/plan9/env_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Plan 9 environment variables. 6 | 7 | package plan9 8 | 9 | import ( 10 | "syscall" 11 | ) 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | 29 | func Unsetenv(key string) error { 30 | return syscall.Unsetenv(key) 31 | } 32 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gccgo && arm 6 | 7 | package unix 8 | 9 | import ( 10 | "syscall" 11 | "unsafe" 12 | ) 13 | 14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 15 | var newoffset int64 16 | offsetLow := uint32(offset & 0xffffffff) 17 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 19 | return newoffset, err 20 | } 21 | --------------------------------------------------------------------------------