├── netpol ├── nwpolicy.yaml ├── .gitignore ├── vendor │ ├── github.com │ │ ├── modern-go │ │ │ ├── reflect2 │ │ │ │ ├── relfect2_386.s │ │ │ │ ├── relfect2_arm.s │ │ │ │ ├── reflect2_amd64.s │ │ │ │ ├── relfect2_amd64p32.s │ │ │ │ ├── relfect2_arm64.s │ │ │ │ ├── relfect2_mips64x.s │ │ │ │ ├── relfect2_mipsx.s │ │ │ │ ├── relfect2_ppc64x.s │ │ │ │ ├── relfect2_s390x.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 │ │ │ │ └── go_below_19.go │ │ ├── spf13 │ │ │ └── pflag │ │ │ │ ├── .gitignore │ │ │ │ └── .travis.yml │ │ ├── sirupsen │ │ │ └── logrus │ │ │ │ ├── .gitignore │ │ │ │ ├── terminal_check_appengine.go │ │ │ │ ├── terminal_check_no_terminal.go │ │ │ │ ├── terminal_check_unix.go │ │ │ │ ├── terminal_check_solaris.go │ │ │ │ ├── terminal_check_bsd.go │ │ │ │ ├── terminal_check_notappengine.go │ │ │ │ ├── appveyor.yml │ │ │ │ ├── doc.go │ │ │ │ └── terminal_check_windows.go │ │ ├── json-iterator │ │ │ └── go │ │ │ │ ├── .codecov.yml │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── test.sh │ │ │ │ ├── build.sh │ │ │ │ └── Gopkg.lock │ │ ├── googleapis │ │ │ └── gnostic │ │ │ │ ├── compiler │ │ │ │ ├── README.md │ │ │ │ └── main.go │ │ │ │ ├── extensions │ │ │ │ ├── COMPILE-EXTENSION.sh │ │ │ │ └── README.md │ │ │ │ └── OpenAPIv2 │ │ │ │ └── README.md │ │ ├── pkg │ │ │ └── errors │ │ │ │ ├── .travis.yml │ │ │ │ ├── .gitignore │ │ │ │ └── appveyor.yml │ │ ├── golang │ │ │ └── protobuf │ │ │ │ ├── AUTHORS │ │ │ │ └── CONTRIBUTORS │ │ ├── google │ │ │ └── gofuzz │ │ │ │ ├── .travis.yml │ │ │ │ └── doc.go │ │ ├── docker │ │ │ └── spdystream │ │ │ │ ├── utils.go │ │ │ │ └── CONTRIBUTING.md │ │ ├── imdario │ │ │ └── mergo │ │ │ │ ├── .travis.yml │ │ │ │ └── .gitignore │ │ ├── gogo │ │ │ └── protobuf │ │ │ │ └── AUTHORS │ │ └── davecgh │ │ │ └── go-spew │ │ │ └── LICENSE │ ├── golang.org │ │ └── x │ │ │ ├── net │ │ │ ├── http2 │ │ │ │ ├── .gitignore │ │ │ │ ├── config_go125.go │ │ │ │ └── config_go126.go │ │ │ └── idna │ │ │ │ ├── pre_go118.go │ │ │ │ └── go118.go │ │ │ ├── sys │ │ │ ├── unix │ │ │ │ ├── .gitignore │ │ │ │ ├── ptrace_ios.go │ │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ │ ├── vgetrandom_unsupported.go │ │ │ │ ├── ptrace_darwin.go │ │ │ │ ├── endian_big.go │ │ │ │ ├── constants.go │ │ │ │ ├── endian_little.go │ │ │ │ ├── mmap_nomremap.go │ │ │ │ ├── vgetrandom_linux.go │ │ │ │ ├── auxv_unsupported.go │ │ │ │ ├── aliases.go │ │ │ │ ├── readdirent_getdents.go │ │ │ │ ├── pagesize_unix.go │ │ │ │ ├── sysvshm_unix_other.go │ │ │ │ ├── syscall_linux_gc_arm.go │ │ │ │ ├── asm_aix_ppc64.s │ │ │ │ ├── fcntl_linux_32bit.go │ │ │ │ ├── asm_solaris_amd64.s │ │ │ │ ├── syscall_linux_alarm.go │ │ │ │ ├── gccgo_linux_amd64.go │ │ │ │ ├── syscall_linux_gc.go │ │ │ │ ├── syscall_hurd_386.go │ │ │ │ ├── sysvshm_linux.go │ │ │ │ ├── sockcmsg_dragonfly.go │ │ │ │ ├── race0.go │ │ │ │ ├── syscall_linux_gc_386.go │ │ │ │ ├── syscall_linux_gccgo_arm.go │ │ │ │ ├── syscall_unix_gc.go │ │ │ │ ├── syscall_solaris_amd64.go │ │ │ │ ├── race.go │ │ │ │ ├── env_unix.go │ │ │ │ ├── syscall_hurd.go │ │ │ │ ├── asm_bsd_arm.s │ │ │ │ ├── readdirent_getdirentries.go │ │ │ │ ├── zptrace_linux_arm64.go │ │ │ │ ├── asm_bsd_386.s │ │ │ │ ├── asm_openbsd_mips64.s │ │ │ │ ├── asm_bsd_arm64.s │ │ │ │ └── asm_bsd_riscv64.s │ │ │ ├── plan9 │ │ │ │ ├── asm.s │ │ │ │ ├── pwd_plan9.go │ │ │ │ ├── race0.go │ │ │ │ ├── mksysnum_plan9.sh │ │ │ │ ├── str.go │ │ │ │ ├── env_plan9.go │ │ │ │ ├── race.go │ │ │ │ ├── asm_plan9_arm.s │ │ │ │ └── asm_plan9_386.s │ │ │ └── windows │ │ │ │ ├── aliases.go │ │ │ │ ├── mksyscall.go │ │ │ │ ├── race0.go │ │ │ │ ├── str.go │ │ │ │ └── race.go │ │ │ ├── term │ │ │ ├── codereview.cfg │ │ │ ├── term_unix_other.go │ │ │ ├── term_unix_bsd.go │ │ │ └── README.md │ │ │ ├── time │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ │ │ ├── oauth2 │ │ │ ├── internal │ │ │ │ └── doc.go │ │ │ └── .travis.yml │ │ │ └── text │ │ │ └── secure │ │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ ├── k8s.io │ │ ├── client-go │ │ │ ├── pkg │ │ │ │ ├── version │ │ │ │ │ └── .gitattributes │ │ │ │ └── apis │ │ │ │ │ └── clientauthentication │ │ │ │ │ └── OWNERS │ │ │ ├── tools │ │ │ │ ├── metrics │ │ │ │ │ └── OWNERS │ │ │ │ ├── auth │ │ │ │ │ └── OWNERS │ │ │ │ └── clientcmd │ │ │ │ │ └── api │ │ │ │ │ ├── doc.go │ │ │ │ │ └── v1 │ │ │ │ │ └── doc.go │ │ │ ├── util │ │ │ │ ├── keyutil │ │ │ │ │ └── OWNERS │ │ │ │ └── cert │ │ │ │ │ └── OWNERS │ │ │ ├── transport │ │ │ │ └── OWNERS │ │ │ ├── rest │ │ │ │ └── OWNERS │ │ │ ├── kubernetes │ │ │ │ ├── typed │ │ │ │ │ ├── authentication │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── authorization │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── events │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── certificates │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── batch │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v2alpha1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── apps │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta2 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── coordination │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── core │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── rbac │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── storage │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ ├── autoscaling │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ ├── v2beta1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── v2beta2 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ ├── networking │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── node │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ ├── scheduling │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ ├── policy │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── settings │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── admissionregistration │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── discovery │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ ├── extensions │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── auditregistration │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── flowcontrol │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ └── doc.go │ │ │ │ ├── doc.go │ │ │ │ ├── import.go │ │ │ │ └── scheme │ │ │ │ │ └── doc.go │ │ │ └── discovery │ │ │ │ └── doc.go │ │ ├── klog │ │ │ ├── code-of-conduct.md │ │ │ ├── OWNERS │ │ │ ├── .travis.yml │ │ │ ├── RELEASE.md │ │ │ └── SECURITY_CONTACTS │ │ ├── apimachinery │ │ │ └── pkg │ │ │ │ ├── api │ │ │ │ ├── resource │ │ │ │ │ └── OWNERS │ │ │ │ ├── meta │ │ │ │ │ ├── OWNERS │ │ │ │ │ └── doc.go │ │ │ │ └── errors │ │ │ │ │ ├── OWNERS │ │ │ │ │ └── doc.go │ │ │ │ ├── apis │ │ │ │ └── meta │ │ │ │ │ └── v1 │ │ │ │ │ └── OWNERS │ │ │ │ ├── util │ │ │ │ ├── sets │ │ │ │ │ └── doc.go │ │ │ │ └── errors │ │ │ │ │ └── doc.go │ │ │ │ ├── types │ │ │ │ └── doc.go │ │ │ │ ├── fields │ │ │ │ └── doc.go │ │ │ │ ├── labels │ │ │ │ └── doc.go │ │ │ │ └── runtime │ │ │ │ └── serializer │ │ │ │ └── protobuf │ │ │ │ └── doc.go │ │ └── api │ │ │ ├── apps │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ ├── v1beta1 │ │ │ │ └── doc.go │ │ │ └── v1beta2 │ │ │ │ └── doc.go │ │ │ ├── batch │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ ├── v1beta1 │ │ │ │ └── doc.go │ │ │ └── v2alpha1 │ │ │ │ └── doc.go │ │ │ ├── autoscaling │ │ │ ├── v1 │ │ │ │ └── doc.go │ │ │ ├── v2beta1 │ │ │ │ └── doc.go │ │ │ └── v2beta2 │ │ │ │ └── doc.go │ │ │ ├── extensions │ │ │ └── v1beta1 │ │ │ │ └── doc.go │ │ │ ├── storage │ │ │ └── v1 │ │ │ │ └── doc.go │ │ │ ├── networking │ │ │ └── v1 │ │ │ │ └── doc.go │ │ │ └── rbac │ │ │ └── v1 │ │ │ └── doc.go │ ├── sigs.k8s.io │ │ └── yaml │ │ │ ├── code-of-conduct.md │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── OWNERS │ │ │ ├── yaml_go110.go │ │ │ ├── RELEASE.md │ │ │ └── SECURITY_CONTACTS │ └── gopkg.in │ │ └── yaml.v2 │ │ ├── .travis.yml │ │ ├── NOTICE │ │ └── writerc.go ├── results.txt └── install.yml ├── .gitignore ├── kind ├── .gitignore ├── kind-conf-ipv6.yaml ├── kind-calico-conf.yaml ├── kind-conf.yaml ├── metallb-antrea │ ├── lb.yaml │ ├── install.sh │ └── test.yaml ├── recipes │ └── ip-pool.yaml └── README.md ├── index.html ├── .idea └── .gitignore ├── antrea-LIVE ├── 1-19-2022 │ └── README.md ├── 1-26-2022 │ └── README.md ├── 2-23-2022 │ └── README.md ├── 3-23-2022 │ └── README.md ├── 3-9-2022 │ └── README.md ├── antrea-live-logo.png ├── 1-12-2021 │ └── README.md ├── 2-2-2022 │ └── README.md ├── 2-9-2022 │ └── README.md ├── 4-13-2022 │ └── README.md ├── 12-08-2021 │ └── README.md ├── 6-29-2022 │ └── README.md ├── 10-27-2022 │ └── fqdnpolicy.yaml ├── 11-04-2022 │ └── README.md ├── 11-27-2021 │ └── README.md ├── 12-15-2021 │ └── README.md ├── 11-14-2022 │ └── README.md └── 5-11-2022 │ └── README.md ├── tkgprotoform ├── pkg │ ├── tkgprotoform │ │ ├── files │ │ │ ├── .tests │ │ │ │ ├── image_builder.sh │ │ │ │ └── 2_management_cluster.sh │ │ │ ├── image_builder.sh │ │ │ └── tkg_1_6 │ │ │ │ ├── image-builder-customizations.json │ │ │ │ ├── 2_management_cluster.sh │ │ │ │ ├── image-builder-credentials.json │ │ │ │ ├── 0_install_payload.sh │ │ │ │ ├── 3_workload_cluster.sh │ │ │ │ ├── 1_upload_ova.sh │ │ │ │ └── 2_swap_tkr.sh │ │ └── script.go │ ├── config │ │ ├── config.yaml │ │ └── config_test.go │ ├── testable.go │ └── tf │ │ └── README.md └── cmd │ └── main │ └── main.go ├── netpol.png ├── audit2rbac └── AUDIT.yaml ├── antrea_metrics └── flowtables.png ├── prometheus-quickly ├── graph.png ├── prometheus.png ├── slowdegrade.png ├── slowdegrade2.png └── frequent_leader_election.png ├── 2020kubecon ├── README.md ├── kubecon_slides.pptx ├── nginx-pol.yaml ├── nginx-ds.yaml └── setup │ └── README.md ├── windows ├── Vagrantfile ├── Vagrantfile_no_ssh_broke ├── op-readiness │ ├── output.json │ ├── spec.json │ └── README.md ├── wanzu │ └── infrastructure-windows-vsphere │ │ ├── ytt │ │ └── vsphere-overlay.yaml │ │ └── v0.7.6 │ │ ├── cluster-template-definition-dev.yaml │ │ └── cluster-template-definition-prod.yaml ├── perf_scale │ ├── run_service.sh │ ├── test-pod1.yaml │ ├── test-pod2.yaml │ ├── README.md │ ├── service_clusterip.yaml │ ├── deployment.yaml │ └── service_nodeport.yaml ├── experimental-windows-doc-gen │ ├── defaults.yaml │ └── instructions.yaml ├── runtimeclass.yaml └── .vagrant │ └── rgloader │ └── loader.rb ├── capv_recovery ├── fully_recovered_etcd.png ├── etcd_starvation_after_killing_node.png └── etcd_backonline_after_powering_1_node.png ├── netpol++ └── netpolicies2020_requested.png ├── windows-development └── README.md ├── Dockerfile ├── NetpolController └── Kubernetes: An Illustrated API.png ├── sonoeasy └── build.sh ├── nft └── Vagrantfile ├── carvel-guestbook ├── v1 │ ├── redis-slave-svc.yaml │ ├── redis-master-svc.yaml │ ├── fe-svc.yaml │ └── redis-master-dep.yaml ├── v2 │ ├── ytt-cpu-overlay.yml │ └── ytt-cpu-overlay-db.yml ├── v3 │ └── kapp-def.yaml └── README.md ├── smoke-tests ├── check-node-reboots.sh └── host.yaml ├── gomod-hacking └── README.md ├── k8s-ecosystem-perms └── README.md └── kubectl-addons-linux.sh /netpol/nwpolicy.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | netpol/out 2 | -------------------------------------------------------------------------------- /kind/.gitignore: -------------------------------------------------------------------------------- 1 | antrea 2 | -------------------------------------------------------------------------------- /netpol/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | asdf 2 | asd 3 | fas 4 | dfa 5 | sdf 6 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | -------------------------------------------------------------------------------- /antrea-LIVE/1-19-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 12 2 | 3 | ... 4 | -------------------------------------------------------------------------------- /netpol/results.txt: -------------------------------------------------------------------------------- 1 | x 2 | x 3 | x 4 | y 5 | y 6 | y 7 | z 8 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/.tests/image_builder.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/image_builder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -------------------------------------------------------------------------------- /netpol/vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/term/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /netpol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/netpol.png -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/pkg/version/.gitattributes: -------------------------------------------------------------------------------- 1 | base.go export-subst 2 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /audit2rbac/AUDIT.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: audit.k8s.io/v1 2 | kind: Policy 3 | rules: 4 | - level: Metadata 5 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /antrea-LIVE/1-26-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 13 2 | 3 | live notes: https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg -------------------------------------------------------------------------------- /antrea-LIVE/2-23-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 17 2 | 3 | live notes: https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg -------------------------------------------------------------------------------- /antrea-LIVE/3-23-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 21 2 | 3 | live notes: https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg -------------------------------------------------------------------------------- /antrea-LIVE/3-9-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 19 2 | 3 | live notes: https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg -------------------------------------------------------------------------------- /netpol/vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /antrea_metrics/flowtables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/antrea_metrics/flowtables.png -------------------------------------------------------------------------------- /prometheus-quickly/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/prometheus-quickly/graph.png -------------------------------------------------------------------------------- /tkgprotoform/pkg/config/config.yaml: -------------------------------------------------------------------------------- 1 | Debug: true 2 | VSPHERE_CONTROL_PLANE_ENDPOINT: "1.2.3.4" 3 | SKIPPED: "abc" 4 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/.tests/2_management_cluster.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | tanzu mc create -f cluster.yaml -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/image-builder-customizations.json: -------------------------------------------------------------------------------- 1 | { 2 | "vmx_version": "17" 3 | } 4 | -------------------------------------------------------------------------------- /2020kubecon/README.md: -------------------------------------------------------------------------------- 1 | Link to the talk: https://drive.google.com/file/d/1CcgDzyy7eZNrMvxH0Mss4i0e9yyITjVd/view?usp=sharing -------------------------------------------------------------------------------- /2020kubecon/kubecon_slides.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/2020kubecon/kubecon_slides.pptx -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/2_management_cluster.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | tanzu mc create -f cluster.yaml -------------------------------------------------------------------------------- /antrea-LIVE/antrea-live-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/antrea-LIVE/antrea-live-logo.png -------------------------------------------------------------------------------- /prometheus-quickly/prometheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/prometheus-quickly/prometheus.png -------------------------------------------------------------------------------- /prometheus-quickly/slowdegrade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/prometheus-quickly/slowdegrade.png -------------------------------------------------------------------------------- /windows/Vagrantfile: -------------------------------------------------------------------------------- 1 | 2 | Vagrant.configure("2") do |config| 3 | config.vm.box = "gusztavvargadr/windows-server" 4 | end 5 | -------------------------------------------------------------------------------- /prometheus-quickly/slowdegrade2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/prometheus-quickly/slowdegrade2.png -------------------------------------------------------------------------------- /windows/Vagrantfile_no_ssh_broke: -------------------------------------------------------------------------------- 1 | Vagrant.configure("2") do |config| 2 | config.vm.box = "StefanScherer/windows_2019" 3 | end 4 | -------------------------------------------------------------------------------- /capv_recovery/fully_recovered_etcd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/capv_recovery/fully_recovered_etcd.png -------------------------------------------------------------------------------- /netpol++/netpolicies2020_requested.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/netpol++/netpolicies2020_requested.png -------------------------------------------------------------------------------- /windows/op-readiness/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "Core": passed, 3 | "NetworkPolicy": passed, 4 | "GMSA": failed 5 | } 6 | -------------------------------------------------------------------------------- /antrea-LIVE/1-12-2021/README.md: -------------------------------------------------------------------------------- 1 | # Windows, SessionAffinity, and kube-proxy ! 2 | 3 | live notes: https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg 4 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/testable.go: -------------------------------------------------------------------------------- 1 | package pkg 2 | 3 | type TestBed interface { 4 | Wait() 5 | Create() 6 | Config(config interface{}) 7 | } 8 | -------------------------------------------------------------------------------- /windows-development/README.md: -------------------------------------------------------------------------------- 1 | # Automation stuff 2 | 3 | This dir has automation for different windows/k8s related development projects. 4 | -------------------------------------------------------------------------------- /windows/wanzu/infrastructure-windows-vsphere/ytt/vsphere-overlay.yaml: -------------------------------------------------------------------------------- 1 | #! Please add any overlays specific to vSphere provider under this file. -------------------------------------------------------------------------------- /kind/kind-conf-ipv6.yaml: -------------------------------------------------------------------------------- 1 | kind: Cluster 2 | apiVersion: kind.x-k8s.io/v1alpha4 3 | networking: 4 | disableDefaultCNI: true 5 | ipFamily: ipv6 6 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:alpine 2 | RUN mkdir /netpol 3 | ADD ./netpol /netpol 4 | WORKDIR /netpol 5 | RUN go build -o main pkg/main/main.go 6 | CMD ["main"] -------------------------------------------------------------------------------- /prometheus-quickly/frequent_leader_election.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/prometheus-quickly/frequent_leader_election.png -------------------------------------------------------------------------------- /NetpolController/Kubernetes: An Illustrated API.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/NetpolController/Kubernetes: An Illustrated API.png -------------------------------------------------------------------------------- /capv_recovery/etcd_starvation_after_killing_node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/capv_recovery/etcd_starvation_after_killing_node.png -------------------------------------------------------------------------------- /antrea-LIVE/2-2-2022/README.md: -------------------------------------------------------------------------------- 1 | # Antrea LIVE: Episode 14 - IPv6 on Tanzu 2 | 3 | ## NEWS 4 | 5 | ## Links 6 | - [Live Notes](https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg) 7 | -------------------------------------------------------------------------------- /antrea-LIVE/2-9-2022/README.md: -------------------------------------------------------------------------------- 1 | # Antrea LIVE: Episode 15 - Routable Pods 2 | 3 | ## NEWS 4 | 5 | ## Links 6 | - [Live Notes](https://hackmd.io/wxNOmhZdRNm_hJzZNFKwRg) 7 | -------------------------------------------------------------------------------- /capv_recovery/etcd_backonline_after_powering_1_node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayunit100/k8sprototypes/HEAD/capv_recovery/etcd_backonline_after_powering_1_node.png -------------------------------------------------------------------------------- /sonoeasy/build.sh: -------------------------------------------------------------------------------- 1 | git clone https://github.com/cncf/k8s-conformance.git 2 | #wget https://raw.githubusercontent.com/cncf/k8s-conformance/master/v1.23/eks/junit_01.xml 3 | 4 | -------------------------------------------------------------------------------- /netpol/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. -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/tools/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - wojtek-t 5 | - eparis 6 | - krousey 7 | - jayunit100 8 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/util/keyutil/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - sig-auth-certificates-approvers 3 | reviewers: 4 | - sig-auth-certificates-reviewers 5 | labels: 6 | - sig/auth 7 | 8 | -------------------------------------------------------------------------------- /antrea-LIVE/4-13-2022/README.md: -------------------------------------------------------------------------------- 1 | # KPNG getting started 2 | 3 | w matt ! 4 | 5 | # What happened to ETCD ? 6 | 7 | https://github.com/ahrtr/etcd-issues 8 | 9 | # Ricardo and nginxxxxxx 10 | 11 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/klog/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Kubernetes Community Code of Conduct 2 | 3 | Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) 4 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /2020kubecon/nginx-pol.yaml: -------------------------------------------------------------------------------- 1 | kind: NetworkPolicy 2 | apiVersion: networking.k8s.io/v1 3 | metadata: 4 | name: web-deny-all 5 | spec: 6 | podSelector: 7 | matchLabels: 8 | app: web 9 | ingress: [] 10 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/transport/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - smarterclayton 5 | - wojtek-t 6 | - deads2k 7 | - liggitt 8 | - krousey 9 | - caesarxuchao 10 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/util/cert/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-certificates-approvers 5 | reviewers: 6 | - sig-auth-certificates-reviewers 7 | labels: 8 | - sig/auth 9 | 10 | -------------------------------------------------------------------------------- /windows/perf_scale/run_service.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | YAML=service_${1}.yaml 4 | 5 | kubectl apply -f $YAML 6 | date 7 | kubectl wait --for=condition=available --timeout=900s deployment/service-agn 8 | date 9 | 10 | kubectl delete -f $YAML 11 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/tools/auth/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | approvers: 4 | - sig-auth-authenticators-approvers 5 | reviewers: 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | 10 | -------------------------------------------------------------------------------- /nft/Vagrantfile: -------------------------------------------------------------------------------- 1 | Vagrant.configure("2") do |config| 2 | config.vm.define "v1" do |v1| 3 | v1.vm.box = "ubuntu/impish64" 4 | end 5 | 6 | config.vm.define "v2" do |v2| 7 | v2.vm.box = "ubuntu/impish64" 8 | end 9 | 10 | end 11 | 12 | 13 | -------------------------------------------------------------------------------- /kind/kind-calico-conf.yaml: -------------------------------------------------------------------------------- 1 | kind: Cluster 2 | apiVersion: kind.sigs.k8s.io/v1alpha3 3 | networking: 4 | disableDefaultCNI: true # disable kindnet 5 | podSubnet: 192.168.0.0/16 # set to Calico's default subnet 6 | nodes: 7 | - role: control-plane 8 | - role: worker 9 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /windows/experimental-windows-doc-gen/defaults.yaml: -------------------------------------------------------------------------------- 1 | #@data/values 2 | --- 3 | init: 4 | tarball_base_url: "www.tanzu.com/files" 5 | tarball_file: "tanzu.tar.gz" 6 | vsphere_url: "10.1.2.3" 7 | vsphere_user: "administrator@vsphere.local" 8 | vsphere_password: "Admin!23" 9 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /kind/kind-conf.yaml: -------------------------------------------------------------------------------- 1 | kind: Cluster 2 | apiVersion: kind.x-k8s.io/v1alpha4 3 | networking: 4 | disableDefaultCNI: true # disable kindnet 5 | podSubnet: 192.168.0.0/16 # set to Calico's default subnet 6 | nodes: 7 | - role: control-plane 8 | - role: worker 9 | - role: worker 10 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /kind/metallb-antrea/lb.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ConfigMap 3 | metadata: 4 | namespace: metallb-system 5 | name: config 6 | data: 7 | config: | 8 | address-pools: 9 | - name: default 10 | protocol: layer2 11 | addresses: 12 | - 172.18.255.200-172.18.255.250 13 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/docker/spdystream/utils.go: -------------------------------------------------------------------------------- 1 | package spdystream 2 | 3 | import ( 4 | "log" 5 | "os" 6 | ) 7 | 8 | var ( 9 | DEBUG = os.Getenv("DEBUG") 10 | ) 11 | 12 | func debugMessage(fmt string, args ...interface{}) { 13 | if DEBUG != "" { 14 | log.Printf(fmt, args...) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /windows/perf_scale/test-pod1.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: test-pod1 5 | labels: 6 | role: test-pod1 7 | namespace: default 8 | spec: 9 | containers: 10 | - name: test-pod1 11 | image: k8s.gcr.io/e2e-test-images/agnhost:2.21 12 | hostNetwork: false 13 | -------------------------------------------------------------------------------- /windows/perf_scale/test-pod2.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: test-pod2 5 | labels: 6 | role: test-pod2 7 | namespace: default 8 | spec: 9 | containers: 10 | - name: test-pod2 11 | image: k8s.gcr.io/e2e-test-images/agnhost:2.21 12 | hostNetwork: false 13 | -------------------------------------------------------------------------------- /carvel-guestbook/v1/redis-slave-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: redis-slave 5 | labels: 6 | app: redis 7 | tier: backend 8 | role: slave 9 | spec: 10 | ports: 11 | - port: 6379 12 | selector: 13 | app: redis 14 | tier: backend 15 | role: slave -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/pkg/apis/clientauthentication/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | # approval on api packages bubbles to api-approvers 4 | reviewers: 5 | - sig-auth-authenticators-approvers 6 | - sig-auth-authenticators-reviewers 7 | labels: 8 | - sig/auth 9 | 10 | -------------------------------------------------------------------------------- /netpol/vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "tip" 15 | 16 | go_import_path: gopkg.in/yaml.v2 17 | -------------------------------------------------------------------------------- /tkgprotoform/cmd/main/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | // "corgon.com/corgon/pkg/tkgprotoform" 5 | "tkgprotoform.com/protoform/pkg/tkgprotoform" 6 | ) 7 | 8 | const mode = "script" 9 | 10 | func main() { 11 | // _ = pkg.GetConf() 12 | 13 | if mode == "script" { 14 | tkgprotoform.Run() 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/imdario/mergo/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | install: 3 | - go get -t 4 | - go get golang.org/x/tools/cmd/cover 5 | - go get github.com/mattn/goveralls 6 | script: 7 | - go test -race -v ./... 8 | after_script: 9 | - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN 10 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 2 | 3 | package logrus 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TCGETS 8 | 9 | func isTerminal(fd int) bool { 10 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 11 | return err == nil 12 | } 13 | 14 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /2020kubecon/nginx-ds.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 2 | kind: DaemonSet 3 | metadata: 4 | name: nginx-ds 5 | spec: 6 | selector: 7 | matchLabels: 8 | app: web 9 | template: 10 | metadata: 11 | labels: 12 | app: web 13 | spec: 14 | containers: 15 | - name: nginx 16 | image: nginx 17 | 18 | -------------------------------------------------------------------------------- /carvel-guestbook/v1/redis-master-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: redis-master 5 | labels: 6 | app: redis 7 | tier: backend 8 | role: master 9 | spec: 10 | ports: 11 | - port: 6379 12 | targetPort: 6379 13 | selector: 14 | app: redis 15 | tier: backend 16 | role: master -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - lavalamp 6 | - smarterclayton 7 | - wojtek-t 8 | - derekwaynecarr 9 | - mikedanese 10 | - saad-ali 11 | - janetkuo 12 | - tallclair 13 | - eparis 14 | - xiang90 15 | - mbohlool 16 | - david-mcmahon 17 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | install: 7 | - export GOPATH="$HOME/gopath" 8 | - mkdir -p "$GOPATH/src/golang.org/x" 9 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 10 | - go get -v -t -d golang.org/x/oauth2/... 11 | 12 | script: 13 | - go test -v golang.org/x/oauth2/... 14 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package logrus 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | const ioctlReadTermios = unix.TIOCGETA 8 | 9 | func isTerminal(fd int) bool { 10 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 11 | return err == nil 12 | } 13 | 14 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX leaves these everywhere on SMB shares 2 | ._* 3 | 4 | # Eclipse files 5 | .classpath 6 | .project 7 | .settings/** 8 | 9 | # Emacs save files 10 | *~ 11 | 12 | # Vim-related files 13 | [._]*.s[a-w][a-z] 14 | [._]s[a-w][a-z] 15 | *.un~ 16 | Session.vim 17 | .netrwhist 18 | 19 | # Go test binaries 20 | *.test 21 | -------------------------------------------------------------------------------- /antrea-LIVE/12-08-2021/README.md: -------------------------------------------------------------------------------- 1 | # Antrea LIVE: Episode 7 (CAPA cniIngressRules, ) 2 | 3 | https://youtu.be/bb_zpQJo51A 4 | 5 | # SPECIAL GUEST @sedef savas !!! 6 | - AWS Networking Details 7 | - NAT gateways 8 | - private Epis 9 | - public subnets 10 | - Networking.V2 11 | - VPC-peering 12 | - Security Groups 13 | - IAM resources and CAPA 14 | -------------------------------------------------------------------------------- /antrea-LIVE/6-29-2022/README.md: -------------------------------------------------------------------------------- 1 | # Episode 32 2 | - https://github.com/astoycos/go-ebpf-proxy-example 3 | - https://github.com/kubernetes-sigs/kpng/blob/master/global-state.yaml 4 | - https://github.com/kubernetes-sigs/kpng/blob/master/doc/arch.svg 5 | - https://github.com/kubernetes-sigs/kpng/pull/217/files 6 | - https://yawn.io/jekyll/update/2020/02/19/turing-complete.html 7 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /smoke-tests/check-node-reboots.sh: -------------------------------------------------------------------------------- 1 | ### Poll nodes for their last reboot: 2 | for i in $(kubectl get nodes -o custom-columns='NAME:.metadata.name,INTERNAL-IP:.status.addresses[?(@.type=="InternalIP")].address' | awk '{print $2}'); do 3 | echo -n "Node: $i, Uptime: " 4 | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR capv@$i uptime 5 | done 6 | -------------------------------------------------------------------------------- /windows/runtimeclass.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: node.k8s.io/v1beta1 2 | handler: runhcs-wcow-process 3 | kind: RuntimeClass 4 | metadata: 5 | name: windows 6 | scheduling: 7 | nodeSelector: 8 | kubernetes.io/arch: amd64 9 | kubernetes.io/os: windows 10 | tolerations: 11 | - effect: NoSchedule 12 | key: os 13 | operator: Equal 14 | value: windows 15 | 16 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/ptrace_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { 10 | return ENOTSUP 11 | } 12 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | type Errno = syscall.Errno 12 | type SysProcAttr = syscall.SysProcAttr 13 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/klog/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | reviewers: 3 | - jayunit100 4 | - hoegaarden 5 | - andyxning 6 | - neolit123 7 | - pohly 8 | - yagonobre 9 | - vincepri 10 | - detiber 11 | approvers: 12 | - dims 13 | - thockin 14 | - justinsb 15 | - tallclair 16 | - piosz 17 | - brancz 18 | - DirectXMan12 19 | - lavalamp 20 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | dist: xenial 3 | go: 4 | - 1.9.x 5 | - 1.10.x 6 | - 1.11.x 7 | script: 8 | - go get -t -v ./... 9 | - diff -u <(echo -n) <(gofmt -d .) 10 | - diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON) 11 | - go tool vet . 12 | - go test -v -race ./... 13 | install: 14 | - go get golang.org/x/lint/golint 15 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/net/idna/pre_go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build !go1.18 8 | 9 | package idna 10 | 11 | const transitionalLookup = true 12 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && linux && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //go:noescape 12 | func gettimeofday(tv *Timeval) (err syscall.Errno) 13 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !linux || !go1.24 6 | 7 | package unix 8 | 9 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) { 10 | return -1, false 11 | } 12 | -------------------------------------------------------------------------------- /carvel-guestbook/v2/ytt-cpu-overlay.yml: -------------------------------------------------------------------------------- 1 | #@ load("@ytt:overlay", "overlay") 2 | #@overlay/match by=overlay.subset({"metadata":{"name":"frontend-dep"}}) 3 | --- 4 | spec: 5 | template: 6 | spec: 7 | containers: 8 | #@overlay/match by="name" 9 | - name: php-redis 10 | #@overlay/match missing_ok=False 11 | resources: 12 | requests: 13 | cpu: 200m -------------------------------------------------------------------------------- /netpol/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) -------------------------------------------------------------------------------- /netpol/vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/ptrace_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin && !ios 6 | 7 | package unix 8 | 9 | func ptrace(request int, pid int, addr uintptr, data uintptr) error { 10 | return ptrace1(request, pid, addr, data) 11 | } 12 | -------------------------------------------------------------------------------- /carvel-guestbook/v2/ytt-cpu-overlay-db.yml: -------------------------------------------------------------------------------- 1 | #@ load("@ytt:overlay", "overlay") 2 | #@overlay/match by=overlay.subset({"metadata":{"name":"redis-master-dep"}}) 3 | --- 4 | spec: 5 | template: 6 | spec: 7 | containers: 8 | #@overlay/match by="name" 9 | - name: master 10 | resources: 11 | requests: 12 | #@overlay/match missing_ok=True 13 | cpu: 300m -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/script.go: -------------------------------------------------------------------------------- 1 | package tkgprotoform 2 | 3 | import ( 4 | config "tkgprotoform.com/protoform/pkg/config" 5 | files "tkgprotoform.com/protoform/pkg/tkgprotoform/files" 6 | tkg16 "tkgprotoform.com/protoform/pkg/tkgprotoform/files/tkg_1_6" 7 | ) 8 | 9 | const mode = "script" 10 | 11 | func Run() { 12 | conf := config.GetConf() 13 | files.WriteAllToLocal(conf, tkg16.Files()) 14 | } 15 | -------------------------------------------------------------------------------- /windows/op-readiness/spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "spec": [ 3 | { 4 | "name":"Networking" 5 | "focus":"sig-network", 6 | "skip":"GMSA|6|Volume|Netpol" 7 | }, 8 | { 9 | "name":"Network Policyes" 10 | "focus":"Netpol", 11 | "skip":"6" 12 | }, 13 | 14 | { 15 | "name":"Core" 16 | "focus":"sig-windows", 17 | "skip":"udp|6" 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /carvel-guestbook/v3/kapp-def.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: kappctrl.k14s.io/v1alpha1 2 | kind: App 3 | metadata: 4 | name: guestbook 5 | namespace: default 6 | spec: 7 | serviceAccountName: default-ns-sa 8 | fetch: 9 | - git: 10 | url: https://github.com/jayunit100/k8sprototypes 11 | ref: origin/master 12 | subPath: carvel-guestbook/v2/output/ 13 | template: 14 | - ytt: {} 15 | deploy: 16 | - kapp: {} -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/net/http2/config_go125.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.26 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/term/term_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || linux || solaris || zos 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /windows/.vagrant/rgloader/loader.rb: -------------------------------------------------------------------------------- 1 | # This file loads the proper rgloader/loader.rb file that comes packaged 2 | # with Vagrant so that encoded files can properly run with Vagrant. 3 | 4 | if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] 5 | require File.expand_path( 6 | "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) 7 | else 8 | raise "Encoded files can't be read outside of the Vagrant installer." 9 | end 10 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/klog/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: k8s.io/klog 3 | dist: xenial 4 | go: 5 | - 1.9.x 6 | - 1.10.x 7 | - 1.11.x 8 | - 1.12.x 9 | script: 10 | - go get -t -v ./... 11 | - diff -u <(echo -n) <(gofmt -d .) 12 | - diff -u <(echo -n) <(golint $(go list -e ./...)) 13 | - go tool vet . || go vet . 14 | - go test -v -race ./... 15 | install: 16 | - go get golang.org/x/lint/golint 17 | -------------------------------------------------------------------------------- /smoke-tests/host.yaml: -------------------------------------------------------------------------------- 1 | # For debugging situations in the hostnetwork 2 | apiVersion: v1 3 | kind: Pod 4 | metadata: 5 | name: busybox 6 | namespace: default 7 | labels: 8 | app: antrea 9 | spec: 10 | containers: 11 | - image: gcr.io/google-containers/busybox:1.27 12 | command: 13 | - sleep 14 | - "3600" 15 | imagePullPolicy: IfNotPresent 16 | name: busybox 17 | hostNetwork: true 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - dims 3 | - lavalamp 4 | - smarterclayton 5 | - deads2k 6 | - sttts 7 | - liggitt 8 | - caesarxuchao 9 | reviewers: 10 | - dims 11 | - thockin 12 | - lavalamp 13 | - smarterclayton 14 | - wojtek-t 15 | - deads2k 16 | - derekwaynecarr 17 | - caesarxuchao 18 | - mikedanese 19 | - liggitt 20 | - gmarek 21 | - sttts 22 | - ncdc 23 | - tallclair 24 | labels: 25 | - sig/api-machinery 26 | -------------------------------------------------------------------------------- /windows/wanzu/infrastructure-windows-vsphere/v0.7.6/cluster-template-definition-dev.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: run.tanzu.vmware.com/v1alpha1 2 | kind: TemplateDefinition 3 | spec: 4 | paths: 5 | - path: providers/infrastructure-windows-vsphere/v0.7.6/ytt 6 | - path: providers/infrastructure-windows-vsphere/ytt 7 | - path: providers/ytt 8 | - path: bom 9 | filemark: text-plain 10 | - path: providers/config_default.yaml 11 | -------------------------------------------------------------------------------- /kind/recipes/ip-pool.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: crd.projectcalico.org/v1 2 | kind: IPPool 3 | metadata: 4 | name: external-pool 5 | spec: 6 | cidr: 172.16.1.0/24 7 | blockSize: 29 8 | ipipMode: Always 9 | natOutgoing: true 10 | --- 11 | apiVersion: crd.projectcalico.org/v1 12 | kind: IPPool 13 | metadata: 14 | name: internal-pool 15 | spec: 16 | cidr: 172.16.2.0/24 17 | blockSize: 16 18 | ipipMode: Always 19 | natOutgoing: true 20 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/term/term_unix_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || dragonfly || freebsd || netbsd || openbsd 6 | 7 | package term 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /windows/wanzu/infrastructure-windows-vsphere/v0.7.6/cluster-template-definition-prod.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: run.tanzu.vmware.com/v1alpha1 2 | kind: TemplateDefinition 3 | spec: 4 | paths: 5 | - path: providers/infrastructure-windows-vsphere/v0.7.6/ytt 6 | - path: providers/infrastructure-windows-vsphere/ytt 7 | - path: providers/ytt 8 | - path: bom 9 | filemark: text-plain 10 | - path: providers/config_default.yaml 11 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/net/http2/config_go126.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build go1.26 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { 14 | return h2.StrictMaxConcurrentRequests 15 | } 16 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/mmap_nomremap.go: -------------------------------------------------------------------------------- 1 | // Copyright 2023 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | var mapper = &mmapper{ 10 | active: make(map[*byte][]byte), 11 | mmap: mmap, 12 | munmap: munmap, 13 | } 14 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/vgetrandom_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2024 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && go1.24 6 | 7 | package unix 8 | 9 | import _ "unsafe" 10 | 11 | //go:linkname vgetrandom runtime.vgetrandom 12 | //go:noescape 13 | func vgetrandom(p []byte, flags uint32) (ret int, supported bool) 14 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build generate 6 | 7 | package windows 8 | 9 | //go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go setupapi_windows.go 10 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - brendandburns 9 | - derekwaynecarr 10 | - caesarxuchao 11 | - mikedanese 12 | - liggitt 13 | - nikhiljindal 14 | - gmarek 15 | - janetkuo 16 | - ncdc 17 | - eparis 18 | - dims 19 | - krousey 20 | - resouer 21 | - david-mcmahon 22 | - mfojtik 23 | - jianhuiz 24 | -------------------------------------------------------------------------------- /antrea-LIVE/10-27-2022/fqdnpolicy.yaml: -------------------------------------------------------------------------------- 1 | ### Taken from https://github.com/antrea-io/antrea/blob/main/docs/antrea-network-policy.md#fqdn-based-filtering 2 | apiVersion: crd.antrea.io/v1alpha1 3 | kind: ClusterNetworkPolicy 4 | metadata: 5 | name: acnp-fqdn-all-foobar 6 | spec: 7 | priority: 1 8 | appliedTo: 9 | - podSelector: 10 | matchLabels: 11 | app: antrea 12 | egress: 13 | - action: Drop 14 | to: 15 | - fqdn: "*foobar.com" 16 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/rest/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - caesarxuchao 7 | - wojtek-t 8 | - deads2k 9 | - brendandburns 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - erictune 14 | - sttts 15 | - luxas 16 | - dims 17 | - errordeveloper 18 | - hongchaodeng 19 | - krousey 20 | - resouer 21 | - cjcullen 22 | - rmmh 23 | - asalkeld 24 | - juanvallejo 25 | - lojies 26 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/yaml_go110.go: -------------------------------------------------------------------------------- 1 | // This file contains changes that are only compatible with go 1.10 and onwards. 2 | 3 | // +build go1.10 4 | 5 | package yaml 6 | 7 | import "encoding/json" 8 | 9 | // DisallowUnknownFields configures the JSON decoder to error out if unknown 10 | // fields come along, instead of dropping them by default. 11 | func DisallowUnknownFields(d *json.Decoder) *json.Decoder { 12 | d.DisallowUnknownFields() 13 | return d 14 | } 15 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/auxv_unsupported.go: -------------------------------------------------------------------------------- 1 | // Copyright 2025 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.21 && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Auxv() ([][2]uintptr, error) { 12 | return nil, syscall.ENOTSUP 13 | } 14 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | if !t.isRTL() { 11 | return true 12 | } 13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 14 | } 15 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | type Signal = syscall.Signal 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /netpol/install.yml: -------------------------------------------------------------------------------- 1 | # kubectl create clusterrolebinding netpol --clusterrole=admin --serviceaccount=kube-system:netpol 2 | # kubectl create sa netpol -n kube-system 3 | 4 | apiVersion: batch/v1 5 | kind: Job 6 | metadata: 7 | name: netpol 8 | spec: 9 | template: 10 | spec: 11 | restartPolicy: Never 12 | containers: 13 | - name: jay-netpol 14 | image: jayunit100/netpol:0.1 15 | command: ["/netpol/main"] 16 | serviceAccount: netpol -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/pwd_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package plan9 6 | 7 | import "syscall" 8 | 9 | func fixwd() { 10 | syscall.Fixwd() 11 | } 12 | 13 | func Getwd() (wd string, err error) { 14 | return syscall.Getwd() 15 | } 16 | 17 | func Chdir(path string) error { 18 | return syscall.Chdir(path) 19 | } 20 | -------------------------------------------------------------------------------- /antrea-LIVE/11-04-2022/README.md: -------------------------------------------------------------------------------- 1 | # Antrea LIVE: Episode 2 (antrea CNI and ovs metrics + a new sessionAffinity kubeproxy bug) 2 | 3 | # Show Details 4 | 5 | Show link: https://www.youtube.com/watch?v=3aUnws6diAY 6 | ## Antrea stuff 7 | - https://github.com/antrea-io/antrea/blob/main/docs/network-flow-visibility.md 8 | - prometheus installation and OVS monitoring 9 | 10 | ## New in upstream 11 | - a new kube-proxy affinity bug https://github.com/kubernetes/kubernetes/pull/106030 12 | 13 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/net/idna/go118.go: -------------------------------------------------------------------------------- 1 | // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT. 2 | 3 | // Copyright 2021 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | //go:build go1.18 8 | 9 | package idna 10 | 11 | // Transitional processing is disabled by default in Go 1.18. 12 | // https://golang.org/issue/47510 13 | const transitionalLookup = false 14 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - lavalamp 6 | - smarterclayton 7 | - wojtek-t 8 | - deads2k 9 | - brendandburns 10 | - derekwaynecarr 11 | - caesarxuchao 12 | - mikedanese 13 | - liggitt 14 | - nikhiljindal 15 | - gmarek 16 | - erictune 17 | - saad-ali 18 | - janetkuo 19 | - tallclair 20 | - eparis 21 | - dims 22 | - hongchaodeng 23 | - krousey 24 | - cjcullen 25 | - david-mcmahon 26 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin && !ios) || zos 6 | 7 | package unix 8 | 9 | // SysvShmCtl performs control operations on the shared memory segment 10 | // specified by id. 11 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 12 | return shmctl(id, cmd, desc) 13 | } 14 | -------------------------------------------------------------------------------- /2020kubecon/setup/README.md: -------------------------------------------------------------------------------- 1 | ### Spin up 3 workload clusters with different CNIs using clusterctl and CAPV 2 | 3 | - Set variables under ./scripts/vsphere_vars.sh 4 | - Run ./install.sh 5 | 6 | ### To reach clusters: 7 | 8 | #### Management cluster: 9 | 10 | kubectl get pods -A 11 | 12 | #### Workload clusters: 13 | 14 | kubectl get nodes -A --kubeconfig=antrea-cluster_kubeconfig 15 | kubectl get nodes -A --kubeconfig=calico-cluster_kubeconfig 16 | kubectl get nodes -A --kubeconfig=cilium-cluster_kubeconfig 17 | 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build arm && gc && linux 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /carvel-guestbook/v1/fe-svc.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: frontend 5 | labels: 6 | app: guestbook 7 | tier: frontend 8 | spec: 9 | # comment or delete the following line if you want to use a LoadBalancer 10 | type: NodePort 11 | # if your cluster supports it, uncomment the following to automatically create 12 | # an external load-balanced IP for the frontend service. 13 | # type: LoadBalancer 14 | ports: 15 | - port: 80 16 | selector: 17 | app: guestbook 18 | tier: frontend -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc) 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /windows/op-readiness/README.md: -------------------------------------------------------------------------------- 1 | Pardon our dust ! This repo is undergoing rapid iteration right now... if you want to run it, 2 | contact jayunit100 on upstream k8s.io slack ! 3 | 4 | # Operational Readiness Specification for windows 5 | 6 | To specify your windows cluster's readiness to run workflows: 7 | 8 | - define the spec.json (you can use the example here as a template). 9 | - run the golang program in this repository. 10 | 11 | For customization of your specification, see https://github.com/kubernetes/enhancements/pull/2975. 12 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_alarm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && (386 || amd64 || mips || mipsle || mips64 || mipsle || ppc64 || ppc64le || ppc || s390x || sparc64) 6 | 7 | package unix 8 | 9 | // SYS_ALARM is not defined on arm or riscv, but is available for other GOARCH 10 | // values. 11 | 12 | //sys Alarm(seconds uint) (remaining uint, err error) 13 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/docker/spdystream/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to SpdyStream 2 | 3 | Want to hack on spdystream? Awesome! Here are instructions to get you 4 | started. 5 | 6 | SpdyStream is a part of the [Docker](https://docker.io) project, and follows 7 | the same rules and principles. If you're already familiar with the way 8 | Docker does things, you'll feel right at home. 9 | 10 | Otherwise, go read 11 | [Docker's contributions guidelines](https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md). 12 | 13 | Happy hacking! 14 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gccgo && linux && amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/klog/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `klog` is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/RELEASE.md: -------------------------------------------------------------------------------- 1 | # Release Process 2 | 3 | The `yaml` Project is released on an as-needed basis. The process is as follows: 4 | 5 | 1. An issue is proposing a new release with a changelog since the last release 6 | 1. All [OWNERS](OWNERS) must LGTM this release 7 | 1. An OWNER runs `git tag -s $VERSION` and inserts the changelog and pushes the tag with `git push $VERSION` 8 | 1. The release issue is closed 9 | 1. An announcement email is sent to `kubernetes-dev@googlegroups.com` with the subject `[ANNOUNCE] kubernetes-template-project $VERSION is released` 10 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tf/README.md: -------------------------------------------------------------------------------- 1 | # Tanzu Framework 2 | 3 | This package gives us some basic "Tanzu Framework" primitives we can work with 4 | when scaffolding ginkgo tests. In general we expect the tests to: 5 | 6 | - Create infrastructure, somehow, using the Testbeds package 7 | - Create a few model classes, using the model classes, which represent tanzu cluster elements 8 | - Use this package, tanzu framework, to take those model classes (as inputs), and then run those 9 | commands (either in a simulated testbed, or in a real testbed) in order to create a fully working cluster. 10 | -------------------------------------------------------------------------------- /gomod-hacking/README.md: -------------------------------------------------------------------------------- 1 | # Go mod example, minimal 2 | 3 | The purpose of this is to do some experiments on how go.mod works. 4 | 5 | interestingly, the go.mod file generated for the webapp directory 6 | 7 | has version generation from time.Time, but `cobra` which lives on the internet, 8 | has a versino generated from 1.2.1. 9 | 10 | Asked on stackoverflow: How does go infer the proper `go mod tidy` version for a local repo? 11 | 12 | 13 | ``` 14 | require ( 15 | example.com/db_api v0.0.0-00010101000000-000000000000 16 | github.com/spf13/cobra v1.2.1 17 | ) 18 | ``` 19 | -------------------------------------------------------------------------------- /carvel-guestbook/README.md: -------------------------------------------------------------------------------- 1 | The directories in here each iteratively 2 | build up the "guestbook" application in a 3 | simple way. 4 | 5 | - v0/ is just the yaml 6 | - v1/ is the separated yaml files which can be combined by `ytt -f` to make a composite guestbook.yaml file 7 | - v2/ is an example of how to overlay onto the output of v1/ using ytt 8 | - v3/ is an example of how to integrate kapp into the mix so that the objects are managed as a single application by the `kapp` tool 9 | 10 | Just an experiment in how to iteratively introduce carvel into your life in a sustainable way :) 11 | 12 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | # See the OWNERS docs at https://go.k8s.io/owners 2 | 3 | reviewers: 4 | - thockin 5 | - smarterclayton 6 | - wojtek-t 7 | - deads2k 8 | - brendandburns 9 | - caesarxuchao 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - erictune 14 | - davidopp 15 | - sttts 16 | - quinton-hoole 17 | - luxas 18 | - janetkuo 19 | - justinsb 20 | - ncdc 21 | - soltysh 22 | - dims 23 | - madhusudancs 24 | - hongchaodeng 25 | - krousey 26 | - mml 27 | - mbohlool 28 | - david-mcmahon 29 | - therc 30 | - mqliang 31 | - kevin-wangzefeng 32 | - jianhuiz 33 | -------------------------------------------------------------------------------- /windows/perf_scale/README.md: -------------------------------------------------------------------------------- 1 | # Performance test 2 | 3 | - iperf test 4 | - image : k8s.gcr.io/e2e-test-images/agnhost:2.21 5 | - iperf server : iperf -s -p 9999 -D 6 | - iperf client : iperf -p 9999 -c server-ip 7 | 8 | - Create/Delete pod 100 times: 9 | - ./run_deployment.sh 100 10 | 11 | - Create service: 12 | - ./run_servcie.sh nodeport 13 | - ./run_service.sh clusterip 14 | 15 | - Create network policy 16 | - create_net_policies.py > net_policies.yaml 17 | - kubectl apply -f test-pod1.yaml 18 | - kubectl apply -f test-pod2.yaml 19 | - kubectl apply -f net_policies.yaml 20 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build plan9 && !race 6 | 7 | package plan9 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc 6 | 7 | package unix 8 | 9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 11 | 12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 13 | // fail. 14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 15 | -------------------------------------------------------------------------------- /netpol/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 | //go: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 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/image-builder-credentials.json: -------------------------------------------------------------------------------- 1 | { 2 | "___host":"wdc-10-206-189-104.nimbus.eng.vmware.com", 3 | "cluster": "cluster0", 4 | "convert_to_template": "true", 5 | "create_snapshot": "true", 6 | "datacenter": "dc0", 7 | "datastore": "sharedVmfs-0", 8 | "folder": "/dc0/vm/", 9 | "insecure_connection": "true", 10 | "linked_clone": "true", 11 | "network": "VM Network", 12 | "password": "Admin!23", 13 | "resource_pool": "sharedVmfs-0", 14 | "template": "", 15 | "username": "administrator@vsphere.local", 16 | "vcenter_server": "10.206.189.104" 17 | } -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/mksysnum_plan9.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Copyright 2009 The Go Authors. All rights reserved. 3 | # Use of this source code is governed by a BSD-style 4 | # license that can be found in the LICENSE file. 5 | 6 | COMMAND="mksysnum_plan9.sh $@" 7 | 8 | cat <= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/windows/str.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build windows 6 | 7 | package windows 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /netpol/vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /antrea-LIVE/11-27-2021/README.md: -------------------------------------------------------------------------------- 1 | # Automating Antrea CNI lifecycle with Carvel 2 | 3 | - https://github.com/vmware-tanzu/tanzu-framework/pull/959/, addon reconcilers 4 | - How tanzu addons for CNI, etc, work 5 | - kubetail on https://github.com/vmware-tanzu/tanzu-framework/tree/main/addons#workflow-of-tanzu-addons-manager 6 | - https://carvel.dev/kapp-controller/docs/latest/packaging/ 7 | - PackageRepository 8 | - PackageMetadata 9 | - Package 10 | - PackageInstall 11 | - https://carvel.dev/kapp-controller/docs/latest/app-spec/ 12 | - note the `cluster` field... its multicluster by default 13 | -------------------------------------------------------------------------------- /antrea-LIVE/12-15-2021/README.md: -------------------------------------------------------------------------------- 1 | # Exploring the life of an INGRESS AND GATEWAY implementation maintainer!!!!!! 2 | 3 | Whats it like to maintain an ingress/gateway provider? Featuring Ricardo and Kal! 4 | - history lesson 5 | - the eye of horus is on the dollar bill 6 | - ingress nginx: 7 | - first controller, ricardo steps in for alejandro 8 | - AVI 9 | - LIMITED gateway support in avi right now 10 | - experimental for customers 11 | - GSLB : *GLobal Server Loadbalancing* 12 | - GSLB and Avi Ingress Lab https://labs.hol.vmware.com/HOL/catalogs/lab/10883 13 | - Contour 14 | - 15 | - NGINX 16 | - Envoy 17 | - ... 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/sysvshm_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux 6 | 7 | package unix 8 | 9 | import "runtime" 10 | 11 | // SysvShmCtl performs control operations on the shared memory segment 12 | // specified by id. 13 | func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) { 14 | if runtime.GOARCH == "arm" || 15 | runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" { 16 | cmd |= ipc_64 17 | } 18 | 19 | return shmctl(id, cmd, desc) 20 | } 21 | -------------------------------------------------------------------------------- /kind/README.md: -------------------------------------------------------------------------------- 1 | # How to Run these ! 2 | 3 | 4 | ``` 5 | CLUSTER=calico ./kind-local-up.sh 6 | CLUSTER=antrea ./kind-local-up.sh 7 | CLUSTER=cillium ./kind-local-up.sh 8 | 9 | ``` 10 | Run the kind-local-up.sh script. It will create a kind cluster w/ a real CNI (antrea/calico/cillium) for you. 11 | 12 | ## antrea: 13 | Modify the `antrea` parameters (turn them on) and comment out the calico params 14 | 15 | ``` 16 | # todo this should be cni=antrea 17 | cluster=antrea 18 | conf=xyz.yaml 19 | ./kind-local-up.sh 20 | ``` 21 | 22 | ## Other CNIs 23 | Just change the `cluster` variable to... 24 | - cluster=calico 25 | - cluster=cillium 26 | .. 27 | -------------------------------------------------------------------------------- /kind/metallb-antrea/install.sh: -------------------------------------------------------------------------------- 1 | kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/namespace.yaml 2 | 3 | kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/metallb.yaml 4 | 5 | docker network inspect -f '{{.IPAM.Config}}' kind 6 | 7 | echo "do the rest of this manually...." 8 | read x 9 | 10 | cat << EOF 11 | apiVersion: v1 12 | kind: ConfigMap 13 | metadata: 14 | namespace: metallb-system 15 | name: config 16 | data: 17 | config: | 18 | address-pools: 19 | - name: default 20 | protocol: layer2 21 | addresses: 22 | - 172.18.255.200-172.18.255.250 23 | EOF 24 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/sockcmsg_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package unix 6 | 7 | // Round the length of a raw sockaddr up to align it properly. 8 | func cmsgAlignOf(salen int) int { 9 | salign := SizeofPtr 10 | if SizeofPtr == 8 && !supportsABI(_dragonflyABIChangeVersion) { 11 | // 64-bit Dragonfly before the September 2019 ABI changes still requires 12 | // 32-bit aligned access to network subsystem. 13 | salign = 4 14 | } 15 | return (salen + salign - 1) & ^(salign - 1) 16 | } 17 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/gogo/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoGo authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS file, which 3 | # lists people. For example, employees are listed in CONTRIBUTORS, 4 | # but not in AUTHORS, because the employer holds the copyright. 5 | 6 | # Names should be added to this file as one of 7 | # Organization's name 8 | # Individual's name 9 | # Individual's name 10 | 11 | # Please keep the list sorted. 12 | 13 | Sendgrid, Inc 14 | Vastech SA (PTY) LTD 15 | Walter Schulze 16 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/imdario/mergo/.gitignore: -------------------------------------------------------------------------------- 1 | #### joe made this: http://goel.io/joe 2 | 3 | #### go #### 4 | # Binaries for programs and plugins 5 | *.exe 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, build with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 17 | .glide/ 18 | 19 | #### vim #### 20 | # Swap 21 | [._]*.s[a-v][a-z] 22 | [._]*.sw[a-p] 23 | [._]s[a-v][a-z] 24 | [._]sw[a-p] 25 | 26 | # Session 27 | Session.vim 28 | 29 | # Temporary 30 | .netrwhist 31 | *~ 32 | # Auto-generated tag files 33 | tags 34 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/term/README.md: -------------------------------------------------------------------------------- 1 | # Go terminal/console support 2 | 3 | [![Go Reference](https://pkg.go.dev/badge/golang.org/x/term.svg)](https://pkg.go.dev/golang.org/x/term) 4 | 5 | This repository provides Go terminal and console support packages. 6 | 7 | ## Report Issues / Send Patches 8 | 9 | This repository uses Gerrit for code changes. To learn how to submit changes to 10 | this repository, see https://go.dev/doc/contribute. 11 | 12 | The git repository is https://go.googlesource.com/term. 13 | 14 | The main issue tracker for the term repository is located at 15 | https://go.dev/issues. Prefix your issue with "x/term:" in the 16 | subject line, so it is easy to find. 17 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build aix || (darwin && !race) || (linux && !race) || (freebsd && !race) || netbsd || openbsd || solaris || dragonfly || zos 6 | 7 | package unix 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gc && 386 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | 15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/0_install_payload.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | 3 | # PURPOSE: Install tanzu cli so its locally callable, and upload all OVAs to vsphere 4 | # INPUT: tanzu-framework tar gz, all OVAs 5 | # OUTPUT: None 6 | 7 | # initialize Tanzu 8 | 9 | pushd payload 10 | 11 | #tar -xvf tanzu-cli-bundle-darwin-amd64.tar.gz 12 | 13 | # same for linux or os x... 14 | tar -xvf tanzu-cli-bundle-*.tar.gz 15 | cp cli/core/v0.25.0/tanzu-core-* ./tanzu 16 | 17 | ./tanzu init 18 | ./tanzu plugin sync 19 | ./tanzu plugin list 20 | 21 | popd 22 | 23 | # Note image-builder is at https://developer.vmware.com/samples/7984/tkg-image-builder-for-kubernetes-v1.23.8-on-tkg-v1.6.0?h=Image%20Builder 24 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/klog/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Committee to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | dims 14 | thockin 15 | justinsb 16 | tallclair 17 | piosz 18 | brancz 19 | DirectXMan12 20 | lavalamp 21 | -------------------------------------------------------------------------------- /antrea-LIVE/11-14-2022/README.md: -------------------------------------------------------------------------------- 1 | # Antrea-LIVE Episode 4 2 | 3 | - serviceAccount selectors for networkPolicies ! 4 | - egress IPs https://antrea.io/docs/v1.3.0/docs/egress/ <-- in next version of vmware tanzu (1.2.3, ipv4) 5 | - Installing Antrea 1.4 6 | - AntreaProxy Enablement 7 | - https://github.com/antrea-io/antrea/pull/2632 <-- doc updates for antreaproxy 8 | - Running Antrea w/o kube proxy - does it work ? 9 | - VMWare Tanzu feature gates for CNI providers and the Carvel tooling 10 | - kapp 11 | - ytt 12 | - kapp-controller 13 | - BONUS ! looking at @aojeas Conntrack fix 14 | - https://github.com/kubernetes/kubernetes/issues/105657 15 | - https://github.com/kubernetes/kubernetes/pull/106163/files 16 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/json-iterator/go/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [[projects]] 11 | name = "github.com/modern-go/reflect2" 12 | packages = ["."] 13 | revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" 14 | version = "1.0.1" 15 | 16 | [solve-meta] 17 | analyzer-name = "dep" 18 | analyzer-version = 1 19 | inputs-digest = "ea54a775e5a354cb015502d2e7aa4b74230fc77e894f34a838b268c25ec8eeb8" 20 | solver-name = "gps-cdcl" 21 | solver-version = 1 22 | -------------------------------------------------------------------------------- /windows/perf_scale/service_clusterip.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: service-agn 5 | labels: 6 | app: service-agn 7 | spec: 8 | ports: 9 | - port: 80 10 | selector: 11 | app: service-agn 12 | type: ClusterIP 13 | --- 14 | apiVersion: apps/v1 15 | kind: Deployment 16 | metadata: 17 | labels: 18 | app: service-agn 19 | name: service-agn 20 | spec: 21 | replicas: 110 22 | selector: 23 | matchLabels: 24 | app: service-agn 25 | template: 26 | metadata: 27 | labels: 28 | app: service-agn 29 | name: service-agn 30 | spec: 31 | containers: 32 | - name: aspnet 33 | image: k8s.gcr.io/e2e-test-images/agnhost:2.21 34 | -------------------------------------------------------------------------------- /netpol/vendor/sigs.k8s.io/yaml/SECURITY_CONTACTS: -------------------------------------------------------------------------------- 1 | # Defined below are the security contacts for this repo. 2 | # 3 | # They are the contact point for the Product Security Team to reach out 4 | # to for triaging and handling of incoming issues. 5 | # 6 | # The below names agree to abide by the 7 | # [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) 8 | # and will be removed and replaced if they violate that agreement. 9 | # 10 | # DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE 11 | # INSTRUCTIONS AT https://kubernetes.io/security/ 12 | 13 | cjcullen 14 | jessfraz 15 | liggitt 16 | philips 17 | tallclair 18 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/env_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Plan 9 environment variables. 6 | 7 | package plan9 8 | 9 | import ( 10 | "syscall" 11 | ) 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | 29 | func Unsetenv(key string) error { 30 | return syscall.Unsetenv(key) 31 | } 32 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build linux && gccgo && arm 6 | 7 | package unix 8 | 9 | import ( 10 | "syscall" 11 | "unsafe" 12 | ) 13 | 14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 15 | var newoffset int64 16 | offsetLow := uint32(offset & 0xffffffff) 17 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 19 | return newoffset, err 20 | } 21 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/config/config_test.go: -------------------------------------------------------------------------------- 1 | package config 2 | 3 | import ( 4 | "testing" 5 | "tkgprotoform.com/protoform/pkg/util" 6 | ) 7 | 8 | func TestConf(t *testing.T) { 9 | 10 | c := GetConf() 11 | 12 | if util.FileExists("config.yaml") { 13 | t.Log("Found config.yaml") 14 | } else { 15 | t.Log("Missing config.yaml") 16 | t.Fail() 17 | } 18 | // This directory has a "config.yaml" in it. Thus, 19 | // we expect 20 | if len(c.TanzuInputs) == 0 { 21 | t.Logf("tanzu inputs ... %v ... is wrong", c.TanzuInputs) 22 | t.Fail() 23 | } else { 24 | // We expect this to have VSPHERE_CONTROL_PLANE_ENDPOINT, bc that is 25 | // a valid input to the config.yaml 26 | t.Log("Acquired inputs", c.TanzuInputs) 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /windows/perf_scale/deployment.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: service-agn 5 | labels: 6 | app: service-agn 7 | spec: 8 | ports: 9 | - port: 80 10 | nodePort: 30001 11 | selector: 12 | app: service-agn 13 | type: NodePort 14 | --- 15 | apiVersion: apps/v1 16 | kind: Deployment 17 | metadata: 18 | labels: 19 | app: service-agn 20 | name: service-agn 21 | spec: 22 | replicas: 2 23 | selector: 24 | matchLabels: 25 | app: service-agn 26 | template: 27 | metadata: 28 | labels: 29 | app: service-agn 30 | name: service-agn 31 | spec: 32 | containers: 33 | - name: aspnet 34 | image: k8s.gcr.io/e2e-test-images/agnhost:2.21 35 | -------------------------------------------------------------------------------- /kind/metallb-antrea/test.yaml: -------------------------------------------------------------------------------- 1 | kind: Pod 2 | apiVersion: v1 3 | metadata: 4 | name: foo-app 5 | labels: 6 | app: http-echo 7 | spec: 8 | containers: 9 | - name: foo-app 10 | image: hashicorp/http-echo:0.2.3 11 | args: 12 | - "-text=foo" 13 | --- 14 | kind: Pod 15 | apiVersion: v1 16 | metadata: 17 | name: bar-app 18 | labels: 19 | app: http-echo 20 | spec: 21 | containers: 22 | - name: bar-app 23 | image: hashicorp/http-echo:0.2.3 24 | args: 25 | - "-text=bar" 26 | --- 27 | kind: Service 28 | apiVersion: v1 29 | metadata: 30 | name: foo-service 31 | spec: 32 | type: LoadBalancer 33 | selector: 34 | app: http-echo 35 | ports: 36 | # Default port used by the image 37 | - port: 5678 38 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/sirupsen/logrus/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package logrus is a structured logger for Go, completely API compatible with the standard library logger. 3 | 4 | 5 | The simplest way to use Logrus is simply the package-level exported logger: 6 | 7 | package main 8 | 9 | import ( 10 | log "github.com/sirupsen/logrus" 11 | ) 12 | 13 | func main() { 14 | log.WithFields(log.Fields{ 15 | "animal": "walrus", 16 | "number": 1, 17 | "size": 10, 18 | }).Info("A walrus appears") 19 | } 20 | 21 | Output: 22 | time="2015-09-07T08:48:33Z" level=info msg="A walrus appears" animal=walrus number=1 size=10 23 | 24 | For a full guide visit https://github.com/sirupsen/logrus 25 | */ 26 | package logrus 27 | -------------------------------------------------------------------------------- /netpol/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 | //go:build (darwin || dragonfly || freebsd || (linux && !ppc64 && !ppc64le) || netbsd || openbsd || solaris) && gc 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 12 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 13 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 14 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 15 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/tools/clientcmd/api/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | 19 | package api 20 | -------------------------------------------------------------------------------- /windows/perf_scale/service_nodeport.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | name: service-agn 5 | labels: 6 | app: service-agn 7 | spec: 8 | ports: 9 | - port: 80 10 | nodePort: 30001 11 | selector: 12 | app: service-agn 13 | type: NodePort 14 | --- 15 | apiVersion: apps/v1 16 | kind: Deployment 17 | metadata: 18 | labels: 19 | app: service-agn 20 | name: service-agn 21 | spec: 22 | replicas: 110 23 | selector: 24 | matchLabels: 25 | app: service-agn 26 | template: 27 | metadata: 28 | labels: 29 | app: service-agn 30 | name: service-agn 31 | spec: 32 | containers: 33 | - name: aspnet 34 | image: k8s.gcr.io/e2e-test-images/agnhost:2.21 35 | -------------------------------------------------------------------------------- /carvel-guestbook/v1/redis-master-dep.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1 2 | kind: Deployment 3 | metadata: 4 | name: redis-master 5 | spec: 6 | selector: 7 | matchLabels: 8 | app: redis 9 | role: master 10 | tier: backend 11 | replicas: 1 12 | template: 13 | metadata: 14 | labels: 15 | app: redis 16 | role: master 17 | tier: backend 18 | spec: 19 | containers: 20 | - name: master 21 | image: k8s.gcr.io/redis:e2e # or just image: redis 22 | resources: 23 | requests: 24 | cpu: 100m 25 | memory: 100Mi 26 | ports: 27 | - containerPort: 6379 -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/3_workload_cluster.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # INPUT: MIN_CLUSTER (included), MAX_CLUSTER (excluded) 4 | # i.e. MIN_CLUSTER=0 , MAX_CLUSTER=99 ==> creates 100 clusters. 5 | # OUTPUT: Creates multiple clusters, per input range. 6 | 7 | if [ -z "$MIN_CLUSTER" ]; then 8 | MIN_CLUSTER=0 9 | fi 10 | if [ -z "$MAX_CLUSTER" ]; then 11 | MAX_CLUSTER=1 12 | fi 13 | 14 | i=${MIN_CLUSTER} 15 | # try to create MAX-MIN clusters... 16 | # tanzu cluster create -f cluster.yaml wl-1 17 | # tanzu cluster create -f cluster.yaml wl-2 18 | # tanzu cluster create -f cluster.yaml wl-3 19 | while [ $i -ne ${MAX_CLUSTER} ] 20 | do 21 | i=$(($i+1)) 22 | tanzu cluster create -f cluster.yaml wl-$i 23 | echo "$i" 24 | done -------------------------------------------------------------------------------- /antrea-LIVE/5-11-2022/README.md: -------------------------------------------------------------------------------- 1 | 2 | - chris (grace) going to show us AKO stuff moving forward ! 3 | 4 | ## 1.24 5 | 6 | - kubelet_volume_stats_health_status_abnormal, pvc1 7 | - kubelet_volume_stats_health_status_abnormal, pvc2 8 | - kubelet_volume_stats_health_status_abnormal, pvc3 <-- 9 | - ... 10 | - whats this `CSIMigration` feature gate all about? 11 | 12 | - t shirt ... 13 | ``` 14 | Up until now, Kubernetes automatically created a service account Secret when creating a Pod. That token Secret contained the credentials for accessing the API. 15 | ``` 16 | - NetworkPolicyStatus https://github.com/antrea-io/antrea/pull/1442 17 | - https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/1959-service-lb-class-field/README.md 18 | -------------------------------------------------------------------------------- /k8s-ecosystem-perms/README.md: -------------------------------------------------------------------------------- 1 | The Kubernetes ecosystem currently supports 100s of different components. 2 | 3 | This project attempts to generate a combinatorial expansion of how end users 4 | might upgrade these components, over time, and quantify the amount of configuration 5 | drift that might need to be tested and verified by a vendor. 6 | 7 | Our end goal is to suggest what constraints on versioning and upgrading are 8 | reasonable as suggestions for K8s vendors wanting to support the penumbra of 9 | expanding CNI, CSI, Authentication, Backup, Loadbalancing, and Security solutions 10 | which often come bundled in a K8s distribution. 11 | 12 | # Assume 13 | - Testing an upgrade of a single Kubernetes configuration to any other, takes 4 hours. 14 | ... 15 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/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 | //go:build plan9 && race 6 | 7 | package plan9 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 | -------------------------------------------------------------------------------- /netpol/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 | //go: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 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/1_upload_ova.sh: -------------------------------------------------------------------------------- 1 | #/bin/bash 2 | 3 | # PURPOSE: Install tanzu cli so its locally callable, and upload all OVAs to vsphere 4 | # INPUT: tanzu-framework tar gz, all OVAs 5 | # OUTPUT: None 6 | 7 | # initialize Tanzu 8 | 9 | pushd payload 10 | 11 | export GOVC_URL="10.1.2.3" 12 | export GOVC_USERNAME="administrator@vsphere.local" 13 | export GOVC_PASSWORD="Admin\!23" 14 | export GOVC_DATACENTER="dc0" 15 | export GOVC_INSECURE=true 16 | export GOVC_NETWORK="VM Network" 17 | 18 | #govc import.ova ./windows-2019-kube-v1.21.2+vmware.1-tkg.1.ova 19 | #govc vm.markastemplate windows-2019-kube-v1.21.2 20 | 21 | # substituted by tkgprotoform... 22 | govc import.ova ./my+vmware.ova 23 | govc vm.markastemplate my.ova 24 | 25 | popd -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build amd64 && solaris 6 | 7 | package unix 8 | 9 | func setTimespec(sec, nsec int64) Timespec { 10 | return Timespec{Sec: sec, Nsec: nsec} 11 | } 12 | 13 | func setTimeval(sec, usec int64) Timeval { 14 | return Timeval{Sec: sec, Usec: usec} 15 | } 16 | 17 | func (iov *Iovec) SetLen(length int) { 18 | iov.Len = uint64(length) 19 | } 20 | 21 | func (msghdr *Msghdr) SetIovlen(length int) { 22 | msghdr.Iovlen = int32(length) 23 | } 24 | 25 | func (cmsg *Cmsghdr) SetLen(length int) { 26 | cmsg.Len = uint32(length) 27 | } 28 | -------------------------------------------------------------------------------- /tkgprotoform/pkg/tkgprotoform/files/tkg_1_6/2_swap_tkr.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | # Input: arg $1 -> a file with a TKR definition in it 4 | # (i.e. w/ OVAs similar to https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/1.6/vmware-tanzu-kubernetes-grid-16/GUID-build-images-linux.html ) 5 | # Output: A Configmap w/ a TKR in it that references 6 | bomTag=v1.23.8---vmware.2-tkg.1 7 | name=v1.23.8---vmware.2-tkg.1-jay2 8 | 9 | cat < 11 | int ioctl(int, unsigned long int, uintptr_t); 12 | */ 13 | import "C" 14 | import "unsafe" 15 | 16 | func ioctl(fd int, req uint, arg uintptr) (err error) { 17 | r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(arg)) 18 | if r0 == -1 && er != nil { 19 | err = er 20 | } 21 | return 22 | } 23 | 24 | func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) { 25 | r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(uintptr(arg))) 26 | if r0 == -1 && er != nil { 27 | err = er 28 | } 29 | return 30 | } 31 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/api/errors/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 errors provides detailed error types for api field validation. 18 | package errors // import "k8s.io/apimachinery/pkg/api/errors" 19 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/batch/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/coordination/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 LeaseExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/storage/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 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v1beta1 // import "k8s.io/api/apps/v1beta1" 22 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v1beta2 // import "k8s.io/api/apps/v1beta2" 22 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v1 // import "k8s.io/api/autoscaling/v1" 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/batch/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 | 21 | type CronJobExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/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 v2alpha1 20 | 21 | type CronJobExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/coordination/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/networking/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/networking/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 NetworkPolicyExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/node/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 | 21 | type RuntimeClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/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 PriorityClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_bsd_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (freebsd || netbsd || openbsd) && gc 6 | 7 | #include "textflag.h" 8 | 9 | // System call support for ARM BSD 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-28 15 | B syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 18 | B syscall·Syscall6(SB) 19 | 20 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 21 | B syscall·Syscall9(SB) 22 | 23 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 24 | B syscall·RawSyscall(SB) 25 | 26 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 27 | B syscall·RawSyscall6(SB) 28 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v1beta1 // import "k8s.io/api/batch/v1beta1" 22 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v2alpha1 // import "k8s.io/api/batch/v2alpha1" 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/util/errors/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 errors implements various utility functions and types around errors. 18 | package errors // import "k8s.io/apimachinery/pkg/util/errors" 19 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/scheme/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 contains the scheme of the automatically generated clientset. 20 | package scheme 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/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 v1beta2 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/authentication/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/authorization/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/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 v2alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/coordination/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 | 21 | type LeaseExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/networking/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 | 21 | type IngressExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/node/v1alpha1/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 v1alpha1 20 | 21 | type RuntimeClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/node/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/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 v1alpha1 20 | 21 | type PodPresetExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/modern-go/concurrent/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map implements a thread safe map for go version below 1.9 using mutex 8 | type Map struct { 9 | lock sync.RWMutex 10 | data map[interface{}]interface{} 11 | } 12 | 13 | // NewMap creates a thread safe map 14 | func NewMap() *Map { 15 | return &Map{ 16 | data: make(map[interface{}]interface{}, 32), 17 | } 18 | } 19 | 20 | // Load is same as sync.Map Load 21 | func (m *Map) Load(key interface{}) (elem interface{}, found bool) { 22 | m.lock.RLock() 23 | elem, found = m.data[key] 24 | m.lock.RUnlock() 25 | return 26 | } 27 | 28 | // Load is same as sync.Map Store 29 | func (m *Map) Store(key interface{}, elem interface{}) { 30 | m.lock.Lock() 31 | m.data[key] = elem 32 | m.lock.Unlock() 33 | } 34 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build darwin || zos 6 | 7 | package unix 8 | 9 | import "unsafe" 10 | 11 | // ReadDirent reads directory entries from fd and writes them into buf. 12 | func ReadDirent(fd int, buf []byte) (n int, err error) { 13 | // Final argument is (basep *uintptr) and the syscall doesn't take nil. 14 | // 64 bits should be enough. (32 bits isn't even on 386). Since the 15 | // actual system call is getdirentries64, 64 is a good guess. 16 | // TODO(rsc): Can we use a single global basep for all calls? 17 | var base = (*uintptr)(unsafe.Pointer(new(uint64))) 18 | return Getdirentries(fd, buf, base) 19 | } 20 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/zptrace_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Code generated by linux/mkall.go generatePtraceRegSet("arm64"). DO NOT EDIT. 2 | 3 | package unix 4 | 5 | import "unsafe" 6 | 7 | // PtraceGetRegSetArm64 fetches the registers used by arm64 binaries. 8 | func PtraceGetRegSetArm64(pid, addr int, regsout *PtraceRegsArm64) error { 9 | iovec := Iovec{(*byte)(unsafe.Pointer(regsout)), uint64(unsafe.Sizeof(*regsout))} 10 | return ptracePtr(PTRACE_GETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec)) 11 | } 12 | 13 | // PtraceSetRegSetArm64 sets the registers used by arm64 binaries. 14 | func PtraceSetRegSetArm64(pid, addr int, regs *PtraceRegsArm64) error { 15 | iovec := Iovec{(*byte)(unsafe.Pointer(regs)), uint64(unsafe.Sizeof(*regs))} 16 | return ptracePtr(PTRACE_SETREGSET, pid, uintptr(addr), unsafe.Pointer(&iovec)) 17 | } 18 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/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 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/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 HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/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 v2beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/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 v2beta2 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1alpha1/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 v1alpha1 20 | 21 | type EndpointSliceExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/discovery/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/discovery/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 | 21 | type EndpointSliceExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/networking/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/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 v1alpha1 20 | 21 | type PriorityClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/scheduling/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 | 21 | type PriorityClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/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 v1alpha1 20 | 21 | type VolumeAttachmentExpansion interface{} 22 | -------------------------------------------------------------------------------- /kubectl-addons-linux.sh: -------------------------------------------------------------------------------- 1 | ### TODO ADD MORE BELOW kubectx, kubectl, helm3, ... ? ### 2 | 3 | echo "installing kubectx........." 4 | 5 | if [[ "$OSTYPE" == "linux-gnu"* ]]; then 6 | # Adds the stuff you needd to a linux node... 7 | wget https://github.com/ahmetb/kubectx/releases/download/v0.9.1/kubectx_v0.9.1_linux_x86_64.tar.gz 8 | tar -xvf kubectx_v0.9.1_linux_x86_64.tar.gz 9 | cp kubectx /usr/local/bin/ 10 | sudo cp kubectx /usr/local/bin/ 11 | elif [[ "$OSTYPE" == "darwin"* ]]; then 12 | # Adds the stuff you needd to a linux node... 13 | wget https://github.com/ahmetb/kubectx/releases/download/v0.9.1/kubectx_v0.9.1_darwin_x86_64.tar.gz 14 | tar -xvf kubectx_v0.9.1_linux_x86_64.tar.gz 15 | cp kubectx /usr/local/bin/ 16 | sudo cp kubectx /usr/local/bin/ 17 | fi 18 | 19 | kubectx 20 | 21 | echo "................... done!" 22 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_bsd_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (freebsd || netbsd || openbsd) && gc 6 | 7 | #include "textflag.h" 8 | 9 | // System call support for 386 BSD 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-28 15 | JMP syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 18 | JMP syscall·Syscall6(SB) 19 | 20 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 21 | JMP syscall·Syscall9(SB) 22 | 23 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 24 | JMP syscall·RawSyscall(SB) 25 | 26 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 27 | JMP syscall·RawSyscall6(SB) 28 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build gc 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for mips64, OpenBSD 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-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v2beta1 // import "k8s.io/api/autoscaling/v2beta1" 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/api/autoscaling/v2beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v2beta2 // import "k8s.io/api/autoscaling/v2beta2" 22 | -------------------------------------------------------------------------------- /netpol/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | package v1beta1 // import "k8s.io/api/extensions/v1beta1" 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1/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 v1alpha1 20 | 21 | type AuditSinkExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/flowcontrol/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/discovery/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 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 discovery provides ways to discover server-supported 18 | // API groups, versions and resources. 19 | package discovery // import "k8s.io/client-go/discovery" 20 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/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 v1beta1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/auditregistration/v1alpha1/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 v1alpha1 21 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/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 v2beta1 20 | 21 | type HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/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 v2beta2 20 | 21 | type HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /windows/experimental-windows-doc-gen/instructions.yaml: -------------------------------------------------------------------------------- 1 | #@ load("@ytt:data", "data") 2 | 3 | steps: 4 | - step: "Install Mgmt cluster" 5 | steps: 6 | - "download tarball": 7 | - #@ "wget " + data.values.init.tarball_base_url + "/" + data.values.init.tarball_file + " # RUNME" 8 | - "unzip tarball": 9 | - #@ "tar -xvf " + data.values.init.tarball_file + " # RUNME " 10 | - "define vsphere credentials": 11 | - #@ "export GOVC_VSPHERE_USER=" + data.values.init.vsphere_user + " # RUNME " 12 | - #@ "export GOVC_VSPHERE_PASSWORD=" + data.values.init.vsphere_password + " # RUNME " 13 | 14 | - "run tanzu init" 15 | - step: "Install Windows cluster" 16 | steps: 17 | - "make credentials.json # RUNME" 18 | - "make windows.json # RUNME" 19 | - "update autounattend if needed # RUNME" 20 | - "craft docker command w/ subs # RUNME" 21 | -------------------------------------------------------------------------------- /netpol/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 | // +k8s:protobuf-gen=package 19 | // +groupName=storage.k8s.io 20 | // +k8s:openapi-gen=true 21 | 22 | package v1 // import "k8s.io/api/storage/v1" 23 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/fields/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 fields implements a simple field system, parsing and matching 18 | // selectors with sets of fields. 19 | package fields // import "k8s.io/apimachinery/pkg/fields" 20 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/labels/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 labels implements a simple label system, parsing and matching 18 | // selectors with sets of labels. 19 | package labels // import "k8s.io/apimachinery/pkg/labels" 20 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin || freebsd || netbsd || openbsd) && gc 6 | 7 | #include "textflag.h" 8 | 9 | // System call support for ARM64 BSD 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 | JMP syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 18 | JMP syscall·Syscall6(SB) 19 | 20 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 21 | JMP syscall·Syscall9(SB) 22 | 23 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 24 | JMP syscall·RawSyscall(SB) 25 | 26 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 27 | JMP syscall·RawSyscall6(SB) 28 | -------------------------------------------------------------------------------- /netpol/vendor/github.com/davecgh/go-spew/LICENSE: -------------------------------------------------------------------------------- 1 | ISC License 2 | 3 | Copyright (c) 2012-2016 Dave Collins 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/plan9/asm_plan9_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 | #include "textflag.h" 6 | 7 | // 8 | // System call support for 386, Plan 9 9 | // 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-32 15 | JMP syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-44 18 | JMP syscall·Syscall6(SB) 19 | 20 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 21 | JMP syscall·RawSyscall(SB) 22 | 23 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 24 | JMP syscall·RawSyscall6(SB) 25 | 26 | TEXT ·seek(SB),NOSPLIT,$0-36 27 | JMP syscall·seek(SB) 28 | 29 | TEXT ·exit(SB),NOSPLIT,$4-4 30 | JMP syscall·exit(SB) 31 | -------------------------------------------------------------------------------- /netpol/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2021 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build (darwin || freebsd || netbsd || openbsd) && gc 6 | 7 | #include "textflag.h" 8 | 9 | // System call support for RISCV64 BSD 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 | JMP syscall·Syscall(SB) 16 | 17 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 18 | JMP syscall·Syscall6(SB) 19 | 20 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 21 | JMP syscall·Syscall9(SB) 22 | 23 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 24 | JMP syscall·RawSyscall(SB) 25 | 26 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 27 | JMP syscall·RawSyscall6(SB) 28 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/api/networking/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | // +groupName=networking.k8s.io 21 | 22 | package v1 // import "k8s.io/api/networking/v1" 23 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/api/rbac/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:protobuf-gen=package 19 | // +k8s:openapi-gen=true 20 | 21 | // +groupName=rbac.authorization.k8s.io 22 | 23 | package v1 // import "k8s.io/api/rbac/v1" 24 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/api/meta/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 meta provides functions for retrieving API metadata from objects 18 | // belonging to the Kubernetes API 19 | package meta // import "k8s.io/apimachinery/pkg/api/meta" 20 | -------------------------------------------------------------------------------- /netpol/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/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 protobuf provides a Kubernetes serializer for the protobuf format. 18 | package protobuf // import "k8s.io/apimachinery/pkg/runtime/serializer/protobuf" 19 | --------------------------------------------------------------------------------