├── .dockerignore ├── .github └── CODEOWNERS ├── vendor ├── github.com │ ├── spf13 │ │ ├── pflag │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── afero │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ │ └── cobra │ │ │ ├── command_notwin.go │ │ │ ├── .mailmap │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── command_win.go │ │ │ ├── .gitignore │ │ │ └── fish_completions.md │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── xxhash_amd64.go │ │ │ └── xxhash_safe.go │ ├── 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 │ │ │ ├── go_below_17.go │ │ │ ├── go_above_17.go │ │ │ ├── .travis.yml │ │ │ ├── go_below_19.go │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ └── Gopkg.lock │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ ├── log.go │ │ │ └── executor.go │ ├── joho │ │ └── godotenv │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── markbates │ │ └── inflect │ │ │ ├── .hgignore │ │ │ ├── version.go │ │ │ ├── inflections.json │ │ │ ├── go.mod │ │ │ ├── .gometalinter.json │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── shoulders.md │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── MAINTAINERS.md │ │ │ ├── go.mod │ │ │ ├── NOTICE │ │ │ └── go.sum │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── go-openapi │ │ ├── jsonpointer │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .editorconfig │ │ ├── jsonreference │ │ │ ├── .gitignore │ │ │ └── go.mod │ │ ├── spec │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── .editorconfig │ │ │ └── go.mod │ │ └── swag │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── go.mod │ │ │ └── .editorconfig │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ ├── appveyor.yml │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── doc.go │ ├── go-logr │ │ └── zapr │ │ │ └── .gitignore │ ├── google │ │ ├── uuid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── CONTRIBUTING.md │ │ │ ├── doc.go │ │ │ └── node_js.go │ │ ├── gofuzz │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── go-cmp │ │ │ └── cmp │ │ │ ├── internal │ │ │ ├── flags │ │ │ │ ├── toolchain_legacy.go │ │ │ │ ├── toolchain_recent.go │ │ │ │ └── flags.go │ │ │ └── diff │ │ │ │ └── debug_disable.go │ │ │ └── export_panic.go │ ├── dgrijalva │ │ └── jwt-go │ │ │ ├── .gitignore │ │ │ ├── doc.go │ │ │ └── .travis.yml │ ├── emicklei │ │ └── go-restful │ │ │ ├── Srcfile │ │ │ ├── .travis.yml │ │ │ ├── coverage.sh │ │ │ ├── Makefile │ │ │ ├── json.go │ │ │ ├── jsoniter.go │ │ │ └── bench_test.sh │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .gitattributes │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── open_mode_bsd.go │ │ │ └── open_mode_darwin.go │ ├── pborman │ │ └── uuid │ │ │ ├── CONTRIBUTORS │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ ├── CONTRIBUTING.md │ │ │ └── doc.go │ ├── gophercloud │ │ └── gophercloud │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── pagination │ │ │ └── pkg.go │ │ │ └── openstack │ │ │ ├── identity │ │ │ ├── v3 │ │ │ │ └── tokens │ │ │ │ │ └── urls.go │ │ │ └── v2 │ │ │ │ └── tokens │ │ │ │ └── urls.go │ │ │ ├── doc.go │ │ │ └── utils │ │ │ └── base_endpoint.go │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── mitchellh │ │ └── go-homedir │ │ │ └── go.mod │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ ├── go.mod │ │ │ ├── build.sh │ │ │ └── Gopkg.lock │ ├── antihax │ │ └── optional │ │ │ ├── go.mod │ │ │ ├── int.go │ │ │ ├── bool.go │ │ │ ├── byte.go │ │ │ ├── int8.go │ │ │ ├── rune.go │ │ │ ├── uint.go │ │ │ ├── int16.go │ │ │ ├── int32.go │ │ │ ├── int64.go │ │ │ ├── uint8.go │ │ │ ├── string.go │ │ │ ├── uint16.go │ │ │ ├── uint32.go │ │ │ ├── uint64.go │ │ │ ├── float32.go │ │ │ ├── float64.go │ │ │ ├── uintptr.go │ │ │ ├── time.go │ │ │ └── complex64.go │ ├── gobuffalo │ │ └── envy │ │ │ ├── version.go │ │ │ ├── .env │ │ │ ├── env │ │ │ ├── azure.sh │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── azure-tests.yml │ ├── PuerkitoBio │ │ ├── purell │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ └── urlesc │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── hashicorp │ │ └── golang-lru │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── Azure │ │ └── go-autorest │ │ │ ├── logger │ │ │ └── go.mod │ │ │ ├── tracing │ │ │ └── go.mod │ │ │ └── autorest │ │ │ ├── date │ │ │ └── go.mod │ │ │ ├── go.mod │ │ │ └── adal │ │ │ └── go.mod │ ├── konsorten │ │ └── go-windows-terminal-sequences │ │ │ ├── go.mod │ │ │ └── sequences_dummy.go │ ├── storageos │ │ └── go-api │ │ │ ├── v2 │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── model_error.go │ │ │ ├── model_accepted_message.go │ │ │ ├── model_auth_user_data.go │ │ │ ├── model_user_session_all_of.go │ │ │ ├── model_master_deployment_info_all_of.go │ │ │ ├── model_nfs_config.go │ │ │ ├── model_replica_deployment_info_all_of.go │ │ │ ├── model_node_health.go │ │ │ ├── model_attach_volume_data.go │ │ │ ├── model_create_policy_group_data.go │ │ │ ├── model_master_health.go │ │ │ ├── model_nfs_acl.go │ │ │ ├── model_policy_group_users.go │ │ │ ├── model_create_namespace_data.go │ │ │ ├── model_fs_type.go │ │ │ ├── model_user_session_all_of_session.go │ │ │ └── model_capacity_stats.go │ │ │ ├── netutil │ │ │ └── netutil.go │ │ │ ├── README.md │ │ │ ├── serror │ │ │ ├── error_kind.go │ │ │ └── storageoserrorkind_string.go │ │ │ ├── types │ │ │ ├── cluster.go │ │ │ ├── volume_stats.go │ │ │ ├── error_response.go │ │ │ ├── auth.go │ │ │ ├── operator.go │ │ │ ├── list_options.go │ │ │ └── delete_options.go │ │ │ ├── .gitignore │ │ │ └── util.go │ ├── googleapis │ │ └── gnostic │ │ │ ├── compiler │ │ │ └── README.md │ │ │ └── extensions │ │ │ └── README.md │ ├── coreos │ │ └── prometheus-operator │ │ │ └── NOTICE │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── golang │ │ ├── protobuf │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── ptypes │ │ │ │ └── doc.go │ │ └── mock │ │ │ └── AUTHORS │ ├── imdario │ │ └── mergo │ │ │ ├── .deepsource.toml │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── operator-framework │ │ ├── api │ │ │ └── pkg │ │ │ │ └── operators │ │ │ │ └── doc.go │ │ └── operator-registry │ │ │ └── pkg │ │ │ ├── image │ │ │ └── reference.go │ │ │ └── registry │ │ │ └── channelupdateoptions.go │ ├── evanphx │ │ └── json-patch │ │ │ └── .travis.yml │ ├── mailru │ │ └── easyjson │ │ │ └── jlexer │ │ │ ├── error.go │ │ │ └── bytestostr_nounsafe.go │ ├── blang │ │ └── semver │ │ │ ├── package.json │ │ │ ├── json.go │ │ │ ├── sort.go │ │ │ └── sql.go │ ├── inconshreveable │ │ └── mousetrap │ │ │ ├── trap_others.go │ │ │ └── LICENSE │ └── gogo │ │ └── protobuf │ │ └── AUTHORS ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ ├── install_gae.sh │ │ ├── go.mod │ │ └── codegen.sh │ ├── protobuf │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ ├── flags │ │ │ │ ├── proto_legacy_disable.go │ │ │ │ └── proto_legacy_enable.go │ │ │ ├── fieldnum │ │ │ │ ├── empty_gen.go │ │ │ │ ├── doc.go │ │ │ │ ├── field_mask_gen.go │ │ │ │ ├── source_context_gen.go │ │ │ │ ├── any_gen.go │ │ │ │ ├── duration_gen.go │ │ │ │ └── timestamp_gen.go │ │ │ ├── impl │ │ │ │ ├── codec_map_go112.go │ │ │ │ ├── codec_unsafe.go │ │ │ │ └── enum.go │ │ │ └── errors │ │ │ │ └── is_go113.go │ │ ├── encoding │ │ │ └── prototext │ │ │ │ └── doc.go │ │ ├── runtime │ │ │ └── protoiface │ │ │ │ └── legacy.go │ │ └── proto │ │ │ ├── proto_reflect.go │ │ │ └── proto_methods.go │ └── appengine │ │ ├── go.mod │ │ ├── internal │ │ ├── identity_flex.go │ │ ├── main_common.go │ │ ├── main.go │ │ └── base │ │ │ └── api_base.proto │ │ ├── .travis.yml │ │ ├── travis_test.sh │ │ ├── timeout.go │ │ ├── appengine_vm.go │ │ └── travis_install.sh ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── not_go111.go │ │ │ └── README │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_darwin_386.1_11.go │ │ │ ├── syscall_darwin_amd64.1_11.go │ │ │ ├── syscall_darwin_arm.1_11.go │ │ │ ├── syscall_darwin_arm64.1_11.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── zsyscall_darwin_386.1_13.s │ │ │ ├── zsyscall_darwin_arm.1_13.s │ │ │ ├── zsyscall_darwin_amd64.1_13.s │ │ │ ├── zsyscall_darwin_arm64.1_13.s │ │ │ ├── aliases.go │ │ │ ├── pagesize_unix.go │ │ │ ├── readdirent_getdents.go │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── asm_aix_ppc64.s │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── syscall_linux_gc.go │ │ │ ├── errors_freebsd_arm64.go │ │ │ ├── race0.go │ │ │ ├── sockcmsg_dragonfly.go │ │ │ ├── syscall_linux_gc_386.go │ │ │ ├── fcntl_darwin.go │ │ │ ├── syscall_linux_gccgo_arm.go │ │ │ └── syscall_unix_gc.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── windows │ │ │ ├── empty.s │ │ │ ├── aliases.go │ │ │ ├── mksyscall.go │ │ │ ├── race0.go │ │ │ ├── types_windows_386.go │ │ │ ├── types_windows_amd64.go │ │ │ ├── types_windows_arm.go │ │ │ └── str.go │ │ ├── xerrors │ │ ├── codereview.cfg │ │ ├── go.mod │ │ ├── README │ │ └── internal │ │ │ └── internal.go │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── secure │ │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ │ ├── time │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── tools │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── go │ │ │ └── ast │ │ │ │ └── astutil │ │ │ │ └── util.go │ │ └── internal │ │ │ └── fastwalk │ │ │ ├── fastwalk_dirent_fileno.go │ │ │ ├── fastwalk_dirent_ino.go │ │ │ └── fastwalk_dirent_namlen_bsd.go │ │ ├── crypto │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── ssh │ │ │ └── terminal │ │ │ ├── util_linux.go │ │ │ ├── util_aix.go │ │ │ └── util_bsd.go │ │ └── oauth2 │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ ├── doc.go │ │ └── client_appengine.go │ │ ├── go.mod │ │ └── .travis.yml ├── k8s.io │ ├── client-go │ │ ├── pkg │ │ │ ├── version │ │ │ │ └── .gitattributes │ │ │ └── apis │ │ │ │ └── clientauthentication │ │ │ │ └── OWNERS │ │ ├── util │ │ │ ├── retry │ │ │ │ └── OWNERS │ │ │ ├── keyutil │ │ │ │ └── OWNERS │ │ │ └── cert │ │ │ │ └── OWNERS │ │ ├── tools │ │ │ ├── metrics │ │ │ │ └── OWNERS │ │ │ ├── auth │ │ │ │ └── OWNERS │ │ │ ├── leaderelection │ │ │ │ └── OWNERS │ │ │ ├── record │ │ │ │ └── OWNERS │ │ │ └── clientcmd │ │ │ │ └── api │ │ │ │ └── doc.go │ │ ├── plugin │ │ │ └── pkg │ │ │ │ └── client │ │ │ │ └── auth │ │ │ │ ├── oidc │ │ │ │ └── OWNERS │ │ │ │ ├── gcp │ │ │ │ └── OWNERS │ │ │ │ └── OWNERS │ │ ├── transport │ │ │ └── OWNERS │ │ └── rest │ │ │ └── OWNERS │ ├── kube-openapi │ │ └── pkg │ │ │ └── util │ │ │ └── proto │ │ │ └── OWNERS │ ├── klog │ │ ├── go.mod │ │ ├── v2 │ │ │ ├── go.mod │ │ │ ├── code-of-conduct.md │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── OWNERS │ │ │ ├── RELEASE.md │ │ │ └── SECURITY_CONTACTS │ │ ├── code-of-conduct.md │ │ ├── go.sum │ │ ├── OWNERS │ │ ├── .travis.yml │ │ ├── RELEASE.md │ │ └── SECURITY_CONTACTS │ ├── utils │ │ └── pointer │ │ │ ├── README.md │ │ │ └── OWNERS │ ├── apimachinery │ │ ├── pkg │ │ │ ├── util │ │ │ │ ├── mergepatch │ │ │ │ │ └── OWNERS │ │ │ │ └── strategicpatch │ │ │ │ │ └── OWNERS │ │ │ ├── api │ │ │ │ ├── resource │ │ │ │ │ └── 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 ├── go.uber.org │ ├── multierr │ │ ├── .gitignore │ │ ├── glide.yaml │ │ ├── go.mod │ │ └── .travis.yml │ ├── atomic │ │ ├── .gitignore │ │ ├── go.mod │ │ └── .travis.yml │ └── zap │ │ ├── go.mod │ │ ├── checklicense.sh │ │ ├── .travis.yml │ │ └── .gitignore ├── gopkg.in │ └── yaml.v2 │ │ ├── go.mod │ │ ├── .travis.yml │ │ └── NOTICE ├── sigs.k8s.io │ └── yaml │ │ ├── go.mod │ │ ├── code-of-conduct.md │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── yaml_go110.go │ │ ├── OWNERS │ │ ├── RELEASE.md │ │ └── SECURITY_CONTACTS ├── gomodules.xyz │ └── jsonpatch │ │ └── v2 │ │ └── go.mod └── cloud.google.com │ └── go │ └── compute │ └── metadata │ └── .repo-metadata.json ├── scripts └── openshift │ ├── .gitignore │ └── Vagrantfile ├── deploy ├── namespace.yaml ├── olm │ ├── storageos │ │ └── storageos.package.yaml │ └── package-changes.yaml ├── storageos-operators.subscription.yaml ├── storageos-operators.catalogsource.yaml ├── service_account.yaml └── role_binding.yaml ├── internal └── pkg │ ├── toleration │ └── doc.go │ ├── storageoscluster │ └── doc.go │ ├── image │ └── doc.go │ └── discovery │ └── doc.go ├── version └── version.go ├── tools.go ├── pkg ├── apis │ ├── storageos │ │ └── v1 │ │ │ └── doc.go │ ├── addtoscheme_storageos_v1.go │ └── apis.go ├── controller │ ├── storageoscluster │ │ └── deployment.go │ ├── add_job.go │ ├── add_nfsserver.go │ ├── add_storageoscluster.go │ ├── add_storageosupgrade.go │ └── controller.go └── nfs │ └── pvc.go ├── test ├── e2e │ └── main_test.go └── etcd │ ├── README.md │ └── etcd-cluster.yaml ├── .golangci.yml ├── docs ├── operator-prometheus-metrics │ └── prometheus-stos-operator.yaml ├── nfs-prometheus-metrics │ └── prometheus-nfs.yaml └── mutating-webhook-configuration.md ├── cmd └── image-puller │ └── docker-puller.sh └── .circleci └── config.yml /.dockerignore: -------------------------------------------------------------------------------- 1 | .cache 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @croomes 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/openshift/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.sum: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/joho/godotenv/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/.hgignore: -------------------------------------------------------------------------------- 1 | swp$ 2 | -------------------------------------------------------------------------------- /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/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /fixtures/ 2 | -------------------------------------------------------------------------------- /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/github.com/go-openapi/jsonpointer/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-logr/zapr/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.swp 3 | /vendor 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonreference/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | bin 3 | 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/Srcfile: -------------------------------------------------------------------------------- 1 | {"SkipDirs": ["examples"]} 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | coverage.out 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/pkg/version/.gitattributes: -------------------------------------------------------------------------------- 1 | base.go export-subst 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/kube-openapi/pkg/util/proto/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - apelisse 3 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/xerrors 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/.gitignore: -------------------------------------------------------------------------------- 1 | **/*.swp 2 | .idea 3 | .vscode 4 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-homedir 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/pflag 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.gitignore: -------------------------------------------------------------------------------- 1 | secrets.yml 2 | vendor 3 | Godeps 4 | .idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/gofuzz 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/antihax/optional 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/version.go: -------------------------------------------------------------------------------- 1 | package envy 2 | 3 | const Version = "v1.7.1" 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/cespare/xxhash/v2 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/version.go: -------------------------------------------------------------------------------- 1 | package inflect 2 | 3 | const Version = "v1.0.4" 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - golint 5 | -------------------------------------------------------------------------------- /deploy/namespace.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: storageos-operator 5 | -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/purell/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-* 2 | .DS_Store 3 | *.swp 4 | *.swo 5 | tags 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/golang-lru 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-autorest/logger/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Azure/go-autorest/logger 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | 3 | require golang.org/x/text v0.3.0 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/go.mod: -------------------------------------------------------------------------------- 1 | module k8s.io/klog 2 | 3 | go 1.12 4 | 5 | require github.com/go-logr/logr v0.1.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-autorest/tracing/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Azure/go-autorest/tracing 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | 6 | script: go test -v -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /internal/pkg/toleration/doc.go: -------------------------------------------------------------------------------- 1 | // Package toleration contains kubernetes related tolerations. 2 | package toleration 3 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/coverage.sh: -------------------------------------------------------------------------------- 1 | go test -coverprofile=coverage.out 2 | go tool cover -html=coverage.out -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/pborman/uuid 2 | 3 | require github.com/google/uuid v1.0.0 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/go.mod: -------------------------------------------------------------------------------- 1 | module k8s.io/klog/v2 2 | 3 | go 1.13 4 | 5 | require github.com/go-logr/logr v0.1.0 6 | -------------------------------------------------------------------------------- /version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | var ( 4 | // Version is the operator version. 5 | Version = "0.0.2" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/joho/godotenv/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | 6 | os: 7 | - linux 8 | - osx 9 | -------------------------------------------------------------------------------- /vendor/github.com/konsorten/go-windows-terminal-sequences/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/konsorten/go-windows-terminal-sequences 2 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/inflections.json: -------------------------------------------------------------------------------- 1 | { 2 | "feedback": "feedback", 3 | "buffalo!": "buffalos!" 4 | } 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/utils/pointer/README.md: -------------------------------------------------------------------------------- 1 | # Pointer 2 | 3 | This package provides some functions for pointer-based operations. 4 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /deploy/olm/storageos/storageos.package.yaml: -------------------------------------------------------------------------------- 1 | packageName: storageos 2 | channels: 3 | - name: stable 4 | currentCSV: storageosoperator.v2.4.4 5 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /internal/pkg/storageoscluster/doc.go: -------------------------------------------------------------------------------- 1 | // Package storageoscluster provides helpers related to StorageOSCluster object. 2 | package storageoscluster 3 | -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/.env: -------------------------------------------------------------------------------- 1 | # This is a comment 2 | # We can use equal or colon notation 3 | DIR: root 4 | FLAVOUR: none 5 | INSIDE_FOLDER=false -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/env: -------------------------------------------------------------------------------- 1 | # This is a comment 2 | # We can use equal or colon notation 3 | DIR: root 4 | FLAVOUR: none 5 | INSIDE_FOLDER=false -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | install: 4 | - go get -d -v . 5 | 6 | script: 7 | - go build -v ./ 8 | 9 | -------------------------------------------------------------------------------- /deploy/olm/package-changes.yaml: -------------------------------------------------------------------------------- 1 | # Do not edit this file manually. Use release-gen.sh script to update. 2 | channels[0].currentCSV: storageosoperator.v2.4.4 3 | -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- 1 | // +build tools 2 | 3 | package tools 4 | 5 | import ( 6 | _ "github.com/golang/mock/gomock" 7 | _ "github.com/golang/mock/mockgen/model" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/Makefile: -------------------------------------------------------------------------------- 1 | all: test 2 | 3 | test: 4 | go test -v . 5 | 6 | ex: 7 | cd examples && ls *.go | xargs go build -o /tmp/ignore -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | -------------------------------------------------------------------------------- /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/github.com/fsnotify/fsnotify/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fsnotify/fsnotify 2 | 3 | go 1.13 4 | 5 | require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/README: -------------------------------------------------------------------------------- 1 | This repository holds the transition packages for the new Go 1.13 error values. 2 | See golang.org/design/29934-error-values. 3 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/go.mod: -------------------------------------------------------------------------------- 1 | module sigs.k8s.io/yaml 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | gopkg.in/yaml.v2 v2.2.8 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gnostic/compiler/README.md: -------------------------------------------------------------------------------- 1 | # Compiler support code 2 | 3 | This directory contains compiler support code used by Gnostic and Gnostic extensions. -------------------------------------------------------------------------------- /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 | - eparis 6 | - krousey 7 | - jayunit100 8 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.9" 5 | - "1.10" 6 | - "1.11" 7 | - tip 8 | 9 | script: 10 | - go test -v ./... 11 | -------------------------------------------------------------------------------- /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 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/markbates/inflect 2 | 3 | require ( 4 | github.com/gobuffalo/envy v1.6.5 5 | github.com/stretchr/testify v1.2.2 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). 2 | -------------------------------------------------------------------------------- /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 | - mengqiy 7 | - apelisse 8 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-autorest/autorest/date/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Azure/go-autorest/autorest/date 2 | 3 | go 1.12 4 | 5 | require github.com/Azure/go-autorest/autorest v0.9.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.x" 4 | - master 5 | env: 6 | - TAGS="" 7 | - TAGS="-tags purego" 8 | script: go test $TAGS -v ./... 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /pkg/apis/storageos/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Package v1 contains API Schema definitions for the cluster v1 API group 2 | // +k8s:deepcopy-gen=package,register 3 | // +groupName=storageos.com 4 | package v1 5 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/prometheus-operator/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2015 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 2 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 3 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | .DS_Store 3 | /vendor 4 | cover.html 5 | cover.out 6 | lint.log 7 | 8 | # Binaries 9 | *.test 10 | 11 | # Profiling output 12 | *.prof 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Community Code of Conduct 2 | 3 | gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /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 | - mengqiy 7 | - apelisse 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/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/k8s.io/klog/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-logr/logr v0.1.0 h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg= 2 | github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/plugin/pkg/client/auth/oidc/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - ericchiang 5 | reviewers: 6 | - ericchiang 7 | - rithujohn191 8 | -------------------------------------------------------------------------------- /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/k8s.io/klog/v2/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-logr/logr v0.1.0 h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg= 2 | github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= 3 | -------------------------------------------------------------------------------- /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/matttproud/golang_protobuf_extensions/pbutil/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | cover: 4 | go test -cover -v -coverprofile=cover.dat ./... 5 | go tool cover -func cover.dat 6 | 7 | .PHONY: cover 8 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/go.sum: -------------------------------------------------------------------------------- 1 | github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA= 2 | github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/strategicpatch/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - pwittrock 5 | - mengqiy 6 | reviewers: 7 | - mengqiy 8 | - apelisse 9 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gophercloud/gophercloud 2 | 3 | require ( 4 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 5 | gopkg.in/yaml.v2 v2.2.4 6 | ) 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/.gometalinter.json: -------------------------------------------------------------------------------- 1 | { 2 | "Enable": ["vet", "golint", "goimports", "deadcode", "gotype", "ineffassign", "misspell", "nakedret", "unconvert", "megacheck", "varcheck"] 3 | } 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/k8s.io/client-go/plugin/pkg/client/auth/gcp/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - cjcullen 5 | - jlowdermilk 6 | reviewers: 7 | - cjcullen 8 | - jlowdermilk 9 | -------------------------------------------------------------------------------- /internal/pkg/image/doc.go: -------------------------------------------------------------------------------- 1 | // Package image contains the default container images, environment 2 | // variables for the default images and helper functions to select the 3 | // appropriate image. 4 | package image 5 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/storageos/go-api/v2 2 | 3 | require ( 4 | github.com/antihax/optional v1.0.0 5 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 6 | 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/time/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /test/e2e/main_test.go: -------------------------------------------------------------------------------- 1 | package e2e 2 | 3 | import ( 4 | "testing" 5 | 6 | f "github.com/operator-framework/operator-sdk/pkg/test" 7 | ) 8 | 9 | func TestMain(m *testing.M) { 10 | f.MainEntry(m) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/doc.go: -------------------------------------------------------------------------------- 1 | // Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html 2 | // 3 | // See README.md for more info. 4 | package jwt 5 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/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/golang.org/x/crypto/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/golang.org/x/oauth2/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/time/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /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 | - krousey 9 | - caesarxuchao 10 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/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 http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/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 http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/pagination/pkg.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs. 3 | */ 4 | package pagination 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /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/google.golang.org/protobuf/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/utils/pointer/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 | -------------------------------------------------------------------------------- /internal/pkg/discovery/doc.go: -------------------------------------------------------------------------------- 1 | // Package discovery contains functions to help discovery of resources in a 2 | // cluster. It can be used to check if cluster (api server) supports a given 3 | // resource. 4 | package discovery 5 | -------------------------------------------------------------------------------- /vendor/github.com/dgrijalva/jwt-go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | script: 4 | - go vet ./... 5 | - go test -v ./... 6 | 7 | go: 8 | - 1.3 9 | - 1.4 10 | - 1.5 11 | - 1.6 12 | - 1.7 13 | - tip 14 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/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/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/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/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/github.com/PuerkitoBio/purell/.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 | - tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/azure.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -xe 4 | 5 | cat >> .env << EOF 6 | # This is a comment 7 | # We can use equal or colon notation 8 | DIR: root 9 | FLAVOUR: none 10 | INSIDE_FOLDER=false 11 | EOF 12 | -------------------------------------------------------------------------------- /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/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 | 10 | -------------------------------------------------------------------------------- /test/etcd/README.md: -------------------------------------------------------------------------------- 1 | ## etcd 2 | 3 | This directory contains manifests to install an etcd cluster. An external etcd 4 | cluster is optional for StorageOS v1.x but required for StorageOS v2.x. 5 | 6 | Clients should connect to the `etcd-client` service. -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/urlesc/.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 | - tip 10 | 11 | install: 12 | - go build . 13 | 14 | script: 15 | - go test -v 16 | -------------------------------------------------------------------------------- /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 | 10 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= 2 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.deepsource.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | test_patterns = [ 4 | "*_test.go" 5 | ] 6 | 7 | [[analyzers]] 8 | name = "go" 9 | enabled = true 10 | 11 | [analyzers.meta] 12 | import_path = "github.com/imdario/mergo" -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/go.mod: -------------------------------------------------------------------------------- 1 | module google.golang.org/appengine 2 | 3 | go 1.11 4 | 5 | require ( 6 | github.com/golang/protobuf v1.3.1 7 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65 8 | golang.org/x/text v0.3.2 9 | ) 10 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | skip-dirs: 3 | - pkg/client 4 | 5 | linters: 6 | enable: 7 | - gofmt 8 | - goimports 9 | - unconvert 10 | - nakedret 11 | - scopelint 12 | - whitespace 13 | # - gomnd 14 | # - gocyclo 15 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/openstack/identity/v3/tokens/urls.go: -------------------------------------------------------------------------------- 1 | package tokens 2 | 3 | import "github.com/gophercloud/gophercloud" 4 | 5 | func tokenURL(c *gophercloud.ServiceClient) string { 6 | return c.ServiceURL("auth", "tokens") 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/netutil/netutil.go: -------------------------------------------------------------------------------- 1 | // Package netutil provides network related errors and helper functions. 2 | package netutil 3 | 4 | // DefaultDialPort is the default port which the API is contacted on. 5 | const DefaultDialPort = "5705" 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/plugin/pkg/client/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 | 10 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/json.go: -------------------------------------------------------------------------------- 1 | // +build !jsoniter 2 | 3 | package restful 4 | 5 | import "encoding/json" 6 | 7 | var ( 8 | MarshalIndent = json.MarshalIndent 9 | NewDecoder = json.NewDecoder 10 | NewEncoder = json.NewEncoder 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.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/github.com/operator-framework/api/pkg/operators/doc.go: -------------------------------------------------------------------------------- 1 | // +k8s:deepcopy-gen=package 2 | // +groupName=operators.coreos.com 3 | // +kubebuilder:skip 4 | // Package operators contains all resource types of the operators.coreos.com API group. 5 | package operators 6 | -------------------------------------------------------------------------------- /vendor/gomodules.xyz/jsonpatch/v2/go.mod: -------------------------------------------------------------------------------- 1 | module gomodules.xyz/jsonpatch/v2 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/evanphx/json-patch v4.5.0+incompatible 7 | github.com/pkg/errors v0.8.1 // indirect 8 | github.com/stretchr/testify v1.3.0 9 | ) 10 | -------------------------------------------------------------------------------- /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/storageos/go-api/README.md: -------------------------------------------------------------------------------- 1 | # StorageOS API client library 2 | 3 | ## Swagger Spec 4 | Swagger specification for this repo is available in the [StorageOS public documentation](https://github.com/storageos/storageos.github.io/blob/master/swagger.yaml). 5 | 6 | -------------------------------------------------------------------------------- /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/github.com/googleapis/gnostic/extensions/README.md: -------------------------------------------------------------------------------- 1 | # Extensions 2 | 3 | This directory contains support code for building Gnostic extensions and associated examples. 4 | 5 | Extensions are used to compile vendor or specification extensions into protocol buffer structures. 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/prometheus/procfs 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/google/go-cmp v0.3.1 7 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e 8 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e 9 | ) 10 | -------------------------------------------------------------------------------- /deploy/storageos-operators.subscription.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: operators.coreos.com/v1alpha1 2 | kind: Subscription 3 | metadata: 4 | name: storageos 5 | namespace: olm 6 | spec: 7 | source: storageos-catalog 8 | sourceNamespace: olm 9 | name: storageos 10 | channel: stable 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.3 6 | - 1.2 7 | - tip 8 | 9 | install: 10 | - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi 11 | 12 | script: 13 | - go test -cover 14 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonpointer/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-openapi/jsonpointer 2 | 3 | require ( 4 | github.com/go-openapi/swag v0.19.5 5 | github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect 6 | github.com/stretchr/testify v1.3.0 7 | ) 8 | 9 | go 1.13 10 | -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gobuffalo/envy 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 // indirect 7 | github.com/joho/godotenv v1.3.0 8 | github.com/rogpeppe/go-internal v1.3.2 9 | github.com/stretchr/testify v1.4.0 10 | ) 11 | -------------------------------------------------------------------------------- /pkg/controller/storageoscluster/deployment.go: -------------------------------------------------------------------------------- 1 | package storageoscluster 2 | 3 | // Deployment is an interface for deployment of a cluster. 4 | type Deployment interface { 5 | // Deploy deploys a cluster. 6 | Deploy() error 7 | // Delete deletes a deployed cluster. 8 | Delete() error 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /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/google.golang.org/grpc/install_gae.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TMP=$(mktemp -d /tmp/sdk.XXX) \ 4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \ 5 | && unzip -q $TMP.zip -d $TMP \ 6 | && export PATH="$PATH:$TMP/go_appengine" 7 | -------------------------------------------------------------------------------- /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 | - timothysc 6 | reviewers: 7 | - wojtek-t 8 | - deads2k 9 | - mikedanese 10 | - gmarek 11 | - eparis 12 | - timothysc 13 | - ingvagabund 14 | - resouer 15 | -------------------------------------------------------------------------------- /vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package sequences 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { 10 | return fmt.Errorf("windows only package") 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/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 | 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/oauth2 2 | 3 | go 1.11 4 | 5 | require ( 6 | cloud.google.com/go v0.34.0 7 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e 8 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect 9 | google.golang.org/appengine v1.4.0 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/ptypes/doc.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 | // Package ptypes provides functionality for interacting with well-known types. 6 | package ptypes 7 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/serror/error_kind.go: -------------------------------------------------------------------------------- 1 | package serror 2 | 3 | //go:generate stringer -type=StorageOSErrorKind error_kind.go 4 | type StorageOSErrorKind int 5 | 6 | // Known error kinds 7 | const ( 8 | UnknownError StorageOSErrorKind = iota 9 | APIUncontactable 10 | InvalidHostConfig 11 | ) 12 | -------------------------------------------------------------------------------- /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 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /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 | - "tip" 15 | 16 | go_import_path: gopkg.in/yaml.v2 17 | -------------------------------------------------------------------------------- /deploy/storageos-operators.catalogsource.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: operators.coreos.com/v1alpha1 2 | kind: CatalogSource 3 | metadata: 4 | name: storageos-catalog 5 | namespace: olm 6 | spec: 7 | sourceType: internal 8 | configMap: storageos-operators 9 | displayName: StorageOS Operators 10 | publisher: StorageOS 11 | -------------------------------------------------------------------------------- /scripts/openshift/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | Vagrant.configure("2") do |config| 5 | config.vm.box = "ubuntu/xenial64" 6 | 7 | config.vm.network "private_network", type: "dhcp" 8 | 9 | config.vm.provider "virtualbox" do |vb| 10 | vb.memory = "4096" 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | install: 3 | - go get -t 4 | - go get golang.org/x/tools/cmd/cover 5 | - go get github.com/mattn/goveralls 6 | script: 7 | - go test -race -v ./... 8 | after_script: 9 | - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /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/controller/add_job.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "github.com/storageos/cluster-operator/pkg/controller/job" 5 | ) 6 | 7 | func init() { 8 | // AddToManagerFuncs is a list of functions to create controllers and add them to a manager. 9 | AddToManagerFuncs = append(AddToManagerFuncs, job.Add) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(d *Digest, b []byte) int 14 | -------------------------------------------------------------------------------- /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/go.uber.org/atomic/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/atomic 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/stretchr/testify v1.3.0 6 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 7 | golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c // indirect 8 | ) 9 | 10 | go 1.13 11 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.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 | - 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/github.com/storageos/go-api/types/cluster.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import "time" 4 | 5 | // Maintenance is used to place the cluster in maintenance mode. 6 | type Maintenance struct { 7 | Enabled bool `json:"enabled"` 8 | UpdatedBy string `json:"updatedBy"` 9 | UpdatedAt time.Time `json:"updatedAt"` 10 | } 11 | -------------------------------------------------------------------------------- /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 | // +build !protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = false 10 | -------------------------------------------------------------------------------- /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 | // +build protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = true 10 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/zap 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/pkg/errors v0.8.1 7 | github.com/stretchr/testify v1.4.0 8 | go.uber.org/atomic v1.6.0 9 | go.uber.org/multierr v1.5.0 10 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 11 | honnef.co/go/tools v0.0.1-2019.2.3 12 | ) 13 | -------------------------------------------------------------------------------- /pkg/controller/add_nfsserver.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "github.com/storageos/cluster-operator/pkg/controller/nfsserver" 5 | ) 6 | 7 | func init() { 8 | // AddToManagerFuncs is a list of functions to create controllers and add them to a manager. 9 | AddToManagerFuncs = append(AddToManagerFuncs, nfsserver.Add) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 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/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - lavalamp 6 | - smarterclayton 7 | - wojtek-t 8 | - derekwaynecarr 9 | - mikedanese 10 | - saad-ali 11 | - janetkuo 12 | - tallclair 13 | - eparis 14 | - xiang90 15 | - mbohlool 16 | - david-mcmahon 17 | -------------------------------------------------------------------------------- /vendor/github.com/emicklei/go-restful/jsoniter.go: -------------------------------------------------------------------------------- 1 | // +build jsoniter 2 | 3 | package restful 4 | 5 | import "github.com/json-iterator/go" 6 | 7 | var ( 8 | json = jsoniter.ConfigCompatibleWithStandardLibrary 9 | MarshalIndent = json.MarshalIndent 10 | NewDecoder = json.NewDecoder 11 | NewEncoder = json.NewEncoder 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/identity_flex.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Google LLC. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appenginevm 6 | 7 | package internal 8 | 9 | func init() { 10 | appengineFlex = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.9 6 | - "1.10" 7 | - tip 8 | 9 | os: 10 | - linux 11 | - osx 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | fast_finish: true 17 | 18 | script: 19 | - go build 20 | - go test -race -v ./... 21 | 22 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cobra 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/cpuguy83/go-md2man/v2 v2.0.0 7 | github.com/inconshreveable/mousetrap v1.0.0 8 | github.com/mitchellh/go-homedir v1.1.0 9 | github.com/spf13/pflag v1.0.3 10 | github.com/spf13/viper v1.4.0 11 | gopkg.in/yaml.v2 v2.2.2 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/types/volume_stats.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // VolumeStats - volume stats (volume counts, looking forward to capacity) 4 | type VolumeStats struct { 5 | MasterVolumeCount int `json:"masterVolumeCount"` 6 | ReplicaVolumeCount int `json:"replicaVolumeCount"` 7 | VirtualVolumeCount int `json:"virtualVolumeCount"` 8 | } 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/internal/internal.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 internal 6 | 7 | // EnableTrace indicates whether stack information should be recorded in errors. 8 | var EnableTrace = true 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype) 14 | } 15 | -------------------------------------------------------------------------------- /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/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 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le riscv64 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /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 | # Emacs save files 10 | *~ 11 | 12 | # Vim-related files 13 | [._]*.s[a-w][a-z] 14 | [._]s[a-w][a-z] 15 | *.un~ 16 | Session.vim 17 | .netrwhist 18 | 19 | # Go test binaries 20 | *.test 21 | -------------------------------------------------------------------------------- /pkg/controller/add_storageoscluster.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "github.com/storageos/cluster-operator/pkg/controller/storageoscluster" 5 | ) 6 | 7 | func init() { 8 | // AddToManagerFuncs is a list of functions to create controllers and add them to a manager. 9 | AddToManagerFuncs = append(AddToManagerFuncs, storageoscluster.Add) 10 | } 11 | -------------------------------------------------------------------------------- /pkg/controller/add_storageosupgrade.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "github.com/storageos/cluster-operator/pkg/controller/storageosupgrade" 5 | ) 6 | 7 | func init() { 8 | // AddToManagerFuncs is a list of functions to create controllers and add them to a manager. 9 | AddToManagerFuncs = append(AddToManagerFuncs, storageosupgrade.Add) 10 | } 11 | -------------------------------------------------------------------------------- /pkg/apis/addtoscheme_storageos_v1.go: -------------------------------------------------------------------------------- 1 | package apis 2 | 3 | import ( 4 | storageosv1 "github.com/storageos/cluster-operator/pkg/apis/storageos/v1" 5 | ) 6 | 7 | func init() { 8 | // Register the types with the Scheme so the components can map objects to GroupVersionKinds and back 9 | AddToSchemes = append(AddToSchemes, storageosv1.SchemeBuilder.AddToScheme) 10 | } 11 | -------------------------------------------------------------------------------- /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 makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype, cap) 14 | } 15 | -------------------------------------------------------------------------------- /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/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 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 | // +build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main_common.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // MainPath stores the file path of the main package. On App Engine Standard 4 | // using Go version 1.9 and below, this will be unset. On App Engine Flex and 5 | // App Engine Standard second-gen (Go 1.11 and above), this will be the 6 | // filepath to package main. 7 | var MainPath string 8 | -------------------------------------------------------------------------------- /vendor/github.com/evanphx/json-patch/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8 5 | - 1.7 6 | 7 | install: 8 | - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi 9 | - go get github.com/jessevdk/go-flags 10 | 11 | script: 12 | - go get 13 | - go test -cover ./... 14 | 15 | notifications: 16 | email: false 17 | -------------------------------------------------------------------------------- /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/json-iterator/go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/json-iterator/go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | github.com/google/gofuzz v1.0.0 8 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 9 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 10 | github.com/stretchr/testify v1.3.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_linux.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 | package terminal 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /pkg/apis/apis.go: -------------------------------------------------------------------------------- 1 | package apis 2 | 3 | import ( 4 | "k8s.io/apimachinery/pkg/runtime" 5 | ) 6 | 7 | // AddToSchemes may be used to add all resources defined in the project to a Scheme 8 | var AddToSchemes runtime.SchemeBuilder 9 | 10 | // AddToScheme adds all Resources to the Scheme 11 | func AddToScheme(s *runtime.Scheme) error { 12 | return AddToSchemes.AddToScheme(s) 13 | } 14 | -------------------------------------------------------------------------------- /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/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/github.com/sirupsen/logrus/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/sirupsen/logrus 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/konsorten/go-windows-terminal-sequences v1.0.1 6 | github.com/pmezard/go-difflib v1.0.0 // indirect 7 | github.com/stretchr/testify v1.2.2 8 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894 9 | ) 10 | 11 | go 1.13 12 | -------------------------------------------------------------------------------- /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 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/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 fieldnum 8 | 9 | // Field numbers for google.protobuf.Empty. 10 | const () 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.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 | // +build darwin,386,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - jayunit100 4 | - hoegaarden 5 | - andyxning 6 | - neolit123 7 | - pohly 8 | - yagonobre 9 | - vincepri 10 | - detiber 11 | approvers: 12 | - dims 13 | - thockin 14 | - justinsb 15 | - tallclair 16 | - piosz 17 | - brancz 18 | - DirectXMan12 19 | - lavalamp 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/v2/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - jayunit100 4 | - hoegaarden 5 | - andyxning 6 | - neolit123 7 | - pohly 8 | - yagonobre 9 | - vincepri 10 | - detiber 11 | approvers: 12 | - dims 13 | - thockin 14 | - justinsb 15 | - tallclair 16 | - piosz 17 | - brancz 18 | - DirectXMan12 19 | - lavalamp 20 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /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/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.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 | // +build darwin,amd64,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /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 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/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 fieldnum contains constants for field numbers of fields in messages 6 | // declared in descriptor.proto and any of the well-known types. 7 | package fieldnum 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.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 | // +build go1.12 6 | 7 | package impl 8 | 9 | import "reflect" 10 | 11 | func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gobuffalo/envy/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | doc 4 | tmp 5 | pkg 6 | *.pid 7 | coverage 8 | coverage.data 9 | build/* 10 | *.pbxuser 11 | *.mode1v3 12 | .svn 13 | profile 14 | .console_history 15 | .sass-cache/* 16 | solr/ 17 | .jhw-cache/ 18 | jhw.* 19 | *.sublime* 20 | node_modules/ 21 | dist/ 22 | generated/ 23 | .vendor/ 24 | bin/* 25 | gin-bin 26 | .idea/ 27 | .vscode 28 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /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/golang.org/x/crypto/ssh/terminal/util_aix.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 | // +build aix 6 | 7 | package terminal 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.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 | // +build darwin,arm,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 12 | -------------------------------------------------------------------------------- /deploy/service_account.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ServiceAccount 3 | metadata: 4 | name: storageoscluster-operator-sa 5 | namespace: storageos-operator 6 | labels: 7 | app: storageos 8 | app.kubernetes.io/name: storageos-operator 9 | app.kubernetes.io/instance: storageos-cluster-operator 10 | app.kubernetes.io/component: operator 11 | app.kubernetes.io/part-of: storageos 12 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.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.md file. 4 | 5 | // +build !go1.10 6 | 7 | package flags 8 | 9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. 10 | const AtLeastGo110 = false 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.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.md file. 4 | 5 | // +build go1.10 6 | 7 | package flags 8 | 9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. 10 | const AtLeastGo110 = true 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: '{build}' 2 | clone_folder: C:\gopath\src\github.com\spf13\afero 3 | environment: 4 | GOPATH: C:\gopath 5 | build_script: 6 | - cmd: >- 7 | go version 8 | 9 | go env 10 | 11 | go get -v github.com/spf13/afero/... 12 | 13 | go build github.com/spf13/afero 14 | test_script: 15 | - cmd: go test -race -v github.com/spf13/afero/... 16 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/checklicense.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ERROR_COUNT=0 4 | while read -r file 5 | do 6 | case "$(head -1 "${file}")" in 7 | *"Copyright (c) "*" Uber Technologies, Inc.") 8 | # everything's cool 9 | ;; 10 | *) 11 | echo "$file is missing license header." 12 | (( ERROR_COUNT++ )) 13 | ;; 14 | esac 15 | done < <(git ls-files "*\.go") 16 | 17 | exit $ERROR_COUNT 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.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 | // +build darwin,arm64,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 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 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-autorest/autorest/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Azure/go-autorest/autorest 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/Azure/go-autorest/autorest/adal v0.5.0 7 | github.com/Azure/go-autorest/autorest/mocks v0.2.0 8 | github.com/Azure/go-autorest/logger v0.1.0 9 | github.com/Azure/go-autorest/tracing v0.5.0 10 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 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.md 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/go.uber.org/multierr/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/multierr 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/stretchr/testify v1.3.0 7 | go.uber.org/atomic v1.6.0 8 | go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee 9 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 10 | golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5 // indirect 11 | honnef.co/go/tools v0.0.1-2019.2.3 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/internal/client_appengine.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 | // +build appengine 6 | 7 | package internal 8 | 9 | import "google.golang.org/appengine/urlfetch" 10 | 11 | func init() { 12 | appengineClientHook = urlfetch.Client 13 | } 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import ( 10 | "appengine_internal" 11 | ) 12 | 13 | func Main() { 14 | MainPath = "" 15 | appengine_internal.Main() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/errors/is_go113.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 | // +build go1.13 6 | 7 | package errors 8 | 9 | import "errors" 10 | 11 | // Is is errors.Is. 12 | func Is(err, target error) bool { return errors.Is(err, target) } 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/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 | unix.O_CLOEXEC 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/.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 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list github.com/modern-go/reflect2-tests/... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/reflect2 $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/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/github.com/storageos/go-api/.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/sigs.k8s.io/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | dist: xenial 3 | go: 4 | - 1.12.x 5 | - 1.13.x 6 | script: 7 | - diff -u <(echo -n) <(gofmt -d *.go) 8 | - diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON) 9 | - GO111MODULE=on go vet . 10 | - GO111MODULE=on go test -v -race ./... 11 | - git diff --exit-code 12 | install: 13 | - GO111MODULE=off go get golang.org/x/lint/golint 14 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/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 | unix.O_CLOEXEC 13 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/.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/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 | // +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 10 | -------------------------------------------------------------------------------- /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 | // +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/k8s.io/klog/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: k8s.io/klog 3 | dist: xenial 4 | go: 5 | - 1.9.x 6 | - 1.10.x 7 | - 1.11.x 8 | - 1.12.x 9 | script: 10 | - go get -t -v ./... 11 | - diff -u <(echo -n) <(gofmt -d .) 12 | - diff -u <(echo -n) <(golint $(go list -e ./...)) 13 | - go tool vet . || go vet . 14 | - go test -v -race ./... 15 | install: 16 | - go get golang.org/x/lint/golint 17 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | doc 4 | tmp 5 | pkg 6 | *.gem 7 | *.pid 8 | coverage 9 | coverage.data 10 | build/* 11 | *.pbxuser 12 | *.mode1v3 13 | .svn 14 | profile 15 | .console_history 16 | .sass-cache/* 17 | .rake_tasks~ 18 | *.log.lck 19 | solr/ 20 | .jhw-cache/ 21 | jhw.* 22 | *.sublime* 23 | node_modules/ 24 | dist/ 25 | generated/ 26 | .vendor/ 27 | bin/* 28 | gin-bin 29 | .idea/ 30 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/types/error_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ErrorResponse Represents an error. 7 | // swagger:model ErrorResponse 8 | type ErrorResponse struct { 9 | 10 | // The error message. 11 | // Required: true 12 | Message string `json:"message"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_fileno.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 | // +build freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntInode(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Fileno) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go_import_path: google.golang.org/appengine 4 | 5 | install: 6 | - ./travis_install.sh 7 | 8 | script: 9 | - ./travis_test.sh 10 | 11 | matrix: 12 | include: 13 | - go: 1.8.x 14 | env: GOAPP=true 15 | - go: 1.9.x 16 | env: GOAPP=true 17 | - go: 1.10.x 18 | env: GOAPP=false 19 | - go: 1.11.x 20 | env: GO111MODULE=on 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/travis_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | go version 5 | go test -v google.golang.org/appengine/... 6 | go test -v -race google.golang.org/appengine/... 7 | if [[ $GOAPP == "true" ]]; then 8 | export PATH="$PATH:/tmp/sdk/go_appengine" 9 | export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py 10 | goapp version 11 | goapp test -v google.golang.org/appengine/... 12 | fi 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_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 darwin dragonfly freebsd netbsd openbsd 6 | 7 | package terminal 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/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/zsyscall_darwin_386.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go 386 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | // +build go1.13 5 | 6 | #include "textflag.h" 7 | TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0 8 | JMP libc_fdopendir(SB) 9 | TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0 10 | JMP libc_closedir(SB) 11 | TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0 12 | JMP libc_readdir_r(SB) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go arm 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | // +build go1.13 5 | 6 | #include "textflag.h" 7 | TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0 8 | JMP libc_fdopendir(SB) 9 | TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0 10 | JMP libc_closedir(SB) 11 | TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0 12 | JMP libc_readdir_r(SB) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_ino.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 | // +build linux darwin 6 | // +build !appengine 7 | 8 | package fastwalk 9 | 10 | import "syscall" 11 | 12 | func direntInode(dirent *syscall.Dirent) uint64 { 13 | return uint64(dirent.Ino) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/field_mask_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 fieldnum 8 | 9 | // Field numbers for google.protobuf.FieldMask. 10 | const ( 11 | FieldMask_Paths = 1 // repeated string 12 | ) 13 | -------------------------------------------------------------------------------- /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 | - brendandburns 9 | - derekwaynecarr 10 | - caesarxuchao 11 | - mikedanese 12 | - liggitt 13 | - nikhiljindal 14 | - gmarek 15 | - janetkuo 16 | - ncdc 17 | - eparis 18 | - dims 19 | - krousey 20 | - resouer 21 | - david-mcmahon 22 | - mfojtik 23 | - jianhuiz 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go amd64 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | // +build go1.13 5 | 6 | #include "textflag.h" 7 | TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0 8 | JMP libc_fdopendir(SB) 9 | TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0 10 | JMP libc_closedir(SB) 11 | TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0 12 | JMP libc_readdir_r(SB) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s: -------------------------------------------------------------------------------- 1 | // go run mkasm_darwin.go arm64 2 | // Code generated by the command above; DO NOT EDIT. 3 | 4 | // +build go1.13 5 | 6 | #include "textflag.h" 7 | TEXT ·libc_fdopendir_trampoline(SB),NOSPLIT,$0-0 8 | JMP libc_fdopendir(SB) 9 | TEXT ·libc_closedir_trampoline(SB),NOSPLIT,$0-0 10 | JMP libc_closedir(SB) 11 | TEXT ·libc_readdir_r_trampoline(SB),NOSPLIT,$0-0 12 | JMP libc_readdir_r(SB) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_namlen_bsd.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 | // +build darwin freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntNamlen(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Namlen) 13 | } 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /docs/operator-prometheus-metrics/prometheus-stos-operator.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: monitoring.coreos.com/v1 2 | kind: Prometheus 3 | metadata: 4 | name: prometheus-storageos-operator 5 | namespace: storageos-operator 6 | spec: 7 | image: quay.io/prometheus/prometheus:v2.13.1 8 | serviceAccountName: prometheus-storageos-operator 9 | serviceMonitorSelector: 10 | matchLabels: 11 | name: storageos-cluster-operator 12 | enableAdminAPI: false 13 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/jsonreference/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-openapi/jsonreference 2 | 3 | require ( 4 | github.com/PuerkitoBio/purell v1.1.1 5 | github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect 6 | github.com/go-openapi/jsonpointer v0.19.3 7 | github.com/stretchr/testify v1.3.0 8 | golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect 9 | golang.org/x/text v0.3.2 // indirect 10 | ) 11 | 12 | go 1.13 13 | -------------------------------------------------------------------------------- /vendor/github.com/golang/mock/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoMock authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | # Please keep the list sorted. 10 | 11 | Alex Reece 12 | Google Inc. 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/source_context_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 fieldnum 8 | 9 | // Field numbers for google.protobuf.SourceContext. 10 | const ( 11 | SourceContext_FileName = 1 // optional string 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/operator-registry/pkg/image/reference.go: -------------------------------------------------------------------------------- 1 | package image 2 | 3 | import "fmt" 4 | 5 | // Reference describes a reference to a container image. 6 | type Reference interface { 7 | fmt.Stringer 8 | } 9 | 10 | // SimpleReference is a reference backed by a string with no additional validation. 11 | type SimpleReference string 12 | 13 | func (s SimpleReference) String() string { 14 | ref := string(s) 15 | return ref 16 | } 17 | -------------------------------------------------------------------------------- /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 | - brendandburns 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - erictune 14 | - sttts 15 | - luxas 16 | - dims 17 | - errordeveloper 18 | - hongchaodeng 19 | - krousey 20 | - resouer 21 | - cjcullen 22 | - rmmh 23 | - asalkeld 24 | - juanvallejo 25 | - lojies 26 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_error.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // Error struct for Error 13 | type Error struct { 14 | Error string `json:"error"` 15 | } 16 | -------------------------------------------------------------------------------- /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 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build go1.9 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | type Signal = syscall.Signal 13 | type Errno = syscall.Errno 14 | type SysProcAttr = syscall.SysProcAttr 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/fieldnum/any_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 fieldnum 8 | 9 | // Field numbers for google.protobuf.Any. 10 | const ( 11 | Any_TypeUrl = 1 // optional string 12 | Any_Value = 2 // optional bytes 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/yaml_go110.go: -------------------------------------------------------------------------------- 1 | // This file contains changes that are only compatible with go 1.10 and onwards. 2 | 3 | // +build go1.10 4 | 5 | package yaml 6 | 7 | import "encoding/json" 8 | 9 | // DisallowUnknownFields configures the JSON decoder to error out if unknown 10 | // fields come along, instead of dropping them by default. 11 | func DisallowUnknownFields(d *json.Decoder) *json.Decoder { 12 | d.DisallowUnknownFields() 13 | return d 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-autorest/autorest/adal/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Azure/go-autorest/autorest/adal 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/Azure/go-autorest/autorest v0.9.0 7 | github.com/Azure/go-autorest/autorest/date v0.2.0 8 | github.com/Azure/go-autorest/autorest/mocks v0.3.0 9 | github.com/Azure/go-autorest/tracing v0.5.0 10 | github.com/dgrijalva/jwt-go v3.2.0+incompatible 11 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 12 | ) 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/go.uber.org/zap/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go_import_path: go.uber.org/zap 5 | env: 6 | global: 7 | - TEST_TIMEOUT_SCALE=10 8 | - GO111MODULE=on 9 | 10 | matrix: 11 | include: 12 | - go: 1.12.x 13 | - go: 1.13.x 14 | env: LINT=1 15 | 16 | script: 17 | - test -z "$LINT" || make lint 18 | - make test 19 | - make bench 20 | 21 | after_success: 22 | - make cover 23 | - bash <(curl -s https://codecov.io/bash) 24 | -------------------------------------------------------------------------------- /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 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 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/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 | // +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/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/storageos/go-api/util.go: -------------------------------------------------------------------------------- 1 | package storageos 2 | 3 | import ( 4 | "fmt" 5 | "strings" 6 | ) 7 | 8 | // ParseRef is a helper to split out the namespace and name from a path 9 | // reference. 10 | func ParseRef(ref string) (namespace string, name string, err error) { 11 | parts := strings.Split(ref, "/") 12 | if len(parts) != 2 { 13 | return "", "", fmt.Errorf("Name must be prefixed with /") 14 | } 15 | return parts[0], parts[1], nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | govet: 3 | check-shadowing: true 4 | golint: 5 | min-confidence: 0 6 | gocyclo: 7 | min-complexity: 25 8 | maligned: 9 | suggest-new: true 10 | dupl: 11 | threshold: 100 12 | goconst: 13 | min-len: 3 14 | min-occurrences: 2 15 | 16 | linters: 17 | enable-all: true 18 | disable: 19 | - maligned 20 | - lll 21 | - gochecknoinits 22 | - gochecknoglobals 23 | -------------------------------------------------------------------------------- /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 | // +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 | -------------------------------------------------------------------------------- /vendor/github.com/blang/semver/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "blang", 3 | "bugs": { 4 | "URL": "https://github.com/blang/semver/issues", 5 | "url": "https://github.com/blang/semver/issues" 6 | }, 7 | "gx": { 8 | "dvcsimport": "github.com/blang/semver" 9 | }, 10 | "gxVersion": "0.10.0", 11 | "language": "go", 12 | "license": "MIT", 13 | "name": "semver", 14 | "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", 15 | "version": "3.5.1" 16 | } 17 | 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm linux,mips linux,mipsle 2 | 3 | // Copyright 2014 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 | 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/google.golang.org/protobuf/internal/fieldnum/duration_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 fieldnum 8 | 9 | // Field numbers for google.protobuf.Duration. 10 | const ( 11 | Duration_Seconds = 1 // optional int64 12 | Duration_Nanos = 2 // optional int32 13 | ) 14 | -------------------------------------------------------------------------------- /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 | - lavalamp 6 | - smarterclayton 7 | - wojtek-t 8 | - deads2k 9 | - brendandburns 10 | - derekwaynecarr 11 | - caesarxuchao 12 | - mikedanese 13 | - liggitt 14 | - nikhiljindal 15 | - gmarek 16 | - erictune 17 | - saad-ali 18 | - janetkuo 19 | - tallclair 20 | - eparis 21 | - dims 22 | - hongchaodeng 23 | - krousey 24 | - cjcullen 25 | - david-mcmahon 26 | -------------------------------------------------------------------------------- /vendor/sigs.k8s.io/yaml/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - dims 5 | - lavalamp 6 | - smarterclayton 7 | - deads2k 8 | - sttts 9 | - liggitt 10 | - caesarxuchao 11 | reviewers: 12 | - dims 13 | - thockin 14 | - lavalamp 15 | - smarterclayton 16 | - wojtek-t 17 | - deads2k 18 | - derekwaynecarr 19 | - caesarxuchao 20 | - mikedanese 21 | - liggitt 22 | - gmarek 23 | - sttts 24 | - ncdc 25 | - tallclair 26 | labels: 27 | - sig/api-machinery 28 | -------------------------------------------------------------------------------- /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/google.golang.org/protobuf/internal/fieldnum/timestamp_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 fieldnum 8 | 9 | // Field numbers for google.protobuf.Timestamp. 10 | const ( 11 | Timestamp_Seconds = 1 // optional int64 12 | Timestamp_Nanos = 2 // optional int32 13 | ) 14 | -------------------------------------------------------------------------------- /cmd/image-puller/docker-puller.sh: -------------------------------------------------------------------------------- 1 | #!/bin/ash 2 | 3 | set -euo pipefail 4 | 5 | # Gracefully handle the TERM signal sent when deleting the daemonset 6 | trap 'exit' TERM 7 | 8 | # This is the main command that's run by this script on 9 | # all the nodes. 10 | docker pull $1 11 | 12 | # Let the monitoring script know we're done. 13 | echo "done" 14 | 15 | # this is a workaround to prevent the container from exiting 16 | # and k8s restarting the daemonset pod 17 | while true; do sleep 1; done 18 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | // This file contains the safe implementations of otherwise unsafe-using code. 4 | 5 | package xxhash 6 | 7 | // Sum64String computes the 64-bit xxHash digest of s. 8 | func Sum64String(s string) uint64 { 9 | return Sum64([]byte(s)) 10 | } 11 | 12 | // WriteString adds more data to d. It always returns len(s), nil. 13 | func (d *Digest) WriteString(s string) (n int, err error) { 14 | return d.Write([]byte(s)) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | govet: 3 | check-shadowing: true 4 | golint: 5 | min-confidence: 0 6 | gocyclo: 7 | min-complexity: 45 8 | maligned: 9 | suggest-new: true 10 | dupl: 11 | threshold: 200 12 | goconst: 13 | min-len: 2 14 | min-occurrences: 2 15 | 16 | linters: 17 | enable-all: true 18 | disable: 19 | - maligned 20 | - unparam 21 | - lll 22 | - gochecknoinits 23 | - gochecknoglobals 24 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/export_panic.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.md file. 4 | 5 | // +build purego 6 | 7 | package cmp 8 | 9 | import "reflect" 10 | 11 | const supportExporters = false 12 | 13 | func retrieveUnexportedField(reflect.Value, reflect.StructField) reflect.Value { 14 | panic("no support for forcibly accessing unexported fields") 15 | } 16 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/.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 | vendor 10 | 11 | # Architecture specific extensions/prefixes 12 | *.[568vq] 13 | [568vq].out 14 | 15 | *.cgo1.go 16 | *.cgo2.c 17 | _cgo_defun.c 18 | _cgo_gotypes.go 19 | _cgo_export.* 20 | 21 | _testmain.go 22 | 23 | *.exe 24 | *.test 25 | *.prof 26 | *.pprof 27 | *.out 28 | *.log 29 | 30 | /bin 31 | cover.out 32 | cover.html 33 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go_import_path: go.uber.org/atomic 4 | 5 | env: 6 | global: 7 | - GO111MODULE=on 8 | 9 | matrix: 10 | include: 11 | - go: 1.12.x 12 | - go: 1.13.x 13 | env: LINT=1 14 | 15 | cache: 16 | directories: 17 | - vendor 18 | 19 | before_install: 20 | - go version 21 | 22 | script: 23 | - test -z "$LINT" || make lint 24 | - make cover 25 | 26 | after_success: 27 | - bash <(curl -s https://codecov.io/bash) 28 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go_import_path: go.uber.org/multierr 4 | 5 | env: 6 | global: 7 | - GO15VENDOREXPERIMENT=1 8 | - GO111MODULE=on 9 | 10 | go: 11 | - 1.11.x 12 | - 1.12.x 13 | - 1.13.x 14 | 15 | cache: 16 | directories: 17 | - vendor 18 | 19 | before_install: 20 | - go version 21 | 22 | script: 23 | - | 24 | set -e 25 | make lint 26 | make cover 27 | 28 | after_success: 29 | - bash <(curl -s https://codecov.io/bash) 30 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | # Golang CircleCI 2.0 configuration file 2 | # 3 | # Check https://circleci.com/docs/2.0/language-go/ for more details 4 | version: 2 5 | jobs: 6 | build: 7 | docker: 8 | # specify the version 9 | - image: circleci/golang:1.15.2 10 | 11 | working_directory: /go/src/github.com/storageos/cluster-operator 12 | steps: 13 | - checkout 14 | 15 | # specify any bash command here prefixed with `run: ` 16 | - run: make lint 17 | - run: make all 18 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | matrix: 6 | include: 7 | - go: "1.9.x" 8 | - go: "1.10.x" 9 | - go: "1.11.x" 10 | env: 11 | - GO111MODULE=off 12 | - go: "1.11.x" 13 | env: 14 | - GO111MODULE=on 15 | - go: "tip" 16 | env: 17 | - GO111MODULE=off 18 | - go: "tip" 19 | env: 20 | - GO111MODULE=on 21 | allow_failures: 22 | - go: "tip" 23 | 24 | install: make deps 25 | 26 | script: make ci-test 27 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_accepted_message.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // AcceptedMessage struct for AcceptedMessage 13 | type AcceptedMessage struct { 14 | Msg string `json:"msg,omitempty"` 15 | } 16 | -------------------------------------------------------------------------------- /docs/nfs-prometheus-metrics/prometheus-nfs.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: monitoring.coreos.com/v1 2 | kind: Prometheus 3 | metadata: 4 | name: prometheus-nfs 5 | spec: 6 | image: quay.io/prometheus/prometheus:v2.13.1 7 | serviceAccountName: prometheus-nfs 8 | serviceMonitorSelector: 9 | matchLabels: 10 | app.kubernetes.io/name: storageos 11 | app.kubernetes.io/component: nfs-server 12 | app.kubernetes.io/service-for: nfs-metrics 13 | # nfsserver: some-pvc-name 14 | enableAdminAPI: false 15 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/openstack/identity/v2/tokens/urls.go: -------------------------------------------------------------------------------- 1 | package tokens 2 | 3 | import "github.com/gophercloud/gophercloud" 4 | 5 | // CreateURL generates the URL used to create new Tokens. 6 | func CreateURL(client *gophercloud.ServiceClient) string { 7 | return client.ServiceURL("tokens") 8 | } 9 | 10 | // GetURL generates the URL used to Validate Tokens. 11 | func GetURL(client *gophercloud.ServiceClient, token string) string { 12 | return client.ServiceURL("tokens", token) 13 | } 14 | -------------------------------------------------------------------------------- /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.13.x, 1.14.x] 8 | os: [linux, osx] 9 | install: 10 | - ./travis/install.sh 11 | script: 12 | - ./travis/cross_build.sh 13 | - ./travis/lint.sh 14 | - export GOMAXPROCS=4 15 | - export GORACE=halt_on_error=1 16 | - go test -race -v ./... 17 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi 18 | -------------------------------------------------------------------------------- /pkg/controller/controller.go: -------------------------------------------------------------------------------- 1 | package controller 2 | 3 | import ( 4 | "sigs.k8s.io/controller-runtime/pkg/manager" 5 | ) 6 | 7 | // AddToManagerFuncs is a list of functions to add all Controllers to the Manager 8 | var AddToManagerFuncs []func(manager.Manager) error 9 | 10 | // AddToManager adds all Controllers to the Manager 11 | func AddToManager(m manager.Manager) error { 12 | for _, f := range AddToManagerFuncs { 13 | if err := f(m); err != nil { 14 | return err 15 | } 16 | } 17 | return nil 18 | } 19 | -------------------------------------------------------------------------------- /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 | // +build !gccgo 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/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.md file. 4 | 5 | // +build !cmp_debug 6 | 7 | package diff 8 | 9 | var debug debugger 10 | 11 | type debugger struct{} 12 | 13 | func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc { 14 | return f 15 | } 16 | func (debugger) Update() {} 17 | func (debugger) Finish() {} 18 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/record/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - lavalamp 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - vishh 11 | - mikedanese 12 | - liggitt 13 | - nikhiljindal 14 | - erictune 15 | - pmorie 16 | - dchen1107 17 | - saad-ali 18 | - luxas 19 | - yifan-gu 20 | - eparis 21 | - mwielgus 22 | - timothysc 23 | - jsafrane 24 | - dims 25 | - krousey 26 | - a-robinson 27 | - aveshagarwal 28 | - resouer 29 | - cjcullen 30 | -------------------------------------------------------------------------------- /test/etcd/etcd-cluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: "etcd.database.coreos.com/v1beta2" 2 | kind: "EtcdCluster" 3 | metadata: 4 | name: "etcd" 5 | namespace: default 6 | ## Adding this annotation make this cluster managed by clusterwide operators 7 | ## namespaced operators ignore it 8 | # annotations: 9 | # etcd.database.coreos.com/scope: clusterwide 10 | spec: 11 | size: 1 12 | version: "3.2.28" 13 | pod: 14 | tolerations: 15 | - key: key 16 | operator: Equal 17 | value: value 18 | effect: NoSchedule 19 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_auth_user_data.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // AuthUserData struct for AuthUserData 13 | type AuthUserData struct { 14 | Username string `json:"username"` 15 | Password string `json:"password"` 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_user_session_all_of.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // UserSessionAllOf struct for UserSessionAllOf 13 | type UserSessionAllOf struct { 14 | Session UserSessionAllOfSession `json:"session,omitempty"` 15 | } 16 | -------------------------------------------------------------------------------- /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 | // +build !gccgo 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/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 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [solve-meta] 11 | analyzer-name = "dep" 12 | analyzer-version = 1 13 | inputs-digest = "daee8a88b3498b61c5640056665b8b9eea062006f5e596bbb6a3ed9119a11ec7" 14 | solver-name = "gps-cdcl" 15 | solver-version = 1 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | stages: 4 | - diff 5 | - test 6 | - build 7 | 8 | go: 9 | - 1.12.x 10 | - 1.13.x 11 | - tip 12 | 13 | before_install: 14 | - go get -u github.com/kyoh86/richgo 15 | - go get -u github.com/mitchellh/gox 16 | 17 | matrix: 18 | allow_failures: 19 | - go: tip 20 | include: 21 | - stage: diff 22 | go: 1.13.x 23 | script: make fmt 24 | - stage: build 25 | go: 1.13.x 26 | script: make cobra_generator 27 | 28 | script: 29 | - make test 30 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_master_deployment_info_all_of.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // MasterDeploymentInfoAllOf struct for MasterDeploymentInfoAllOf 13 | type MasterDeploymentInfoAllOf struct { 14 | Health MasterHealth `json:"health,omitempty"` 15 | } 16 | -------------------------------------------------------------------------------- /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 | // +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/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/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/cloud.google.com/go/compute/metadata/.repo-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "metadata", 3 | "name_pretty": "Google Compute Engine Metadata API", 4 | "product_documentation": "https://cloud.google.com/compute/docs/storing-retrieving-metadata", 5 | "client_documentation": "https://godoc.org/cloud.google.com/go/compute/metadata", 6 | "release_level": "ga", 7 | "language": "go", 8 | "repo": "googleapis/google-cloud-go", 9 | "distribution_name": "cloud.google.com/go/compute/metadata", 10 | "api_id": "compute:metadata", 11 | "requires_billing": false 12 | } 13 | -------------------------------------------------------------------------------- /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/gobuffalo/envy/azure-tests.yml: -------------------------------------------------------------------------------- 1 | steps: 2 | - task: GoTool@0 3 | inputs: 4 | version: $(go_version) 5 | - task: Bash@3 6 | inputs: 7 | targetType: inline 8 | script: | 9 | mkdir -p "$(GOBIN)" 10 | mkdir -p "$(GOPATH)/pkg" 11 | mkdir -p "$(modulePath)" 12 | shopt -s extglob 13 | mv !(gopath) "$(modulePath)" 14 | displayName: "Setup Go Workspace" 15 | - script: | 16 | go get -t -v ./... 17 | go test -race ./... 18 | workingDirectory: "$(modulePath)" 19 | displayName: "Tests" 20 | -------------------------------------------------------------------------------- /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 remvoves 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 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | // The uuid package generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // This package is a partial wrapper around the github.com/google/uuid package. 11 | // This package represents a UUID as []byte while github.com/google/uuid 12 | // represents a UUID as [16]byte. 13 | package uuid 14 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package cobra 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | "time" 9 | 10 | "github.com/inconshreveable/mousetrap" 11 | ) 12 | 13 | var preExecHookFn = preExecHook 14 | 15 | func preExecHook(c *Command) { 16 | if MousetrapHelpText != "" && mousetrap.StartedByExplorer() { 17 | c.Print(MousetrapHelpText) 18 | if MousetrapDisplayDuration > 0 { 19 | time.Sleep(MousetrapDisplayDuration) 20 | } else { 21 | c.Println("Press return to continue...") 22 | fmt.Scanln() 23 | } 24 | os.Exit(1) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /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 | - brendandburns 9 | - caesarxuchao 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - erictune 14 | - davidopp 15 | - sttts 16 | - quinton-hoole 17 | - luxas 18 | - janetkuo 19 | - justinsb 20 | - ncdc 21 | - soltysh 22 | - dims 23 | - madhusudancs 24 | - hongchaodeng 25 | - krousey 26 | - mml 27 | - mbohlool 28 | - david-mcmahon 29 | - therc 30 | - mqliang 31 | - kevin-wangzefeng 32 | - jianhuiz 33 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/swag/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-openapi/swag 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/kr/pretty v0.1.0 // indirect 6 | github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63 7 | github.com/stretchr/testify v1.3.0 8 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect 9 | gopkg.in/yaml.v2 v2.2.2 10 | ) 11 | 12 | replace github.com/golang/lint => golang.org/x/lint v0.0.0-20190409202823-959b441ac422 13 | 14 | replace sourcegraph.com/sourcegraph/go-diff => github.com/sourcegraph/go-diff v0.5.1 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/timeout.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | package appengine 6 | 7 | import "golang.org/x/net/context" 8 | 9 | // IsTimeoutError reports whether err is a timeout error. 10 | func IsTimeoutError(err error) bool { 11 | if err == context.DeadlineExceeded { 12 | return true 13 | } 14 | if t, ok := err.(interface { 15 | IsTimeout() bool 16 | }); ok { 17 | return t.IsTimeout() 18 | } 19 | return false 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/inconshreveable/mousetrap/trap_others.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package mousetrap 4 | 5 | // StartedByExplorer returns true if the program was invoked by the user 6 | // double-clicking on the executable from explorer.exe 7 | // 8 | // It is conservative and returns false if any of the internal calls fail. 9 | // It does not guarantee that the program was run from a terminal. It only can tell you 10 | // whether it was launched from explorer.exe 11 | // 12 | // On non-Windows platforms, it always returns false. 13 | func StartedByExplorer() bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /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 | // +build linux,!gccgo 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/golang.org/x/sys/windows/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 | // +build windows,!race 6 | 7 | package windows 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/github.com/blang/semver/json.go: -------------------------------------------------------------------------------- 1 | package semver 2 | 3 | import ( 4 | "encoding/json" 5 | ) 6 | 7 | // MarshalJSON implements the encoding/json.Marshaler interface. 8 | func (v Version) MarshalJSON() ([]byte, error) { 9 | return json.Marshal(v.String()) 10 | } 11 | 12 | // UnmarshalJSON implements the encoding/json.Unmarshaler interface. 13 | func (v *Version) UnmarshalJSON(data []byte) (err error) { 14 | var versionString string 15 | 16 | if err = json.Unmarshal(data, &versionString); err != nil { 17 | return 18 | } 19 | 20 | *v, err = Parse(versionString) 21 | 22 | return 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/gophercloud/gophercloud/openstack/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package openstack contains resources for the individual OpenStack projects 3 | supported in Gophercloud. It also includes functions to authenticate to an 4 | OpenStack cloud and for provisioning various service-level clients. 5 | 6 | Example of Creating a Service Client 7 | 8 | ao, err := openstack.AuthOptionsFromEnv() 9 | provider, err := openstack.AuthenticatedClient(ao) 10 | client, err := openstack.NewNetworkV2(client, gophercloud.EndpointOpts{ 11 | Region: os.Getenv("OS_REGION_NAME"), 12 | }) 13 | */ 14 | package openstack 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/errors_freebsd_arm64.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 | // Constants that were deprecated or moved to enums in the FreeBSD headers. Keep 6 | // them here for backwards compatibility. 7 | 8 | package unix 9 | 10 | const ( 11 | DLT_HHDLC = 0x79 12 | IPV6_MIN_MEMBERSHIPS = 0x1f 13 | IP_MAX_SOURCE_FILTER = 0x400 14 | IP_MIN_MEMBERSHIPS = 0x1f 15 | RT_CACHING_CONTEXT = 0x1 16 | RT_NORTREF = 0x2 17 | ) 18 | -------------------------------------------------------------------------------- /deploy/role_binding.yaml: -------------------------------------------------------------------------------- 1 | kind: ClusterRoleBinding 2 | apiVersion: rbac.authorization.k8s.io/v1beta1 3 | metadata: 4 | name: storageoscluster-operator-rolebinding 5 | labels: 6 | app.kubernetes.io/name: storageos-operator 7 | app.kubernetes.io/instance: storageos-cluster-operator 8 | app.kubernetes.io/component: operator 9 | app.kubernetes.io/part-of: storageos 10 | subjects: 11 | - kind: ServiceAccount 12 | name: storageoscluster-operator-sa 13 | namespace: storageos-operator 14 | roleRef: 15 | kind: ClusterRole 16 | name: storageos-operator 17 | apiGroup: rbac.authorization.k8s.io 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/README.md: -------------------------------------------------------------------------------- 1 | golang-lru 2 | ========== 3 | 4 | This provides the `lru` package which implements a fixed-size 5 | thread safe LRU cache. It is based on the cache in Groupcache. 6 | 7 | Documentation 8 | ============= 9 | 10 | Full docs are available on [Godoc](http://godoc.org/github.com/hashicorp/golang-lru) 11 | 12 | Example 13 | ======= 14 | 15 | Using the LRU is very simple: 16 | 17 | ```go 18 | l, _ := New(128) 19 | for i := 0; i < 256; i++ { 20 | l.Add(i, nil) 21 | } 22 | if l.Len() != 128 { 23 | panic(fmt.Sprintf("bad len: %v", l.Len())) 24 | } 25 | ``` 26 | -------------------------------------------------------------------------------- /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 | // +build !purego,!appengine 6 | 7 | package impl 8 | 9 | // When using unsafe pointers, we can just treat enum values as int32s. 10 | 11 | var ( 12 | coderEnumNoZero = coderInt32NoZero 13 | coderEnum = coderInt32 14 | coderEnumPtr = coderInt32Ptr 15 | coderEnumSlice = coderInt32Slice 16 | coderEnumPackedSlice = coderInt32PackedSlice 17 | ) 18 | -------------------------------------------------------------------------------- /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 | // +build protoreflect 7 | 8 | package proto 9 | 10 | import ( 11 | "google.golang.org/protobuf/reflect/protoreflect" 12 | "google.golang.org/protobuf/runtime/protoiface" 13 | ) 14 | 15 | const hasProtoMethods = false 16 | 17 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 18 | return nil 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/types/auth.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // AuthConfig contains authorization information for connecting to a Registry 4 | type AuthConfig struct { 5 | Name string `json:"name,omitempty"` 6 | Username string `json:"username,omitempty"` 7 | Password string `json:"password,omitempty"` 8 | Auth string `json:"auth,omitempty"` 9 | ServerAddress string `json:"serveraddress,omitempty"` 10 | 11 | // IdentityToken is used to authenticate the user and get 12 | // an access token for the registry. 13 | IdentityToken string `json:"identitytoken,omitempty"` 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_nfs_config.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // NfsConfig struct for NfsConfig 13 | type NfsConfig struct { 14 | Exports *[]NfsExportConfig `json:"exports,omitempty"` 15 | // The address to which the NFS server is bound. 16 | ServiceEndpoint *string `json:"serviceEndpoint,omitempty"` 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/types_windows_386.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 | package windows 6 | 7 | type WSAData struct { 8 | Version uint16 9 | HighVersion uint16 10 | Description [WSADESCRIPTION_LEN + 1]byte 11 | SystemStatus [WSASYS_STATUS_LEN + 1]byte 12 | MaxSockets uint16 13 | MaxUdpDg uint16 14 | VendorInfo *byte 15 | } 16 | 17 | type Servent struct { 18 | Name *byte 19 | Aliases **byte 20 | Port uint16 21 | Proto *byte 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/types_windows_amd64.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 | package windows 6 | 7 | type WSAData struct { 8 | Version uint16 9 | HighVersion uint16 10 | MaxSockets uint16 11 | MaxUdpDg uint16 12 | VendorInfo *byte 13 | Description [WSADESCRIPTION_LEN + 1]byte 14 | SystemStatus [WSASYS_STATUS_LEN + 1]byte 15 | } 16 | 17 | type Servent struct { 18 | Name *byte 19 | Aliases **byte 20 | Proto *byte 21 | Port uint16 22 | } 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/types_windows_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 | package windows 6 | 7 | type WSAData struct { 8 | Version uint16 9 | HighVersion uint16 10 | Description [WSADESCRIPTION_LEN + 1]byte 11 | SystemStatus [WSASYS_STATUS_LEN + 1]byte 12 | MaxSockets uint16 13 | MaxUdpDg uint16 14 | VendorInfo *byte 15 | } 16 | 17 | type Servent struct { 18 | Name *byte 19 | Aliases **byte 20 | Port uint16 21 | Proto *byte 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/types/operator.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // Operator represents a key/field's relationship to value(s). 4 | // See labels.Requirement and fields.Requirement for more details. 5 | type Operator string 6 | 7 | // Valid operators 8 | const ( 9 | None Operator = "" 10 | DoesNotExist Operator = "!" 11 | Equals Operator = "=" 12 | DoubleEquals Operator = "==" 13 | In Operator = "in" 14 | NotEquals Operator = "!=" 15 | NotIn Operator = "notin" 16 | Exists Operator = "exists" 17 | GreaterThan Operator = "gt" 18 | LessThan Operator = "lt" 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/go.sum: -------------------------------------------------------------------------------- 1 | github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= 2 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= 3 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY= 4 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= 5 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e h1:LwyF2AFISC9nVbS6MgzsaQNSUsRXI49GS+YQ5KX/QH0= 6 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 7 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_replica_deployment_info_all_of.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // ReplicaDeploymentInfoAllOf struct for ReplicaDeploymentInfoAllOf 13 | type ReplicaDeploymentInfoAllOf struct { 14 | Health ReplicaHealth `json:"health,omitempty"` 15 | SyncProgress SyncProgress `json:"syncProgress,omitempty"` 16 | } 17 | -------------------------------------------------------------------------------- /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 | // +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/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 | // +build !protoreflect 7 | 8 | package proto 9 | 10 | import ( 11 | "google.golang.org/protobuf/reflect/protoreflect" 12 | "google.golang.org/protobuf/runtime/protoiface" 13 | ) 14 | 15 | const hasProtoMethods = true 16 | 17 | func protoMethods(m protoreflect.Message) *protoiface.Methods { 18 | return m.ProtoMethods() 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go111.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 | // +build !go1.11 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http/httptrace" 11 | "net/textproto" 12 | ) 13 | 14 | func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { return false } 15 | 16 | func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) {} 17 | 18 | func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error { 19 | return nil 20 | } 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/github.com/antihax/optional/int.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Int struct { 4 | isSet bool 5 | value int 6 | } 7 | 8 | func NewInt(value int) Int { 9 | return Int{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyInt returns a new Int that does not have a value set. 16 | func EmptyInt() Int { 17 | return Int{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Int) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Int) Value() int { 28 | return i.value 29 | } 30 | 31 | func (i Int) Default(defaultValue int) int { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/operator-framework/operator-registry/pkg/registry/channelupdateoptions.go: -------------------------------------------------------------------------------- 1 | package registry 2 | 3 | import ( 4 | "fmt" 5 | "strings" 6 | ) 7 | 8 | type Mode int 9 | 10 | const ( 11 | ReplacesMode = iota 12 | SemVerMode 13 | SkipPatchMode 14 | ) 15 | 16 | func GetModeFromString(mode string) (Mode, error) { 17 | switch strings.ToLower(mode) { 18 | case "replaces": 19 | return ReplacesMode, nil 20 | case "semver": 21 | return SemVerMode, nil 22 | case "semver-skippatch": 23 | return SkipPatchMode, nil 24 | default: 25 | return -1, fmt.Errorf("Invalid channel update mode %s specified", mode) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/inconshreveable/mousetrap/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Alan Shreve 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/storageos/go-api/v2/model_node_health.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // NodeHealth The operational health of a node entity 13 | type NodeHealth string 14 | 15 | // List of NodeHealth 16 | const ( 17 | NODEHEALTH_ONLINE NodeHealth = "online" 18 | NODEHEALTH_OFFLINE NodeHealth = "offline" 19 | NODEHEALTH_UNKNOWN NodeHealth = "unknown" 20 | ) 21 | -------------------------------------------------------------------------------- /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 | // +build aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly 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/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/github.com/storageos/go-api/v2/model_attach_volume_data.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // AttachVolumeData struct for AttachVolumeData 13 | type AttachVolumeData struct { 14 | // A unique identifier for a node. The format of this type is undefined and may change but the defined properties will not change. 15 | NodeID string `json:"nodeID,omitempty"` 16 | } 17 | -------------------------------------------------------------------------------- /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/github.com/antihax/optional/bool.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Bool struct { 4 | isSet bool 5 | value bool 6 | } 7 | 8 | func NewBool(value bool) Bool { 9 | return Bool{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyBool returns a new Bool that does not have a value set. 16 | func EmptyBool() Bool { 17 | return Bool{ 18 | false, 19 | false, 20 | } 21 | } 22 | 23 | func (b Bool) IsSet() bool { 24 | return b.isSet 25 | } 26 | 27 | func (b Bool) Value() bool { 28 | return b.value 29 | } 30 | 31 | func (b Bool) Default(defaultValue bool) bool { 32 | if b.isSet { 33 | return b.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/byte.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Byte struct { 4 | isSet bool 5 | value byte 6 | } 7 | 8 | func NewByte(value byte) Byte { 9 | return Byte{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyByte returns a new Byte that does not have a value set. 16 | func EmptyByte() Byte { 17 | return Byte{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (b Byte) IsSet() bool { 24 | return b.isSet 25 | } 26 | 27 | func (b Byte) Value() byte { 28 | return b.value 29 | } 30 | 31 | func (b Byte) Default(defaultValue byte) byte { 32 | if b.isSet { 33 | return b.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/int8.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Int8 struct { 4 | isSet bool 5 | value int8 6 | } 7 | 8 | func NewInt8(value int8) Int8 { 9 | return Int8{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyInt8 returns a new Int8 that does not have a value set. 16 | func EmptyInt8() Int8 { 17 | return Int8{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Int8) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Int8) Value() int8 { 28 | return i.value 29 | } 30 | 31 | func (i Int8) Default(defaultValue int8) int8 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/rune.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Rune struct { 4 | isSet bool 5 | value rune 6 | } 7 | 8 | func NewRune(value rune) Rune { 9 | return Rune{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyRune returns a new Rune that does not have a value set. 16 | func EmptyRune() Rune { 17 | return Rune{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (b Rune) IsSet() bool { 24 | return b.isSet 25 | } 26 | 27 | func (b Rune) Value() rune { 28 | return b.value 29 | } 30 | 31 | func (b Rune) Default(defaultValue rune) rune { 32 | if b.isSet { 33 | return b.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uint.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uint struct { 4 | isSet bool 5 | value uint 6 | } 7 | 8 | func NewUint(value uint) Uint { 9 | return Uint{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUint returns a new Uint that does not have a value set. 16 | func EmptyUint() Uint { 17 | return Uint{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uint) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uint) Value() uint { 28 | return i.value 29 | } 30 | 31 | func (i Uint) Default(defaultValue uint) uint { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_create_policy_group_data.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // CreatePolicyGroupData struct for CreatePolicyGroupData 13 | type CreatePolicyGroupData struct { 14 | Name string `json:"name,omitempty"` 15 | // A set of authorisation policies to apply to the policy group. 16 | Specs *[]PoliciesSpecs `json:"specs,omitempty"` 17 | } 18 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/go.mod: -------------------------------------------------------------------------------- 1 | module google.golang.org/grpc 2 | 3 | go 1.11 4 | 5 | require ( 6 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473 7 | github.com/envoyproxy/protoc-gen-validate v0.1.0 8 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b 9 | github.com/golang/mock v1.1.1 10 | github.com/golang/protobuf v1.3.2 11 | github.com/google/go-cmp v0.2.0 12 | golang.org/x/net v0.0.0-20190311183353-d8887717615a 13 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be 14 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a 15 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 16 | ) 17 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/int16.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Int16 struct { 4 | isSet bool 5 | value int16 6 | } 7 | 8 | func NewInt16(value int16) Int16 { 9 | return Int16{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyInt16 returns a new Int16 that does not have a value set. 16 | func EmptyInt16() Int16 { 17 | return Int16{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Int16) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Int16) Value() int16 { 28 | return i.value 29 | } 30 | 31 | func (i Int16) Default(defaultValue int16) int16 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/int32.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Int32 struct { 4 | isSet bool 5 | value int32 6 | } 7 | 8 | func NewInt32(value int32) Int32 { 9 | return Int32{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyInt32 returns a new Int32 that does not have a value set. 16 | func EmptyInt32() Int32 { 17 | return Int32{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Int32) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Int32) Value() int32 { 28 | return i.value 29 | } 30 | 31 | func (i Int32) Default(defaultValue int32) int32 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/int64.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Int64 struct { 4 | isSet bool 5 | value int64 6 | } 7 | 8 | func NewInt64(value int64) Int64 { 9 | return Int64{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyInt64 returns a new Int64 that does not have a value set. 16 | func EmptyInt64() Int64 { 17 | return Int64{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Int64) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Int64) Value() int64 { 28 | return i.value 29 | } 30 | 31 | func (i Int64) Default(defaultValue int64) int64 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uint8.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uint8 struct { 4 | isSet bool 5 | value uint8 6 | } 7 | 8 | func NewUint8(value uint8) Uint8 { 9 | return Uint8{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUint8 returns a new Uint8 that does not have a value set. 16 | func EmptyUint8() Uint8 { 17 | return Uint8{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uint8) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uint8) Value() uint8 { 28 | return i.value 29 | } 30 | 31 | func (i Uint8) Default(defaultValue uint8) uint8 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.gitignore: -------------------------------------------------------------------------------- 1 | #### joe made this: http://goel.io/joe 2 | 3 | #### go #### 4 | # Binaries for programs and plugins 5 | *.exe 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, build with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 17 | .glide/ 18 | 19 | #### vim #### 20 | # Swap 21 | [._]*.s[a-v][a-z] 22 | [._]*.sw[a-p] 23 | [._]s[a-v][a-z] 24 | [._]sw[a-p] 25 | 26 | # Session 27 | Session.vim 28 | 29 | # Temporary 30 | .netrwhist 31 | *~ 32 | # Auto-generated tag files 33 | tags 34 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/serror/storageoserrorkind_string.go: -------------------------------------------------------------------------------- 1 | // Code generated by "stringer -type=StorageOSErrorKind error_kind.go"; DO NOT EDIT. 2 | 3 | package serror 4 | 5 | import "strconv" 6 | 7 | const _StorageOSErrorKind_name = "UnknownErrorAPIUncontactableInvalidHostConfig" 8 | 9 | var _StorageOSErrorKind_index = [...]uint8{0, 12, 28, 45} 10 | 11 | func (i StorageOSErrorKind) String() string { 12 | if i < 0 || i >= StorageOSErrorKind(len(_StorageOSErrorKind_index)-1) { 13 | return "StorageOSErrorKind(" + strconv.FormatInt(int64(i), 10) + ")" 14 | } 15 | return _StorageOSErrorKind_name[_StorageOSErrorKind_index[i]:_StorageOSErrorKind_index[i+1]] 16 | } 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/appengine_vm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !appengine 6 | 7 | package appengine 8 | 9 | import ( 10 | "golang.org/x/net/context" 11 | 12 | "google.golang.org/appengine/internal" 13 | ) 14 | 15 | // BackgroundContext returns a context not associated with a request. 16 | // This should only be used when not servicing a request. 17 | // This only works in App Engine "flexible environment". 18 | func BackgroundContext() context.Context { 19 | return internal.BackgroundContext() 20 | } 21 | -------------------------------------------------------------------------------- /docs/mutating-webhook-configuration.md: -------------------------------------------------------------------------------- 1 | # Mutating Webhook Configuration 2 | 3 | The cluster operator works with the api-manager to create a mutating webhook 4 | admission controller that modifies Pods and PVCs when they are created. 5 | 6 | The cluster operator creates the mutating webhook configuration, the service, 7 | and the RBAC required by the api-manager. 8 | 9 | The api-manager runs the webhook server and handles certificate signing and 10 | rotation. 11 | 12 | See https://github.com/storageos/api-manager/blob/master/README.md for more 13 | information. 14 | 15 | ## Deployment 16 | 17 | The admission controller is enabled in the default installation of the operator. 18 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_master_health.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // MasterHealth The operational health of a volume master deployment 13 | type MasterHealth string 14 | 15 | // List of MasterHealth 16 | const ( 17 | MASTERHEALTH_ONLINE MasterHealth = "online" 18 | MASTERHEALTH_OFFLINE MasterHealth = "offline" 19 | MASTERHEALTH_UNKNOWN MasterHealth = "unknown" 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_nfs_acl.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // NfsAcl struct for NfsAcl 13 | type NfsAcl struct { 14 | Identity NfsAclIdentity `json:"identity,omitempty"` 15 | SquashConfig NfsAclSquashConfig `json:"squashConfig,omitempty"` 16 | // The access level this ACL grants - read-only, or read-write. 17 | AccessLevel string `json:"accessLevel,omitempty"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/string.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type String struct { 4 | isSet bool 5 | value string 6 | } 7 | 8 | func NewString(value string) String { 9 | return String{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyString returns a new String that does not have a value set. 16 | func EmptyString() String { 17 | return String{ 18 | false, 19 | "", 20 | } 21 | } 22 | 23 | func (b String) IsSet() bool { 24 | return b.isSet 25 | } 26 | 27 | func (b String) Value() string { 28 | return b.value 29 | } 30 | 31 | func (b String) Default(defaultValue string) string { 32 | if b.isSet { 33 | return b.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uint16.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uint16 struct { 4 | isSet bool 5 | value uint16 6 | } 7 | 8 | func NewUint16(value uint16) Uint16 { 9 | return Uint16{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUint16 returns a new Uint16 that does not have a value set. 16 | func EmptyUint16() Uint16 { 17 | return Uint16{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uint16) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uint16) Value() uint16 { 28 | return i.value 29 | } 30 | 31 | func (i Uint16) Default(defaultValue uint16) uint16 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uint32.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uint32 struct { 4 | isSet bool 5 | value uint32 6 | } 7 | 8 | func NewUint32(value uint32) Uint32 { 9 | return Uint32{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUint32 returns a new Uint32 that does not have a value set. 16 | func EmptyUint32() Uint32 { 17 | return Uint32{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uint32) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uint32) Value() uint32 { 28 | return i.value 29 | } 30 | 31 | func (i Uint32) Default(defaultValue uint32) uint32 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uint64.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uint64 struct { 4 | isSet bool 5 | value uint64 6 | } 7 | 8 | func NewUint64(value uint64) Uint64 { 9 | return Uint64{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUint64 returns a new Uint64 that does not have a value set. 16 | func EmptyUint64() Uint64 { 17 | return Uint64{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uint64) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uint64) Value() uint64 { 28 | return i.value 29 | } 30 | 31 | func (i Uint64) Default(defaultValue uint64) uint64 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/go-openapi/spec/.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/go-openapi/spec/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-openapi/spec 2 | 3 | require ( 4 | github.com/go-openapi/jsonpointer v0.19.3 5 | github.com/go-openapi/jsonreference v0.19.2 6 | github.com/go-openapi/swag v0.19.5 7 | github.com/kr/pty v1.1.5 // indirect 8 | github.com/stretchr/objx v0.2.0 // indirect 9 | github.com/stretchr/testify v1.3.0 10 | golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 // indirect 11 | golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect 12 | golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f // indirect 13 | golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 // indirect 14 | gopkg.in/yaml.v2 v2.2.2 15 | ) 16 | 17 | go 1.13 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/storageos/go-api/types/list_options.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import "context" 4 | 5 | // ListOptions are optional parameters for finding and listing most objects. 6 | type ListOptions struct { 7 | 8 | // FieldSelector restricts the list of returned objects by their fields. Defaults to everything. 9 | FieldSelector string 10 | 11 | // LabelSelector restricts the list of returned objects by their labels. Defaults to everything. 12 | LabelSelector string 13 | 14 | // Namespace is the object scope, such as for teams and projects. 15 | Namespace string 16 | 17 | // Context can be set with a timeout or can be used to cancel a request. 18 | Context context.Context 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_policy_group_users.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // PolicyGroupUsers struct for PolicyGroupUsers 13 | type PolicyGroupUsers struct { 14 | // A unique identifier for a user. The format of this type is undefined and may change but the defined properties will not change.. 15 | Id string `json:"id,omitempty"` 16 | Username string `json:"username,omitempty"` 17 | } 18 | -------------------------------------------------------------------------------- /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 | // +build linux,!gccgo,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 | -------------------------------------------------------------------------------- /vendor/github.com/PuerkitoBio/urlesc/README.md: -------------------------------------------------------------------------------- 1 | urlesc [![Build Status](https://travis-ci.org/PuerkitoBio/urlesc.svg?branch=master)](https://travis-ci.org/PuerkitoBio/urlesc) [![GoDoc](http://godoc.org/github.com/PuerkitoBio/urlesc?status.svg)](http://godoc.org/github.com/PuerkitoBio/urlesc) 2 | ====== 3 | 4 | Package urlesc implements query escaping as per RFC 3986. 5 | 6 | It contains some parts of the net/url package, modified so as to allow 7 | some reserved characters incorrectly escaped by net/url (see [issue 5684](https://github.com/golang/go/issues/5684)). 8 | 9 | ## Install 10 | 11 | go get github.com/PuerkitoBio/urlesc 12 | 13 | ## License 14 | 15 | Go license (BSD-3-Clause) 16 | 17 | -------------------------------------------------------------------------------- /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/golang.org/x/sys/unix/fcntl_darwin.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 | import "unsafe" 8 | 9 | // FcntlInt performs a fcntl syscall on fd with the provided command and argument. 10 | func FcntlInt(fd uintptr, cmd, arg int) (int, error) { 11 | return fcntl(int(fd), cmd, arg) 12 | } 13 | 14 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command. 15 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { 16 | _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk)))) 17 | return err 18 | } 19 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/enum.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 | import ( 8 | "reflect" 9 | 10 | pref "google.golang.org/protobuf/reflect/protoreflect" 11 | ) 12 | 13 | type EnumInfo struct { 14 | GoReflectType reflect.Type // int32 kind 15 | Desc pref.EnumDescriptor 16 | } 17 | 18 | func (t *EnumInfo) New(n pref.EnumNumber) pref.Enum { 19 | return reflect.ValueOf(n).Convert(t.GoReflectType).Interface().(pref.Enum) 20 | } 21 | func (t *EnumInfo) Descriptor() pref.EnumDescriptor { return t.Desc } 22 | -------------------------------------------------------------------------------- /vendor/k8s.io/klog/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/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/github.com/antihax/optional/float32.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Float32 struct { 4 | isSet bool 5 | value float32 6 | } 7 | 8 | func NewFloat32(value float32) Float32 { 9 | return Float32{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyFloat32 returns a new Float32 that does not have a value set. 16 | func EmptyFloat32() Float32 { 17 | return Float32{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Float32) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Float32) Value() float32 { 28 | return i.value 29 | } 30 | 31 | func (i Float32) Default(defaultValue float32) float32 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/float64.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Float64 struct { 4 | isSet bool 5 | value float64 6 | } 7 | 8 | func NewFloat64(value float64) Float64 { 9 | return Float64{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyFloat64 returns a new Float64 that does not have a value set. 16 | func EmptyFloat64() Float64 { 17 | return Float64{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Float64) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Float64) Value() float64 { 28 | return i.value 29 | } 30 | 31 | func (i Float64) Default(defaultValue float64) float64 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/uintptr.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Uintptr struct { 4 | isSet bool 5 | value uintptr 6 | } 7 | 8 | func NewUintptr(value uintptr) Uintptr { 9 | return Uintptr{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyUintptr returns a new Uintptr that does not have a value set. 16 | func EmptyUintptr() Uintptr { 17 | return Uintptr{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Uintptr) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Uintptr) Value() uintptr { 28 | return i.value 29 | } 30 | 31 | func (i Uintptr) Default(defaultValue uintptr) uintptr { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_create_namespace_data.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // CreateNamespaceData struct for CreateNamespaceData 13 | type CreateNamespaceData struct { 14 | // The name of the namespace shown in the CLI and UI 15 | Name string `json:"name,omitempty"` 16 | // A set of arbitrary key value labels to apply to the entity. 17 | Labels map[string]string `json:"labels,omitempty"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/base/api_base.proto: -------------------------------------------------------------------------------- 1 | // Built-in base types for API calls. Primarily useful as return types. 2 | 3 | syntax = "proto2"; 4 | option go_package = "base"; 5 | 6 | package appengine.base; 7 | 8 | message StringProto { 9 | required string value = 1; 10 | } 11 | 12 | message Integer32Proto { 13 | required int32 value = 1; 14 | } 15 | 16 | message Integer64Proto { 17 | required int64 value = 1; 18 | } 19 | 20 | message BoolProto { 21 | required bool value = 1; 22 | } 23 | 24 | message DoubleProto { 25 | required double value = 1; 26 | } 27 | 28 | message BytesProto { 29 | required bytes value = 1 [ctype=CORD]; 30 | } 31 | 32 | message VoidProto { 33 | } 34 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/travis_install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | if [[ $GO111MODULE == "on" ]]; then 5 | go get . 6 | else 7 | go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v appengine) 8 | fi 9 | 10 | if [[ $GOAPP == "true" ]]; then 11 | mkdir /tmp/sdk 12 | curl -o /tmp/sdk.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" 13 | unzip -q /tmp/sdk.zip -d /tmp/sdk 14 | # NOTE: Set the following env vars in the test script: 15 | # export PATH="$PATH:/tmp/sdk/go_appengine" 16 | # export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py 17 | fi 18 | 19 | -------------------------------------------------------------------------------- /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/github.com/blang/semver/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/gophercloud/gophercloud/openstack/utils/base_endpoint.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import ( 4 | "net/url" 5 | "regexp" 6 | "strings" 7 | ) 8 | 9 | // BaseEndpoint will return a URL without the /vX.Y 10 | // portion of the URL. 11 | func BaseEndpoint(endpoint string) (string, error) { 12 | u, err := url.Parse(endpoint) 13 | if err != nil { 14 | return "", err 15 | } 16 | 17 | u.RawQuery, u.Fragment = "", "" 18 | 19 | path := u.Path 20 | versionRe := regexp.MustCompile("v[0-9.]+/?") 21 | 22 | if version := versionRe.FindString(path); version != "" { 23 | versionIndex := strings.Index(path, version) 24 | u.Path = path[:versionIndex] 25 | } 26 | 27 | return u.String(), nil 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 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/time.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | import "time" 4 | 5 | type Time struct { 6 | isSet bool 7 | value time.Time 8 | } 9 | 10 | func NewTime(value time.Time) Time { 11 | return Time{ 12 | true, 13 | value, 14 | } 15 | } 16 | 17 | // EmptyTime returns a new Time that does not have a value set. 18 | func EmptyTime() Time { 19 | return Time{ 20 | false, 21 | time.Time{}, 22 | } 23 | } 24 | 25 | func (b Time) IsSet() bool { 26 | return b.isSet 27 | } 28 | 29 | func (b Time) Value() time.Time { 30 | return b.value 31 | } 32 | 33 | func (b Time) Default(defaultValue time.Time) time.Time { 34 | if b.isSet { 35 | return b.value 36 | } 37 | return defaultValue 38 | } 39 | -------------------------------------------------------------------------------- /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/github.com/blang/semver/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/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 | // +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 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_unix_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 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build !gccgo,!ppc64le,!ppc64 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 13 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 14 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 15 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 16 | -------------------------------------------------------------------------------- /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/github.com/sirupsen/logrus/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package logrus is a structured logger for Go, completely API compatible with the standard library logger. 3 | 4 | 5 | The simplest way to use Logrus is simply the package-level exported logger: 6 | 7 | package main 8 | 9 | import ( 10 | log "github.com/sirupsen/logrus" 11 | ) 12 | 13 | func main() { 14 | log.WithFields(log.Fields{ 15 | "animal": "walrus", 16 | "number": 1, 17 | "size": 10, 18 | }).Info("A walrus appears") 19 | } 20 | 21 | Output: 22 | time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 23 | 24 | For a full guide visit https://github.com/sirupsen/logrus 25 | */ 26 | package logrus 27 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/types/delete_options.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import "context" 4 | 5 | // DeleteOptions are available parameters for deleting existing volumes. 6 | type DeleteOptions struct { 7 | 8 | // Volume unique ID. 9 | // Read Only: true 10 | ID string `json:"id"` 11 | 12 | // Volume name. 13 | // Read Only: true 14 | Name string `json:"name"` 15 | 16 | // Namespace is the object scope, such as for teams and projects. 17 | Namespace string `json:"namespace"` 18 | 19 | // Force will cause the volume to be deleted even if it's in use. 20 | Force bool `json:"force"` 21 | 22 | // Context can be set with a timeout or can be used to cancel a request. 23 | Context context.Context `json:"-"` 24 | } 25 | -------------------------------------------------------------------------------- /pkg/nfs/pvc.go: -------------------------------------------------------------------------------- 1 | package nfs 2 | 3 | import ( 4 | corev1 "k8s.io/api/core/v1" 5 | "k8s.io/apimachinery/pkg/api/resource" 6 | ) 7 | 8 | func (d *Deployment) createPVC(size *resource.Quantity) error { 9 | scName := d.nfsServer.Spec.GetStorageClassName(d.cluster.Spec.GetStorageClassName()) 10 | 11 | spec := &corev1.PersistentVolumeClaimSpec{ 12 | AccessModes: []corev1.PersistentVolumeAccessMode{corev1.ReadWriteOnce}, 13 | StorageClassName: &scName, 14 | Resources: corev1.ResourceRequirements{ 15 | Requests: corev1.ResourceList{ 16 | corev1.ResourceStorage: *size, 17 | }, 18 | }, 19 | } 20 | 21 | return d.k8sResourceManager.PersistentVolumeClaim(d.nfsServer.Name, d.nfsServer.Namespace, nil, spec).Create() 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_fs_type.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // FsType The file system type of a volume. \"block\" is a raw block device (no filesystem). 13 | type FsType string 14 | 15 | // List of FsType 16 | const ( 17 | FSTYPE_EXT2 FsType = "ext2" 18 | FSTYPE_EXT3 FsType = "ext3" 19 | FSTYPE_EXT4 FsType = "ext4" 20 | FSTYPE_XFS FsType = "xfs" 21 | FSTYPE_BTRFS FsType = "btrfs" 22 | FSTYPE_BLOCK FsType = "block" 23 | ) 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/README: -------------------------------------------------------------------------------- 1 | This is a work-in-progress HTTP/2 implementation for Go. 2 | 3 | It will eventually live in the Go standard library and won't require 4 | any changes to your code to use. It will just be automatic. 5 | 6 | Status: 7 | 8 | * The server support is pretty good. A few things are missing 9 | but are being worked on. 10 | * The client work has just started but shares a lot of code 11 | is coming along much quicker. 12 | 13 | Docs are at https://godoc.org/golang.org/x/net/http2 14 | 15 | Demo test server at https://http2.golang.org/ 16 | 17 | Help & bug reports welcome! 18 | 19 | Contributing: https://golang.org/doc/contribute.html 20 | Bugs: https://golang.org/issue/new?title=x/net/http2:+ 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/codegen.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # This script serves as an example to demonstrate how to generate the gRPC-Go 4 | # interface and the related messages from .proto file. 5 | # 6 | # It assumes the installation of i) Google proto buffer compiler at 7 | # https://github.com/google/protobuf (after v2.6.1) and ii) the Go codegen 8 | # plugin at https://github.com/golang/protobuf (after 2015-02-20). If you have 9 | # not, please install them first. 10 | # 11 | # We recommend running this script at $GOPATH/src. 12 | # 13 | # If this is not what you need, feel free to make your own scripts. Again, this 14 | # script is for demonstration purpose. 15 | # 16 | proto=$1 17 | protoc --go_out=plugins=grpc:. $proto 18 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/clientcmd/api/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 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 | // +k8s:deepcopy-gen=package 18 | 19 | package api 20 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/fish_completions.md: -------------------------------------------------------------------------------- 1 | ## Generating Fish Completions for your own cobra.Command 2 | 3 | Cobra supports native Fish completions generated from the root `cobra.Command`. You can use the `command.GenFishCompletion()` or `command.GenFishCompletionFile()` functions. You must provide these functions with a parameter indicating if the completions should be annotated with a description; Cobra will provide the description automatically based on usage information. You can choose to make this option configurable by your users. 4 | 5 | ### Limitations 6 | 7 | * Custom completions implemented using the `ValidArgsFunction` and `RegisterFlagCompletionFunc()` are supported automatically but the ones implemented in Bash scripting are not. 8 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_user_session_all_of_session.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // UserSessionAllOfSession struct for UserSessionAllOfSession 13 | type UserSessionAllOfSession struct { 14 | // The maximum duration which the auth session will remain valid for in seconds. 15 | ExpiresInSeconds uint64 `json:"expiresInSeconds,omitempty"` 16 | // The JWT token for the auth session. 17 | Token string `json:"token,omitempty"` 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/antihax/optional/complex64.go: -------------------------------------------------------------------------------- 1 | package optional 2 | 3 | type Complex64 struct { 4 | isSet bool 5 | value complex64 6 | } 7 | 8 | func NewComplex64(value complex64) Complex64 { 9 | return Complex64{ 10 | true, 11 | value, 12 | } 13 | } 14 | 15 | // EmptyComplex64 returns a new Complex64 that does not have a value set. 16 | func EmptyComplex64() Complex64 { 17 | return Complex64{ 18 | false, 19 | 0, 20 | } 21 | } 22 | 23 | func (i Complex64) IsSet() bool { 24 | return i.isSet 25 | } 26 | 27 | func (i Complex64) Value() complex64 { 28 | return i.value 29 | } 30 | 31 | func (i Complex64) Default(defaultValue complex64) complex64 { 32 | if i.isSet { 33 | return i.value 34 | } 35 | return defaultValue 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/markbates/inflect/shoulders.md: -------------------------------------------------------------------------------- 1 | # github.com/markbates/inflect Stands on the Shoulders of Giants 2 | 3 | github.com/markbates/inflect does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants this project would not be possible. Please make sure to check them out and thank them for all of their hard work. 4 | 5 | Thank you to the following **GIANTS**: 6 | 7 | 8 | * [github.com/gobuffalo/envy](https://godoc.org/github.com/gobuffalo/envy) 9 | 10 | * [github.com/joho/godotenv](https://godoc.org/github.com/joho/godotenv) 11 | 12 | * [github.com/markbates/inflect](https://godoc.org/github.com/markbates/inflect) 13 | -------------------------------------------------------------------------------- /vendor/github.com/storageos/go-api/v2/model_capacity_stats.go: -------------------------------------------------------------------------------- 1 | /* 2 | * StorageOS API 3 | * 4 | * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 5 | * 6 | * API version: 2.4.0 7 | * Contact: info@storageos.com 8 | * Generated by: OpenAPI Generator (https://openapi-generator.tech) 9 | */ 10 | 11 | package api 12 | // CapacityStats struct for CapacityStats 13 | type CapacityStats struct { 14 | // Total bytes in the filesystem 15 | Total uint64 `json:"total,omitempty"` 16 | // Free bytes in the filesystem available to root user 17 | Free uint64 `json:"free,omitempty"` 18 | // Byte value available to an unprivileged user 19 | Available uint64 `json:"available,omitempty"` 20 | } 21 | --------------------------------------------------------------------------------