├── docs ├── concepts.md └── cloud │ ├── security.md │ ├── network.md │ └── loadbalancer.md ├── charts ├── oci │ ├── templates │ │ └── NOTES.txt │ ├── Chart.yaml │ ├── charts │ │ ├── ce │ │ │ ├── Chart.yaml │ │ │ ├── .helmignore │ │ │ ├── values.yaml │ │ │ └── templates │ │ │ │ └── cluster.yaml │ │ ├── db │ │ │ ├── Chart.yaml │ │ │ ├── values.yaml │ │ │ ├── .helmignore │ │ │ └── templates │ │ │ │ └── autonomousdatabase.yaml │ │ ├── iam │ │ │ ├── Chart.yaml │ │ │ ├── templates │ │ │ │ └── compartment.yaml │ │ │ ├── .helmignore │ │ │ └── values.yaml │ │ ├── lb │ │ │ ├── Chart.yaml │ │ │ └── .helmignore │ │ ├── compute │ │ │ ├── Chart.yaml │ │ │ ├── .helmignore │ │ │ └── values.yaml │ │ └── network │ │ │ ├── Chart.yaml │ │ │ ├── .helmignore │ │ │ └── templates │ │ │ ├── internetgateway.yaml │ │ │ ├── vcn.yaml │ │ │ └── routetable.yaml │ └── .helmignore └── ociresources │ ├── templates │ ├── NOTES.txt │ ├── compartment.yaml │ ├── internetgateway.yaml │ ├── vcn.yaml │ ├── cluster.yaml │ ├── _helpers.tpl │ ├── routetable.yaml │ ├── volume.yaml │ ├── autonomousdatabase.yaml │ └── subnet.yaml │ ├── Chart.yaml │ └── .helmignore ├── vendor ├── k8s.io │ ├── kubernetes │ │ ├── cluster │ │ │ ├── gce │ │ │ │ ├── cos │ │ │ │ ├── custom │ │ │ │ └── ubuntu │ │ │ └── juju │ │ │ │ └── layers │ │ │ │ ├── kubernetes-master │ │ │ │ ├── actions │ │ │ │ │ ├── namespace-delete │ │ │ │ │ └── namespace-list │ │ │ │ └── copyright │ │ │ │ ├── kubernetes-worker │ │ │ │ └── copyright │ │ │ │ └── kubeapi-load-balancer │ │ │ │ └── copyright │ │ ├── .bazelrc │ │ ├── Makefile │ │ ├── BUILD.bazel │ │ ├── WORKSPACE │ │ ├── .kazelcfg.json │ │ ├── pkg │ │ │ ├── features │ │ │ │ └── OWNERS │ │ │ ├── kubelet │ │ │ │ ├── apis │ │ │ │ │ └── kubeletconfig │ │ │ │ │ │ └── OWNERS │ │ │ │ └── types │ │ │ │ │ └── doc.go │ │ │ ├── proxy │ │ │ │ └── apis │ │ │ │ │ └── kubeproxyconfig │ │ │ │ │ └── OWNERS │ │ │ ├── master │ │ │ │ └── ports │ │ │ │ │ └── BUILD │ │ │ ├── apis │ │ │ │ └── core │ │ │ │ │ └── OWNERS │ │ │ └── util │ │ │ │ └── pointer │ │ │ │ └── BUILD │ │ ├── Makefile.generated_files │ │ └── third_party │ │ │ └── swagger-ui │ │ │ └── LICENSE │ ├── code-generator │ │ └── cmd │ │ │ ├── lister-gen │ │ │ └── .import-restrictions │ │ │ └── client-gen │ │ │ ├── OWNERS │ │ │ └── README.md │ ├── client-go │ │ ├── pkg │ │ │ └── version │ │ │ │ └── .gitattributes │ │ ├── util │ │ │ └── retry │ │ │ │ └── OWNERS │ │ ├── tools │ │ │ ├── metrics │ │ │ │ └── OWNERS │ │ │ ├── leaderelection │ │ │ │ └── OWNERS │ │ │ ├── record │ │ │ │ ├── OWNERS │ │ │ │ └── doc.go │ │ │ └── clientcmd │ │ │ │ └── api │ │ │ │ ├── doc.go │ │ │ │ └── v1 │ │ │ │ └── doc.go │ │ ├── transport │ │ │ └── OWNERS │ │ ├── rest │ │ │ └── OWNERS │ │ ├── kubernetes │ │ │ ├── typed │ │ │ │ ├── authorization │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ ├── fake │ │ │ │ │ │ │ └── fake_generated_expansion.go │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ └── v1 │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ ├── authentication │ │ │ │ │ ├── v1 │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ ├── certificates │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ ├── batch │ │ │ │ │ └── v1 │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ ├── apps │ │ │ │ │ └── v1 │ │ │ │ │ │ └── doc.go │ │ │ │ ├── core │ │ │ │ │ └── v1 │ │ │ │ │ │ └── doc.go │ │ │ │ └── rbac │ │ │ │ │ └── v1 │ │ │ │ │ └── doc.go │ │ │ ├── doc.go │ │ │ ├── fake │ │ │ │ └── doc.go │ │ │ └── import.go │ │ └── listers │ │ │ └── batch │ │ │ └── v1 │ │ │ └── expansion_generated.go │ ├── apiserver │ │ └── pkg │ │ │ └── features │ │ │ └── OWNERS │ ├── apiextensions-apiserver │ │ └── pkg │ │ │ └── features │ │ │ └── OWNERS │ ├── apimachinery │ │ ├── pkg │ │ │ ├── util │ │ │ │ ├── mergepatch │ │ │ │ │ └── OWNERS │ │ │ │ ├── strategicpatch │ │ │ │ │ └── OWNERS │ │ │ │ └── sets │ │ │ │ │ └── doc.go │ │ │ ├── api │ │ │ │ ├── resource │ │ │ │ │ └── OWNERS │ │ │ │ ├── errors │ │ │ │ │ └── OWNERS │ │ │ │ └── meta │ │ │ │ │ └── OWNERS │ │ │ ├── apis │ │ │ │ └── meta │ │ │ │ │ └── v1 │ │ │ │ │ └── OWNERS │ │ │ └── types │ │ │ │ └── doc.go │ │ └── third_party │ │ │ └── forked │ │ │ └── golang │ │ │ └── json │ │ │ └── OWNERS │ ├── api │ │ ├── apps │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ ├── v1beta1 │ │ │ │ └── doc.go │ │ │ └── v1beta2 │ │ │ │ └── doc.go │ │ ├── batch │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ ├── v1beta1 │ │ │ │ └── doc.go │ │ │ └── v2alpha1 │ │ │ │ └── doc.go │ │ ├── storage │ │ │ └── v1 │ │ │ │ └── doc.go │ │ ├── autoscaling │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ └── v2beta1 │ │ │ │ └── doc.go │ │ └── extensions │ │ │ └── v1beta1 │ │ │ └── doc.go │ ├── utils │ │ └── exec │ │ │ └── doc.go │ └── gengo │ │ └── parser │ │ └── doc.go ├── github.com │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── 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 │ ├── spf13 │ │ └── pflag │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── google │ │ ├── btree │ │ │ ├── .travis.yml │ │ │ └── README.md │ │ └── gofuzz │ │ │ ├── .travis.yml │ │ │ └── doc.go │ ├── imdario │ │ └── mergo │ │ │ ├── .travis.yml │ │ │ └── testdata │ │ │ └── license.yml │ ├── pborman │ │ └── uuid │ │ │ ├── CONTRIBUTORS │ │ │ └── doc.go │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ └── build.sh │ ├── ugorji │ │ └── go │ │ │ └── codec │ │ │ ├── prebuild.go │ │ │ ├── gen_17.go │ │ │ ├── gen_16.go │ │ │ ├── gen_15.go │ │ │ ├── decode_go14.go │ │ │ ├── decode_go.go │ │ │ └── helper_not_unsafe.go │ ├── ghodss │ │ └── yaml │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── petar │ │ └── GoLLRB │ │ │ ├── AUTHORS │ │ │ └── llrb │ │ │ └── util.go │ ├── googleapis │ │ └── gnostic │ │ │ ├── compiler │ │ │ ├── README.md │ │ │ └── main.go │ │ │ ├── extensions │ │ │ ├── COMPILE-EXTENSION.sh │ │ │ └── README.md │ │ │ └── OpenAPIv2 │ │ │ └── README.md │ ├── golang │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── gogo │ │ └── protobuf │ │ │ ├── GOLANG_CONTRIBUTORS │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ ├── hashicorp │ │ └── golang-lru │ │ │ ├── .gitignore │ │ │ └── README.md │ ├── gregjones │ │ └── httpcache │ │ │ └── .travis.yml │ └── oracle │ │ └── oci-go-sdk │ │ ├── containerengine │ │ ├── sort_order.go │ │ ├── work_request_status.go │ │ ├── cluster_lifecycle_state.go │ │ ├── work_request_operation_type.go │ │ ├── cluster_options.go │ │ ├── cluster_endpoints.go │ │ └── key_value.go │ │ ├── database │ │ ├── update_db_home_details.go │ │ ├── restore_autonomous_database_details.go │ │ ├── failover_data_guard_association_details.go │ │ ├── restore_autonomous_data_warehouse_details.go │ │ ├── reinstate_data_guard_association_details.go │ │ └── switchover_data_guard_association_details.go │ │ ├── loadbalancer │ │ ├── path_route_set_details.go │ │ ├── load_balancer_protocol.go │ │ └── update_path_route_set_details.go │ │ ├── identity │ │ ├── create_api_key_details.go │ │ └── update_state_details.go │ │ └── core │ │ ├── volume_kms_key.go │ │ ├── get_public_ip_by_ip_address_details.go │ │ ├── boot_volume_kms_key.go │ │ ├── get_public_ip_by_private_ip_id_details.go │ │ ├── connect_local_peering_gateways_details.go │ │ ├── instance_credentials.go │ │ └── service_id_request_details.go ├── golang.org │ └── x │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_no_getwd.go │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ ├── env_unset.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── pagesize_unix.go │ │ │ ├── flock_linux_32bit.go │ │ │ ├── asm_solaris_amd64.s │ │ │ ├── gccgo_linux_amd64.go │ │ │ ├── race0.go │ │ │ ├── env_unix.go │ │ │ ├── syscall_unix_gc.go │ │ │ ├── asm_linux_arm64.s │ │ │ ├── str.go │ │ │ ├── file_unix.go │ │ │ ├── race.go │ │ │ ├── asm_linux_s390x.s │ │ │ ├── asm_linux_ppc64x.s │ │ │ ├── asm_linux_arm.s │ │ │ ├── asm_linux_mips64x.s │ │ │ └── flock.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── windows │ │ │ ├── mksyscall.go │ │ │ ├── env_unset.go │ │ │ ├── asm_windows_386.s │ │ │ ├── asm_windows_amd64.s │ │ │ ├── race0.go │ │ │ ├── types_windows_386.go │ │ │ ├── types_windows_amd64.go │ │ │ ├── str.go │ │ │ ├── env_windows.go │ │ │ └── race.go │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── not_go19.go │ │ │ ├── go16.go │ │ │ ├── go19.go │ │ │ ├── not_go16.go │ │ │ ├── README │ │ │ └── not_go18.go │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── time │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ └── crypto │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── ssh │ │ └── terminal │ │ ├── util_linux.go │ │ └── util_bsd.go └── gopkg.in │ └── yaml.v2 │ ├── .travis.yml │ └── LICENSE ├── examples ├── charts │ ├── cluster │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── cluster-network.yaml │ │ │ ├── master-security.yaml │ │ │ └── worker-security.yaml │ │ ├── Chart.yaml │ │ ├── values.yaml │ │ └── .helmignore │ ├── docker │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── network.yaml │ │ │ └── security.yaml │ │ ├── Chart.yaml │ │ ├── .helmignore │ │ └── scripts │ │ │ └── userdata.sh │ ├── nginx │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── virtualnetwork.yaml │ │ │ ├── internetgateway.yaml │ │ │ ├── routetable.yaml │ │ │ ├── subnet.yaml │ │ │ ├── _helpers.tpl │ │ │ ├── instance.yaml │ │ │ └── securitylist.yaml │ │ ├── Chart.yaml │ │ ├── scripts │ │ │ └── user_data.sh │ │ ├── .helmignore │ │ └── values.yaml │ ├── generic-ssl-lb │ │ ├── .values.yaml.swp │ │ ├── templates │ │ │ ├── internetgateway.yaml │ │ │ ├── compartment.yaml │ │ │ ├── routetable.yaml │ │ │ ├── virtualnetwork.yaml │ │ │ ├── loadbalancer.yaml │ │ │ ├── certificate.yaml │ │ │ ├── listener.yaml │ │ │ ├── _helpers.tpl │ │ │ └── subnet.yaml │ │ ├── files │ │ │ └── userdata.sh │ │ ├── .helmignore │ │ ├── README.md │ │ └── Chart.yaml │ ├── oke │ │ ├── templates │ │ │ ├── internetgateway.yaml │ │ │ ├── compartment.yaml │ │ │ ├── routetable.yaml │ │ │ ├── vcn.yaml │ │ │ ├── policy.yaml │ │ │ ├── cluster.yaml │ │ │ ├── _helpers.tpl │ │ │ ├── nodepool.yaml │ │ │ ├── node-subnet.yaml │ │ │ └── servicelb-subnet.yaml │ │ ├── .helmignore │ │ ├── kubeconfig.sh │ │ ├── README.md │ │ └── Chart.yaml │ └── cassandra │ │ ├── templates │ │ ├── internetgateway.yaml │ │ ├── compartment.yaml │ │ ├── routetable.yaml │ │ ├── virtualnetwork.yaml │ │ ├── _helpers.tpl │ │ ├── securityruleset.yaml │ │ └── subnet.yaml │ │ ├── .helmignore │ │ ├── README.md │ │ └── Chart.yaml ├── cloud │ ├── network.yaml │ ├── cluster-example-2.yaml │ └── security.yaml └── resources │ ├── v1alpha1 │ ├── autonomousdatabase.yaml │ ├── cluster.yaml │ ├── nodepool.yaml │ ├── dhcpoptions.yaml │ ├── listener.yaml │ ├── backendset.yaml │ └── vcn.yaml │ └── not_implemented_yet │ ├── cluster.yaml │ └── core │ ├── publicip.yaml │ └── image.yaml ├── CHANGELOG.md ├── .gitignore ├── deploy ├── charts │ └── oci-manager │ │ ├── Chart.yaml │ │ ├── templates │ │ ├── oci-apikey.yaml │ │ ├── oci.yaml │ │ └── _helpers.tpl │ │ ├── oci.example.yaml │ │ ├── .helmignore │ │ └── values.yaml ├── setup.sh └── oci-manager-ipr.yaml ├── OWNERS ├── manifests └── crds │ └── cloud │ ├── compute.yaml │ ├── network.yaml │ └── storage.yaml ├── hack ├── update-licenses-fileheaders.sh └── custom-boilerplate.go.txt ├── Dockerfile ├── pkg ├── apis │ └── cloud.k8s.io │ │ └── register.go ├── controller │ └── oci │ │ └── cloud │ │ ├── cpod │ │ └── register.go │ │ ├── cluster │ │ └── register.go │ │ ├── compute │ │ └── register.go │ │ ├── network │ │ └── register.go │ │ ├── security │ │ └── register.go │ │ └── loadbalancer │ │ └── register.go └── client │ └── clientset │ └── versioned │ ├── doc.go │ ├── fake │ └── doc.go │ ├── scheme │ └── doc.go │ └── typed │ ├── cloud.k8s.io │ └── v1alpha1 │ │ ├── fake │ │ └── doc.go │ │ └── doc.go │ ├── ocice.oracle.com │ └── v1alpha1 │ │ ├── fake │ │ └── doc.go │ │ └── doc.go │ ├── ocidb.oracle.com │ └── v1alpha1 │ │ ├── fake │ │ └── doc.go │ │ ├── doc.go │ │ └── generated_expansion.go │ ├── ocilb.oracle.com │ └── v1alpha1 │ │ ├── fake │ │ └── doc.go │ │ └── doc.go │ ├── ocicore.oracle.com │ └── v1alpha1 │ │ ├── fake │ │ └── doc.go │ │ └── doc.go │ └── ociidentity.oracle.com │ └── v1alpha1 │ ├── fake │ └── doc.go │ └── doc.go └── CONTRIBUTING.md /docs/concepts.md: -------------------------------------------------------------------------------- 1 | todo 2 | -------------------------------------------------------------------------------- /charts/oci/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/gce/cos: -------------------------------------------------------------------------------- 1 | gci -------------------------------------------------------------------------------- /charts/ociresources/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /examples/charts/cluster/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /examples/charts/docker/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/gce/custom: -------------------------------------------------------------------------------- 1 | gci -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/gce/ubuntu: -------------------------------------------------------------------------------- 1 | gci -------------------------------------------------------------------------------- /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/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/.bazelrc: -------------------------------------------------------------------------------- 1 | build/root/.bazelrc -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/Makefile: -------------------------------------------------------------------------------- 1 | build/root/Makefile -------------------------------------------------------------------------------- /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/k8s.io/kubernetes/BUILD.bazel: -------------------------------------------------------------------------------- 1 | build/root/BUILD.root -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/WORKSPACE: -------------------------------------------------------------------------------- 1 | build/root/WORKSPACE -------------------------------------------------------------------------------- /vendor/github.com/google/btree/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/.kazelcfg.json: -------------------------------------------------------------------------------- 1 | build/root/.kazelcfg.json -------------------------------------------------------------------------------- /vendor/k8s.io/code-generator/cmd/lister-gen/.import-restrictions: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /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/client-go/util/retry/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - caesarxuchao 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | ## 0.1 4 | 5 | * Initial public release 6 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | install: go get -t 3 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | -------------------------------------------------------------------------------- /vendor/k8s.io/apiserver/pkg/features/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - feature-approvers 3 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/features/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - feature-approvers 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .wercker 2 | debug 3 | kubeconfig 4 | .idea 5 | .DS_Store 6 | bin 7 | tmp 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/Makefile.generated_files: -------------------------------------------------------------------------------- 1 | build/root/Makefile.generated_files -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/apiextensions-apiserver/pkg/features/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - feature-approvers 3 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/prebuild.go: -------------------------------------------------------------------------------- 1 | package codec 2 | 3 | //go:generate bash prebuild.sh 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/juju/layers/kubernetes-master/actions/namespace-delete: -------------------------------------------------------------------------------- 1 | namespace-create -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/juju/layers/kubernetes-master/actions/namespace-list: -------------------------------------------------------------------------------- 1 | namespace-create -------------------------------------------------------------------------------- /charts/oci/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: A Helm chart for OCI 3 | name: oci 4 | version: 0.1.0 5 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: OCI Manager 3 | name: oci-manager 4 | version: v0.0.1 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/mergepatch/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - pwittrock 3 | reviewers: 4 | - mengqiy 5 | - apelisse 6 | -------------------------------------------------------------------------------- /examples/charts/nginx/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: A Helm chart for Nginx on OCI 3 | name: nginx 4 | version: 0.1.0 5 | -------------------------------------------------------------------------------- /examples/charts/nginx/scripts/user_data.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | apt-get update 4 | apt-get install -y nginx-light 5 | iptables -F 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/strategicpatch/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - pwittrock 3 | reviewers: 4 | - mengqiy 5 | - apelisse 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/kubelet/apis/kubeletconfig/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - mtaufen 3 | reviewers: 4 | - sig-node-reviewers 5 | -------------------------------------------------------------------------------- /vendor/github.com/ghodss/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.4 5 | script: 6 | - go test 7 | - go build 8 | -------------------------------------------------------------------------------- /vendor/github.com/imdario/mergo/testdata/license.yml: -------------------------------------------------------------------------------- 1 | import: ../../../../fossene/db/schema/thing.yml 2 | fields: 3 | site: string 4 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/proxy/apis/kubeproxyconfig/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - thockin 3 | reviewers: 4 | - sig-network-reviewers 5 | -------------------------------------------------------------------------------- /charts/ociresources/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: A Helm chart for OCI Resources 3 | name: ociresources 4 | version: 0.1.0 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/third_party/forked/golang/json/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - pwittrock 3 | reviewers: 4 | - mengqiy 5 | - apelisse 6 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/.values.yaml.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oracle/oci-manager/HEAD/examples/charts/generic-ssl-lb/.values.yaml.swp -------------------------------------------------------------------------------- /charts/oci/charts/ce/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Kubernetes 4 | name: ce 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /charts/oci/charts/db/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Kubernetes 4 | name: db 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /charts/oci/charts/iam/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Kubernetes 4 | name: iam 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /charts/oci/charts/lb/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Kubernetes 4 | name: lb 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - wojtek-t 3 | - eparis 4 | - krousey 5 | - jayunit100 6 | - fgrzadkowski 7 | - tmrts 8 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/transport/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - smarterclayton 3 | - wojtek-t 4 | - deads2k 5 | - liggitt 6 | - krousey 7 | - caesarxuchao 8 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - vitaliyzinchenko 3 | - kfilipovski 4 | - schwankl 5 | approvers: 6 | - vitaliyzinchenko 7 | - kfilipovski 8 | - schwankl 9 | -------------------------------------------------------------------------------- /charts/oci/charts/compute/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for OCI Compute 4 | name: compute 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /charts/oci/charts/network/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for OCI Network 4 | name: network 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /examples/charts/docker/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Docker @ Cloud API 4 | name: docker 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/petar/GoLLRB/AUTHORS: -------------------------------------------------------------------------------- 1 | Petar Maymounkov 2 | Vadim Vygonets 3 | Ian Smith 4 | Martin Bruse 5 | -------------------------------------------------------------------------------- /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/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/code-generator/cmd/client-gen/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - lavalamp 3 | - wojtek-t 4 | - caesarxuchao 5 | reviewers: 6 | - lavalamp 7 | - wojtek-t 8 | - caesarxuchao 9 | -------------------------------------------------------------------------------- /examples/charts/cluster/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | appVersion: "1.0" 3 | description: A Helm chart for Kubernetes Cluster using Cloud API 4 | name: cluster 5 | version: 0.1.0 6 | -------------------------------------------------------------------------------- /examples/cloud/network.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Network 3 | metadata: 4 | name: test 5 | labels: 6 | app: test 7 | spec: 8 | cidrBlock: 10.0.0.0/16 9 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/templates/oci-apikey.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Secret 3 | metadata: 4 | name: oci-apikey 5 | type: Opaque 6 | data: 7 | key: 8 | {{ .Values.oci.apikey | b64enc | indent 4 }} 9 | -------------------------------------------------------------------------------- /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/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/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/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/googleapis/gnostic/extensions/COMPILE-EXTENSION.sh: -------------------------------------------------------------------------------- 1 | go get github.com/golang/protobuf/protoc-gen-go 2 | 3 | protoc \ 4 | --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto 5 | 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /charts/oci/charts/db/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for oci db. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | # region: yhkn:PHX 6 | # compartment: default 7 | 8 | # automnoumous: true 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/autonomousdatabase.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocidb.oracle.com/v1alpha1 2 | kind: AutonomousDatabase 3 | metadata: 4 | name: example 5 | spec: 6 | compartmentRef: default 7 | cpuCoreCount: 1 8 | dataStorageSizeInTBs: 1 9 | 10 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/leaderelection/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - mikedanese 3 | - timothysc 4 | reviewers: 5 | - wojtek-t 6 | - deads2k 7 | - mikedanese 8 | - gmarek 9 | - eparis 10 | - timothysc 11 | - ingvagabund 12 | - resouer 13 | - goltermann 14 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/charts/docker/templates/network.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Network 3 | metadata: 4 | name: {{ .Release.Name }} 5 | labels: 6 | chart: {{ .Chart.Name }} 7 | release: {{ .Release.Name }} 8 | spec: 9 | cidrBlock: 10.0.0.0/16 10 | -------------------------------------------------------------------------------- /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/gogo/protobuf/GOLANG_CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | The contributors to the Go protobuf repository: 2 | 3 | # This source code was written by the Go contributors. 4 | # The master list of contributors is in the main Go distribution, 5 | # visible at http://tip.golang.org/CONTRIBUTORS. -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/oci.example.yaml: -------------------------------------------------------------------------------- 1 | oci: 2 | user: 3 | fingerprint: 4 | tenancy: 5 | apikey: |- 6 | -----BEGIN RSA PRIVATE KEY----- 7 | 8 | -----END RSA PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/charts/cluster/templates/cluster-network.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Network 3 | metadata: 4 | name: {{ .Release.Name }} 5 | labels: 6 | chart: {{ .Chart.Name }} 7 | release: {{ .Release.Name }} 8 | spec: 9 | cidrBlock: {{ .Values.network.cidr }} 10 | -------------------------------------------------------------------------------- /manifests/crds/cloud/compute.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apiextensions.k8s.io/v1beta1 2 | kind: CustomResourceDefinition 3 | metadata: 4 | name: computes.cloud.k8s.io 5 | spec: 6 | group: cloud.k8s.io 7 | version: v1 8 | scope: Namespaced 9 | names: 10 | plural: computes 11 | kind: Compute 12 | -------------------------------------------------------------------------------- /manifests/crds/cloud/network.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apiextensions.k8s.io/v1beta1 2 | kind: CustomResourceDefinition 3 | metadata: 4 | name: networks.cloud.k8s.io 5 | spec: 6 | group: cloud.k8s.io 7 | version: v1 8 | scope: Namespaced 9 | names: 10 | plural: networks 11 | kind: Network 12 | -------------------------------------------------------------------------------- /manifests/crds/cloud/storage.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apiextensions.k8s.io/v1beta1 2 | kind: CustomResourceDefinition 3 | metadata: 4 | name: storages.cloud.k8s.io 5 | spec: 6 | group: cloud.k8s.io 7 | version: v1 8 | scope: Namespaced 9 | names: 10 | plural: storages 11 | kind: Storage 12 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_17.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.7 5 | 6 | package codec 7 | 8 | func init() { 9 | genCheckVendor = true 10 | } 11 | -------------------------------------------------------------------------------- /vendor/k8s.io/code-generator/cmd/client-gen/README.md: -------------------------------------------------------------------------------- 1 | See [generating-clientset.md](https://git.k8s.io/community/contributors/devel/generating-clientset.md) 2 | 3 | 4 | [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/staging/src/k8s.io/code-generator/client-gen/README.md?pixel)]() 5 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - lavalamp 4 | - smarterclayton 5 | - wojtek-t 6 | - derekwaynecarr 7 | - mikedanese 8 | - saad-ali 9 | - janetkuo 10 | - tallclair 11 | - eparis 12 | - jbeda 13 | - xiang90 14 | - mbohlool 15 | - david-mcmahon 16 | - goltermann 17 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: InternetGateway 3 | metadata: 4 | name: ig1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | isEnabled: true 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: InternetGateway 3 | metadata: 4 | name: ig1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | isEnabled: true 10 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: InternetGateway 3 | metadata: 4 | name: ig1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | isEnabled: true 10 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/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 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/virtualnetwork.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: oci.oracle.com/v1 2 | kind: VirtualNetwork 3 | metadata: 4 | name: {{ .Values.compartment }}.virtualnetwork.{{ .Chart.Name }} 5 | spec: 6 | displayName: {{ .Chart.Name }} 7 | compartmentRef: {{ .Values.compartment }} 8 | cidrBlock: {{ default "10.0.0.0/16" .Values.cidr }} 9 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/compartment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ociidentity.oracle.com/v1alpha1 2 | kind: Compartment 3 | metadata: 4 | name: {{ .Values.compartment }} 5 | namespace: {{ .Values.namespace }} 6 | labels: 7 | assembly: {{ .Values.compartment }} 8 | spec: 9 | description: {{ .Values.compartment }} Compartment 10 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/files/userdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | 3 | # install apache httpd 4 | yum -y install httpd nc 5 | 6 | systemctl stop firewalld 7 | systemctl disable firewalld 8 | 9 | systemctl start httpd 10 | systemctl enable httpd 11 | 12 | echo > /var/www/html/index.html 13 | echo "hello world" >> /var/www/html/index.html 14 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/compartment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ociidentity.oracle.com/v1alpha1 2 | kind: Compartment 3 | metadata: 4 | name: {{ .Values.compartment }} 5 | namespace: {{ .Values.namespace }} 6 | labels: 7 | assembly: {{ .Values.compartment }} 8 | spec: 9 | description: {{ .Values.compartment }} Compartment 10 | -------------------------------------------------------------------------------- /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 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/compartment.yaml: -------------------------------------------------------------------------------- 1 | # apiVersion: ociidentity.oracle.com/v1alpha1 2 | # kind: Compartment 3 | # metadata: 4 | # name: {{ .Values.compartment }} 5 | # namespace: {{ .Values.namespace }} 6 | # labels: 7 | # assembly: {{ .Values.compartment }} 8 | # spec: 9 | # description: {{ .Values.compartment }} Compartment 10 | -------------------------------------------------------------------------------- /hack/update-licenses-fileheaders.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | 3 | files=$(find pkg -name *.go | awk '{print "echo", $1, "\`egrep \"Copyright .* Oracle\" " $1 "\`"}' | sh | egrep -v "Copyright .* Oracle") 4 | 5 | for file in $files; do 6 | cat hack/custom-boilerplate.go.txt > $file.tmp 7 | cat $file >> $file.tmp 8 | mv $file.tmp $file 9 | done 10 | -------------------------------------------------------------------------------- /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/github.com/ghodss/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 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_16.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.6 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | func init() { 11 | genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") != "0" 12 | } 13 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/templates/oci.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | name: oci 5 | data: 6 | config: |- 7 | [DEFAULT] 8 | tenancy={{ .Values.oci.tenancy }} 9 | region={{ .Values.oci.region }} 10 | user={{ .Values.oci.user }} 11 | fingerprint={{ .Values.oci.fingerprint }} 12 | key_file=/etc/oci-apikey/key 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 Services. 8 | package uuid 9 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/gen_15.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.5,!go1.6 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | func init() { 11 | genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1" 12 | } 13 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: RouteTable 3 | metadata: 4 | name: routetable1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | routeRules: 10 | - cidrBlock: 0.0.0.0/0 11 | networkEntityId: ig1 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname 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 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: RouteTable 3 | metadata: 4 | name: routetable1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | routeRules: 10 | - cidrBlock: 0.0.0.0/0 11 | networkEntityId: ig1 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /charts/oci/charts/iam/templates/compartment.yaml: -------------------------------------------------------------------------------- 1 | {{- if (.Values.compartment) }} 2 | {{- $chart := .Chart.Name -}} 3 | {{- $release := .Release.Name -}} 4 | apiVersion: ociidentity.oracle.com/v1alpha1 5 | kind: Compartment 6 | metadata: 7 | name: {{ .Values.compartment }} 8 | labels: 9 | chart: {{ $chart }} 10 | release: {{ $release }} 11 | spec: 12 | {{- end }} 13 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: RouteTable 3 | metadata: 4 | name: routetable1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | routeRules: 10 | - cidrBlock: 0.0.0.0/0 11 | networkEntityId: ig1 12 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/vcn.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: Vcn 3 | metadata: 4 | name: {{ .Values.virtual_network }} 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | cidrBlock: {{ .Values.cidr_block }} 9 | dnsLabel: {{ .Values.region | lower | replace "-" "" }}{{ .Values.cluster_name }} 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 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/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/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.7.3 7 | - 1.8.1 8 | - tip 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | 14 | install: 15 | - go get github.com/golang/lint/golint 16 | - export PATH=$GOPATH/bin:$PATH 17 | - go install ./... 18 | 19 | script: 20 | - verify/all.sh -v 21 | - go test ./... 22 | -------------------------------------------------------------------------------- /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 | package windows 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 8 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/virtualnetwork.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: Vcn 3 | metadata: 4 | name: {{ .Values.virtual_network }} 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | cidrBlock: {{ .Values.cidr_block }} 9 | dnsLabel: {{ .Values.region | lower | replace "-" "" }}{{ .Values.cluster_name }} 10 | -------------------------------------------------------------------------------- /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_no_getwd.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 dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /examples/charts/cluster/templates/master-security.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Security 3 | metadata: 4 | name: master 5 | labels: 6 | chart: {{ .Chart.Name }} 7 | release: {{ .Release.Name }} 8 | security: master 9 | spec: 10 | networkSelector: 11 | release: {{ .Release.Name }} 12 | ingress: 13 | - "0.0.0.0/0 tcp 22" 14 | - "0.0.0.0/0 tcp 6443" 15 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/virtualnetwork.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: Vcn 3 | metadata: 4 | name: {{ .Values.virtual_network }} 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | cidrBlock: {{ .Values.cidr_block }} 9 | dnsLabel: {{ .Values.region | lower | replace "-" "" }}{{ .Values.cluster_name }} 10 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: oci.oracle.com/v1 2 | kind: InternetGateway 3 | metadata: 4 | name: {{ .Values.compartment }}.internetgateway.{{ .Chart.Name }} 5 | spec: 6 | displayName: {{ .Chart.Name }} 7 | compartmentRef: {{ .Values.compartment }} 8 | virtualnetworkRef: {{ .Values.compartment }}.virtualnetwork.{{ .Chart.Name }} 9 | isEnabled: true 10 | -------------------------------------------------------------------------------- /examples/charts/cluster/templates/worker-security.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Security 3 | metadata: 4 | name: worker 5 | labels: 6 | chart: {{ .Chart.Name }} 7 | release: {{ .Release.Name }} 8 | security: worker 9 | spec: 10 | networkSelector: 11 | release: {{ .Release.Name }} 12 | ingress: 13 | - "0.0.0.0/0 tcp 22" 14 | - "0.0.0.0/0 tcp 10250" 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /charts/ociresources/templates/compartment.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- range .Values.compartments }} 4 | --- 5 | apiVersion: ociidentity.oracle.com/v1alpha1 6 | kind: Compartment 7 | metadata: 8 | name: {{ .name }} 9 | labels: 10 | chart: {{ $chart }} 11 | release: {{ $release }} 12 | spec: 13 | description: OCI Manager Compartment 14 | {{- end }} 15 | -------------------------------------------------------------------------------- /docs/cloud/security.md: -------------------------------------------------------------------------------- 1 | # Security 2 | 3 | ## Specification 4 | [security_types.go](../../pkg/apis/cloud.k8s.io/v1alpha1/security_types.go) 5 | 6 | ## Implementation 7 | - Maintains Security Lists in VCN matching network selector 8 | - Compute and loadbalancer have security selector to set when creating their subnets 9 | - Standard allow rules for ingress and egress. 10 | - Defaults to allow only 22 and all egress 11 | -------------------------------------------------------------------------------- /docs/cloud/network.md: -------------------------------------------------------------------------------- 1 | # Network 2 | 3 | ## Specification 4 | [network_types.go](../../pkg/apis/cloud.k8s.io/v1alpha1/network_types.go) 5 | 6 | ## Implementation 7 | - VCN - specify using cidrBlock attribute or defaults to 10.0.0.0/16 8 | - Route table - defaults to route everything thru internet gateway 9 | 10 | future: add route rules to peering gateways or dynamic routing gateways 11 | - Internet gateway: enabled 12 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/cluster.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocice.oracle.com/v1alpha1 2 | kind: Cluster 3 | metadata: 4 | name: example-cluster1 5 | spec: 6 | compartmentRef: default 7 | vcnRef: example 8 | serviceLbSubnetRefs: 9 | - c1-lb-1 10 | - c1-lb-2 11 | kubernetesVersion: v1.11.5 12 | options: 13 | kubernetesNetworkConfig: 14 | podsCidr: 10.244.0.0/16 15 | servicesCidr: 10.96.0.0/16 16 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/policy.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ociidentity.oracle.com/v1alpha1 2 | kind: Policy 3 | metadata: 4 | name: oke-service 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.root_compartment_id }} 8 | description: "oci-manager example oke chart for deploying prerequisites for oke" 9 | statements: 10 | - "allow service OKE to manage all-resources in tenancy" 11 | 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/rest/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - caesarxuchao 5 | - wojtek-t 6 | - deads2k 7 | - brendandburns 8 | - liggitt 9 | - nikhiljindal 10 | - gmarek 11 | - erictune 12 | - sttts 13 | - luxas 14 | - dims 15 | - errordeveloper 16 | - hongchaodeng 17 | - krousey 18 | - resouer 19 | - cjcullen 20 | - rmmh 21 | - lixiaobing10051267 22 | - asalkeld 23 | - juanvallejo 24 | - lojies 25 | -------------------------------------------------------------------------------- /examples/charts/cluster/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for cluster. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | # Generate a custom token with `kubeadm token generate` 6 | token: oh6l9d.zdrymhgg3yvk7m6b 7 | endpoint: {{ .Release.Name }}-0.{{ .Release.Name }}11.{{ .Release.Name }}.oraclevcn.com:6443 8 | 9 | master: 10 | replicas: 1 11 | 12 | worker: 13 | replicas: 2 14 | -------------------------------------------------------------------------------- /examples/charts/docker/templates/security.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: cloud.k8s.io/v1alpha1 2 | kind: Security 3 | metadata: 4 | name: {{ .Release.Name }} 5 | labels: 6 | chart: {{ .Chart.Name }} 7 | release: {{ .Release.Name }} 8 | security: {{ .Release.Name }} 9 | spec: 10 | networkSelector: 11 | release: {{ .Release.Name }} 12 | ingress: 13 | - "0.0.0.0/0 tcp 22" 14 | - "0.0.0.0/0 tcp {{ .Values.port }}" 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go19.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.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | // not supported prior to go1.9 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.4 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | func Unsetenv(key string) error { 13 | // This was added in Go 1.4. 14 | return syscall.Unsetenv(key) 15 | } 16 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/loadbalancer.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocilb.oracle.com/v1alpha1 2 | kind: LoadBalancer 3 | metadata: 4 | name: lb-{{ .Values.cluster_name }}-{{ .Values.service_name }} 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | shapeName: {{ .Values.lb_shape }} 9 | subnetRefs: {{ .Values.lb_subnets }} 10 | isPrivate: {{ .Values.lb_is_private }} 11 | 12 | -------------------------------------------------------------------------------- /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/golang.org/x/net/http2/go16.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.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 15 | return t1.ExpectContinueTimeout 16 | } 17 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/nodepool.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocice.oracle.com/v1alpha1 2 | kind: NodePool 3 | metadata: 4 | name: example-cluster1-nodepool1 5 | spec: 6 | compartmentRef: default 7 | clusterRef: example-cluster1 8 | subnetRefs: 9 | - c1-node-1 10 | - c1-node-2 11 | - c1-node-3 12 | kubernetesVersion: v1.11.1 13 | nodeImageName: Oracle-Linux-7.5 14 | nodeShape: VM.Standard2.4 15 | quantityPerSubnet: 1 16 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/decode_go14.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.5 5 | 6 | package codec 7 | 8 | import "reflect" 9 | 10 | const reflectArrayOfSupported = false 11 | 12 | func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { 13 | panic("reflect.ArrayOf unsupported") 14 | } 15 | -------------------------------------------------------------------------------- /charts/oci/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - lavalamp 4 | - smarterclayton 5 | - wojtek-t 6 | - deads2k 7 | - brendandburns 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - mikedanese 11 | - liggitt 12 | - nikhiljindal 13 | - gmarek 14 | - erictune 15 | - saad-ali 16 | - janetkuo 17 | - tallclair 18 | - eparis 19 | - dims 20 | - hongchaodeng 21 | - krousey 22 | - cjcullen 23 | - david-mcmahon 24 | - goltermann 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - wojtek-t 5 | - deads2k 6 | - brendandburns 7 | - derekwaynecarr 8 | - caesarxuchao 9 | - mikedanese 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - janetkuo 14 | - ncdc 15 | - eparis 16 | - dims 17 | - krousey 18 | - markturansky 19 | - fabioy 20 | - resouer 21 | - david-mcmahon 22 | - mfojtik 23 | - jianhuiz 24 | - feihujiang 25 | - ghodss 26 | -------------------------------------------------------------------------------- /vendor/github.com/petar/GoLLRB/llrb/util.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 Petar Maymounkov. 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 llrb 6 | 7 | type Int int 8 | 9 | func (x Int) Less(than Item) bool { 10 | return x < than.(Int) 11 | } 12 | 13 | type String string 14 | 15 | func (x String) Less(than Item) bool { 16 | return x < than.(String) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go19.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 go1.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | s.RegisterOnShutdown(conf.state.startGracefulShutdown) 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /charts/oci/charts/ce/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/oci/charts/ce/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for ce. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | # compartment: default 6 | # network: default 7 | # version: v1.11.1 8 | # pods: 10.244.0.0/16 9 | # services: 10.96.0.0/16 10 | # subnet: lb 11 | # 12 | # nodepools: 13 | # default: 14 | # image: Oracle-Linux-7.5 15 | # shape: VM.Standard2.4 16 | # subnet: node 17 | # count: 1 18 | -------------------------------------------------------------------------------- /charts/oci/charts/db/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/oci/charts/iam/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/oci/charts/lb/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/ociresources/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/docker/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/nginx/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/oke/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/oci/charts/compute/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /charts/oci/charts/network/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/cassandra/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/cluster/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/.helmignore: -------------------------------------------------------------------------------- 1 | # Patterns to ignore when building packages. 2 | # This supports shell glob matching, relative path matching, and 3 | # negation (prefixed with !). Only one pattern per line. 4 | .DS_Store 5 | # Common VCS dirs 6 | .git/ 7 | .gitignore 8 | .bzr/ 9 | .bzrignore 10 | .hg/ 11 | .hgignore 12 | .svn/ 13 | # Common backup files 14 | *.swp 15 | *.bak 16 | *.tmp 17 | *~ 18 | # Various IDEs 19 | .project 20 | .idea/ 21 | *.tmproj 22 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/dhcpoptions.yaml: -------------------------------------------------------------------------------- 1 | # // Getting Started with DhcpOptions https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/DhcpOptions/CreateDhcpOptions 2 | apiVersion: ocicore.oracle.com/v1alpha1 3 | kind: DhcpOption 4 | metadata: 5 | name: example-dhcp 6 | spec: 7 | compartmentRef: default 8 | vcnRef: example 9 | options: 10 | - type: DomainNameServer 11 | customDnsServers: ["127.0.0.1"] 12 | serverType: CustomDnsServer 13 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/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 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/k8s.io/client-go/tools/record/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - lavalamp 3 | - smarterclayton 4 | - wojtek-t 5 | - deads2k 6 | - derekwaynecarr 7 | - caesarxuchao 8 | - vishh 9 | - mikedanese 10 | - liggitt 11 | - nikhiljindal 12 | - erictune 13 | - pmorie 14 | - dchen1107 15 | - saad-ali 16 | - luxas 17 | - yifan-gu 18 | - eparis 19 | - mwielgus 20 | - timothysc 21 | - jsafrane 22 | - dims 23 | - krousey 24 | - a-robinson 25 | - aveshagarwal 26 | - resouer 27 | - cjcullen 28 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_386.s: -------------------------------------------------------------------------------- 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 | // 6 | // System calls for 386, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-8 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-4 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for oci-manager. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | replicaCount: 1 5 | image: 6 | pullPolicy: Always 7 | oci: 8 | user: 9 | fingerprint: 10 | tenancy: 11 | apikey: |- 12 | -----BEGIN RSA PRIVATE KEY----- 13 | 14 | -----END RSA PRIVATE KEY----- 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_amd64.s: -------------------------------------------------------------------------------- 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 | // 6 | // System calls for amd64, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-32 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-8 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/flock_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 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: oci.oracle.com/v1 2 | kind: RouteTable 3 | metadata: 4 | name: {{ .Values.compartment }}.routetable.{{ .Chart.Name }} 5 | spec: 6 | displayName: {{ .Chart.Name }} 7 | compartmentRef: {{ .Values.compartment }} 8 | virtualnetworkRef: {{ .Values.compartment }}.virtualnetwork.{{ .Chart.Name }} 9 | routeRules: 10 | - cidrBlock: 0.0.0.0/0 11 | networkEntityId: {{ .Values.compartment }}.internetgateway.{{ .Chart.Name }} 12 | -------------------------------------------------------------------------------- /examples/resources/not_implemented_yet/cluster.yaml: -------------------------------------------------------------------------------- 1 | # Cluster - OCI containerengine cluster resource 2 | 3 | apiVersion: ocice.oracle.com/v1alpha1 4 | kind: Cluster 5 | metadata: 6 | name: example-cluster 7 | spec: 8 | compartmentRef: default 9 | vcnRef: example 10 | serviceLbSubnetRefs: 11 | - example-subnet1 12 | - example-subnet2 13 | kubernetesVersion: 1.10.3 14 | options: 15 | kubernetesNetworkConfig: 16 | podsCidr: 10.244.0.0/16 17 | servicesCidr: 10.96.0.0/16 18 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/decode_go.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.5 5 | 6 | package codec 7 | 8 | import "reflect" 9 | 10 | const reflectArrayOfSupported = true 11 | 12 | func reflectArrayOf(rvn reflect.Value) (rvn2 reflect.Value) { 13 | rvn2 = reflect.New(reflect.ArrayOf(rvn.Len(), intfTyp)).Elem() 14 | reflect.Copy(rvn2, rvn) 15 | return 16 | } 17 | -------------------------------------------------------------------------------- /examples/charts/docker/scripts/userdata.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | 3 | iptables -F 4 | 5 | apt-get update 6 | apt-get install -y apt-transport-https ca-certificates curl software-properties-common 7 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - 8 | add-apt-repository "deb https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable" 9 | apt-get update && apt-get install -y docker-ce=$(apt-cache madison docker-ce | grep 17.03 | head -1 | awk '{print $3}') 10 | -------------------------------------------------------------------------------- /examples/charts/oke/kubeconfig.sh: -------------------------------------------------------------------------------- 1 | # Assuming the file is in your home directory 2 | chmod +x ./get-kubeconfig.sh 3 | 4 | # Export ENDPOINT which points to the region's api server 5 | export ENDPOINT=containerengine.us-phoenix-1.oraclecloud.com 6 | 7 | # Retrieve and save the kubeconfig 8 | ./get-kubeconfig.sh ocid1.cluster.oc1.phx.aaaaaaaaafsgiobvgmzgimbugi2tgnzzmq2gkyzrge3wgnjugctgmmrsgntd > ~/kubeconfig 9 | 10 | # Use the kubeconfig with kubectl commands 11 | export KUBECONFIG=~/kubeconfig 12 | kubectl get nodes 13 | -------------------------------------------------------------------------------- /charts/ociresources/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- range .Values.internetGateways }} 4 | --- 5 | apiVersion: ocicore.oracle.com/v1alpha1 6 | kind: InternetGateway 7 | metadata: 8 | name: {{ .name }} 9 | labels: 10 | chart: {{ $chart }} 11 | release: {{ $release }} 12 | spec: 13 | compartmentRef: {{ default .name .compartmentRef }} 14 | vcnRef: {{ default .name .vcnRef }} 15 | isEnabled: {{ default true .isEnabled }} 16 | {{- end }} 17 | -------------------------------------------------------------------------------- /charts/ociresources/templates/vcn.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- range .Values.vcns }} 4 | --- 5 | apiVersion: ocicore.oracle.com/v1alpha1 6 | kind: Vcn 7 | metadata: 8 | name: {{ .name }} 9 | labels: 10 | chart: {{ $chart }} 11 | release: {{ $release }} 12 | spec: 13 | compartmentRef: {{ .compartmentRef }} 14 | displayName: {{ default .name .displayName }} 15 | dnsLabel: {{ default .name .dnsLabel }} 16 | cidrBlock: {{ .cidrBlock | quote }} 17 | {{- end }} 18 | -------------------------------------------------------------------------------- /vendor/github.com/gregjones/httpcache/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.6.x 5 | - 1.7.x 6 | - 1.8.x 7 | - master 8 | matrix: 9 | allow_failures: 10 | - go: master 11 | fast_finish: true 12 | install: 13 | - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). 14 | script: 15 | - go get -t -v ./... 16 | - diff -u <(echo -n) <(gofmt -d .) 17 | - go tool vet . 18 | - go test -v -race ./... 19 | -------------------------------------------------------------------------------- /charts/oci/charts/iam/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for oci iam. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | 6 | # - either create compartment object manually before invoking chart or uncomment it here 7 | # - note the object will be deleted when you delete the chart 8 | # - the real OCI compartment will NOT be affected - no create, update or delete is supported 9 | # - this will be replaced with `kubectl label namespace foo compartment=foo` 10 | # 11 | # compartment: default 12 | -------------------------------------------------------------------------------- /examples/cloud/cluster-example-2.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Cloud Cluster example 2: 3 | # - Managed Cluster by OKE 4 | # - OKE limits worker/nodepool images to Oracle-Linux 7.4 or 7.5 5 | # - replicas will be divided by 3 to get instances per ad / az ; min 3 6 | # 7 | apiVersion: cloud.k8s.io/v1alpha1 8 | kind: Cluster 9 | metadata: 10 | name: mc1 11 | spec: 12 | version: 1.11.1 13 | isManaged: true 14 | worker: 15 | replicas: 3 16 | template: 17 | osType: Oracle-Linux 18 | osVersion: "7.5" 19 | sshKeys: ["change-me"] 20 | -------------------------------------------------------------------------------- /vendor/github.com/google/btree/README.md: -------------------------------------------------------------------------------- 1 | # BTree implementation for Go 2 | 3 | ![Travis CI Build Status](https://api.travis-ci.org/google/btree.svg?branch=master) 4 | 5 | This package provides an in-memory B-Tree implementation for Go, useful as 6 | an ordered, mutable data structure. 7 | 8 | The API is based off of the wonderful 9 | http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to 10 | act as a drop-in replacement for gollrb trees. 11 | 12 | See http://godoc.org/github.com/google/btree for documentation. 13 | -------------------------------------------------------------------------------- /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/golang.org/x/net/http2/not_go16.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 !go1.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func configureTransport(t1 *http.Transport) (*Transport, error) { 15 | return nil, errTransportVersion 16 | } 17 | 18 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 19 | return 0 20 | 21 | } 22 | -------------------------------------------------------------------------------- /examples/charts/oke/README.md: -------------------------------------------------------------------------------- 1 | ### OKE automation for network and policy prerequisites to use the OKE / oracle container engine 2 | - This chart uses Custom Resources to model and add dependencies of OCI resources 3 | 4 | requirements: 5 | - oci-manager (set of controllers for oci resources) 6 | url: https://github.com/oracle/oci-manager 7 | 8 | usage: 9 | - update values in values.yaml with change-me as default value 10 | - customize other values such as availability_domains 11 | 12 | maintainers: 13 | - Mike Schwankl mike.schwankl@oracle.com 14 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - wojtek-t 5 | - deads2k 6 | - brendandburns 7 | - caesarxuchao 8 | - liggitt 9 | - nikhiljindal 10 | - gmarek 11 | - erictune 12 | - davidopp 13 | - sttts 14 | - quinton-hoole 15 | - luxas 16 | - janetkuo 17 | - justinsb 18 | - ncdc 19 | - soltysh 20 | - dims 21 | - madhusudancs 22 | - hongchaodeng 23 | - krousey 24 | - mml 25 | - mbohlool 26 | - david-mcmahon 27 | - therc 28 | - mqliang 29 | - kevin-wangzefeng 30 | - jianhuiz 31 | - feihujiang 32 | -------------------------------------------------------------------------------- /examples/charts/cassandra/README.md: -------------------------------------------------------------------------------- 1 | ### Multi-Node Multi-Availaibility domain cassandra chart 2 | - This chart uses Custom Resources to model and add dependencies of OCI resources 3 | 4 | requirements: 5 | - oci-manager (set of controllers for oci resources) 6 | url: https://github.com/oracle/oci-manager 7 | 8 | usage: 9 | - update values in values.yaml with changeme as default value 10 | - customize other values such as availability_domains and instances_per_availability_domain 11 | 12 | maintainers: 13 | - Mike Schwankl mike.schwankl@oracle.com 14 | -------------------------------------------------------------------------------- /examples/cloud/security.yaml: -------------------------------------------------------------------------------- 1 | # 2 | # Security - defaults to only allow ssh port and allow all egress 3 | # compute and loadbalancer select which they want and create or update a static security list for their subnets 4 | # creates: security-list 5 | # 6 | apiVersion: cloud.k8s.io/v1alpha1 7 | kind: Security 8 | metadata: 9 | name: sec-test 10 | namespace: default 11 | labels: 12 | type: web 13 | spec: 14 | networkSelector: 15 | app: test 16 | ingress: 17 | - "0.0.0.0/0 tcp 22" 18 | - "0.0.0.0/0 tcp 80" 19 | - "0.0.0.0/0 tcp 443" -------------------------------------------------------------------------------- /charts/oci/charts/compute/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for oci compute. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | 5 | # prefix: foo 6 | # region: yhkn:PHX 7 | # compartment: default 8 | # shape: "VM.Standard1.1" 9 | # image: "Canonical-Ubuntu-18.04-2018.10.16-0" 10 | # 11 | # instances: 12 | # 1: 13 | # subnet: public1 14 | # ad: AD-1 15 | # metadata: 16 | # # ssh_authorized_keys: "ssh-rsa AAAA..." 17 | # user_data: |- 18 | # #/bin/bash 19 | # apt-get -y update 20 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/README.md: -------------------------------------------------------------------------------- 1 | ### Multi-Node Multi-Availaibility domain apache httpd chart 2 | - This chart uses Custom Resources to model and add dependencies of OCI resources 3 | 4 | requirements: 5 | - oci-manager (set of controllers for oci resources) 6 | url: https://github.com/oracle/oci-manager 7 | 8 | usage: 9 | - update values in values.yaml with change-me as default value 10 | - customize other values such as availability_domains and instances_per_availability_domain 11 | 12 | maintainers: 13 | - Mike Schwankl mike.schwankl@oracle.com 14 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/listener.yaml: -------------------------------------------------------------------------------- 1 | # // Listener configuration for the front-end of a Load Balancer 2 | # // For more information, see https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm 3 | 4 | apiVersion: ocilb.oracle.com/v1alpha1 5 | kind: Listener 6 | metadata: 7 | name: example-listener 8 | spec: 9 | loadBalancerRef: example-lb 10 | certificateRef: example-cert 11 | port: 443 12 | # HTTP does HTTPS when cert is used 13 | protocol: HTTP 14 | defaultBackendSetName: example-backendset 15 | idleTimeout: 3 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 | -------------------------------------------------------------------------------- /charts/ociresources/templates/cluster.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := .Values.compartmentRef -}} 4 | {{- range .Values.clusters }} 5 | --- 6 | apiVersion: ocice.oracle.com/v1alpha1 7 | kind: Cluster 8 | metadata: 9 | name: {{ .name }} 10 | spec: 11 | compartmentRef: {{ default $compartment .compartmentRef }} 12 | vcnRef: {{ .vcnRef }} 13 | serviceLbSubnetRefs: {{ .serviceLbSubnetRefs }} 14 | kubernetesVersion: {{ default "v1.11.1" .kubernetesVersion }} 15 | options: {{ .options }} 16 | {{- end }} 17 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/sort_order.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // SortOrder The sort order for a list operation. 16 | type SortOrder struct { 17 | } 18 | 19 | func (m SortOrder) String() string { 20 | return common.PointerString(m) 21 | } 22 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/subnet.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: oci.oracle.com/v1 2 | kind: Subnet 3 | metadata: 4 | name: {{ .Values.compartment }}.subnet.{{ .Chart.Name }} 5 | spec: 6 | displayName: {{ .Chart.Name }} 7 | compartmentRef: {{ .Values.compartment }} 8 | virtualnetworkRef: {{ .Values.compartment }}.virtualnetwork.{{ .Chart.Name }} 9 | availabilityDomain: yhkn:PHX-AD-1 10 | cidrBlock: 10.0.10.0/24 11 | routetableRef: {{ .Values.compartment }}.routetable.{{ .Chart.Name }} 12 | securityrulesetRefs: 13 | - {{ .Values.compartment }}.securityruleset.{{ .Chart.Name }} 14 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/cluster.yaml: -------------------------------------------------------------------------------- 1 | # # # Cluster - OCI containerengine cluster resource 2 | # # 3 | # apiVersion: ocice.oracle.com/v1alpha1 4 | # kind: Cluster 5 | # metadata: 6 | # name: cluster-{{ .Values.cluster_name }} 7 | # spec: 8 | # compartmentRef: {{ .Values.compartment }} 9 | # vcnRef: {{ .Values.virtual_network }} 10 | # serviceLbSubnetRefs: {{ .Values.service_lb_subnets }} 11 | # kubernetesVersion: {{ .Values.kubernetes_version }} 12 | # options: 13 | # kubernetesNetworkConfig: 14 | # podsCidr: 10.244.0.0/16 15 | # servicesCidr: 10.96.0.0/16 16 | -------------------------------------------------------------------------------- /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/oracle/oci-go-sdk/containerengine/work_request_status.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // WorkRequestStatus The status of a work request. 16 | type WorkRequestStatus struct { 17 | } 18 | 19 | func (m WorkRequestStatus) String() string { 20 | return common.PointerString(m) 21 | } 22 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/certificate.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocilb.oracle.com/v1alpha1 2 | kind: Certificate 3 | metadata: 4 | name: cert-{{ .Values.cluster_name }}-{{ .Values.service_name }} 5 | spec: 6 | certificateName: cert-{{ .Values.cluster_name }}-{{ .Values.service_name }} 7 | loadBalancerRef: lb-{{ .Values.cluster_name }}-{{ .Values.service_name }} 8 | publicCertificate: | 9 | {{ .Files.Get .Values.certificate_cert_file | indent 4 }} 10 | privateKey: | 11 | {{ .Files.Get .Values.certificate_private_key_file | indent 4 }} 12 | passphrase: {{ .Values.certificate_passphrase }} 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /charts/ociresources/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 17 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/listener.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocilb.oracle.com/v1alpha1 2 | kind: Listener 3 | metadata: 4 | name: listener-{{ .Values.cluster_name }}-{{ .Values.service_name }} 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | loadBalancerRef: lb-{{ .Values.cluster_name }}-{{ .Values.service_name }} 8 | certificateRef: cert-{{ .Values.cluster_name }}-{{ .Values.service_name }} 9 | defaultBackendSetName: backendset-{{ .Values.cluster_name }}-{{ .Values.service_name }}-1 10 | port: {{ .Values.lb_listener_port }} 11 | protocol: {{ .Values.lb_listener_protocol }} 12 | idleTimeout: 3 13 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 17 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 17 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/nodepool.yaml: -------------------------------------------------------------------------------- 1 | # # # NodePool - OCI containerengine nodepool resource 2 | # # 3 | # apiVersion: ocice.oracle.com/v1alpha1 4 | # kind: NodePool 5 | # metadata: 6 | # name: nodepool-{{ .Values.cluster_name }} 7 | # spec: 8 | # compartmentRef: {{ .Values.compartment }} 9 | # clusterRef: cluster-{{ .Values.cluster_name }} 10 | # subnetRefs: {{ .Values.node_pool_subnets }} 11 | # kubernetesVersion: {{ .Values.kubernetes_version }} 12 | # nodeImageName: {{ .Values.node_image }} 13 | # nodeShape: {{ .Values.node_shape }} 14 | # quantityPerSubnet: {{ .Values.node_quantity_per_subnet }} 15 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/cluster_lifecycle_state.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ClusterLifecycleState The lifecycle state of a cluster. 16 | type ClusterLifecycleState struct { 17 | } 18 | 19 | func (m ClusterLifecycleState) String() string { 20 | return common.PointerString(m) 21 | } 22 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /deploy/charts/oci-manager/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 17 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 17 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/_helpers.tpl: -------------------------------------------------------------------------------- 1 | {{/* vim: set filetype=mustache: */}} 2 | {{/* 3 | Expand the name of the chart. 4 | */}} 5 | {{- define "name" -}} 6 | {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} 7 | {{- end -}} 8 | 9 | {{/* 10 | Create a default fully qualified app name. 11 | We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). 12 | */}} 13 | {{- define "fullname" -}} 14 | {{- $name := default .Chart.Name .Values.nameOverride -}} 15 | {{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} 16 | {{- end -}} 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/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 | Vastech SA (PTY) LTD 14 | Walter Schulze 15 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/work_request_operation_type.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // WorkRequestOperationType The types of work request operations. 16 | type WorkRequestOperationType struct { 17 | } 18 | 19 | func (m WorkRequestOperationType) String() string { 20 | return common.PointerString(m) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/env_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 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 | // Windows environment variables. 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | func Getenv(key string) (value string, found bool) { 12 | return syscall.Getenv(key) 13 | } 14 | 15 | func Setenv(key, value string) error { 16 | return syscall.Setenv(key, value) 17 | } 18 | 19 | func Clearenv() { 20 | syscall.Clearenv() 21 | } 22 | 23 | func Environ() []string { 24 | return syscall.Environ() 25 | } 26 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/LICENSE: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /charts/ociresources/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- range .Values.routeTables }} 4 | --- 5 | apiVersion: ocicore.oracle.com/v1alpha1 6 | kind: RouteTable 7 | metadata: 8 | name: {{ .name }} 9 | labels: 10 | chart: {{ $chart }} 11 | release: {{ $release }} 12 | spec: 13 | compartmentRef: {{ default .name .compartmentRef }} 14 | vcnRef: {{ default .name .vcnRef }} 15 | routeRules: 16 | {{- range .routeRules }} 17 | - cidrBlock: {{ .cidrBlock | quote }} 18 | networkEntityId: {{ default .name .networkEntityId }} 19 | {{- end }} 20 | {{- end }} 21 | -------------------------------------------------------------------------------- /charts/ociresources/templates/volume.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := .Values.compartmentRef -}} 4 | {{- range .Values.volumes }} 5 | --- 6 | apiVersion: ocicore.oracle.com/v1alpha1 7 | kind: Volume 8 | metadata: 9 | name: {{ .name }} 10 | labels: 11 | chart: {{ $chart }} 12 | release: {{ $release }} 13 | spec: 14 | compartmentRef: {{ $compartment }} 15 | instanceRef: {{ .instanceRef }} 16 | availabilityDomain: {{ .availabilityDomain }} 17 | displayName: {{ .name }} 18 | sizeInGBs: {{ default "50" .sizeInGBs }} 19 | # attachmentType: iscsi 20 | {{- end }} 21 | -------------------------------------------------------------------------------- /examples/charts/oke/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | name: oke 3 | description: A Helm chart for deploying OKE-prerequisites (network stack, dynamic group, policy) for OKE) 4 | version: 0.1.0 5 | appVersion: 3.11.0 6 | icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.svg 7 | keywords: 8 | - oracle 9 | - cloud 10 | - kubernetes 11 | - clusters 12 | - OKE 13 | home: https://github.com/oracle/oci-manager 14 | sources: 15 | - https://github.com/oracle/oci-manager/examples/charts/oke 16 | url: http://10.3.65.45:8080/oke/oke.tgz 17 | maintainers: 18 | - name: mike schwankl 19 | email: mike.schwankl@oracle.com 20 | engine: gotpl 21 | -------------------------------------------------------------------------------- /examples/resources/not_implemented_yet/core/publicip.yaml: -------------------------------------------------------------------------------- 1 | # // PublicIp A *public IP* is a conceptual term that refers to a public IP address and related properties. 2 | # // The `publicIp` object is the API representation of a public IP. 3 | # // There are two types of public IPs: 4 | # // 1. Ephemeral 5 | # // 2. Reserved 6 | # // For more information and comparison of the two types, 7 | # // see Public IP Addresses (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingpublicIPs.htm). 8 | 9 | # apiVersion: ocicore.oracle.com/v1alpha1 10 | # kind: PublicIp 11 | # metadata: 12 | # name: publicip.example 13 | # spec: 14 | -------------------------------------------------------------------------------- /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 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 | -------------------------------------------------------------------------------- /examples/charts/nginx/values.yaml: -------------------------------------------------------------------------------- 1 | # Default values for nginx. 2 | # This is a YAML-formatted file. 3 | # Declare variables to be passed into your templates. 4 | compartment: default 5 | shape: VM.Standard1.1 6 | image: Canonical-Ubuntu-16.04-2017.08.22-0 7 | sshkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC576VcQiYf1x7Fwso32DDSW7p92II8D5dI0EdK7cQy5zt5Hz7JmwrNkWfd9VYXzOuXh2lNWCr7i5TSIkoE6QmyAEN0e52H+f69tiZD95FnxcOoce9/Srk5G+tqpV1zIG3ittItRbDFNMYg0+0loKd1MP10xv8B4UK3iE2RBIvIy4YUwUPk/QLYezD0Qi5oAjB4Tupg3zrGGMhkYJeK11R9QxzWydBIX094X+KnrIw/OykXMFgkPmFsDrQFCsDh06zZxnY7XaXohlE8RqIXYH9IKkTJRrhxmx4yAtOTsGmAHUoqFqUHO7S2TVsnumM5deNVEf6Y70dAJRCiDkrYLLcf kfilipovski@designare 8 | -------------------------------------------------------------------------------- /charts/oci/charts/network/templates/internetgateway.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := default .Release.Namespace .Values.compartment -}} 4 | {{- $region := .Values.region -}} 5 | {{- $vcn := .Values.vcn -}} 6 | {{- range $name, $gateway := .Values.gateways }} 7 | {{- if ($gateway.internet) }} 8 | --- 9 | apiVersion: ocicore.oracle.com/v1alpha1 10 | kind: InternetGateway 11 | metadata: 12 | name: {{ $release }}-{{ $name }} 13 | spec: 14 | compartmentRef: {{ $compartment }} 15 | vcnRef: {{ default $release $vcn }} 16 | isEnabled: {{ $gateway.internet }} 17 | {{- end }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /deploy/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KEY_FILE=`grep key_file ~/.oci/config | awk -F "=" '{ print $2 }' | head -1 | xargs` 4 | kubectl create secret generic apikey -n oci-system --from-file=apikey=$KEY_FILE 5 | echo "Created secret in namespace: oci-system for oci apikey key_file: $KEY_FILE" 6 | 7 | TMP_OCICONFIG_FILE=/tmp/ociconfig 8 | 9 | grep -v key_file ~/.oci/config > $TMP_OCICONFIG_FILE 10 | echo "key_file=/etc/oci-apikey/apikey" >> $TMP_OCICONFIG_FILE 11 | 12 | kubectl create configmap ociconfig -n oci-system --from-file=config=$TMP_OCICONFIG_FILE 13 | echo "Created configmap for ociconfig based on your ~/.oci/config" 14 | rm $TMP_OCICONFIG_FILE 15 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/instance.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | apiVersion: oci.oracle.com/v1 3 | kind: Instance 4 | metadata: 5 | name: {{ .Values.compartment }}.routetable.{{ .Chart.Name }} 6 | spec: 7 | displayName: {{ .Chart.Name }} 8 | compartmentRef: {{ .Values.compartment }} 9 | subnetRef: {{ .Values.compartment }}.subnet.{{ .Chart.Name }} 10 | availabilityDomain: yhkn:PHX-AD-1 11 | shape: {{ default "VM.Standard1.1" .Values.shape }} 12 | image: {{ default "Canonical-Ubuntu-16.04-2017.08.22-0" .Values.image }} 13 | metadata: 14 | ssh_authorized_keys: {{ .Values.sshkey }} 15 | user_data: {{ .Files.Get "scripts/user_data.sh" | b64enc }} 16 | -------------------------------------------------------------------------------- /charts/ociresources/templates/autonomousdatabase.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := .Values.compartmentRef -}} 4 | {{- range .Values.databases }} 5 | --- 6 | apiVersion: ocidb.oracle.com/v1alpha1 7 | kind: AutonomousDatabase 8 | metadata: 9 | name: {{ .name }} 10 | labels: 11 | chart: {{ $chart }} 12 | release: {{ $release }} 13 | spec: 14 | compartmentRef: {{ default $compartment .compartmentRef }} 15 | displayName: {{ default .name .displayName }} 16 | cpuCoreCount: {{ default "1" .cpuCoreCount }} 17 | dataStorageSizeInTBs: {{ default "1" .dataStorageSizeInTBs }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /deploy/oci-manager-ipr.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: StatefulSet 3 | metadata: 4 | name: oci-manager 5 | labels: 6 | app: oci-manager 7 | spec: 8 | selector: 9 | matchLabels: 10 | app: oci-manager 11 | serviceName: oci-manager-service 12 | template: 13 | metadata: 14 | labels: 15 | app: oci-manager 16 | spec: 17 | containers: 18 | - image: phx.ocir.io/k8sfed/oci-manager:latest 19 | imagePullPolicy: "Always" 20 | name: oci-manager 21 | command: 22 | - /oci-manager 23 | - --logtostderr=true 24 | - --v=10 25 | - --ipr=true 26 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/update_db_home_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // UpdateDbHomeDetails Describes the modification parameters for the database home. 16 | type UpdateDbHomeDetails struct { 17 | DbVersion *PatchDetails `mandatory:"false" json:"dbVersion"` 18 | } 19 | 20 | func (m UpdateDbHomeDetails) String() string { 21 | return common.PointerString(m) 22 | } 23 | -------------------------------------------------------------------------------- /hack/custom-boilerplate.go.txt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/juju/layers/kubernetes-master/copyright: -------------------------------------------------------------------------------- 1 | Copyright 2016 The Kubernetes Authors. 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/k8s.io/kubernetes/pkg/master/ports/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | load( 4 | "@io_bazel_rules_go//go:def.bzl", 5 | "go_library", 6 | ) 7 | 8 | go_library( 9 | name = "go_default_library", 10 | srcs = [ 11 | "doc.go", 12 | "ports.go", 13 | ], 14 | importpath = "k8s.io/kubernetes/pkg/master/ports", 15 | ) 16 | 17 | filegroup( 18 | name = "package-srcs", 19 | srcs = glob(["**"]), 20 | tags = ["automanaged"], 21 | visibility = ["//visibility:private"], 22 | ) 23 | 24 | filegroup( 25 | name = "all-srcs", 26 | srcs = [":package-srcs"], 27 | tags = ["automanaged"], 28 | ) 29 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # build stage 2 | FROM golang:alpine AS build-env 3 | RUN apk update && apk add alpine-sdk 4 | ENV src /go/src/github.com/oracle/oci-manager 5 | ADD . ${src} 6 | ARG VERSION=dirty 7 | RUN export VERSION=${VERSION} && cd ${src} && make build 8 | 9 | # final stage 10 | FROM alpine 11 | COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt 12 | COPY --from=build-env /go/src/github.com/oracle/oci-manager/LICENSE /LICENSE 13 | COPY --from=build-env /go/src/github.com/oracle/oci-manager/LICENSES.deps /LICENSES.deps 14 | COPY --from=build-env /go/src/github.com/oracle/oci-manager/bin/oci-manager /oci-manager 15 | ENTRYPOINT ["/oci-manager"] 16 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/third_party/swagger-ui/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Reverb Technologies, Inc. 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 [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) 6 | 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/cluster/juju/layers/kubernetes-worker/copyright: -------------------------------------------------------------------------------- 1 | Copyright 2016 The Kubernetes Authors. 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/k8s.io/kubernetes/cluster/juju/layers/kubeapi-load-balancer/copyright: -------------------------------------------------------------------------------- 1 | Copyright 2016 The Kubernetes Authors. 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 | -------------------------------------------------------------------------------- /charts/oci/charts/network/templates/vcn.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := default .Release.Namespace .Values.compartment -}} 4 | {{- $region := .Values.region -}} 5 | {{- $vcn := .Values.vcn -}} 6 | {{- if not .Values.vcn }} 7 | {{- if .Values.cidr }} 8 | apiVersion: ocicore.oracle.com/v1alpha1 9 | kind: Vcn 10 | metadata: 11 | name: {{ $release }} 12 | {{ template "oci.labels" . }} 13 | spec: 14 | compartmentRef: {{ $compartment }} 15 | cidrBlock: {{ .Values.cidr | quote }} 16 | dnsLabel: {{ if (.Values.dns) }}{{ .Values.dns }}{{ else }}{{ $release | replace "-" "" | lower | trunc 15 }}{{ end }} 17 | {{- end }} 18 | {{- end }} 19 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/loadbalancer/path_route_set_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Load Balancing Service API 5 | // 6 | // API for the Load Balancing Service 7 | // 8 | 9 | package loadbalancer 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // PathRouteSetDetails A set of path route rules. 16 | type PathRouteSetDetails struct { 17 | 18 | // The set of path route rules. 19 | PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` 20 | } 21 | 22 | func (m PathRouteSetDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/env_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 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 | 7 | // Unix environment variables. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | -------------------------------------------------------------------------------- /charts/oci/charts/network/templates/routetable.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := default .Release.Namespace .Values.compartment -}} 4 | {{- $region := .Values.region -}} 5 | {{- $vcn := .Values.vcn -}} 6 | {{- range $name, $route := .Values.routes }} 7 | --- 8 | apiVersion: ocicore.oracle.com/v1alpha1 9 | kind: RouteTable 10 | metadata: 11 | name: {{ $release }}-{{ $name }} 12 | spec: 13 | compartmentRef: {{ $compartment }} 14 | vcnRef: {{ default $release $vcn }} 15 | routeRules: 16 | {{- range $route }} 17 | - cidrBlock: {{ .cidr | quote }} 18 | networkEntityId: {{ $release }}-{{ .gateway }} 19 | {{- end }} 20 | {{- end }} 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 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 | -------------------------------------------------------------------------------- /docs/cloud/loadbalancer.md: -------------------------------------------------------------------------------- 1 | # LoadBalancer 2 | 3 | ## Specification 4 | [loadbalancer_types.go](../../pkg/apis/cloud.k8s.io/v1alpha1/loadbalancer_types.go) 5 | 6 | ## Implementation 7 | - Creates Subnets using a security selector 8 | - Creates Backends using a compute selector 9 | - multiple computes can be selected for different versions of your app 10 | - labelWeightMap attribute to control traffic to different computes / versions 11 | - Listeners allows multiple front-end / client-facing ports 12 | with ssl certificate struct to model certs, private key, passphrase 13 | - balance mode: round-robin or least-connections 14 | - bandwidthMbps: used for size/speed/cost of load-balancer - defaults to 100Mbps 15 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/securityruleset.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: ocicore.oracle.com/v1alpha1 2 | kind: SecurityRuleSet 3 | metadata: 4 | name: securityruleset1 5 | namespace: {{ .Values.namespace }} 6 | spec: 7 | compartmentRef: {{ .Values.compartment }} 8 | vcnRef: {{ .Values.virtual_network }} 9 | egressSecurityRules: 10 | - destination: 0.0.0.0/0 11 | protocol: all 12 | ingressSecurityRules: 13 | - source: {{ .Values.cidr_block }} 14 | protocol: '6' 15 | tcpOptions: 16 | destinationPortRange: 17 | min: 1 18 | max: 65535 19 | - source: 0.0.0.0/0 20 | protocol: '6' 21 | tcpOptions: 22 | destinationPortRange: 23 | min: 22 24 | max: 22 25 | -------------------------------------------------------------------------------- /examples/charts/cassandra/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | name: cassandra 3 | description: A Helm chart for deploying multi-node multi-availability-domain Cassandra ontop of OCI Custom Resources 4 | version: 0.1.0 5 | appVersion: 3.11.0 6 | icon: https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/Cassandra_logo.svg/200px-Cassandra_logo.svg.png 7 | keywords: 8 | - cassandra 9 | - oci 10 | - oracle 11 | home: https://gitlab-odx.oracle.com/mschwank/oci-manager 12 | sources: 13 | - https://gitlab-odx.oracle.com/mschwank/oci-manager/examples/cassandra/helm/cassandra 14 | url: http://10.3.65.45:8080/cassandra/cassandra.tgz 15 | maintainers: 16 | - name: mike schwankl 17 | email: mike.schwankl@oracle.com 18 | engine: gotpl 19 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/backendset.yaml: -------------------------------------------------------------------------------- 1 | # // BackendSet The configuration of a load balancer backend set. 2 | # // For more information on backend set configuration, see 3 | # // Managing Backend Sets (https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managingbackendsets.htm). 4 | 5 | apiVersion: ocilb.oracle.com/v1alpha1 6 | kind: BackendSet 7 | metadata: 8 | name: example-backendset 9 | spec: 10 | loadBalancerRef: example-lb 11 | protocol: HTTP 12 | # ROUND_ROBIN, LEAST_CONNECTIONS, IP_HASH 13 | policy: ROUND_ROBIN 14 | healthChecker: 15 | port: 80 16 | protocol: HTTP 17 | urlPath: /index.html 18 | timeoutInMillis: 3000 19 | intervalInMillis: 10000 20 | returnCode: 200 21 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/cluster_options.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ClusterOptions Options for creating or updating clusters. 16 | type ClusterOptions struct { 17 | 18 | // Available Kubernetes versions. 19 | KubernetesVersions []string `mandatory:"false" json:"kubernetesVersions"` 20 | } 21 | 22 | func (m ClusterOptions) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/cluster_endpoints.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ClusterEndpoints The properties that define endpoints for a cluster. 16 | type ClusterEndpoints struct { 17 | 18 | // The Kubernetes API server endpoint. 19 | Kubernetes *string `mandatory:"false" json:"kubernetes"` 20 | } 21 | 22 | func (m ClusterEndpoints) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_arm64.s: -------------------------------------------------------------------------------- 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 linux 6 | // +build arm64 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // Just jump to package syscall's implementation for all these functions. 12 | // The runtime may know about them. 13 | 14 | TEXT ·Syscall(SB),NOSPLIT,$0-56 15 | B syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 18 | B syscall·Syscall6(SB) 19 | 20 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 21 | B syscall·RawSyscall(SB) 22 | 23 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 24 | B syscall·RawSyscall6(SB) 25 | -------------------------------------------------------------------------------- /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 | package api 19 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/clientcmd/api/v1/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 | package v1 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /charts/oci/charts/db/templates/autonomousdatabase.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $name := default $release .Values.name -}} 4 | {{- $compartment := default .Release.Namespace .Values.compartment -}} 5 | {{- $region := .Values.region -}} 6 | {{- if (.Values.autonomous) }} 7 | apiVersion: ocidb.oracle.com/v1alpha1 8 | kind: AutonomousDatabase 9 | metadata: 10 | name: {{ $name }} 11 | labels: 12 | chart: {{ $chart }} 13 | release: {{ $release }} 14 | spec: 15 | compartmentRef: {{ $compartment }} 16 | displayName: {{ default $name .displayName }} 17 | cpuCoreCount: {{ default "1" .cpuCoreCount }} 18 | dataStorageSizeInTBs: {{ default "1" .dataStorageSizeInTBs }} 19 | {{- end }} 20 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | name: apache-oci-crd 3 | description: A Helm chart for deploying multi-node multi-availability-domain Apache ontop of OCI Custom Resources 4 | version: 0.1.0 5 | appVersion: 3.11.0 6 | icon: https://commons.wikimedia.org/wiki/Category:Apache_HTTP_Server_logos#/media/File:Apache_HTTPD.png 7 | keywords: 8 | - apache 9 | - httpd 10 | - oci 11 | - oracle 12 | home: https://gitlab-odx.oracle.com/mschwank/oci-manager 13 | sources: 14 | - https://gitlab-odx.oracle.com/mschwank/oci-manager/examples/charts/apache-oci-crd 15 | url: http://10.3.65.45:8080/cassandra-oci-crd/apache-oci-crd.tgz 16 | maintainers: 17 | - name: mike schwankl 18 | email: mike.schwankl@oracle.com 19 | engine: gotpl 20 | -------------------------------------------------------------------------------- /examples/resources/not_implemented_yet/core/image.yaml: -------------------------------------------------------------------------------- 1 | # // Image A boot disk image for launching an instance. For more information, see 2 | # // Overview of the Compute Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Concepts/computeoverview.htm). 3 | # // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, 4 | # // talk to an administrator. If you're an administrator who needs to write policies to give users access, see 5 | # // Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm). 6 | 7 | # apiVersion: ocicore.oracle.com/v1alpha1 8 | # kind: Image 9 | # metadata: 10 | # name: image.example 11 | # spec: 12 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/loadbalancer/load_balancer_protocol.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Load Balancing Service API 5 | // 6 | // API for the Load Balancing Service 7 | // 8 | 9 | package loadbalancer 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // LoadBalancerProtocol A protocol that defines the type of traffic accepted by a listener. 16 | type LoadBalancerProtocol struct { 17 | 18 | // The name of a protocol. 19 | // Example: 'HTTP' 20 | Name *string `mandatory:"true" json:"name"` 21 | } 22 | 23 | func (m LoadBalancerProtocol) String() string { 24 | return common.PointerString(m) 25 | } 26 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 fake 18 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/containerengine/key_value.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Container Engine for Kubernetes API 5 | // 6 | // Container Engine for Kubernetes API 7 | // 8 | 9 | package containerengine 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // KeyValue The properties that define a key value pair. 16 | type KeyValue struct { 17 | 18 | // The key of the pair. 19 | Key *string `mandatory:"false" json:"key"` 20 | 21 | // The value of the pair. 22 | Value *string `mandatory:"false" json:"value"` 23 | } 24 | 25 | func (m KeyValue) String() string { 26 | return common.PointerString(m) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/identity/create_api_key_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Identity and Access Management Service API 5 | // 6 | // APIs for managing users, groups, compartments, and policies. 7 | // 8 | 9 | package identity 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // CreateApiKeyDetails The representation of CreateApiKeyDetails 16 | type CreateApiKeyDetails struct { 17 | 18 | // The public key. Must be an RSA key in PEM format. 19 | Key *string `mandatory:"true" json:"key"` 20 | } 21 | 22 | func (m CreateApiKeyDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/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 darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + uitoa(uint(-val)) 12 | } 13 | return uitoa(uint(val)) 14 | } 15 | 16 | func uitoa(val uint) string { 17 | var buf [32]byte // big enough for int64 18 | i := len(buf) - 1 19 | for val >= 10 { 20 | buf[i] = byte(val%10 + '0') 21 | i-- 22 | val /= 10 23 | } 24 | buf[i] = byte(val + '0') 25 | return string(buf[i:]) 26 | } 27 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/race.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 | "runtime" 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = true 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | runtime.RaceAcquire(addr) 18 | } 19 | 20 | func raceReleaseMerge(addr unsafe.Pointer) { 21 | runtime.RaceReleaseMerge(addr) 22 | } 23 | 24 | func raceReadRange(addr unsafe.Pointer, len int) { 25 | runtime.RaceReadRange(addr, len) 26 | } 27 | 28 | func raceWriteRange(addr unsafe.Pointer, len int) { 29 | runtime.RaceWriteRange(addr, len) 30 | } 31 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/apis/core/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - erictune 3 | - lavalamp 4 | - smarterclayton 5 | - thockin 6 | - liggitt 7 | # - bgrant0607 # manual escalations only 8 | reviewers: 9 | - thockin 10 | - lavalamp 11 | - smarterclayton 12 | - wojtek-t 13 | - deads2k 14 | - yujuhong 15 | - brendandburns 16 | - derekwaynecarr 17 | - caesarxuchao 18 | - vishh 19 | - mikedanese 20 | - liggitt 21 | - nikhiljindal 22 | - gmarek 23 | - erictune 24 | - davidopp 25 | - pmorie 26 | - sttts 27 | - dchen1107 28 | - saad-ali 29 | - zmerlynn 30 | - luxas 31 | - janetkuo 32 | - justinsb 33 | - pwittrock 34 | - roberthbailey 35 | - ncdc 36 | - tallclair 37 | - yifan-gu 38 | - eparis 39 | - mwielgus 40 | - soltysh 41 | - piosz 42 | - jsafrane 43 | - jbeda 44 | -------------------------------------------------------------------------------- /charts/ociresources/templates/subnet.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := .Values.compartmentRef -}} 4 | {{- range .Values.subnets }} 5 | --- 6 | apiVersion: ocicore.oracle.com/v1alpha1 7 | kind: Subnet 8 | metadata: 9 | name: {{ .name }} 10 | labels: 11 | chart: {{ $chart }} 12 | release: {{ $release }} 13 | spec: 14 | compartmentRef: {{ default $compartment .compartmentRef }} 15 | vcnRef: {{ .vcnRef }} 16 | dnsLabel: {{ .dnsLabel }} 17 | availabilityDomain: {{ .availabilityDomain }} 18 | cidrBlock: {{ .cidrBlock }} 19 | routetableRef: {{ .routetableRef }} 20 | securityrulesetRefs: 21 | {{- range .securityrulesetRefs }} 22 | - {{ . }} 23 | {{- end }} 24 | {{- end }} 25 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/volume_kms_key.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // VolumeKmsKey Kms key id associated with this volume. 16 | type VolumeKmsKey struct { 17 | 18 | // Kms key id associated with this volume. If volume is not using KMS, then kmsKeyId will be null string. 19 | KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` 20 | } 21 | 22 | func (m VolumeKmsKey) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/listers/batch/v1/expansion_generated.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by lister-gen. DO NOT EDIT. 18 | 19 | package v1 20 | -------------------------------------------------------------------------------- /examples/charts/nginx/templates/securitylist.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: oci.oracle.com/v1 2 | kind: SecurityRuleSet 3 | metadata: 4 | name: {{ .Values.compartment }}.securityruleset.{{ .Chart.Name }} 5 | spec: 6 | displayName: {{ .Chart.Name }} 7 | compartmentRef: {{ .Values.compartment }} 8 | virtualnetworkRef: {{ .Values.compartment }}.virtualnetwork.{{ .Chart.Name }} 9 | egressSecurityRules: 10 | - destination: 0.0.0.0/0 11 | protocol: all 12 | ingressSecurityRules: 13 | - source: 0.0.0.0/0 14 | protocol: '6' 15 | tcpOptions: 16 | destinationPortRange: 17 | min: 22 18 | max: 22 19 | - source: 0.0.0.0/0 20 | protocol: '6' 21 | tcpOptions: 22 | destinationPortRange: 23 | min: 80 24 | max: 80 25 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/node-subnet.yaml: -------------------------------------------------------------------------------- 1 | {{- $root := . -}} 2 | {{ range $i, $e := until (int .Values.availability_domains) }} 3 | {{- $ad := $i | add 1 -}} 4 | apiVersion: ocicore.oracle.com/v1alpha1 5 | kind: Subnet 6 | metadata: 7 | name: {{ $root.Values.cluster_name }}-node-{{ $ad }} 8 | namespace: {{ $root.Values.namespace }} 9 | spec: 10 | compartmentRef: {{ $root.Values.compartment }} 11 | vcnRef: {{ $root.Values.virtual_network }} 12 | availabilityDomain: {{ $root.Values.ad_prefix }}:{{ $root.Values.region | upper }}-AD-{{ $ad }} 13 | cidrBlock: 10.0.1{{ $ad }}.0/24 14 | dnsLabel: {{ $root.Values.cluster_name }}node{{ $ad }} 15 | routetableRef: routetable1 16 | securityrulesetRefs: 17 | - securityruleset1 18 | --- 19 | {{end}} 20 | -------------------------------------------------------------------------------- /examples/charts/oke/templates/servicelb-subnet.yaml: -------------------------------------------------------------------------------- 1 | {{- $root := . -}} 2 | {{ range $i, $e := until (int .Values.availability_domains) }} 3 | {{- $ad := $i | add 1 -}} 4 | apiVersion: ocicore.oracle.com/v1alpha1 5 | kind: Subnet 6 | metadata: 7 | name: {{ $root.Values.cluster_name }}-lb-{{ $ad }} 8 | namespace: {{ $root.Values.namespace }} 9 | spec: 10 | compartmentRef: {{ $root.Values.compartment }} 11 | vcnRef: {{ $root.Values.virtual_network }} 12 | availabilityDomain: {{ $root.Values.ad_prefix }}:{{ $root.Values.region | upper }}-AD-{{ $ad }} 13 | cidrBlock: 10.0.{{ $ad }}.0/24 14 | dnsLabel: {{ $root.Values.cluster_name }}lb{{ $ad }} 15 | routetableRef: routetable1 16 | securityrulesetRefs: 17 | - securityruleset1 18 | --- 19 | {{end}} 20 | -------------------------------------------------------------------------------- /pkg/apis/cloud.k8s.io/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package cloud 17 | 18 | const ( 19 | GroupName = "cloud.k8s.io" 20 | ) 21 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/cpod/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package cpod 17 | 18 | const ( 19 | CloudDomain = "cpod" 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gnostic/OpenAPIv2/README.md: -------------------------------------------------------------------------------- 1 | # OpenAPI v2 Protocol Buffer Models 2 | 3 | This directory contains a Protocol Buffer-language model 4 | and related code for supporting OpenAPI v2. 5 | 6 | Gnostic applications and plugins can use OpenAPIv2.proto 7 | to generate Protocol Buffer support code for their preferred languages. 8 | 9 | OpenAPIv2.go is used by Gnostic to read JSON and YAML OpenAPI 10 | descriptions into the Protocol Buffer-based datastructures 11 | generated from OpenAPIv2.proto. 12 | 13 | OpenAPIv2.proto and OpenAPIv2.go are generated by the Gnostic 14 | compiler generator, and OpenAPIv2.pb.go is generated by 15 | protoc, the Protocol Buffer compiler, and protoc-gen-go, the 16 | Protocol Buffer Go code generation plugin. 17 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/restore_autonomous_database_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // RestoreAutonomousDatabaseDetails Details to restore an Oracle Autonomous Database. 16 | type RestoreAutonomousDatabaseDetails struct { 17 | 18 | // The time to restore the database to. 19 | Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` 20 | } 21 | 22 | func (m RestoreAutonomousDatabaseDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/file_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 | package unix 6 | 7 | import ( 8 | "os" 9 | "syscall" 10 | ) 11 | 12 | // FIXME: unexported function from os 13 | // syscallMode returns the syscall-specific mode bits from Go's portable mode bits. 14 | func syscallMode(i os.FileMode) (o uint32) { 15 | o |= uint32(i.Perm()) 16 | if i&os.ModeSetuid != 0 { 17 | o |= syscall.S_ISUID 18 | } 19 | if i&os.ModeSetgid != 0 { 20 | o |= syscall.S_ISGID 21 | } 22 | if i&os.ModeSticky != 0 { 23 | o |= syscall.S_ISVTX 24 | } 25 | // No mapping for Go's ModeTemporary (plan9 only). 26 | return 27 | } 28 | -------------------------------------------------------------------------------- /examples/resources/v1alpha1/vcn.yaml: -------------------------------------------------------------------------------- 1 | # // Vcn A Virtual Cloud Network (VCN). For more information, see 2 | # // Overview of the Networking Service (https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm). 3 | # // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, 4 | # // talk to an administrator. If you're an administrator who needs to write policies to give users access, see 5 | # // Getting Started with Policies (https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm). 6 | 7 | apiVersion: ocicore.oracle.com/v1alpha1 8 | kind: Vcn 9 | metadata: 10 | name: example 11 | spec: 12 | compartmentRef: default 13 | cidrBlock: 10.0.0.0/16 14 | dnsLabel: example 15 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated clientset. 17 | package versioned 18 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/cluster/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package cluster 17 | 18 | const ( 19 | CloudDomain = "cluster" 20 | ) 21 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/compute/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package compute 17 | 18 | const ( 19 | CloudDomain = "compute" 20 | ) 21 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/network/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package network 17 | 18 | const ( 19 | CloudDomain = "network" 20 | ) 21 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/security/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package security 17 | 18 | const ( 19 | CloudDomain = "security" 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/google/gofuzz/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Google Inc. All rights reserved. 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 fuzz is a library for populating go objects with random values. 18 | package fuzz 19 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_ip_address_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // GetPublicIpByIpAddressDetails IP address of the public IP. 16 | type GetPublicIpByIpAddressDetails struct { 17 | 18 | // The public IP address. 19 | // Example: 129.146.2.1 20 | IpAddress *string `mandatory:"true" json:"ipAddress"` 21 | } 22 | 23 | func (m GetPublicIpByIpAddressDetails) String() string { 24 | return common.PointerString(m) 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/loadbalancer/update_path_route_set_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Load Balancing Service API 5 | // 6 | // API for the Load Balancing Service 7 | // 8 | 9 | package loadbalancer 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // UpdatePathRouteSetDetails An updated set of path route rules that overwrites the existing set of rules. 16 | type UpdatePathRouteSetDetails struct { 17 | 18 | // The set of path route rules. 19 | PathRoutes []PathRoute `mandatory:"true" json:"pathRoutes"` 20 | } 21 | 22 | func (m UpdatePathRouteSetDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/race.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 darwin,race linux,race freebsd,race 6 | 7 | package unix 8 | 9 | import ( 10 | "runtime" 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = true 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | runtime.RaceAcquire(addr) 18 | } 19 | 20 | func raceReleaseMerge(addr unsafe.Pointer) { 21 | runtime.RaceReleaseMerge(addr) 22 | } 23 | 24 | func raceReadRange(addr unsafe.Pointer, len int) { 25 | runtime.RaceReadRange(addr, len) 26 | } 27 | 28 | func raceWriteRange(addr unsafe.Pointer, len int) { 29 | runtime.RaceWriteRange(addr, len) 30 | } 31 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated fake clientset. 17 | package fake 18 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Anton Povarov 2 | Clayton Coleman 3 | Denis Smirnov 4 | DongYun Kang 5 | Dwayne Schultz 6 | Georg Apitz 7 | Gustav Paul 8 | Johan Brandhorst 9 | John Shahid 10 | John Tuley 11 | Laurent 12 | Patrick Lee 13 | Sergio Arbeo 14 | Stephen J Day 15 | Tamir Duberstein 16 | Todd Eisenberger 17 | Tormod Erevik Lea 18 | Walter Schulze 19 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/boot_volume_kms_key.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // BootVolumeKmsKey Kms key id associated with this volume. 16 | type BootVolumeKmsKey struct { 17 | 18 | // Kms key id associated with this volume. If volume is not using KMS, then kmsKeyId will be null string. 19 | KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` 20 | } 21 | 22 | func (m BootVolumeKmsKey) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/apps/v1/doc.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 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/apps/v1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/batch/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/batch/v1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/storage/v1/doc.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 | // +k8s:deepcopy-gen=package 18 | // +groupName=storage.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | -------------------------------------------------------------------------------- /examples/charts/cassandra/templates/subnet.yaml: -------------------------------------------------------------------------------- 1 | {{- $root := . -}} 2 | {{ range $i, $e := until (int .Values.availability_domains) }} 3 | {{- $ad := $i | add 1 -}} 4 | apiVersion: ocicore.oracle.com/v1alpha1 5 | kind: Subnet 6 | metadata: 7 | name: subnet-{{ $root.Values.region | lower }}-{{ $ad }} 8 | namespace: {{ $root.Values.namespace }} 9 | spec: 10 | compartmentRef: {{ $root.Values.compartment }} 11 | vcnRef: {{ $root.Values.virtual_network }} 12 | availabilityDomain: {{ $root.Values.ad_prefix }}:{{ $root.Values.region | upper }}-AD-{{ $ad }} 13 | cidrBlock: 10.0.{{ $ad }}.0/24 14 | dnsLabel: {{ $root.Values.region | lower | replace "-" "" }}{{ $ad }} 15 | routetableRef: routetable1 16 | securityrulesetRefs: 17 | - securityruleset1 18 | --- 19 | {{end}} 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/kubelet/types/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 | // Common types in the Kubelet. 18 | package types // import "k8s.io/kubernetes/pkg/kubelet/types" 19 | -------------------------------------------------------------------------------- /examples/charts/generic-ssl-lb/templates/subnet.yaml: -------------------------------------------------------------------------------- 1 | {{- $root := . -}} 2 | {{ range $i, $e := until (int .Values.availability_domains) }} 3 | {{- $ad := $i | add 1 -}} 4 | apiVersion: ocicore.oracle.com/v1alpha1 5 | kind: Subnet 6 | metadata: 7 | name: subnet-{{ $root.Values.region | lower }}-{{ $ad }} 8 | namespace: {{ $root.Values.namespace }} 9 | spec: 10 | compartmentRef: {{ $root.Values.compartment }} 11 | vcnRef: {{ $root.Values.virtual_network }} 12 | availabilityDomain: {{ $root.Values.ad_prefix }}:{{ $root.Values.region | upper }}-AD-{{ $ad }} 13 | cidrBlock: 10.0.{{ $ad }}.0/24 14 | dnsLabel: {{ $root.Values.region | lower | replace "-" "" }}{{ $ad }} 15 | routetableRef: routetable1 16 | securityrulesetRefs: 17 | - securityruleset1 18 | --- 19 | {{end}} 20 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/get_public_ip_by_private_ip_id_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // GetPublicIpByPrivateIpIdDetails Details of the private IP that the public IP is assigned to. 16 | type GetPublicIpByPrivateIpIdDetails struct { 17 | 18 | // OCID of the private IP. 19 | PrivateIpId *string `mandatory:"true" json:"privateIpId"` 20 | } 21 | 22 | func (m GetPublicIpByPrivateIpIdDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /pkg/controller/oci/cloud/loadbalancer/register.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package loadbalancer 17 | 18 | const ( 19 | CloudDomain = "cloudloadbalancer" 20 | ) 21 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/failover_data_guard_association_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // FailoverDataGuardAssociationDetails The Data Guard association failover parameters. 16 | type FailoverDataGuardAssociationDetails struct { 17 | 18 | // The DB system administrator password. 19 | DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"` 20 | } 21 | 22 | func (m FailoverDataGuardAssociationDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/restore_autonomous_data_warehouse_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // RestoreAutonomousDataWarehouseDetails Details to restore an Oracle Autonomous Data Warehouse. 16 | type RestoreAutonomousDataWarehouseDetails struct { 17 | 18 | // The time to restore the database to. 19 | Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` 20 | } 21 | 22 | func (m RestoreAutonomousDataWarehouseDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_s390x.s: -------------------------------------------------------------------------------- 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 s390x 6 | // +build linux 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for s390x, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | BR syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | BR syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | BR syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | BR syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/apps/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/apps/v1beta1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/apps/v1beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v1beta2 // import "k8s.io/api/apps/v1beta2" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/autoscaling/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/autoscaling/v1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/batch/v1beta1/doc.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 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/batch/v1beta1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/util/sets/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by set-gen. DO NOT EDIT. 18 | 19 | // Package sets has auto-generated set types. 20 | package sets 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/kubernetes/pkg/util/pointer/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) 2 | 3 | load( 4 | "@io_bazel_rules_go//go:def.bzl", 5 | "go_library", 6 | "go_test", 7 | ) 8 | 9 | go_test( 10 | name = "go_default_test", 11 | srcs = ["pointer_test.go"], 12 | embed = [":go_default_library"], 13 | ) 14 | 15 | go_library( 16 | name = "go_default_library", 17 | srcs = ["pointer.go"], 18 | importpath = "k8s.io/kubernetes/pkg/util/pointer", 19 | ) 20 | 21 | filegroup( 22 | name = "package-srcs", 23 | srcs = glob(["**"]), 24 | tags = ["automanaged"], 25 | visibility = ["//visibility:private"], 26 | ) 27 | 28 | filegroup( 29 | name = "all-srcs", 30 | srcs = [":package-srcs"], 31 | tags = ["automanaged"], 32 | ) 33 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to the OCI Cloud Workload Manager 2 | 3 | *Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.* 4 | 5 | Pull requests can be made under 6 | [The Oracle Contributor Agreement](https://www.oracle.com/technetwork/community/oca-486395.html) 7 | (OCA). 8 | 9 | For pull requests to be accepted, the bottom of 10 | your commit message must have the following line using your name and 11 | e-mail address as it appears in the OCA Signatories list. 12 | 13 | ``` 14 | Signed-off-by: Your Name 15 | ``` 16 | 17 | This can be automatically added to pull requests by committing with: 18 | 19 | ``` 20 | git commit --signoff 21 | ``` 22 | 23 | Only pull requests from committers that can be verified as having 24 | signed the OCA can be accepted. 25 | -------------------------------------------------------------------------------- /charts/oci/charts/ce/templates/cluster.yaml: -------------------------------------------------------------------------------- 1 | {{- $chart := .Chart.Name -}} 2 | {{- $release := .Release.Name -}} 3 | {{- $compartment := default .Release.Namespace .Values.compartment -}} 4 | {{- $network := default .Release.Name .Values.network -}} 5 | {{- if .Values.version }} 6 | apiVersion: ocice.oracle.com/v1alpha1 7 | kind: Cluster 8 | metadata: 9 | name: {{ $release }} 10 | spec: 11 | compartmentRef: {{ $compartment }} 12 | vcnRef: {{ $network }} 13 | serviceLbSubnetRefs: 14 | - {{ $network }}-{{ .Values.subnet }}-1 15 | - {{ $network }}-{{ .Values.subnet }}-2 16 | kubernetesVersion: {{ default "v1.11.1" .Values.version }} 17 | options: 18 | kubernetesNetworkConfig: 19 | podsCidr: {{ .Values.pods }} 20 | servicesCidr: {{ .Values.services }} 21 | {{- end }} 22 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package contains the scheme of the automatically generated clientset. 17 | package scheme 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/cloud.k8s.io/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/reinstate_data_guard_association_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ReinstateDataGuardAssociationDetails The Data Guard association reinstate parameters. 16 | type ReinstateDataGuardAssociationDetails struct { 17 | 18 | // The DB system administrator password. 19 | DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"` 20 | } 21 | 22 | func (m ReinstateDataGuardAssociationDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go18.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.8 6 | 7 | package http2 8 | 9 | import ( 10 | "io" 11 | "net/http" 12 | ) 13 | 14 | func configureServer18(h1 *http.Server, h2 *Server) error { 15 | // No IdleTimeout to sync prior to Go 1.8. 16 | return nil 17 | } 18 | 19 | func shouldLogPanic(panicValue interface{}) bool { 20 | return panicValue != nil 21 | } 22 | 23 | func reqGetBody(req *http.Request) func() (io.ReadCloser, error) { 24 | return nil 25 | } 26 | 27 | func reqBodyIsNoBody(io.ReadCloser) bool { return false } 28 | 29 | func go18httpNoBody() io.ReadCloser { return nil } // for tests only 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_ppc64x.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 linux 6 | // +build ppc64 ppc64le 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for ppc64, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | BR syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | BR syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | BR syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | BR syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/batch/v2alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v2alpha1 // import "k8s.io/api/batch/v2alpha1" 21 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/cloud.k8s.io/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocice.oracle.com/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocidb.oracle.com/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocilb.oracle.com/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/connect_local_peering_gateways_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG). 16 | type ConnectLocalPeeringGatewaysDetails struct { 17 | 18 | // The OCID of the LPG you want to peer with. 19 | PeerId *string `mandatory:"true" json:"peerId"` 20 | } 21 | 22 | func (m ConnectLocalPeeringGatewaysDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/instance_credentials.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // InstanceCredentials The credentials for a particular instance. 16 | type InstanceCredentials struct { 17 | 18 | // The password for the username. 19 | Password *string `mandatory:"true" json:"password"` 20 | 21 | // The username. 22 | Username *string `mandatory:"true" json:"username"` 23 | } 24 | 25 | func (m InstanceCredentials) String() string { 26 | return common.PointerString(m) 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/database/switchover_data_guard_association_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Database Service API 5 | // 6 | // The API for the Database Service. 7 | // 8 | 9 | package database 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // SwitchoverDataGuardAssociationDetails The Data Guard association switchover parameters. 16 | type SwitchoverDataGuardAssociationDetails struct { 17 | 18 | // The DB system administrator password. 19 | DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"` 20 | } 21 | 22 | func (m SwitchoverDataGuardAssociationDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/identity/update_state_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Identity and Access Management Service API 5 | // 6 | // APIs for managing users, groups, compartments, and policies. 7 | // 8 | 9 | package identity 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // UpdateStateDetails The representation of UpdateStateDetails 16 | type UpdateStateDetails struct { 17 | 18 | // Update state to blocked or unblocked. Only "false" is supported (for changing the state to unblocked). 19 | Blocked *bool `mandatory:"false" json:"blocked"` 20 | } 21 | 22 | func (m UpdateStateDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/ugorji/go/codec/helper_not_unsafe.go: -------------------------------------------------------------------------------- 1 | // +build !unsafe 2 | 3 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved. 4 | // Use of this source code is governed by a MIT license found in the LICENSE file. 5 | 6 | package codec 7 | 8 | // stringView returns a view of the []byte as a string. 9 | // In unsafe mode, it doesn't incur allocation and copying caused by conversion. 10 | // In regular safe mode, it is an allocation and copy. 11 | func stringView(v []byte) string { 12 | return string(v) 13 | } 14 | 15 | // bytesView returns a view of the string as a []byte. 16 | // In unsafe mode, it doesn't incur allocation and copying caused by conversion. 17 | // In regular safe mode, it is an allocation and copy. 18 | func bytesView(v string) []byte { 19 | return []byte(v) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/extensions/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/extensions/v1beta1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/utils/exec/doc.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 exec provides an injectable interface and implementations for running commands. 18 | package exec // import "k8s.io/utils/exec" 19 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocice.oracle.com/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocicore.oracle.com/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocidb.oracle.com/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ociidentity.oracle.com/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // Package fake has the automatically generated clients. 17 | package fake 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocilb.oracle.com/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_arm.s: -------------------------------------------------------------------------------- 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 !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for arm, Linux 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 23 | B syscall·RawSyscall(SB) 24 | 25 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 26 | B syscall·RawSyscall6(SB) 27 | 28 | TEXT ·seek(SB),NOSPLIT,$0-32 29 | B syscall·seek(SB) 30 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_linux_mips64x.s: -------------------------------------------------------------------------------- 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 linux 6 | // +build mips64 mips64le 7 | // +build !gccgo 8 | 9 | #include "textflag.h" 10 | 11 | // 12 | // System calls for mips64, Linux 13 | // 14 | 15 | // Just jump to package syscall's implementation for all these functions. 16 | // The runtime may know about them. 17 | 18 | TEXT ·Syscall(SB),NOSPLIT,$0-56 19 | JMP syscall·Syscall(SB) 20 | 21 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 22 | JMP syscall·Syscall6(SB) 23 | 24 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 25 | JMP syscall·RawSyscall(SB) 26 | 27 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 28 | JMP syscall·RawSyscall6(SB) 29 | -------------------------------------------------------------------------------- /vendor/k8s.io/api/autoscaling/v2beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 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 | // +k8s:openapi-gen=true 19 | 20 | package v2beta1 // import "k8s.io/api/autoscaling/v2beta1" 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated clientset. 20 | package kubernetes 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/batch/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type JobExpansion interface{} 22 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocicore.oracle.com/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ocidb.oracle.com/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | package v1alpha1 17 | 18 | type AutonomousDatabaseExpansion interface{} 19 | -------------------------------------------------------------------------------- /pkg/client/clientset/versioned/typed/ociidentity.oracle.com/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 Oracle and/or its affiliates. All rights reserved. 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 | // This package has the automatically generated typed clients. 17 | package v1alpha1 18 | -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gnostic/compiler/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All Rights Reserved. 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 | 15 | // Package compiler provides support functions to generated compiler code. 16 | package compiler 17 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/fake/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated fake clientset. 20 | package fake 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/tools/record/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 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 record has all client logic for recording and reporting events. 18 | package record // import "k8s.io/client-go/tools/record" 19 | -------------------------------------------------------------------------------- /vendor/k8s.io/gengo/parser/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 | // Package parser provides code to parse go files, type-check them, extract the 18 | // types. 19 | package parser // import "k8s.io/gengo/parser" 20 | -------------------------------------------------------------------------------- /vendor/github.com/oracle/oci-go-sdk/core/service_id_request_details.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. 2 | // Code generated. DO NOT EDIT. 3 | 4 | // Core Services API 5 | // 6 | // APIs for Networking Service, Compute Service, and Block Volume Service. 7 | // 8 | 9 | package core 10 | 11 | import ( 12 | "github.com/oracle/oci-go-sdk/common" 13 | ) 14 | 15 | // ServiceIdRequestDetails The representation of ServiceIdRequestDetails 16 | type ServiceIdRequestDetails struct { 17 | 18 | // The OCID (https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the service. 19 | ServiceId *string `mandatory:"true" json:"serviceId"` 20 | } 21 | 22 | func (m ServiceIdRequestDetails) String() string { 23 | return common.PointerString(m) 24 | } 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/flock.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd 6 | 7 | package unix 8 | 9 | import "unsafe" 10 | 11 | // fcntl64Syscall is usually SYS_FCNTL, but is overridden on 32-bit Linux 12 | // systems by flock_linux_32bit.go to be SYS_FCNTL64. 13 | var fcntl64Syscall uintptr = SYS_FCNTL 14 | 15 | // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command. 16 | func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { 17 | _, _, errno := Syscall(fcntl64Syscall, fd, uintptr(cmd), uintptr(unsafe.Pointer(lk))) 18 | if errno == 0 { 19 | return nil 20 | } 21 | return errno 22 | } 23 | -------------------------------------------------------------------------------- /vendor/k8s.io/apimachinery/pkg/types/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 | // Package types implements various generic types used throughout kubernetes. 18 | package types // import "k8s.io/apimachinery/pkg/types" 19 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/import.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 | // This file exists to enforce this clientset's vanity import path. 18 | 19 | package kubernetes // import "k8s.io/client-go/kubernetes" 20 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/apps/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/core/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 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 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | --------------------------------------------------------------------------------