├── .devcontainer └── devcontainer.json ├── .gitattributes ├── .github └── SECURITY.md ├── .gitignore ├── BUGS-AND-FEATURE-REQUESTS.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── Makefile.core.mk ├── Makefile.overrides.mk ├── README.md ├── SUPPORT.md ├── cmd └── example │ └── client.go ├── common ├── .commonfiles.sha ├── Makefile.common.mk ├── config │ ├── .golangci.yml │ ├── .hadolint.yml │ ├── .yamllint.yml │ ├── license-lint.yml │ ├── mdl.rb │ ├── sass-lint.yml │ └── tslint.json └── scripts │ ├── check_clean_repo.sh │ ├── copyright-banner-go.txt │ ├── fix_copyright_banner.sh │ ├── format_go.sh │ ├── gobuild.sh │ ├── kind_provisioner.sh │ ├── lint_copyright_banner.sh │ ├── lint_go.sh │ ├── metallb-native.yaml │ ├── report_build_info.sh │ ├── run.sh │ ├── setup_env.sh │ └── tracing.sh ├── go.mod ├── go.sum ├── header.go.txt ├── licenses ├── github.com │ ├── davecgh │ │ └── go-spew │ │ │ └── LICENSE │ ├── emicklei │ │ └── go-restful │ │ │ └── v3 │ │ │ └── LICENSE │ ├── fxamacker │ │ └── cbor │ │ │ └── v2 │ │ │ └── LICENSE │ ├── go-logr │ │ └── logr │ │ │ └── LICENSE │ ├── go-openapi │ │ ├── jsonpointer │ │ │ └── LICENSE │ │ ├── jsonreference │ │ │ └── LICENSE │ │ └── swag │ │ │ └── LICENSE │ ├── gogo │ │ └── protobuf │ │ │ └── LICENSE │ ├── golang │ │ └── protobuf │ │ │ └── LICENSE │ ├── google │ │ ├── gnostic-models │ │ │ └── LICENSE │ │ ├── go-cmp │ │ │ └── LICENSE │ │ ├── gofuzz │ │ │ └── LICENSE │ │ └── uuid │ │ │ └── LICENSE │ ├── josharian │ │ └── intern │ │ │ └── license.md │ ├── json-iterator │ │ └── go │ │ │ └── LICENSE │ ├── mailru │ │ └── easyjson │ │ │ └── LICENSE │ ├── modern-go │ │ ├── concurrent │ │ │ └── LICENSE │ │ └── reflect2 │ │ │ └── LICENSE │ ├── munnerz │ │ └── goautoneg │ │ │ └── LICENSE │ ├── pkg │ │ └── errors │ │ │ └── LICENSE │ ├── spf13 │ │ └── pflag │ │ │ └── LICENSE │ └── x448 │ │ └── float16 │ │ └── LICENSE ├── golang.org │ └── x │ │ ├── net │ │ └── LICENSE │ │ ├── oauth2 │ │ └── LICENSE │ │ ├── sys │ │ └── LICENSE │ │ ├── term │ │ └── LICENSE │ │ ├── text │ │ └── LICENSE │ │ └── time │ │ └── LICENSE ├── google.golang.org │ ├── genproto │ │ └── googleapis │ │ │ └── api │ │ │ └── LICENSE │ └── protobuf │ │ └── LICENSE ├── gopkg.in │ ├── evanphx │ │ └── json-patch.v4 │ │ │ └── LICENSE │ ├── inf.v0 │ │ └── LICENSE │ └── yaml.v3 │ │ └── LICENSE ├── istio.io │ └── api │ │ └── LICENSE ├── k8s.io │ ├── api │ │ └── LICENSE │ ├── apimachinery │ │ ├── LICENSE │ │ └── third_party │ │ │ └── forked │ │ │ └── golang │ │ │ └── LICENSE │ ├── client-go │ │ ├── LICENSE │ │ └── third_party │ │ │ └── forked │ │ │ └── golang │ │ │ └── LICENSE │ ├── klog │ │ └── v2 │ │ │ └── LICENSE │ ├── kube-openapi │ │ ├── LICENSE │ │ └── pkg │ │ │ ├── internal │ │ │ └── third_party │ │ │ │ └── go-json-experiment │ │ │ │ └── json │ │ │ │ └── LICENSE │ │ │ └── validation │ │ │ ├── errors │ │ │ └── LICENSE │ │ │ ├── spec │ │ │ └── LICENSE │ │ │ ├── strfmt │ │ │ └── LICENSE │ │ │ └── validate │ │ │ └── LICENSE │ └── utils │ │ ├── LICENSE │ │ ├── inotify │ │ └── LICENSE │ │ ├── internal │ │ └── third_party │ │ │ └── forked │ │ │ └── golang │ │ │ └── LICENSE │ │ └── third_party │ │ └── forked │ │ └── golang │ │ └── LICENSE └── sigs.k8s.io │ ├── json │ └── LICENSE │ ├── structured-merge-diff │ └── v4 │ │ └── LICENSE │ └── yaml │ ├── LICENSE │ ├── goyaml.v2 │ └── LICENSE │ └── goyaml.v3 │ └── LICENSE └── pkg ├── apis ├── extensions │ └── v1alpha1 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go ├── networking │ ├── v1 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go │ ├── v1alpha3 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go │ └── v1beta1 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go ├── security │ ├── v1 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go │ └── v1beta1 │ │ ├── doc.go │ │ ├── register.gen.go │ │ ├── types.gen.go │ │ └── zz_generated.deepcopy.gen.go └── telemetry │ ├── v1 │ ├── doc.go │ ├── register.gen.go │ ├── types.gen.go │ └── zz_generated.deepcopy.gen.go │ └── v1alpha1 │ ├── doc.go │ ├── register.gen.go │ ├── types.gen.go │ └── zz_generated.deepcopy.gen.go ├── applyconfiguration ├── extensions │ └── v1alpha1 │ │ └── wasmplugin.go ├── internal │ └── internal.go ├── meta │ └── v1 │ │ ├── managedfieldsentry.go │ │ ├── objectmeta.go │ │ ├── ownerreference.go │ │ └── typemeta.go ├── networking │ ├── v1 │ │ ├── destinationrule.go │ │ ├── gateway.go │ │ ├── serviceentry.go │ │ ├── sidecar.go │ │ ├── virtualservice.go │ │ ├── workloadentry.go │ │ └── workloadgroup.go │ ├── v1alpha3 │ │ ├── destinationrule.go │ │ ├── envoyfilter.go │ │ ├── gateway.go │ │ ├── serviceentry.go │ │ ├── sidecar.go │ │ ├── virtualservice.go │ │ ├── workloadentry.go │ │ └── workloadgroup.go │ └── v1beta1 │ │ ├── destinationrule.go │ │ ├── gateway.go │ │ ├── proxyconfig.go │ │ ├── serviceentry.go │ │ ├── sidecar.go │ │ ├── virtualservice.go │ │ ├── workloadentry.go │ │ └── workloadgroup.go ├── security │ ├── v1 │ │ ├── authorizationpolicy.go │ │ ├── peerauthentication.go │ │ └── requestauthentication.go │ └── v1beta1 │ │ ├── authorizationpolicy.go │ │ ├── peerauthentication.go │ │ └── requestauthentication.go ├── telemetry │ ├── v1 │ │ └── telemetry.go │ └── v1alpha1 │ │ └── telemetry.go └── utils.go ├── clientset └── versioned │ ├── clientset.gen.go │ ├── fake │ ├── clientset_generated.gen.go │ ├── doc.go │ └── register.gen.go │ ├── scheme │ ├── doc.go │ └── register.gen.go │ └── typed │ ├── extensions │ └── v1alpha1 │ │ ├── doc.go │ │ ├── extensions_client.gen.go │ │ ├── fake │ │ ├── doc.go │ │ ├── fake_extensions_client.gen.go │ │ └── fake_wasmplugin.gen.go │ │ ├── generated_expansion.gen.go │ │ └── wasmplugin.gen.go │ ├── networking │ ├── v1 │ │ ├── destinationrule.gen.go │ │ ├── doc.go │ │ ├── fake │ │ │ ├── doc.go │ │ │ ├── fake_destinationrule.gen.go │ │ │ ├── fake_gateway.gen.go │ │ │ ├── fake_networking_client.gen.go │ │ │ ├── fake_serviceentry.gen.go │ │ │ ├── fake_sidecar.gen.go │ │ │ ├── fake_virtualservice.gen.go │ │ │ ├── fake_workloadentry.gen.go │ │ │ └── fake_workloadgroup.gen.go │ │ ├── gateway.gen.go │ │ ├── generated_expansion.gen.go │ │ ├── networking_client.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ ├── v1alpha3 │ │ ├── destinationrule.gen.go │ │ ├── doc.go │ │ ├── envoyfilter.gen.go │ │ ├── fake │ │ │ ├── doc.go │ │ │ ├── fake_destinationrule.gen.go │ │ │ ├── fake_envoyfilter.gen.go │ │ │ ├── fake_gateway.gen.go │ │ │ ├── fake_networking_client.gen.go │ │ │ ├── fake_serviceentry.gen.go │ │ │ ├── fake_sidecar.gen.go │ │ │ ├── fake_virtualservice.gen.go │ │ │ ├── fake_workloadentry.gen.go │ │ │ └── fake_workloadgroup.gen.go │ │ ├── gateway.gen.go │ │ ├── generated_expansion.gen.go │ │ ├── networking_client.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ └── v1beta1 │ │ ├── destinationrule.gen.go │ │ ├── doc.go │ │ ├── fake │ │ ├── doc.go │ │ ├── fake_destinationrule.gen.go │ │ ├── fake_gateway.gen.go │ │ ├── fake_networking_client.gen.go │ │ ├── fake_proxyconfig.gen.go │ │ ├── fake_serviceentry.gen.go │ │ ├── fake_sidecar.gen.go │ │ ├── fake_virtualservice.gen.go │ │ ├── fake_workloadentry.gen.go │ │ └── fake_workloadgroup.gen.go │ │ ├── gateway.gen.go │ │ ├── generated_expansion.gen.go │ │ ├── networking_client.gen.go │ │ ├── proxyconfig.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ ├── security │ ├── v1 │ │ ├── authorizationpolicy.gen.go │ │ ├── doc.go │ │ ├── fake │ │ │ ├── doc.go │ │ │ ├── fake_authorizationpolicy.gen.go │ │ │ ├── fake_peerauthentication.gen.go │ │ │ ├── fake_requestauthentication.gen.go │ │ │ └── fake_security_client.gen.go │ │ ├── generated_expansion.gen.go │ │ ├── peerauthentication.gen.go │ │ ├── requestauthentication.gen.go │ │ └── security_client.gen.go │ └── v1beta1 │ │ ├── authorizationpolicy.gen.go │ │ ├── doc.go │ │ ├── fake │ │ ├── doc.go │ │ ├── fake_authorizationpolicy.gen.go │ │ ├── fake_peerauthentication.gen.go │ │ ├── fake_requestauthentication.gen.go │ │ └── fake_security_client.gen.go │ │ ├── generated_expansion.gen.go │ │ ├── peerauthentication.gen.go │ │ ├── requestauthentication.gen.go │ │ └── security_client.gen.go │ └── telemetry │ ├── v1 │ ├── doc.go │ ├── fake │ │ ├── doc.go │ │ ├── fake_telemetry.gen.go │ │ └── fake_telemetry_client.gen.go │ ├── generated_expansion.gen.go │ ├── telemetry.gen.go │ └── telemetry_client.gen.go │ └── v1alpha1 │ ├── doc.go │ ├── fake │ ├── doc.go │ ├── fake_telemetry.gen.go │ └── fake_telemetry_client.gen.go │ ├── generated_expansion.gen.go │ ├── telemetry.gen.go │ └── telemetry_client.gen.go ├── informers └── externalversions │ ├── extensions │ ├── interface.gen.go │ └── v1alpha1 │ │ ├── interface.gen.go │ │ └── wasmplugin.gen.go │ ├── factory.gen.go │ ├── generic.gen.go │ ├── internalinterfaces │ └── factory_interfaces.gen.go │ ├── networking │ ├── interface.gen.go │ ├── v1 │ │ ├── destinationrule.gen.go │ │ ├── gateway.gen.go │ │ ├── interface.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ ├── v1alpha3 │ │ ├── destinationrule.gen.go │ │ ├── envoyfilter.gen.go │ │ ├── gateway.gen.go │ │ ├── interface.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ └── v1beta1 │ │ ├── destinationrule.gen.go │ │ ├── gateway.gen.go │ │ ├── interface.gen.go │ │ ├── proxyconfig.gen.go │ │ ├── serviceentry.gen.go │ │ ├── sidecar.gen.go │ │ ├── virtualservice.gen.go │ │ ├── workloadentry.gen.go │ │ └── workloadgroup.gen.go │ ├── security │ ├── interface.gen.go │ ├── v1 │ │ ├── authorizationpolicy.gen.go │ │ ├── interface.gen.go │ │ ├── peerauthentication.gen.go │ │ └── requestauthentication.gen.go │ └── v1beta1 │ │ ├── authorizationpolicy.gen.go │ │ ├── interface.gen.go │ │ ├── peerauthentication.gen.go │ │ └── requestauthentication.gen.go │ └── telemetry │ ├── interface.gen.go │ ├── v1 │ ├── interface.gen.go │ └── telemetry.gen.go │ └── v1alpha1 │ ├── interface.gen.go │ └── telemetry.gen.go └── listers ├── extensions └── v1alpha1 │ ├── expansion_generated.gen.go │ └── wasmplugin.gen.go ├── networking ├── v1 │ ├── destinationrule.gen.go │ ├── expansion_generated.gen.go │ ├── gateway.gen.go │ ├── serviceentry.gen.go │ ├── sidecar.gen.go │ ├── virtualservice.gen.go │ ├── workloadentry.gen.go │ └── workloadgroup.gen.go ├── v1alpha3 │ ├── destinationrule.gen.go │ ├── envoyfilter.gen.go │ ├── expansion_generated.gen.go │ ├── gateway.gen.go │ ├── serviceentry.gen.go │ ├── sidecar.gen.go │ ├── virtualservice.gen.go │ ├── workloadentry.gen.go │ └── workloadgroup.gen.go └── v1beta1 │ ├── destinationrule.gen.go │ ├── expansion_generated.gen.go │ ├── gateway.gen.go │ ├── proxyconfig.gen.go │ ├── serviceentry.gen.go │ ├── sidecar.gen.go │ ├── virtualservice.gen.go │ ├── workloadentry.gen.go │ └── workloadgroup.gen.go ├── security ├── v1 │ ├── authorizationpolicy.gen.go │ ├── expansion_generated.gen.go │ ├── peerauthentication.gen.go │ └── requestauthentication.gen.go └── v1beta1 │ ├── authorizationpolicy.gen.go │ ├── expansion_generated.gen.go │ ├── peerauthentication.gen.go │ └── requestauthentication.gen.go └── telemetry ├── v1 ├── expansion_generated.gen.go └── telemetry.gen.go └── v1alpha1 ├── expansion_generated.gen.go └── telemetry.gen.go /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "istio build-tools", 3 | "image": "gcr.io/istio-testing/build-tools:master-6a1c744ef226989e2d5be532282f9098f77877fd", 4 | "privileged": true, 5 | "remoteEnv": { 6 | "USE_GKE_GCLOUD_AUTH_PLUGIN": "True", 7 | "BUILD_WITH_CONTAINER": "0", 8 | "CARGO_HOME": "/home/.cargo", 9 | "RUSTUP_HOME": "/home/.rustup" 10 | }, 11 | "features": { 12 | "ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, 13 | "ghcr.io/mpriscella/features/kind:1": {} 14 | }, 15 | "customizations": { 16 | "vscode": { 17 | "extensions": [ 18 | "golang.go", 19 | "rust-lang.rust-analyzer", 20 | "eamodio.gitlens", 21 | "zxh404.vscode-proto3", 22 | "ms-azuretools.vscode-docker", 23 | "redhat.vscode-yaml", 24 | "IBM.output-colorizer" 25 | ], 26 | "settings": { 27 | "files.eol": "\n", 28 | "go.useLanguageServer": true, 29 | "go.lintTool": "golangci-lint" 30 | } 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.descriptor linguist-generated=true 2 | *.descriptor -diff -merge 3 | *.descriptor_set linguist-generated=true 4 | *.descriptor_set -diff -merge 5 | *.pb.html linguist-generated=true 6 | *.pb.go linguist-generated=true 7 | *.gen.go linguist-generated=true 8 | *.gen.yaml linguist-generated=true 9 | *.gen.json linguist-generated=true 10 | *_pb2.py linguist-generated=true 11 | manifests/charts/**/profile*.yaml linguist-generated=true 12 | go.sum merge=union 13 | vendor/** linguist-vendored 14 | common/** linguist-vendored 15 | archive/** linquist-vendored 16 | **/vmlinux.h linquist-vendored 17 | -------------------------------------------------------------------------------- /.github/SECURITY.md: -------------------------------------------------------------------------------- 1 | Refer to [Istio Security Overview](https://github.com/istio/istio/blob/master/.github/SECURITY.md) for more details. 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Go template 3 | # Binaries for programs and plugins 4 | *.exe 5 | *.exe~ 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, built with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | # Dependency directories (remove the comment below to include it) 17 | vendor/ 18 | 19 | # Contains the built artifacts 20 | out/ 21 | 22 | # Created by `make all` 23 | example 24 | 25 | # Eclipse artifacts 26 | .project 27 | .pydevproject 28 | 29 | # Vagrant 30 | tools/vagrant/.vagrant/ 31 | 32 | # Intellij 33 | *.iml 34 | .idea/ 35 | 36 | # Visual Studio Code 37 | .vscode/ -------------------------------------------------------------------------------- /BUGS-AND-FEATURE-REQUESTS.md: -------------------------------------------------------------------------------- 1 | # Bugs and Feature Requests 2 | 3 | You can report bugs and feature requests to the Istio team in one of three places: 4 | 5 | - [Product Bugs and Feature Requests](https://github.com/istio/istio/issues) 6 | - [Documentation Bugs and Feature Requests](https://github.com/istio/istio.io/issues) 7 | - [Community and Governance Issues](https://github.com/istio/community/issues) 8 | 9 | For security vulnerabilities, please don't report a bug (which is public) and instead follow 10 | [these procedures](https://istio.io/about/security-vulnerabilities/). 11 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @istio/wg-user-experience-maintainers 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contribution guidelines 2 | 3 | So you want to hack on Istio? Yay! Please refer to Istio's overall 4 | [contribution guidelines](https://github.com/istio/community/blob/master/CONTRIBUTING.md) 5 | to find out how you can help. 6 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 2 | # 3 | # The original version of this file is located in the https://github.com/istio/common-files repo. 4 | # If you're looking at this file in a different repo and want to make a change, please go to the 5 | # common-files repo, make the change there and check it in. Then come back to this repo and run 6 | # "make update-common". 7 | 8 | # Copyright Istio Authors 9 | # 10 | # Licensed under the Apache License, Version 2.0 (the "License"); 11 | # you may not use this file except in compliance with the License. 12 | # You may obtain a copy of the License at 13 | # 14 | # http://www.apache.org/licenses/LICENSE-2.0 15 | # 16 | # Unless required by applicable law or agreed to in writing, software 17 | # distributed under the License is distributed on an "AS IS" BASIS, 18 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 | # See the License for the specific language governing permissions and 20 | # limitations under the License. 21 | 22 | SHELL := /usr/bin/env bash 23 | 24 | # allow optional per-repo overrides 25 | -include Makefile.overrides.mk 26 | 27 | # Set the environment variable BUILD_WITH_CONTAINER to use a container 28 | # to build the repo. The only dependencies in this mode are to have make and 29 | # docker. If you'd rather build with a local tool chain instead, you'll need to 30 | # figure out all the tools you need in your environment to make that work. 31 | export BUILD_WITH_CONTAINER ?= 0 32 | 33 | ifeq ($(BUILD_WITH_CONTAINER),1) 34 | 35 | # An export free of arguments in a Makefile places all variables in the Makefile into the 36 | # environment. This is needed to allow overrides from Makefile.overrides.mk. 37 | export 38 | 39 | RUN = ./common/scripts/run.sh 40 | 41 | MAKE_DOCKER = $(RUN) make --no-print-directory -e -f Makefile.core.mk 42 | 43 | %: 44 | @$(MAKE_DOCKER) $@ 45 | 46 | default: 47 | @$(MAKE_DOCKER) 48 | 49 | shell: 50 | @$(RUN) /bin/bash 51 | 52 | .PHONY: default shell 53 | 54 | else 55 | 56 | # If we are not in build container, we need a workaround to get environment properly set 57 | # Write to file, then include 58 | $(shell mkdir -p out) 59 | $(shell $(shell pwd)/common/scripts/setup_env.sh envfile > out/.env) 60 | include out/.env 61 | # An export free of arguments in a Makefile places all variables in the Makefile into the 62 | # environment. This behavior may be surprising to many that use shell often, which simply 63 | # displays the existing environment 64 | export 65 | 66 | export GOBIN ?= $(GOPATH)/bin 67 | include Makefile.core.mk 68 | 69 | endif 70 | -------------------------------------------------------------------------------- /Makefile.overrides.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Istio Authors 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # this repo is on the container plan by default 16 | BUILD_WITH_CONTAINER ?= 1 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Go Report Card](https://goreportcard.com/badge/github.com/istio/client-go)](https://goreportcard.com/report/github.com/istio/client-go) 2 | [![GolangCI](https://golangci.com/badges/github.com/istio/client-go.svg)](https://golangci.com/r/github.com/istio/client-go) 3 | [![GoDoc](https://godoc.org/istio.io/client-go?status.svg)](https://godoc.org/istio.io/client-go) 4 | 5 | # Golang Client Library for Istio APIs 6 | 7 | This go library contains clients that talk to Istio resources in a Kubernetes cluster. 8 | 9 | ## How to get it? 10 | 11 | If you are using go1.11+, you can simply use the following command to get the lastest client code: 12 | 13 | ```sh 14 | go get istio.io/client-go@master 15 | ``` 16 | 17 | Or if you need to use a specific version of the client code, you can specify a specific version number. For example: 18 | 19 | ```sh 20 | go get istio.io/client-go@release-1.4 21 | ``` 22 | 23 | The version number matches with official Istio versions for releases 1.4+. 24 | -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- 1 | # Support 2 | 3 | Here are some resources to help you understand and use Istio: 4 | 5 | - For in-depth information about how to use Istio, visit [istio.io](https://istio.io) 6 | - To ask questions and get assistance from our community, visit [GitHub Discussions](https://github.com/istio/istio/discussions) 7 | - To learn how to participate in our overall community, visit [our community page](https://istio.io/latest/get-involved/) 8 | -------------------------------------------------------------------------------- /cmd/example/client.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // This example is adapted from: 16 | // https://github.com/aspenmesh/istio-client-go/blob/4de6e89009c427dbc602b0c6bbdc8840ef1905e6/cmd/example-client/client.go 17 | 18 | package main 19 | 20 | import ( 21 | "context" 22 | "log" 23 | "os" 24 | 25 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 | "k8s.io/client-go/tools/clientcmd" 27 | 28 | versionedclient "istio.io/client-go/pkg/clientset/versioned" 29 | ) 30 | 31 | func main() { 32 | kubeconfig := os.Getenv("KUBECONFIG") 33 | namespace := os.Getenv("NAMESPACE") 34 | 35 | if len(kubeconfig) == 0 || len(namespace) == 0 { 36 | log.Fatalf("Environment variables KUBECONFIG and NAMESPACE need to be set") 37 | } 38 | 39 | restConfig, err := clientcmd.BuildConfigFromFlags("", kubeconfig) 40 | if err != nil { 41 | log.Fatalf("Failed to create k8s rest client: %s", err) 42 | } 43 | 44 | ic, err := versionedclient.NewForConfig(restConfig) 45 | if err != nil { 46 | log.Fatalf("Failed to create istio client: %s", err) 47 | } 48 | 49 | // Test VirtualServices 50 | vsList, err := ic.NetworkingV1alpha3().VirtualServices(namespace).List(context.TODO(), metav1.ListOptions{}) 51 | if err != nil { 52 | log.Fatalf("Failed to get VirtualService in %s namespace: %s", namespace, err) 53 | } 54 | 55 | for i := range vsList.Items { 56 | vs := vsList.Items[i] 57 | log.Printf("Index: %d VirtualService Hosts: %+v\n", i, vs.Spec.GetHosts()) 58 | } 59 | 60 | // Test DestinationRules 61 | drList, err := ic.NetworkingV1alpha3().DestinationRules(namespace).List(context.TODO(), metav1.ListOptions{}) 62 | if err != nil { 63 | log.Fatalf("Failed to get DestinationRule in %s namespace: %s", namespace, err) 64 | } 65 | 66 | for i := range drList.Items { 67 | dr := drList.Items[i] 68 | log.Printf("Index: %d DestinationRule Host: %+v\n", i, dr.Spec.GetHost()) 69 | } 70 | 71 | // Test Gateway 72 | gwList, err := ic.NetworkingV1alpha3().Gateways(namespace).List(context.TODO(), metav1.ListOptions{}) 73 | if err != nil { 74 | log.Fatalf("Failed to get Gateway in %s namespace: %s", namespace, err) 75 | } 76 | 77 | for i := range gwList.Items { 78 | gw := gwList.Items[i] 79 | for _, s := range gw.Spec.GetServers() { 80 | log.Printf("Index: %d Gateway servers: %+v\n", i, s) 81 | } 82 | } 83 | 84 | // Test ServiceEntry 85 | seList, err := ic.NetworkingV1alpha3().ServiceEntries(namespace).List(context.TODO(), metav1.ListOptions{}) 86 | if err != nil { 87 | log.Fatalf("Failed to get ServiceEntry in %s namespace: %s", namespace, err) 88 | } 89 | 90 | for i := range seList.Items { 91 | se := seList.Items[i] 92 | for _, h := range se.Spec.GetHosts() { 93 | log.Printf("Index: %d ServiceEntry hosts: %+v\n", i, h) 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /common/.commonfiles.sha: -------------------------------------------------------------------------------- 1 | 2dfbf3bcd0b3c217b5d8a285472cabf492f8eae3 2 | -------------------------------------------------------------------------------- /common/config/.hadolint.yml: -------------------------------------------------------------------------------- 1 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 2 | # 3 | # The original version of this file is located in the https://github.com/istio/common-files repo. 4 | # If you're looking at this file in a different repo and want to make a change, please go to the 5 | # common-files repo, make the change there and check it in. Then come back to this repo and run 6 | # "make update-common". 7 | 8 | ignored: 9 | - DL3008 10 | - DL3059 11 | 12 | trustedRegistries: 13 | - gcr.io 14 | - docker.io 15 | - quay.io 16 | - "*.pkg.dev" 17 | - "cgr.dev" 18 | -------------------------------------------------------------------------------- /common/config/.yamllint.yml: -------------------------------------------------------------------------------- 1 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 2 | # 3 | # The original version of this file is located in the https://github.com/istio/common-files repo. 4 | # If you're looking at this file in a different repo and want to make a change, please go to the 5 | # common-files repo, make the change there and check it in. Then come back to this repo and run 6 | # "make update-common". 7 | 8 | rules: 9 | braces: disable 10 | brackets: disable 11 | colons: enable 12 | commas: disable 13 | comments: disable 14 | comments-indentation: disable 15 | document-end: disable 16 | document-start: disable 17 | empty-lines: disable 18 | empty-values: disable 19 | hyphens: enable 20 | indentation: disable 21 | key-duplicates: enable 22 | key-ordering: disable 23 | line-length: disable 24 | new-line-at-end-of-file: disable 25 | new-lines: enable 26 | octal-values: disable 27 | quoted-strings: disable 28 | trailing-spaces: disable 29 | truthy: disable 30 | -------------------------------------------------------------------------------- /common/config/mdl.rb: -------------------------------------------------------------------------------- 1 | all 2 | rule 'MD002', :level => 1 3 | rule 'MD007', :indent => 4 4 | rule 'MD013', :line_length => 160, :code_blocks => false, :tables => false 5 | rule 'MD026', :punctuation => ".,;:!" 6 | exclude_rule 'MD013' 7 | exclude_rule 'MD014' 8 | exclude_rule 'MD030' 9 | exclude_rule 'MD032' 10 | exclude_rule 'MD033' 11 | exclude_rule 'MD041' 12 | exclude_rule 'MD046' 13 | -------------------------------------------------------------------------------- /common/config/sass-lint.yml: -------------------------------------------------------------------------------- 1 | ######################### 2 | ## Config for sass-lint 3 | ######################### 4 | # Linter Options 5 | options: 6 | # Don't merge default rules 7 | merge-default-rules: false 8 | # Raise an error if more than 50 warnings are generated 9 | max-warnings: 500 10 | # Rule Configuration 11 | rules: 12 | attribute-quotes: 13 | - 2 14 | - 15 | include: false 16 | bem-depth: 2 17 | border-zero: 2 18 | brace-style: 2 19 | class-name-format: 2 20 | clean-import-paths: 2 21 | declarations-before-nesting: 2 22 | empty-args: 2 23 | empty-line-between-blocks: 2 24 | extends-before-declarations: 2 25 | extends-before-mixins: 2 26 | final-newline: 2 27 | force-attribute-nesting: 0 28 | force-element-nesting: 0 29 | force-pseudo-nesting: 0 30 | function-name-format: 2 31 | hex-length: 0 32 | hex-notation: 2 33 | id-name-format: 2 34 | indentation: 35 | - 2 36 | - 37 | size: 4 38 | leading-zero: 39 | - 2 40 | - 41 | include: false 42 | max-file-line-count: 0 43 | max-file-length: 0 44 | mixins-before-declarations: 2 45 | no-attribute-selectors: 0 46 | no-color-hex: 0 47 | no-color-keywords: 0 48 | no-color-literals: 0 49 | no-combinators: 0 50 | no-css-comments: 2 51 | no-debug: 2 52 | no-disallowed-properties: 2 53 | no-duplicate-properties: 2 54 | no-empty-rulesets: 2 55 | no-extends: 2 56 | no-ids: 0 57 | no-invalid-hex: 2 58 | no-important: 0 59 | no-mergeable-selectors: 2 60 | no-misspelled-properties: 2 61 | no-qualifying-elements: 0 62 | no-trailing-whitespace: 2 63 | no-trailing-zero: 2 64 | no-transition-all: 0 65 | no-url-domains: 2 66 | no-url-protocols: 2 67 | no-warn: 2 68 | one-declaration-per-line: 2 69 | placeholder-in-extend: 2 70 | placeholder-name-format: 2 71 | property-sort-order: 0 72 | property-units: 2 73 | pseudo-element: 2 74 | quotes: 75 | - 2 76 | - 77 | style: double 78 | shorthand-values: 2 79 | single-line-per-selector: 0 80 | space-after-bang: 2 81 | space-after-colon: 2 82 | space-after-comma: 2 83 | space-around-operator: 2 84 | space-before-bang: 2 85 | space-before-brace: 2 86 | space-before-colon: 2 87 | space-between-parens: 2 88 | trailing-semicolon: 2 89 | url-quotes: 2 90 | variable-for-property: 91 | - 0 92 | - 93 | properties: 94 | - color 95 | - background-color 96 | - fill 97 | variable-name-format: 0 98 | zero-unit: 2 99 | -------------------------------------------------------------------------------- /common/config/tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultSeverity": "error", 3 | "extends": [ 4 | "tslint:recommended" 5 | ], 6 | "rules": { 7 | "max-line-length": { 8 | "options": [160] 9 | }, 10 | "arrow-parens": false, 11 | "new-parens": true, 12 | "no-arg": true, 13 | "no-bitwise": true, 14 | "no-conditional-assignment": true, 15 | "no-consecutive-blank-lines": true, 16 | "no-console": { 17 | "severity": "warning", 18 | "options": ["debug", "info", "log", "time", "timeEnd", "trace"] 19 | }, 20 | "no-shadowed-variable": false, 21 | "eofline": false 22 | }, 23 | "jsRules": {}, 24 | "rulesDirectory": [] 25 | } -------------------------------------------------------------------------------- /common/scripts/check_clean_repo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright Istio Authors 4 | 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | function write_patch_file() { 18 | if [ -z "${ARTIFACTS}" ]; then 19 | return 0 20 | fi 21 | 22 | PATCH_NAME="check-clean-repo-diff.patch" 23 | PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}" 24 | git diff > "${PATCH_OUT}" 25 | 26 | [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ] 27 | # shellcheck disable=SC2319 28 | IN_PROW="$?" 29 | 30 | # Don't persist large diffs (30M+) on CI 31 | LARGE_FILE="$(find "${ARTIFACTS}" -name "${PATCH_NAME}" -type 'f' -size +30M)" 32 | if [ "${IN_PROW}" -eq 0 ] && [ -n "${LARGE_FILE}" ]; then 33 | rm "${PATCH_OUT}" 34 | echo "WARNING: patch file was too large to persist ($(du -h "${PATCH_OUT}"))" 35 | return 0 36 | fi 37 | outName="artifacts/${PATCH_OUT#"${ARTIFACTS}"/}" 38 | patchFile="${PROW_ARTIFACTS_BASE:-https://gcsweb.istio.io/gcs/istio-prow}/pr-logs/pull/${REPO_OWNER}_${REPO_NAME}/${PULL_NUMBER}/${JOB_NAME}/${BUILD_ID}/${outName}" 39 | echo "You can also try applying the patch file from the build artifacts: 40 | 41 | git apply <(curl -sL \"${patchFile}\") 42 | " 43 | } 44 | 45 | if [[ -n $(git status --porcelain) ]]; then 46 | git status 47 | git diff 48 | echo "ERROR: Some files need to be updated, please run 'make gen' and include any changed files in your PR" 49 | write_patch_file 50 | exit 1 51 | fi 52 | -------------------------------------------------------------------------------- /common/scripts/copyright-banner-go.txt: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | -------------------------------------------------------------------------------- /common/scripts/fix_copyright_banner.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | set -e 25 | 26 | WD=$(dirname "$0") 27 | WD=$(cd "$WD"; pwd) 28 | 29 | for fn in "$@"; do 30 | if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then 31 | if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then 32 | newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}") 33 | echo "${newfile}" > "${fn}" 34 | echo "Fixing license: ${fn}" 35 | else 36 | echo "Cannot fix license: ${fn}. Unknown file type" 37 | fi 38 | fi 39 | done 40 | -------------------------------------------------------------------------------- /common/scripts/format_go.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | golangci-lint run --fix -c ./common/config/.golangci.yml 25 | -------------------------------------------------------------------------------- /common/scripts/gobuild.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors. All Rights Reserved. 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | # This script builds and version stamps the output 25 | 26 | VERBOSE=${VERBOSE:-"0"} 27 | V="" 28 | if [[ "${VERBOSE}" == "1" ]];then 29 | V="-x" 30 | set -x 31 | fi 32 | 33 | SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 34 | 35 | OUT=${1:?"output path"} 36 | shift 37 | 38 | set -e 39 | 40 | export BUILD_GOOS=${GOOS:-linux} 41 | export BUILD_GOARCH=${GOARCH:-amd64} 42 | GOBINARY=${GOBINARY:-go} 43 | GOPKG="$GOPATH/pkg" 44 | BUILDINFO=${BUILDINFO:-""} 45 | STATIC=${STATIC:-1} 46 | LDFLAGS=${LDFLAGS:--extldflags -static} 47 | GOBUILDFLAGS=${GOBUILDFLAGS:-""} 48 | # Split GOBUILDFLAGS by spaces into an array called GOBUILDFLAGS_ARRAY. 49 | IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS" 50 | 51 | GCFLAGS=${GCFLAGS:-} 52 | export CGO_ENABLED=${CGO_ENABLED:-0} 53 | 54 | if [[ "${STATIC}" != "1" ]];then 55 | LDFLAGS="" 56 | fi 57 | 58 | # gather buildinfo if not already provided 59 | # For a release build BUILDINFO should be produced 60 | # at the beginning of the build and used throughout 61 | if [[ -z ${BUILDINFO} ]];then 62 | BUILDINFO=$(mktemp) 63 | "${SCRIPTPATH}/report_build_info.sh" > "${BUILDINFO}" 64 | fi 65 | 66 | # BUILD LD_EXTRAFLAGS 67 | LD_EXTRAFLAGS="" 68 | 69 | while read -r line; do 70 | LD_EXTRAFLAGS="${LD_EXTRAFLAGS} -X ${line}" 71 | done < "${BUILDINFO}" 72 | 73 | OPTIMIZATION_FLAGS=(-trimpath) 74 | if [ "${DEBUG}" == "1" ]; then 75 | OPTIMIZATION_FLAGS=() 76 | fi 77 | 78 | time GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} ${GOBINARY} build \ 79 | ${V} "${GOBUILDFLAGS_ARRAY[@]}" ${GCFLAGS:+-gcflags "${GCFLAGS}"} \ 80 | -o "${OUT}" \ 81 | "${OPTIMIZATION_FLAGS[@]}" \ 82 | -pkgdir="${GOPKG}/${BUILD_GOOS}_${BUILD_GOARCH}" \ 83 | -ldflags "${LDFLAGS} ${LD_EXTRAFLAGS}" "${@}" 84 | -------------------------------------------------------------------------------- /common/scripts/lint_copyright_banner.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | set -e 25 | 26 | ec=0 27 | for fn in "$@"; do 28 | if ! grep -L -q -e "Apache License, Version 2" "${fn}"; then 29 | echo "Missing license: ${fn}" 30 | ec=1 31 | fi 32 | 33 | if ! grep -L -q -e "Copyright" "${fn}"; then 34 | echo "Missing copyright: ${fn}" 35 | ec=1 36 | fi 37 | done 38 | 39 | exit $ec 40 | -------------------------------------------------------------------------------- /common/scripts/lint_go.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | GOLANGCILINT_RUN_ARGS=(--output.text.path stdout --output.junit-xml.path "${ARTIFACTS}"/junit-lint.xml) 25 | 26 | if [[ "${ARTIFACTS}" != "" ]]; then 27 | golangci-lint run -v -c ./common/config/.golangci.yml "${GOLANGCILINT_RUN_ARGS[@]}" 28 | else 29 | golangci-lint run -v -c ./common/config/.golangci.yml 30 | fi 31 | -------------------------------------------------------------------------------- /common/scripts/report_build_info.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | if BUILD_GIT_REVISION=$(git rev-parse HEAD 2> /dev/null); then 25 | if [[ -z "${IGNORE_DIRTY_TREE}" ]] && [[ -n "$(git status --porcelain 2>/dev/null)" ]]; then 26 | BUILD_GIT_REVISION=${BUILD_GIT_REVISION}"-dirty" 27 | fi 28 | else 29 | BUILD_GIT_REVISION=unknown 30 | fi 31 | 32 | # Check for local changes 33 | tree_status="Clean" 34 | if [[ -z "${IGNORE_DIRTY_TREE}" ]] && ! git diff-index --quiet HEAD --; then 35 | tree_status="Modified" 36 | fi 37 | 38 | GIT_DESCRIBE_TAG=$(git describe --tags --always) 39 | HUB=${HUB:-"docker.io/istio"} 40 | 41 | # used by common/scripts/gobuild.sh 42 | echo "istio.io/istio/pkg/version.buildVersion=${VERSION:-$BUILD_GIT_REVISION}" 43 | echo "istio.io/istio/pkg/version.buildGitRevision=${BUILD_GIT_REVISION}" 44 | echo "istio.io/istio/pkg/version.buildStatus=${tree_status}" 45 | echo "istio.io/istio/pkg/version.buildTag=${GIT_DESCRIBE_TAG}" 46 | echo "istio.io/istio/pkg/version.buildHub=${HUB}" 47 | echo "istio.io/istio/pkg/version.buildOS=${BUILD_GOOS}" 48 | echo "istio.io/istio/pkg/version.buildArch=${BUILD_GOARCH}" 49 | -------------------------------------------------------------------------------- /common/scripts/run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY 4 | # 5 | # The original version of this file is located in the https://github.com/istio/common-files repo. 6 | # If you're looking at this file in a different repo and want to make a change, please go to the 7 | # common-files repo, make the change there and check it in. Then come back to this repo and run 8 | # "make update-common". 9 | 10 | # Copyright Istio Authors 11 | # 12 | # Licensed under the Apache License, Version 2.0 (the "License"); 13 | # you may not use this file except in compliance with the License. 14 | # You may obtain a copy of the License at 15 | # 16 | # http://www.apache.org/licenses/LICENSE-2.0 17 | # 18 | # Unless required by applicable law or agreed to in writing, software 19 | # distributed under the License is distributed on an "AS IS" BASIS, 20 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 | # See the License for the specific language governing permissions and 22 | # limitations under the License. 23 | 24 | set -e 25 | 26 | WD=$(dirname "$0") 27 | WD=$(cd "$WD"; pwd) 28 | 29 | export FOR_BUILD_CONTAINER=1 30 | # shellcheck disable=SC1090,SC1091 31 | source "${WD}/setup_env.sh" 32 | 33 | 34 | MOUNT_SOURCE="${MOUNT_SOURCE:-${PWD}}" 35 | MOUNT_DEST="${MOUNT_DEST:-/work}" 36 | 37 | read -ra DOCKER_RUN_OPTIONS <<< "${DOCKER_RUN_OPTIONS:-}" 38 | 39 | [[ -t 0 ]] && DOCKER_RUN_OPTIONS+=("-it") 40 | [[ ${UID} -ne 0 ]] && DOCKER_RUN_OPTIONS+=(-u "${UID}:${DOCKER_GID}") 41 | 42 | # $CONTAINER_OPTIONS becomes an empty arg when quoted, so SC2086 is disabled for the 43 | # following command only 44 | # shellcheck disable=SC2086 45 | "${CONTAINER_CLI}" run \ 46 | --rm \ 47 | "${DOCKER_RUN_OPTIONS[@]}" \ 48 | --init \ 49 | --sig-proxy=true \ 50 | --cap-add=SYS_ADMIN \ 51 | ${DOCKER_SOCKET_MOUNT:--v /var/run/docker.sock:/var/run/docker.sock} \ 52 | -e DOCKER_HOST=${DOCKER_SOCKET_HOST:-unix:///var/run/docker.sock} \ 53 | $CONTAINER_OPTIONS \ 54 | --env-file <(env | grep -v ${ENV_BLOCKLIST}) \ 55 | -e IN_BUILD_CONTAINER=1 \ 56 | -e TZ="${TIMEZONE:-$TZ}" \ 57 | --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \ 58 | --mount "type=volume,source=go,destination=/go" \ 59 | --mount "type=volume,source=gocache,destination=/gocache" \ 60 | --mount "type=volume,source=cache,destination=/home/.cache" \ 61 | --mount "type=volume,source=crates,destination=/home/.cargo/registry" \ 62 | --mount "type=volume,source=git-crates,destination=/home/.cargo/git" \ 63 | ${CONDITIONAL_HOST_MOUNTS} \ 64 | -w "${MOUNT_DEST}" "${IMG}" "$@" 65 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module istio.io/client-go 2 | 3 | go 1.23.0 4 | 5 | require ( 6 | istio.io/api v1.26.0-alpha.0.0.20250522141322-47c8bc9152b6 7 | k8s.io/apimachinery v0.32.1 8 | k8s.io/client-go v0.32.1 9 | sigs.k8s.io/structured-merge-diff/v4 v4.5.0 10 | ) 11 | 12 | require ( 13 | github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect 14 | github.com/emicklei/go-restful/v3 v3.11.0 // indirect 15 | github.com/fxamacker/cbor/v2 v2.7.0 // indirect 16 | github.com/go-logr/logr v1.4.2 // indirect 17 | github.com/go-openapi/jsonpointer v0.21.0 // indirect 18 | github.com/go-openapi/jsonreference v0.20.2 // indirect 19 | github.com/go-openapi/swag v0.23.0 // indirect 20 | github.com/gogo/protobuf v1.3.2 // indirect 21 | github.com/golang/protobuf v1.5.4 // indirect 22 | github.com/google/gnostic-models v0.6.8 // indirect 23 | github.com/google/go-cmp v0.6.0 // indirect 24 | github.com/google/gofuzz v1.2.0 // indirect 25 | github.com/google/uuid v1.6.0 // indirect 26 | github.com/josharian/intern v1.0.0 // indirect 27 | github.com/json-iterator/go v1.1.12 // indirect 28 | github.com/mailru/easyjson v0.7.7 // indirect 29 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect 30 | github.com/modern-go/reflect2 v1.0.2 // indirect 31 | github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect 32 | github.com/pkg/errors v0.9.1 // indirect 33 | github.com/spf13/pflag v1.0.5 // indirect 34 | github.com/x448/float16 v0.8.4 // indirect 35 | golang.org/x/net v0.38.0 // indirect 36 | golang.org/x/oauth2 v0.23.0 // indirect 37 | golang.org/x/sys v0.31.0 // indirect 38 | golang.org/x/term v0.30.0 // indirect 39 | golang.org/x/text v0.23.0 // indirect 40 | golang.org/x/time v0.7.0 // indirect 41 | google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect 42 | google.golang.org/protobuf v1.36.6 // indirect 43 | gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect 44 | gopkg.in/inf.v0 v0.9.1 // indirect 45 | gopkg.in/yaml.v3 v3.0.1 // indirect 46 | k8s.io/api v0.32.1 // indirect 47 | k8s.io/klog/v2 v2.130.1 // indirect 48 | k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect 49 | k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect 50 | sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect 51 | sigs.k8s.io/yaml v1.4.0 // indirect 52 | ) 53 | -------------------------------------------------------------------------------- /header.go.txt: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | -------------------------------------------------------------------------------- /licenses/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 | -------------------------------------------------------------------------------- /licenses/github.com/emicklei/go-restful/v3/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012,2013 Ernest Micklei 2 | 3 | MIT License 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /licenses/github.com/fxamacker/cbor/v2/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-present Faye Amacker 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /licenses/github.com/gogo/protobuf/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013, The GoGo Authors. All rights reserved. 2 | 3 | Protocol Buffers for Go with Gadgets 4 | 5 | Go support for Protocol Buffers - Google's data interchange format 6 | 7 | Copyright 2010 The Go Authors. All rights reserved. 8 | https://github.com/golang/protobuf 9 | 10 | Redistribution and use in source and binary forms, with or without 11 | modification, are permitted provided that the following conditions are 12 | met: 13 | 14 | * Redistributions of source code must retain the above copyright 15 | notice, this list of conditions and the following disclaimer. 16 | * Redistributions in binary form must reproduce the above 17 | copyright notice, this list of conditions and the following disclaimer 18 | in the documentation and/or other materials provided with the 19 | distribution. 20 | * Neither the name of Google Inc. nor the names of its 21 | contributors may be used to endorse or promote products derived from 22 | this software without specific prior written permission. 23 | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 25 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 26 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 27 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 28 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 29 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 30 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 | 36 | -------------------------------------------------------------------------------- /licenses/github.com/golang/protobuf/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2010 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | 29 | -------------------------------------------------------------------------------- /licenses/github.com/google/go-cmp/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/github.com/google/uuid/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009,2014 Google Inc. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/github.com/josharian/intern/license.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Josh Bleecher Snyder 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /licenses/github.com/json-iterator/go/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 json-iterator 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /licenses/github.com/mailru/easyjson/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Mail.Ru Group 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /licenses/github.com/munnerz/goautoneg/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011, Open Knowledge Foundation Ltd. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | 8 | Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | 11 | Redistributions in binary form must reproduce the above copyright 12 | notice, this list of conditions and the following disclaimer in 13 | the documentation and/or other materials provided with the 14 | distribution. 15 | 16 | Neither the name of the Open Knowledge Foundation Ltd. nor the 17 | names of its contributors may be used to endorse or promote 18 | products derived from this software without specific prior written 19 | permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25 | HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 | -------------------------------------------------------------------------------- /licenses/github.com/pkg/errors/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Dave Cheney 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 15 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 17 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 18 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 21 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 22 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 | -------------------------------------------------------------------------------- /licenses/github.com/spf13/pflag/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Alex Ogier. All rights reserved. 2 | Copyright (c) 2012 The Go Authors. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above 11 | copyright notice, this list of conditions and the following disclaimer 12 | in the documentation and/or other materials provided with the 13 | distribution. 14 | * Neither the name of Google Inc. nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /licenses/github.com/x448/float16/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Montgomery Edwards⁴⁴⁸ and Faye Amacker 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /licenses/golang.org/x/net/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/golang.org/x/oauth2/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/golang.org/x/sys/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/golang.org/x/term/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/golang.org/x/text/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/golang.org/x/time/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2009 The Go Authors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google LLC nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/google.golang.org/protobuf/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/gopkg.in/evanphx/json-patch.v4/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014, Evan Phoenix 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | * Neither the name of the Evan Phoenix nor the names of its contributors 13 | may be used to endorse or promote products derived from this software 14 | without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /licenses/gopkg.in/inf.v0/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Péter Surányi. Portions Copyright (c) 2009 The Go 2 | Authors. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above 11 | copyright notice, this list of conditions and the following disclaimer 12 | in the documentation and/or other materials provided with the 13 | distribution. 14 | * Neither the name of Google Inc. nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /licenses/gopkg.in/yaml.v3/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | This project is covered by two different licenses: MIT and Apache. 3 | 4 | #### MIT License #### 5 | 6 | The following files were ported to Go from C files of libyaml, and thus 7 | are still covered by their original MIT license, with the additional 8 | copyright staring in 2011 when the project was ported over: 9 | 10 | apic.go emitterc.go parserc.go readerc.go scannerc.go 11 | writerc.go yamlh.go yamlprivateh.go 12 | 13 | Copyright (c) 2006-2010 Kirill Simonov 14 | Copyright (c) 2006-2011 Kirill Simonov 15 | 16 | Permission is hereby granted, free of charge, to any person obtaining a copy of 17 | this software and associated documentation files (the "Software"), to deal in 18 | the Software without restriction, including without limitation the rights to 19 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 20 | of the Software, and to permit persons to whom the Software is furnished to do 21 | so, subject to the following conditions: 22 | 23 | The above copyright notice and this permission notice shall be included in all 24 | copies or substantial portions of the Software. 25 | 26 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 27 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 29 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 31 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 | SOFTWARE. 33 | 34 | ### Apache License ### 35 | 36 | All the remaining project files are covered by the Apache license: 37 | 38 | Copyright (c) 2011-2019 Canonical Ltd 39 | 40 | Licensed under the Apache License, Version 2.0 (the "License"); 41 | you may not use this file except in compliance with the License. 42 | You may obtain a copy of the License at 43 | 44 | http://www.apache.org/licenses/LICENSE-2.0 45 | 46 | Unless required by applicable law or agreed to in writing, software 47 | distributed under the License is distributed on an "AS IS" BASIS, 48 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 49 | See the License for the specific language governing permissions and 50 | limitations under the License. 51 | -------------------------------------------------------------------------------- /licenses/k8s.io/apimachinery/third_party/forked/golang/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/k8s.io/client-go/third_party/forked/golang/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/k8s.io/utils/inotify/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/k8s.io/utils/internal/third_party/forked/golang/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/k8s.io/utils/third_party/forked/golang/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 The Go Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are 5 | met: 6 | 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following disclaimer 11 | in the documentation and/or other materials provided with the 12 | distribution. 13 | * Neither the name of Google Inc. nor the names of its 14 | contributors may be used to endorse or promote products derived from 15 | this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/sigs.k8s.io/yaml/goyaml.v3/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | This project is covered by two different licenses: MIT and Apache. 3 | 4 | #### MIT License #### 5 | 6 | The following files were ported to Go from C files of libyaml, and thus 7 | are still covered by their original MIT license, with the additional 8 | copyright staring in 2011 when the project was ported over: 9 | 10 | apic.go emitterc.go parserc.go readerc.go scannerc.go 11 | writerc.go yamlh.go yamlprivateh.go 12 | 13 | Copyright (c) 2006-2010 Kirill Simonov 14 | Copyright (c) 2006-2011 Kirill Simonov 15 | 16 | Permission is hereby granted, free of charge, to any person obtaining a copy of 17 | this software and associated documentation files (the "Software"), to deal in 18 | the Software without restriction, including without limitation the rights to 19 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 20 | of the Software, and to permit persons to whom the Software is furnished to do 21 | so, subject to the following conditions: 22 | 23 | The above copyright notice and this permission notice shall be included in all 24 | copies or substantial portions of the Software. 25 | 26 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 27 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 28 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 29 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 30 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 31 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 32 | SOFTWARE. 33 | 34 | ### Apache License ### 35 | 36 | All the remaining project files are covered by the Apache license: 37 | 38 | Copyright (c) 2011-2019 Canonical Ltd 39 | 40 | Licensed under the Apache License, Version 2.0 (the "License"); 41 | you may not use this file except in compliance with the License. 42 | You may obtain a copy of the License at 43 | 44 | http://www.apache.org/licenses/LICENSE-2.0 45 | 46 | Unless required by applicable law or agreed to in writing, software 47 | distributed under the License is distributed on an "AS IS" BASIS, 48 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 49 | See the License for the specific language governing permissions and 50 | limitations under the License. 51 | -------------------------------------------------------------------------------- /pkg/apis/extensions/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=extensions.istio.io 21 | package v1alpha1 22 | -------------------------------------------------------------------------------- /pkg/apis/extensions/v1alpha1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "extensions.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &WasmPlugin{}, 45 | &WasmPluginList{}, 46 | ) 47 | v1.AddToGroupVersion(scheme, SchemeGroupVersion) 48 | return nil 49 | } 50 | -------------------------------------------------------------------------------- /pkg/apis/extensions/v1alpha1/types.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | extensionsv1alpha1 "istio.io/api/extensions/v1alpha1" 21 | metav1alpha1 "istio.io/api/meta/v1alpha1" 22 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 23 | ) 24 | 25 | // 26 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 27 | 28 | // WasmPlugin provides a mechanism to extend the functionality provided by 29 | // the Istio proxy through WebAssembly filters. 30 | // 31 | // 48 | // 49 | // 55 | // +kubebuilder:validation:XValidation:message="only one of targetRefs or selector can be set",rule="oneof(self.selector, self.targetRef, self.targetRefs)" 56 | type WasmPlugin struct { 57 | v1.TypeMeta `json:",inline"` 58 | // +optional 59 | v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 60 | 61 | // Spec defines the implementation of this definition. 62 | // +optional 63 | Spec extensionsv1alpha1.WasmPlugin `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` 64 | 65 | Status metav1alpha1.IstioStatus `json:"status,omitempty"` 66 | } 67 | 68 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 69 | 70 | // WasmPluginList is a collection of WasmPlugins. 71 | type WasmPluginList struct { 72 | v1.TypeMeta `json:",inline"` 73 | // +optional 74 | v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 75 | Items []*WasmPlugin `json:"items" protobuf:"bytes,2,rep,name=items"` 76 | } 77 | -------------------------------------------------------------------------------- /pkg/apis/extensions/v1alpha1/zz_generated.deepcopy.gen.go: -------------------------------------------------------------------------------- 1 | //go:build !ignore_autogenerated 2 | // +build !ignore_autogenerated 3 | 4 | // Copyright Istio Authors 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | // Code generated by deepcopy-gen. DO NOT EDIT. 19 | 20 | package v1alpha1 21 | 22 | import ( 23 | runtime "k8s.io/apimachinery/pkg/runtime" 24 | ) 25 | 26 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 | func (in *WasmPlugin) DeepCopyInto(out *WasmPlugin) { 28 | out.TypeMeta = in.TypeMeta 29 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 30 | in.Spec.DeepCopyInto(&out.Spec) 31 | in.Status.DeepCopyInto(&out.Status) 32 | return 33 | } 34 | 35 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WasmPlugin. 36 | func (in *WasmPlugin) DeepCopy() *WasmPlugin { 37 | if in == nil { 38 | return nil 39 | } 40 | out := new(WasmPlugin) 41 | in.DeepCopyInto(out) 42 | return out 43 | } 44 | 45 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 46 | func (in *WasmPlugin) DeepCopyObject() runtime.Object { 47 | if c := in.DeepCopy(); c != nil { 48 | return c 49 | } 50 | return nil 51 | } 52 | 53 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 54 | func (in *WasmPluginList) DeepCopyInto(out *WasmPluginList) { 55 | out.TypeMeta = in.TypeMeta 56 | in.ListMeta.DeepCopyInto(&out.ListMeta) 57 | if in.Items != nil { 58 | in, out := &in.Items, &out.Items 59 | *out = make([]*WasmPlugin, len(*in)) 60 | for i := range *in { 61 | if (*in)[i] != nil { 62 | in, out := &(*in)[i], &(*out)[i] 63 | *out = new(WasmPlugin) 64 | (*in).DeepCopyInto(*out) 65 | } 66 | } 67 | } 68 | return 69 | } 70 | 71 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WasmPluginList. 72 | func (in *WasmPluginList) DeepCopy() *WasmPluginList { 73 | if in == nil { 74 | return nil 75 | } 76 | out := new(WasmPluginList) 77 | in.DeepCopyInto(out) 78 | return out 79 | } 80 | 81 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 82 | func (in *WasmPluginList) DeepCopyObject() runtime.Object { 83 | if c := in.DeepCopy(); c != nil { 84 | return c 85 | } 86 | return nil 87 | } 88 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=networking.istio.io 21 | package v1 22 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "networking.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &DestinationRule{}, 45 | &DestinationRuleList{}, 46 | &Gateway{}, 47 | &GatewayList{}, 48 | &ServiceEntry{}, 49 | &ServiceEntryList{}, 50 | &Sidecar{}, 51 | &SidecarList{}, 52 | &VirtualService{}, 53 | &VirtualServiceList{}, 54 | &WorkloadEntry{}, 55 | &WorkloadEntryList{}, 56 | &WorkloadGroup{}, 57 | &WorkloadGroupList{}, 58 | ) 59 | metav1.AddToGroupVersion(scheme, SchemeGroupVersion) 60 | return nil 61 | } 62 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1alpha3/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=networking.istio.io 21 | package v1alpha3 22 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1alpha3/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1alpha3 18 | 19 | import ( 20 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha3"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "networking.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &DestinationRule{}, 45 | &DestinationRuleList{}, 46 | &EnvoyFilter{}, 47 | &EnvoyFilterList{}, 48 | &Gateway{}, 49 | &GatewayList{}, 50 | &ServiceEntry{}, 51 | &ServiceEntryList{}, 52 | &Sidecar{}, 53 | &SidecarList{}, 54 | &VirtualService{}, 55 | &VirtualServiceList{}, 56 | &WorkloadEntry{}, 57 | &WorkloadEntryList{}, 58 | &WorkloadGroup{}, 59 | &WorkloadGroupList{}, 60 | ) 61 | v1.AddToGroupVersion(scheme, SchemeGroupVersion) 62 | return nil 63 | } 64 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=networking.istio.io 21 | package v1beta1 22 | -------------------------------------------------------------------------------- /pkg/apis/networking/v1beta1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | import ( 20 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "networking.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &DestinationRule{}, 45 | &DestinationRuleList{}, 46 | &Gateway{}, 47 | &GatewayList{}, 48 | &ProxyConfig{}, 49 | &ProxyConfigList{}, 50 | &ServiceEntry{}, 51 | &ServiceEntryList{}, 52 | &Sidecar{}, 53 | &SidecarList{}, 54 | &VirtualService{}, 55 | &VirtualServiceList{}, 56 | &WorkloadEntry{}, 57 | &WorkloadEntryList{}, 58 | &WorkloadGroup{}, 59 | &WorkloadGroupList{}, 60 | ) 61 | v1.AddToGroupVersion(scheme, SchemeGroupVersion) 62 | return nil 63 | } 64 | -------------------------------------------------------------------------------- /pkg/apis/security/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=security.istio.io 21 | package v1 22 | -------------------------------------------------------------------------------- /pkg/apis/security/v1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "security.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &AuthorizationPolicy{}, 45 | &AuthorizationPolicyList{}, 46 | &PeerAuthentication{}, 47 | &PeerAuthenticationList{}, 48 | &RequestAuthentication{}, 49 | &RequestAuthenticationList{}, 50 | ) 51 | metav1.AddToGroupVersion(scheme, SchemeGroupVersion) 52 | return nil 53 | } 54 | -------------------------------------------------------------------------------- /pkg/apis/security/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=security.istio.io 21 | package v1beta1 22 | -------------------------------------------------------------------------------- /pkg/apis/security/v1beta1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | import ( 20 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "security.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &AuthorizationPolicy{}, 45 | &AuthorizationPolicyList{}, 46 | &PeerAuthentication{}, 47 | &PeerAuthenticationList{}, 48 | &RequestAuthentication{}, 49 | &RequestAuthenticationList{}, 50 | ) 51 | v1.AddToGroupVersion(scheme, SchemeGroupVersion) 52 | return nil 53 | } 54 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=telemetry.istio.io 21 | package v1 22 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "telemetry.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &Telemetry{}, 45 | &TelemetryList{}, 46 | ) 47 | metav1.AddToGroupVersion(scheme, SchemeGroupVersion) 48 | return nil 49 | } 50 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1/types.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | metav1alpha1 "istio.io/api/meta/v1alpha1" 21 | v1alpha1 "istio.io/api/telemetry/v1alpha1" 22 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 23 | ) 24 | 25 | // 26 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 27 | 28 | // 45 | // 46 | // 52 | // +kubebuilder:validation:XValidation:message="only one of targetRefs or selector can be set",rule="oneof(self.selector, self.targetRef, self.targetRefs)" 53 | type Telemetry struct { 54 | metav1.TypeMeta `json:",inline"` 55 | // +optional 56 | metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 57 | 58 | // Spec defines the implementation of this definition. 59 | // +optional 60 | Spec v1alpha1.Telemetry `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` 61 | 62 | Status metav1alpha1.IstioStatus `json:"status,omitempty"` 63 | } 64 | 65 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 66 | 67 | // TelemetryList is a collection of Telemetries. 68 | type TelemetryList struct { 69 | metav1.TypeMeta `json:",inline"` 70 | // +optional 71 | metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 72 | Items []*Telemetry `json:"items" protobuf:"bytes,2,rep,name=items"` 73 | } 74 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1/zz_generated.deepcopy.gen.go: -------------------------------------------------------------------------------- 1 | //go:build !ignore_autogenerated 2 | // +build !ignore_autogenerated 3 | 4 | // Copyright Istio Authors 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | // Code generated by deepcopy-gen. DO NOT EDIT. 19 | 20 | package v1 21 | 22 | import ( 23 | runtime "k8s.io/apimachinery/pkg/runtime" 24 | ) 25 | 26 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 | func (in *Telemetry) DeepCopyInto(out *Telemetry) { 28 | out.TypeMeta = in.TypeMeta 29 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 30 | in.Spec.DeepCopyInto(&out.Spec) 31 | in.Status.DeepCopyInto(&out.Status) 32 | return 33 | } 34 | 35 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Telemetry. 36 | func (in *Telemetry) DeepCopy() *Telemetry { 37 | if in == nil { 38 | return nil 39 | } 40 | out := new(Telemetry) 41 | in.DeepCopyInto(out) 42 | return out 43 | } 44 | 45 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 46 | func (in *Telemetry) DeepCopyObject() runtime.Object { 47 | if c := in.DeepCopy(); c != nil { 48 | return c 49 | } 50 | return nil 51 | } 52 | 53 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 54 | func (in *TelemetryList) DeepCopyInto(out *TelemetryList) { 55 | out.TypeMeta = in.TypeMeta 56 | in.ListMeta.DeepCopyInto(&out.ListMeta) 57 | if in.Items != nil { 58 | in, out := &in.Items, &out.Items 59 | *out = make([]*Telemetry, len(*in)) 60 | for i := range *in { 61 | if (*in)[i] != nil { 62 | in, out := &(*in)[i], &(*out)[i] 63 | *out = new(Telemetry) 64 | (*in).DeepCopyInto(*out) 65 | } 66 | } 67 | } 68 | return 69 | } 70 | 71 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryList. 72 | func (in *TelemetryList) DeepCopy() *TelemetryList { 73 | if in == nil { 74 | return nil 75 | } 76 | out := new(TelemetryList) 77 | in.DeepCopyInto(out) 78 | return out 79 | } 80 | 81 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 82 | func (in *TelemetryList) DeepCopyObject() runtime.Object { 83 | if c := in.DeepCopy(); c != nil { 84 | return c 85 | } 86 | return nil 87 | } 88 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | // Package has auto-generated kube type wrappers for raw types. 18 | // +k8s:openapi-gen=true 19 | // +k8s:deepcopy-gen=package 20 | // +groupName=telemetry.istio.io 21 | package v1alpha1 22 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1alpha1/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 21 | runtime "k8s.io/apimachinery/pkg/runtime" 22 | schema "k8s.io/apimachinery/pkg/runtime/schema" 23 | ) 24 | 25 | var ( 26 | // Package-wide variables from generator "register". 27 | SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} 28 | SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) 29 | localSchemeBuilder = &SchemeBuilder 30 | AddToScheme = localSchemeBuilder.AddToScheme 31 | ) 32 | 33 | const ( 34 | // Package-wide consts from generator "register". 35 | GroupName = "telemetry.istio.io" 36 | ) 37 | 38 | func Resource(resource string) schema.GroupResource { 39 | return SchemeGroupVersion.WithResource(resource).GroupResource() 40 | } 41 | 42 | func addKnownTypes(scheme *runtime.Scheme) error { 43 | scheme.AddKnownTypes(SchemeGroupVersion, 44 | &Telemetry{}, 45 | &TelemetryList{}, 46 | ) 47 | v1.AddToGroupVersion(scheme, SchemeGroupVersion) 48 | return nil 49 | } 50 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1alpha1/types.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by kubetype-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | metav1alpha1 "istio.io/api/meta/v1alpha1" 21 | telemetryv1alpha1 "istio.io/api/telemetry/v1alpha1" 22 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 23 | ) 24 | 25 | // 26 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 27 | 28 | // 45 | // 46 | // 52 | // +kubebuilder:validation:XValidation:message="only one of targetRefs or selector can be set",rule="oneof(self.selector, self.targetRef, self.targetRefs)" 53 | type Telemetry struct { 54 | v1.TypeMeta `json:",inline"` 55 | // +optional 56 | v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 57 | 58 | // Spec defines the implementation of this definition. 59 | // +optional 60 | Spec telemetryv1alpha1.Telemetry `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` 61 | 62 | Status metav1alpha1.IstioStatus `json:"status,omitempty"` 63 | } 64 | 65 | // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object 66 | 67 | // TelemetryList is a collection of Telemetries. 68 | type TelemetryList struct { 69 | v1.TypeMeta `json:",inline"` 70 | // +optional 71 | v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` 72 | Items []*Telemetry `json:"items" protobuf:"bytes,2,rep,name=items"` 73 | } 74 | -------------------------------------------------------------------------------- /pkg/apis/telemetry/v1alpha1/zz_generated.deepcopy.gen.go: -------------------------------------------------------------------------------- 1 | //go:build !ignore_autogenerated 2 | // +build !ignore_autogenerated 3 | 4 | // Copyright Istio Authors 5 | // 6 | // Licensed under the Apache License, Version 2.0 (the "License"); 7 | // you may not use this file except in compliance with the License. 8 | // You may obtain a copy of the License at 9 | // 10 | // http://www.apache.org/licenses/LICENSE-2.0 11 | // 12 | // Unless required by applicable law or agreed to in writing, software 13 | // distributed under the License is distributed on an "AS IS" BASIS, 14 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | // See the License for the specific language governing permissions and 16 | // limitations under the License. 17 | 18 | // Code generated by deepcopy-gen. DO NOT EDIT. 19 | 20 | package v1alpha1 21 | 22 | import ( 23 | runtime "k8s.io/apimachinery/pkg/runtime" 24 | ) 25 | 26 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 27 | func (in *Telemetry) DeepCopyInto(out *Telemetry) { 28 | out.TypeMeta = in.TypeMeta 29 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 30 | in.Spec.DeepCopyInto(&out.Spec) 31 | in.Status.DeepCopyInto(&out.Status) 32 | return 33 | } 34 | 35 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Telemetry. 36 | func (in *Telemetry) DeepCopy() *Telemetry { 37 | if in == nil { 38 | return nil 39 | } 40 | out := new(Telemetry) 41 | in.DeepCopyInto(out) 42 | return out 43 | } 44 | 45 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 46 | func (in *Telemetry) DeepCopyObject() runtime.Object { 47 | if c := in.DeepCopy(); c != nil { 48 | return c 49 | } 50 | return nil 51 | } 52 | 53 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 54 | func (in *TelemetryList) DeepCopyInto(out *TelemetryList) { 55 | out.TypeMeta = in.TypeMeta 56 | in.ListMeta.DeepCopyInto(&out.ListMeta) 57 | if in.Items != nil { 58 | in, out := &in.Items, &out.Items 59 | *out = make([]*Telemetry, len(*in)) 60 | for i := range *in { 61 | if (*in)[i] != nil { 62 | in, out := &(*in)[i], &(*out)[i] 63 | *out = new(Telemetry) 64 | (*in).DeepCopyInto(*out) 65 | } 66 | } 67 | } 68 | return 69 | } 70 | 71 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TelemetryList. 72 | func (in *TelemetryList) DeepCopy() *TelemetryList { 73 | if in == nil { 74 | return nil 75 | } 76 | out := new(TelemetryList) 77 | in.DeepCopyInto(out) 78 | return out 79 | } 80 | 81 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 82 | func (in *TelemetryList) DeepCopyObject() runtime.Object { 83 | if c := in.DeepCopy(); c != nil { 84 | return c 85 | } 86 | return nil 87 | } 88 | -------------------------------------------------------------------------------- /pkg/applyconfiguration/internal/internal.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by applyconfiguration-gen. DO NOT EDIT. 16 | 17 | package internal 18 | 19 | import ( 20 | "fmt" 21 | "sync" 22 | 23 | typed "sigs.k8s.io/structured-merge-diff/v4/typed" 24 | ) 25 | 26 | func Parser() *typed.Parser { 27 | parserOnce.Do(func() { 28 | var err error 29 | parser, err = typed.NewParser(schemaYAML) 30 | if err != nil { 31 | panic(fmt.Sprintf("Failed to parse schema: %v", err)) 32 | } 33 | }) 34 | return parser 35 | } 36 | 37 | var parserOnce sync.Once 38 | var parser *typed.Parser 39 | var schemaYAML = typed.YAMLObject(`types: 40 | - name: __untyped_atomic_ 41 | scalar: untyped 42 | list: 43 | elementType: 44 | namedType: __untyped_atomic_ 45 | elementRelationship: atomic 46 | map: 47 | elementType: 48 | namedType: __untyped_atomic_ 49 | elementRelationship: atomic 50 | - name: __untyped_deduced_ 51 | scalar: untyped 52 | list: 53 | elementType: 54 | namedType: __untyped_atomic_ 55 | elementRelationship: atomic 56 | map: 57 | elementType: 58 | namedType: __untyped_deduced_ 59 | elementRelationship: separable 60 | `) 61 | -------------------------------------------------------------------------------- /pkg/applyconfiguration/meta/v1/typemeta.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by applyconfiguration-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | // TypeMetaApplyConfiguration represents an declarative configuration of the TypeMeta type for use 20 | // with apply. 21 | type TypeMetaApplyConfiguration struct { 22 | Kind *string `json:"kind,omitempty"` 23 | APIVersion *string `json:"apiVersion,omitempty"` 24 | } 25 | 26 | // TypeMetaApplyConfiguration constructs an declarative configuration of the TypeMeta type for use with 27 | // apply. 28 | func TypeMeta() *TypeMetaApplyConfiguration { 29 | return &TypeMetaApplyConfiguration{} 30 | } 31 | 32 | // WithKind sets the Kind field in the declarative configuration to the given value 33 | // and returns the receiver, so that objects can be built by chaining "With" function invocations. 34 | // If called multiple times, the Kind field is set to the value of the last call. 35 | func (b *TypeMetaApplyConfiguration) WithKind(value string) *TypeMetaApplyConfiguration { 36 | b.Kind = &value 37 | return b 38 | } 39 | 40 | // WithAPIVersion sets the APIVersion field in the declarative configuration to the given value 41 | // and returns the receiver, so that objects can be built by chaining "With" function invocations. 42 | // If called multiple times, the APIVersion field is set to the value of the last call. 43 | func (b *TypeMetaApplyConfiguration) WithAPIVersion(value string) *TypeMetaApplyConfiguration { 44 | b.APIVersion = &value 45 | return b 46 | } 47 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated fake clientset. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/fake/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | extensionsv1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1" 21 | networkingv1 "istio.io/client-go/pkg/apis/networking/v1" 22 | networkingv1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3" 23 | networkingv1beta1 "istio.io/client-go/pkg/apis/networking/v1beta1" 24 | securityv1 "istio.io/client-go/pkg/apis/security/v1" 25 | securityv1beta1 "istio.io/client-go/pkg/apis/security/v1beta1" 26 | telemetryv1 "istio.io/client-go/pkg/apis/telemetry/v1" 27 | telemetryv1alpha1 "istio.io/client-go/pkg/apis/telemetry/v1alpha1" 28 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 29 | runtime "k8s.io/apimachinery/pkg/runtime" 30 | schema "k8s.io/apimachinery/pkg/runtime/schema" 31 | serializer "k8s.io/apimachinery/pkg/runtime/serializer" 32 | utilruntime "k8s.io/apimachinery/pkg/util/runtime" 33 | ) 34 | 35 | var scheme = runtime.NewScheme() 36 | var codecs = serializer.NewCodecFactory(scheme) 37 | 38 | var localSchemeBuilder = runtime.SchemeBuilder{ 39 | extensionsv1alpha1.AddToScheme, 40 | networkingv1alpha3.AddToScheme, 41 | networkingv1beta1.AddToScheme, 42 | networkingv1.AddToScheme, 43 | securityv1beta1.AddToScheme, 44 | securityv1.AddToScheme, 45 | telemetryv1alpha1.AddToScheme, 46 | telemetryv1.AddToScheme, 47 | } 48 | 49 | // AddToScheme adds all types of this clientset into the given scheme. This allows composition 50 | // of clientsets, like in: 51 | // 52 | // import ( 53 | // "k8s.io/client-go/kubernetes" 54 | // clientsetscheme "k8s.io/client-go/kubernetes/scheme" 55 | // aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" 56 | // ) 57 | // 58 | // kclientset, _ := kubernetes.NewForConfig(c) 59 | // _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) 60 | // 61 | // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types 62 | // correctly. 63 | var AddToScheme = localSchemeBuilder.AddToScheme 64 | 65 | func init() { 66 | v1.AddToGroupVersion(scheme, schema.GroupVersion{Version: "v1"}) 67 | utilruntime.Must(AddToScheme(scheme)) 68 | } 69 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/scheme/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package contains the scheme of the automatically generated clientset. 18 | package scheme 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/scheme/register.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package scheme 18 | 19 | import ( 20 | extensionsv1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1" 21 | networkingv1 "istio.io/client-go/pkg/apis/networking/v1" 22 | networkingv1alpha3 "istio.io/client-go/pkg/apis/networking/v1alpha3" 23 | networkingv1beta1 "istio.io/client-go/pkg/apis/networking/v1beta1" 24 | securityv1 "istio.io/client-go/pkg/apis/security/v1" 25 | securityv1beta1 "istio.io/client-go/pkg/apis/security/v1beta1" 26 | telemetryv1 "istio.io/client-go/pkg/apis/telemetry/v1" 27 | telemetryv1alpha1 "istio.io/client-go/pkg/apis/telemetry/v1alpha1" 28 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 29 | runtime "k8s.io/apimachinery/pkg/runtime" 30 | schema "k8s.io/apimachinery/pkg/runtime/schema" 31 | serializer "k8s.io/apimachinery/pkg/runtime/serializer" 32 | utilruntime "k8s.io/apimachinery/pkg/util/runtime" 33 | ) 34 | 35 | var Scheme = runtime.NewScheme() 36 | var Codecs = serializer.NewCodecFactory(Scheme) 37 | var ParameterCodec = runtime.NewParameterCodec(Scheme) 38 | var localSchemeBuilder = runtime.SchemeBuilder{ 39 | extensionsv1alpha1.AddToScheme, 40 | networkingv1alpha3.AddToScheme, 41 | networkingv1beta1.AddToScheme, 42 | networkingv1.AddToScheme, 43 | securityv1beta1.AddToScheme, 44 | securityv1.AddToScheme, 45 | telemetryv1alpha1.AddToScheme, 46 | telemetryv1.AddToScheme, 47 | } 48 | 49 | // AddToScheme adds all types of this clientset into the given scheme. This allows composition 50 | // of clientsets, like in: 51 | // 52 | // import ( 53 | // "k8s.io/client-go/kubernetes" 54 | // clientsetscheme "k8s.io/client-go/kubernetes/scheme" 55 | // aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" 56 | // ) 57 | // 58 | // kclientset, _ := kubernetes.NewForConfig(c) 59 | // _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) 60 | // 61 | // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types 62 | // correctly. 63 | var AddToScheme = localSchemeBuilder.AddToScheme 64 | 65 | func init() { 66 | v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"}) 67 | utilruntime.Must(AddToScheme(Scheme)) 68 | } 69 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/extensions/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1alpha1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/extensions/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/extensions/v1alpha1/fake/fake_extensions_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1alpha1 "istio.io/client-go/pkg/clientset/versioned/typed/extensions/v1alpha1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeExtensionsV1alpha1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeExtensionsV1alpha1) WasmPlugins(namespace string) v1alpha1.WasmPluginInterface { 30 | return &FakeWasmPlugins{c, namespace} 31 | } 32 | 33 | // RESTClient returns a RESTClient that is used to communicate 34 | // with API server by this client implementation. 35 | func (c *FakeExtensionsV1alpha1) RESTClient() rest.Interface { 36 | var ret *rest.RESTClient 37 | return ret 38 | } 39 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/extensions/v1alpha1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | type WasmPluginExpansion interface{} 20 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1/fake/fake_networking_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1 "istio.io/client-go/pkg/clientset/versioned/typed/networking/v1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeNetworkingV1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeNetworkingV1) DestinationRules(namespace string) v1.DestinationRuleInterface { 30 | return &FakeDestinationRules{c, namespace} 31 | } 32 | 33 | func (c *FakeNetworkingV1) Gateways(namespace string) v1.GatewayInterface { 34 | return &FakeGateways{c, namespace} 35 | } 36 | 37 | func (c *FakeNetworkingV1) ServiceEntries(namespace string) v1.ServiceEntryInterface { 38 | return &FakeServiceEntries{c, namespace} 39 | } 40 | 41 | func (c *FakeNetworkingV1) Sidecars(namespace string) v1.SidecarInterface { 42 | return &FakeSidecars{c, namespace} 43 | } 44 | 45 | func (c *FakeNetworkingV1) VirtualServices(namespace string) v1.VirtualServiceInterface { 46 | return &FakeVirtualServices{c, namespace} 47 | } 48 | 49 | func (c *FakeNetworkingV1) WorkloadEntries(namespace string) v1.WorkloadEntryInterface { 50 | return &FakeWorkloadEntries{c, namespace} 51 | } 52 | 53 | func (c *FakeNetworkingV1) WorkloadGroups(namespace string) v1.WorkloadGroupInterface { 54 | return &FakeWorkloadGroups{c, namespace} 55 | } 56 | 57 | // RESTClient returns a RESTClient that is used to communicate 58 | // with API server by this client implementation. 59 | func (c *FakeNetworkingV1) RESTClient() rest.Interface { 60 | var ret *rest.RESTClient 61 | return ret 62 | } 63 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | type DestinationRuleExpansion interface{} 20 | 21 | type GatewayExpansion interface{} 22 | 23 | type ServiceEntryExpansion interface{} 24 | 25 | type SidecarExpansion interface{} 26 | 27 | type VirtualServiceExpansion interface{} 28 | 29 | type WorkloadEntryExpansion interface{} 30 | 31 | type WorkloadGroupExpansion interface{} 32 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1alpha3/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1alpha3 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1alpha3/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1alpha3/fake/fake_networking_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1alpha3 "istio.io/client-go/pkg/clientset/versioned/typed/networking/v1alpha3" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeNetworkingV1alpha3 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeNetworkingV1alpha3) DestinationRules(namespace string) v1alpha3.DestinationRuleInterface { 30 | return &FakeDestinationRules{c, namespace} 31 | } 32 | 33 | func (c *FakeNetworkingV1alpha3) EnvoyFilters(namespace string) v1alpha3.EnvoyFilterInterface { 34 | return &FakeEnvoyFilters{c, namespace} 35 | } 36 | 37 | func (c *FakeNetworkingV1alpha3) Gateways(namespace string) v1alpha3.GatewayInterface { 38 | return &FakeGateways{c, namespace} 39 | } 40 | 41 | func (c *FakeNetworkingV1alpha3) ServiceEntries(namespace string) v1alpha3.ServiceEntryInterface { 42 | return &FakeServiceEntries{c, namespace} 43 | } 44 | 45 | func (c *FakeNetworkingV1alpha3) Sidecars(namespace string) v1alpha3.SidecarInterface { 46 | return &FakeSidecars{c, namespace} 47 | } 48 | 49 | func (c *FakeNetworkingV1alpha3) VirtualServices(namespace string) v1alpha3.VirtualServiceInterface { 50 | return &FakeVirtualServices{c, namespace} 51 | } 52 | 53 | func (c *FakeNetworkingV1alpha3) WorkloadEntries(namespace string) v1alpha3.WorkloadEntryInterface { 54 | return &FakeWorkloadEntries{c, namespace} 55 | } 56 | 57 | func (c *FakeNetworkingV1alpha3) WorkloadGroups(namespace string) v1alpha3.WorkloadGroupInterface { 58 | return &FakeWorkloadGroups{c, namespace} 59 | } 60 | 61 | // RESTClient returns a RESTClient that is used to communicate 62 | // with API server by this client implementation. 63 | func (c *FakeNetworkingV1alpha3) RESTClient() rest.Interface { 64 | var ret *rest.RESTClient 65 | return ret 66 | } 67 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1alpha3/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1alpha3 18 | 19 | type DestinationRuleExpansion interface{} 20 | 21 | type EnvoyFilterExpansion interface{} 22 | 23 | type GatewayExpansion interface{} 24 | 25 | type ServiceEntryExpansion interface{} 26 | 27 | type SidecarExpansion interface{} 28 | 29 | type VirtualServiceExpansion interface{} 30 | 31 | type WorkloadEntryExpansion interface{} 32 | 33 | type WorkloadGroupExpansion interface{} 34 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1beta1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1beta1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1beta1/fake/fake_networking_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1beta1 "istio.io/client-go/pkg/clientset/versioned/typed/networking/v1beta1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeNetworkingV1beta1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeNetworkingV1beta1) DestinationRules(namespace string) v1beta1.DestinationRuleInterface { 30 | return &FakeDestinationRules{c, namespace} 31 | } 32 | 33 | func (c *FakeNetworkingV1beta1) Gateways(namespace string) v1beta1.GatewayInterface { 34 | return &FakeGateways{c, namespace} 35 | } 36 | 37 | func (c *FakeNetworkingV1beta1) ProxyConfigs(namespace string) v1beta1.ProxyConfigInterface { 38 | return &FakeProxyConfigs{c, namespace} 39 | } 40 | 41 | func (c *FakeNetworkingV1beta1) ServiceEntries(namespace string) v1beta1.ServiceEntryInterface { 42 | return &FakeServiceEntries{c, namespace} 43 | } 44 | 45 | func (c *FakeNetworkingV1beta1) Sidecars(namespace string) v1beta1.SidecarInterface { 46 | return &FakeSidecars{c, namespace} 47 | } 48 | 49 | func (c *FakeNetworkingV1beta1) VirtualServices(namespace string) v1beta1.VirtualServiceInterface { 50 | return &FakeVirtualServices{c, namespace} 51 | } 52 | 53 | func (c *FakeNetworkingV1beta1) WorkloadEntries(namespace string) v1beta1.WorkloadEntryInterface { 54 | return &FakeWorkloadEntries{c, namespace} 55 | } 56 | 57 | func (c *FakeNetworkingV1beta1) WorkloadGroups(namespace string) v1beta1.WorkloadGroupInterface { 58 | return &FakeWorkloadGroups{c, namespace} 59 | } 60 | 61 | // RESTClient returns a RESTClient that is used to communicate 62 | // with API server by this client implementation. 63 | func (c *FakeNetworkingV1beta1) RESTClient() rest.Interface { 64 | var ret *rest.RESTClient 65 | return ret 66 | } 67 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/networking/v1beta1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | type DestinationRuleExpansion interface{} 20 | 21 | type GatewayExpansion interface{} 22 | 23 | type ProxyConfigExpansion interface{} 24 | 25 | type ServiceEntryExpansion interface{} 26 | 27 | type SidecarExpansion interface{} 28 | 29 | type VirtualServiceExpansion interface{} 30 | 31 | type WorkloadEntryExpansion interface{} 32 | 33 | type WorkloadGroupExpansion interface{} 34 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1/fake/fake_security_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1 "istio.io/client-go/pkg/clientset/versioned/typed/security/v1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeSecurityV1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeSecurityV1) AuthorizationPolicies(namespace string) v1.AuthorizationPolicyInterface { 30 | return &FakeAuthorizationPolicies{c, namespace} 31 | } 32 | 33 | func (c *FakeSecurityV1) PeerAuthentications(namespace string) v1.PeerAuthenticationInterface { 34 | return &FakePeerAuthentications{c, namespace} 35 | } 36 | 37 | func (c *FakeSecurityV1) RequestAuthentications(namespace string) v1.RequestAuthenticationInterface { 38 | return &FakeRequestAuthentications{c, namespace} 39 | } 40 | 41 | // RESTClient returns a RESTClient that is used to communicate 42 | // with API server by this client implementation. 43 | func (c *FakeSecurityV1) RESTClient() rest.Interface { 44 | var ret *rest.RESTClient 45 | return ret 46 | } 47 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | type AuthorizationPolicyExpansion interface{} 20 | 21 | type PeerAuthenticationExpansion interface{} 22 | 23 | type RequestAuthenticationExpansion interface{} 24 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1beta1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1beta1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1beta1/fake/fake_security_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1beta1 "istio.io/client-go/pkg/clientset/versioned/typed/security/v1beta1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeSecurityV1beta1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeSecurityV1beta1) AuthorizationPolicies(namespace string) v1beta1.AuthorizationPolicyInterface { 30 | return &FakeAuthorizationPolicies{c, namespace} 31 | } 32 | 33 | func (c *FakeSecurityV1beta1) PeerAuthentications(namespace string) v1beta1.PeerAuthenticationInterface { 34 | return &FakePeerAuthentications{c, namespace} 35 | } 36 | 37 | func (c *FakeSecurityV1beta1) RequestAuthentications(namespace string) v1beta1.RequestAuthenticationInterface { 38 | return &FakeRequestAuthentications{c, namespace} 39 | } 40 | 41 | // RESTClient returns a RESTClient that is used to communicate 42 | // with API server by this client implementation. 43 | func (c *FakeSecurityV1beta1) RESTClient() rest.Interface { 44 | var ret *rest.RESTClient 45 | return ret 46 | } 47 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/security/v1beta1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | type AuthorizationPolicyExpansion interface{} 20 | 21 | type PeerAuthenticationExpansion interface{} 22 | 23 | type RequestAuthenticationExpansion interface{} 24 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1/fake/fake_telemetry_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1 "istio.io/client-go/pkg/clientset/versioned/typed/telemetry/v1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeTelemetryV1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeTelemetryV1) Telemetries(namespace string) v1.TelemetryInterface { 30 | return &FakeTelemetries{c, namespace} 31 | } 32 | 33 | // RESTClient returns a RESTClient that is used to communicate 34 | // with API server by this client implementation. 35 | func (c *FakeTelemetryV1) RESTClient() rest.Interface { 36 | var ret *rest.RESTClient 37 | return ret 38 | } 39 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | type TelemetryExpansion interface{} 20 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1/telemetry_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | "net/http" 21 | 22 | v1 "istio.io/client-go/pkg/apis/telemetry/v1" 23 | "istio.io/client-go/pkg/clientset/versioned/scheme" 24 | rest "k8s.io/client-go/rest" 25 | ) 26 | 27 | type TelemetryV1Interface interface { 28 | RESTClient() rest.Interface 29 | TelemetriesGetter 30 | } 31 | 32 | // TelemetryV1Client is used to interact with features provided by the telemetry.istio.io group. 33 | type TelemetryV1Client struct { 34 | restClient rest.Interface 35 | } 36 | 37 | func (c *TelemetryV1Client) Telemetries(namespace string) TelemetryInterface { 38 | return newTelemetries(c, namespace) 39 | } 40 | 41 | // NewForConfig creates a new TelemetryV1Client for the given config. 42 | // NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), 43 | // where httpClient was generated with rest.HTTPClientFor(c). 44 | func NewForConfig(c *rest.Config) (*TelemetryV1Client, error) { 45 | config := *c 46 | if err := setConfigDefaults(&config); err != nil { 47 | return nil, err 48 | } 49 | httpClient, err := rest.HTTPClientFor(&config) 50 | if err != nil { 51 | return nil, err 52 | } 53 | return NewForConfigAndClient(&config, httpClient) 54 | } 55 | 56 | // NewForConfigAndClient creates a new TelemetryV1Client for the given config and http client. 57 | // Note the http client provided takes precedence over the configured transport values. 58 | func NewForConfigAndClient(c *rest.Config, h *http.Client) (*TelemetryV1Client, error) { 59 | config := *c 60 | if err := setConfigDefaults(&config); err != nil { 61 | return nil, err 62 | } 63 | client, err := rest.RESTClientForConfigAndClient(&config, h) 64 | if err != nil { 65 | return nil, err 66 | } 67 | return &TelemetryV1Client{client}, nil 68 | } 69 | 70 | // NewForConfigOrDie creates a new TelemetryV1Client for the given config and 71 | // panics if there is an error in the config. 72 | func NewForConfigOrDie(c *rest.Config) *TelemetryV1Client { 73 | client, err := NewForConfig(c) 74 | if err != nil { 75 | panic(err) 76 | } 77 | return client 78 | } 79 | 80 | // New creates a new TelemetryV1Client for the given RESTClient. 81 | func New(c rest.Interface) *TelemetryV1Client { 82 | return &TelemetryV1Client{c} 83 | } 84 | 85 | func setConfigDefaults(config *rest.Config) error { 86 | gv := v1.SchemeGroupVersion 87 | config.GroupVersion = &gv 88 | config.APIPath = "/apis" 89 | config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() 90 | 91 | if config.UserAgent == "" { 92 | config.UserAgent = rest.DefaultKubernetesUserAgent() 93 | } 94 | 95 | return nil 96 | } 97 | 98 | // RESTClient returns a RESTClient that is used to communicate 99 | // with API server by this client implementation. 100 | func (c *TelemetryV1Client) RESTClient() rest.Interface { 101 | if c == nil { 102 | return nil 103 | } 104 | return c.restClient 105 | } 106 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // This package has the automatically generated typed clients. 18 | package v1alpha1 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1alpha1/fake/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | // Package fake has the automatically generated clients. 18 | package fake 19 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1alpha1/fake/fake_telemetry_client.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package fake 18 | 19 | import ( 20 | v1alpha1 "istio.io/client-go/pkg/clientset/versioned/typed/telemetry/v1alpha1" 21 | rest "k8s.io/client-go/rest" 22 | testing "k8s.io/client-go/testing" 23 | ) 24 | 25 | type FakeTelemetryV1alpha1 struct { 26 | *testing.Fake 27 | } 28 | 29 | func (c *FakeTelemetryV1alpha1) Telemetries(namespace string) v1alpha1.TelemetryInterface { 30 | return &FakeTelemetries{c, namespace} 31 | } 32 | 33 | // RESTClient returns a RESTClient that is used to communicate 34 | // with API server by this client implementation. 35 | func (c *FakeTelemetryV1alpha1) RESTClient() rest.Interface { 36 | var ret *rest.RESTClient 37 | return ret 38 | } 39 | -------------------------------------------------------------------------------- /pkg/clientset/versioned/typed/telemetry/v1alpha1/generated_expansion.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by client-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | type TelemetryExpansion interface{} 20 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/extensions/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package extensions 18 | 19 | import ( 20 | v1alpha1 "istio.io/client-go/pkg/informers/externalversions/extensions/v1alpha1" 21 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 22 | ) 23 | 24 | // Interface provides access to each of this group's versions. 25 | type Interface interface { 26 | // V1alpha1 provides access to shared informers for resources in V1alpha1. 27 | V1alpha1() v1alpha1.Interface 28 | } 29 | 30 | type group struct { 31 | factory internalinterfaces.SharedInformerFactory 32 | namespace string 33 | tweakListOptions internalinterfaces.TweakListOptionsFunc 34 | } 35 | 36 | // New returns a new Interface. 37 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 38 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 39 | } 40 | 41 | // V1alpha1 returns a new v1alpha1.Interface. 42 | func (g *group) V1alpha1() v1alpha1.Interface { 43 | return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions) 44 | } 45 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/extensions/v1alpha1/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | ) 22 | 23 | // Interface provides access to all the informers in this group version. 24 | type Interface interface { 25 | // WasmPlugins returns a WasmPluginInformer. 26 | WasmPlugins() WasmPluginInformer 27 | } 28 | 29 | type version struct { 30 | factory internalinterfaces.SharedInformerFactory 31 | namespace string 32 | tweakListOptions internalinterfaces.TweakListOptionsFunc 33 | } 34 | 35 | // New returns a new Interface. 36 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 37 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 38 | } 39 | 40 | // WasmPlugins returns a WasmPluginInformer. 41 | func (v *version) WasmPlugins() WasmPluginInformer { 42 | return &wasmPluginInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 43 | } 44 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/internalinterfaces/factory_interfaces.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package internalinterfaces 18 | 19 | import ( 20 | time "time" 21 | 22 | versioned "istio.io/client-go/pkg/clientset/versioned" 23 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 24 | runtime "k8s.io/apimachinery/pkg/runtime" 25 | cache "k8s.io/client-go/tools/cache" 26 | ) 27 | 28 | // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. 29 | type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer 30 | 31 | // SharedInformerFactory a small interface to allow for adding an informer without an import cycle 32 | type SharedInformerFactory interface { 33 | Start(stopCh <-chan struct{}) 34 | InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer 35 | } 36 | 37 | // TweakListOptionsFunc is a function that transforms a v1.ListOptions. 38 | type TweakListOptionsFunc func(*v1.ListOptions) 39 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/networking/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package networking 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | v1 "istio.io/client-go/pkg/informers/externalversions/networking/v1" 22 | v1alpha3 "istio.io/client-go/pkg/informers/externalversions/networking/v1alpha3" 23 | v1beta1 "istio.io/client-go/pkg/informers/externalversions/networking/v1beta1" 24 | ) 25 | 26 | // Interface provides access to each of this group's versions. 27 | type Interface interface { 28 | // V1alpha3 provides access to shared informers for resources in V1alpha3. 29 | V1alpha3() v1alpha3.Interface 30 | // V1beta1 provides access to shared informers for resources in V1beta1. 31 | V1beta1() v1beta1.Interface 32 | // V1 provides access to shared informers for resources in V1. 33 | V1() v1.Interface 34 | } 35 | 36 | type group struct { 37 | factory internalinterfaces.SharedInformerFactory 38 | namespace string 39 | tweakListOptions internalinterfaces.TweakListOptionsFunc 40 | } 41 | 42 | // New returns a new Interface. 43 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 44 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 45 | } 46 | 47 | // V1alpha3 returns a new v1alpha3.Interface. 48 | func (g *group) V1alpha3() v1alpha3.Interface { 49 | return v1alpha3.New(g.factory, g.namespace, g.tweakListOptions) 50 | } 51 | 52 | // V1beta1 returns a new v1beta1.Interface. 53 | func (g *group) V1beta1() v1beta1.Interface { 54 | return v1beta1.New(g.factory, g.namespace, g.tweakListOptions) 55 | } 56 | 57 | // V1 returns a new v1.Interface. 58 | func (g *group) V1() v1.Interface { 59 | return v1.New(g.factory, g.namespace, g.tweakListOptions) 60 | } 61 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/security/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package security 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | v1 "istio.io/client-go/pkg/informers/externalversions/security/v1" 22 | v1beta1 "istio.io/client-go/pkg/informers/externalversions/security/v1beta1" 23 | ) 24 | 25 | // Interface provides access to each of this group's versions. 26 | type Interface interface { 27 | // V1beta1 provides access to shared informers for resources in V1beta1. 28 | V1beta1() v1beta1.Interface 29 | // V1 provides access to shared informers for resources in V1. 30 | V1() v1.Interface 31 | } 32 | 33 | type group struct { 34 | factory internalinterfaces.SharedInformerFactory 35 | namespace string 36 | tweakListOptions internalinterfaces.TweakListOptionsFunc 37 | } 38 | 39 | // New returns a new Interface. 40 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 41 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 42 | } 43 | 44 | // V1beta1 returns a new v1beta1.Interface. 45 | func (g *group) V1beta1() v1beta1.Interface { 46 | return v1beta1.New(g.factory, g.namespace, g.tweakListOptions) 47 | } 48 | 49 | // V1 returns a new v1.Interface. 50 | func (g *group) V1() v1.Interface { 51 | return v1.New(g.factory, g.namespace, g.tweakListOptions) 52 | } 53 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/security/v1/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | ) 22 | 23 | // Interface provides access to all the informers in this group version. 24 | type Interface interface { 25 | // AuthorizationPolicies returns a AuthorizationPolicyInformer. 26 | AuthorizationPolicies() AuthorizationPolicyInformer 27 | // PeerAuthentications returns a PeerAuthenticationInformer. 28 | PeerAuthentications() PeerAuthenticationInformer 29 | // RequestAuthentications returns a RequestAuthenticationInformer. 30 | RequestAuthentications() RequestAuthenticationInformer 31 | } 32 | 33 | type version struct { 34 | factory internalinterfaces.SharedInformerFactory 35 | namespace string 36 | tweakListOptions internalinterfaces.TweakListOptionsFunc 37 | } 38 | 39 | // New returns a new Interface. 40 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 41 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 42 | } 43 | 44 | // AuthorizationPolicies returns a AuthorizationPolicyInformer. 45 | func (v *version) AuthorizationPolicies() AuthorizationPolicyInformer { 46 | return &authorizationPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 47 | } 48 | 49 | // PeerAuthentications returns a PeerAuthenticationInformer. 50 | func (v *version) PeerAuthentications() PeerAuthenticationInformer { 51 | return &peerAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 52 | } 53 | 54 | // RequestAuthentications returns a RequestAuthenticationInformer. 55 | func (v *version) RequestAuthentications() RequestAuthenticationInformer { 56 | return &requestAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 57 | } 58 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/security/v1beta1/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | ) 22 | 23 | // Interface provides access to all the informers in this group version. 24 | type Interface interface { 25 | // AuthorizationPolicies returns a AuthorizationPolicyInformer. 26 | AuthorizationPolicies() AuthorizationPolicyInformer 27 | // PeerAuthentications returns a PeerAuthenticationInformer. 28 | PeerAuthentications() PeerAuthenticationInformer 29 | // RequestAuthentications returns a RequestAuthenticationInformer. 30 | RequestAuthentications() RequestAuthenticationInformer 31 | } 32 | 33 | type version struct { 34 | factory internalinterfaces.SharedInformerFactory 35 | namespace string 36 | tweakListOptions internalinterfaces.TweakListOptionsFunc 37 | } 38 | 39 | // New returns a new Interface. 40 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 41 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 42 | } 43 | 44 | // AuthorizationPolicies returns a AuthorizationPolicyInformer. 45 | func (v *version) AuthorizationPolicies() AuthorizationPolicyInformer { 46 | return &authorizationPolicyInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 47 | } 48 | 49 | // PeerAuthentications returns a PeerAuthenticationInformer. 50 | func (v *version) PeerAuthentications() PeerAuthenticationInformer { 51 | return &peerAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 52 | } 53 | 54 | // RequestAuthentications returns a RequestAuthenticationInformer. 55 | func (v *version) RequestAuthentications() RequestAuthenticationInformer { 56 | return &requestAuthenticationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 57 | } 58 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/telemetry/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package telemetry 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | v1 "istio.io/client-go/pkg/informers/externalversions/telemetry/v1" 22 | v1alpha1 "istio.io/client-go/pkg/informers/externalversions/telemetry/v1alpha1" 23 | ) 24 | 25 | // Interface provides access to each of this group's versions. 26 | type Interface interface { 27 | // V1alpha1 provides access to shared informers for resources in V1alpha1. 28 | V1alpha1() v1alpha1.Interface 29 | // V1 provides access to shared informers for resources in V1. 30 | V1() v1.Interface 31 | } 32 | 33 | type group struct { 34 | factory internalinterfaces.SharedInformerFactory 35 | namespace string 36 | tweakListOptions internalinterfaces.TweakListOptionsFunc 37 | } 38 | 39 | // New returns a new Interface. 40 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 41 | return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 42 | } 43 | 44 | // V1alpha1 returns a new v1alpha1.Interface. 45 | func (g *group) V1alpha1() v1alpha1.Interface { 46 | return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions) 47 | } 48 | 49 | // V1 returns a new v1.Interface. 50 | func (g *group) V1() v1.Interface { 51 | return v1.New(g.factory, g.namespace, g.tweakListOptions) 52 | } 53 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/telemetry/v1/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | ) 22 | 23 | // Interface provides access to all the informers in this group version. 24 | type Interface interface { 25 | // Telemetries returns a TelemetryInformer. 26 | Telemetries() TelemetryInformer 27 | } 28 | 29 | type version struct { 30 | factory internalinterfaces.SharedInformerFactory 31 | namespace string 32 | tweakListOptions internalinterfaces.TweakListOptionsFunc 33 | } 34 | 35 | // New returns a new Interface. 36 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 37 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 38 | } 39 | 40 | // Telemetries returns a TelemetryInformer. 41 | func (v *version) Telemetries() TelemetryInformer { 42 | return &telemetryInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 43 | } 44 | -------------------------------------------------------------------------------- /pkg/informers/externalversions/telemetry/v1alpha1/interface.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by informer-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | import ( 20 | internalinterfaces "istio.io/client-go/pkg/informers/externalversions/internalinterfaces" 21 | ) 22 | 23 | // Interface provides access to all the informers in this group version. 24 | type Interface interface { 25 | // Telemetries returns a TelemetryInformer. 26 | Telemetries() TelemetryInformer 27 | } 28 | 29 | type version struct { 30 | factory internalinterfaces.SharedInformerFactory 31 | namespace string 32 | tweakListOptions internalinterfaces.TweakListOptionsFunc 33 | } 34 | 35 | // New returns a new Interface. 36 | func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 37 | return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 38 | } 39 | 40 | // Telemetries returns a TelemetryInformer. 41 | func (v *version) Telemetries() TelemetryInformer { 42 | return &telemetryInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 43 | } 44 | -------------------------------------------------------------------------------- /pkg/listers/extensions/v1alpha1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | // WasmPluginListerExpansion allows custom methods to be added to 20 | // WasmPluginLister. 21 | type WasmPluginListerExpansion interface{} 22 | 23 | // WasmPluginNamespaceListerExpansion allows custom methods to be added to 24 | // WasmPluginNamespaceLister. 25 | type WasmPluginNamespaceListerExpansion interface{} 26 | -------------------------------------------------------------------------------- /pkg/listers/networking/v1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | // DestinationRuleListerExpansion allows custom methods to be added to 20 | // DestinationRuleLister. 21 | type DestinationRuleListerExpansion interface{} 22 | 23 | // DestinationRuleNamespaceListerExpansion allows custom methods to be added to 24 | // DestinationRuleNamespaceLister. 25 | type DestinationRuleNamespaceListerExpansion interface{} 26 | 27 | // GatewayListerExpansion allows custom methods to be added to 28 | // GatewayLister. 29 | type GatewayListerExpansion interface{} 30 | 31 | // GatewayNamespaceListerExpansion allows custom methods to be added to 32 | // GatewayNamespaceLister. 33 | type GatewayNamespaceListerExpansion interface{} 34 | 35 | // ServiceEntryListerExpansion allows custom methods to be added to 36 | // ServiceEntryLister. 37 | type ServiceEntryListerExpansion interface{} 38 | 39 | // ServiceEntryNamespaceListerExpansion allows custom methods to be added to 40 | // ServiceEntryNamespaceLister. 41 | type ServiceEntryNamespaceListerExpansion interface{} 42 | 43 | // SidecarListerExpansion allows custom methods to be added to 44 | // SidecarLister. 45 | type SidecarListerExpansion interface{} 46 | 47 | // SidecarNamespaceListerExpansion allows custom methods to be added to 48 | // SidecarNamespaceLister. 49 | type SidecarNamespaceListerExpansion interface{} 50 | 51 | // VirtualServiceListerExpansion allows custom methods to be added to 52 | // VirtualServiceLister. 53 | type VirtualServiceListerExpansion interface{} 54 | 55 | // VirtualServiceNamespaceListerExpansion allows custom methods to be added to 56 | // VirtualServiceNamespaceLister. 57 | type VirtualServiceNamespaceListerExpansion interface{} 58 | 59 | // WorkloadEntryListerExpansion allows custom methods to be added to 60 | // WorkloadEntryLister. 61 | type WorkloadEntryListerExpansion interface{} 62 | 63 | // WorkloadEntryNamespaceListerExpansion allows custom methods to be added to 64 | // WorkloadEntryNamespaceLister. 65 | type WorkloadEntryNamespaceListerExpansion interface{} 66 | 67 | // WorkloadGroupListerExpansion allows custom methods to be added to 68 | // WorkloadGroupLister. 69 | type WorkloadGroupListerExpansion interface{} 70 | 71 | // WorkloadGroupNamespaceListerExpansion allows custom methods to be added to 72 | // WorkloadGroupNamespaceLister. 73 | type WorkloadGroupNamespaceListerExpansion interface{} 74 | -------------------------------------------------------------------------------- /pkg/listers/networking/v1/gateway.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | import ( 20 | v1 "istio.io/client-go/pkg/apis/networking/v1" 21 | "k8s.io/apimachinery/pkg/api/errors" 22 | "k8s.io/apimachinery/pkg/labels" 23 | "k8s.io/client-go/tools/cache" 24 | ) 25 | 26 | // GatewayLister helps list Gateways. 27 | // All objects returned here must be treated as read-only. 28 | type GatewayLister interface { 29 | // List lists all Gateways in the indexer. 30 | // Objects returned here must be treated as read-only. 31 | List(selector labels.Selector) (ret []*v1.Gateway, err error) 32 | // Gateways returns an object that can list and get Gateways. 33 | Gateways(namespace string) GatewayNamespaceLister 34 | GatewayListerExpansion 35 | } 36 | 37 | // gatewayLister implements the GatewayLister interface. 38 | type gatewayLister struct { 39 | indexer cache.Indexer 40 | } 41 | 42 | // NewGatewayLister returns a new GatewayLister. 43 | func NewGatewayLister(indexer cache.Indexer) GatewayLister { 44 | return &gatewayLister{indexer: indexer} 45 | } 46 | 47 | // List lists all Gateways in the indexer. 48 | func (s *gatewayLister) List(selector labels.Selector) (ret []*v1.Gateway, err error) { 49 | err = cache.ListAll(s.indexer, selector, func(m interface{}) { 50 | ret = append(ret, m.(*v1.Gateway)) 51 | }) 52 | return ret, err 53 | } 54 | 55 | // Gateways returns an object that can list and get Gateways. 56 | func (s *gatewayLister) Gateways(namespace string) GatewayNamespaceLister { 57 | return gatewayNamespaceLister{indexer: s.indexer, namespace: namespace} 58 | } 59 | 60 | // GatewayNamespaceLister helps list and get Gateways. 61 | // All objects returned here must be treated as read-only. 62 | type GatewayNamespaceLister interface { 63 | // List lists all Gateways in the indexer for a given namespace. 64 | // Objects returned here must be treated as read-only. 65 | List(selector labels.Selector) (ret []*v1.Gateway, err error) 66 | // Get retrieves the Gateway from the indexer for a given namespace and name. 67 | // Objects returned here must be treated as read-only. 68 | Get(name string) (*v1.Gateway, error) 69 | GatewayNamespaceListerExpansion 70 | } 71 | 72 | // gatewayNamespaceLister implements the GatewayNamespaceLister 73 | // interface. 74 | type gatewayNamespaceLister struct { 75 | indexer cache.Indexer 76 | namespace string 77 | } 78 | 79 | // List lists all Gateways in the indexer for a given namespace. 80 | func (s gatewayNamespaceLister) List(selector labels.Selector) (ret []*v1.Gateway, err error) { 81 | err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { 82 | ret = append(ret, m.(*v1.Gateway)) 83 | }) 84 | return ret, err 85 | } 86 | 87 | // Get retrieves the Gateway from the indexer for a given namespace and name. 88 | func (s gatewayNamespaceLister) Get(name string) (*v1.Gateway, error) { 89 | obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) 90 | if err != nil { 91 | return nil, err 92 | } 93 | if !exists { 94 | return nil, errors.NewNotFound(v1.Resource("gateway"), name) 95 | } 96 | return obj.(*v1.Gateway), nil 97 | } 98 | -------------------------------------------------------------------------------- /pkg/listers/networking/v1alpha3/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1alpha3 18 | 19 | // DestinationRuleListerExpansion allows custom methods to be added to 20 | // DestinationRuleLister. 21 | type DestinationRuleListerExpansion interface{} 22 | 23 | // DestinationRuleNamespaceListerExpansion allows custom methods to be added to 24 | // DestinationRuleNamespaceLister. 25 | type DestinationRuleNamespaceListerExpansion interface{} 26 | 27 | // EnvoyFilterListerExpansion allows custom methods to be added to 28 | // EnvoyFilterLister. 29 | type EnvoyFilterListerExpansion interface{} 30 | 31 | // EnvoyFilterNamespaceListerExpansion allows custom methods to be added to 32 | // EnvoyFilterNamespaceLister. 33 | type EnvoyFilterNamespaceListerExpansion interface{} 34 | 35 | // GatewayListerExpansion allows custom methods to be added to 36 | // GatewayLister. 37 | type GatewayListerExpansion interface{} 38 | 39 | // GatewayNamespaceListerExpansion allows custom methods to be added to 40 | // GatewayNamespaceLister. 41 | type GatewayNamespaceListerExpansion interface{} 42 | 43 | // ServiceEntryListerExpansion allows custom methods to be added to 44 | // ServiceEntryLister. 45 | type ServiceEntryListerExpansion interface{} 46 | 47 | // ServiceEntryNamespaceListerExpansion allows custom methods to be added to 48 | // ServiceEntryNamespaceLister. 49 | type ServiceEntryNamespaceListerExpansion interface{} 50 | 51 | // SidecarListerExpansion allows custom methods to be added to 52 | // SidecarLister. 53 | type SidecarListerExpansion interface{} 54 | 55 | // SidecarNamespaceListerExpansion allows custom methods to be added to 56 | // SidecarNamespaceLister. 57 | type SidecarNamespaceListerExpansion interface{} 58 | 59 | // VirtualServiceListerExpansion allows custom methods to be added to 60 | // VirtualServiceLister. 61 | type VirtualServiceListerExpansion interface{} 62 | 63 | // VirtualServiceNamespaceListerExpansion allows custom methods to be added to 64 | // VirtualServiceNamespaceLister. 65 | type VirtualServiceNamespaceListerExpansion interface{} 66 | 67 | // WorkloadEntryListerExpansion allows custom methods to be added to 68 | // WorkloadEntryLister. 69 | type WorkloadEntryListerExpansion interface{} 70 | 71 | // WorkloadEntryNamespaceListerExpansion allows custom methods to be added to 72 | // WorkloadEntryNamespaceLister. 73 | type WorkloadEntryNamespaceListerExpansion interface{} 74 | 75 | // WorkloadGroupListerExpansion allows custom methods to be added to 76 | // WorkloadGroupLister. 77 | type WorkloadGroupListerExpansion interface{} 78 | 79 | // WorkloadGroupNamespaceListerExpansion allows custom methods to be added to 80 | // WorkloadGroupNamespaceLister. 81 | type WorkloadGroupNamespaceListerExpansion interface{} 82 | -------------------------------------------------------------------------------- /pkg/listers/networking/v1beta1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | // DestinationRuleListerExpansion allows custom methods to be added to 20 | // DestinationRuleLister. 21 | type DestinationRuleListerExpansion interface{} 22 | 23 | // DestinationRuleNamespaceListerExpansion allows custom methods to be added to 24 | // DestinationRuleNamespaceLister. 25 | type DestinationRuleNamespaceListerExpansion interface{} 26 | 27 | // GatewayListerExpansion allows custom methods to be added to 28 | // GatewayLister. 29 | type GatewayListerExpansion interface{} 30 | 31 | // GatewayNamespaceListerExpansion allows custom methods to be added to 32 | // GatewayNamespaceLister. 33 | type GatewayNamespaceListerExpansion interface{} 34 | 35 | // ProxyConfigListerExpansion allows custom methods to be added to 36 | // ProxyConfigLister. 37 | type ProxyConfigListerExpansion interface{} 38 | 39 | // ProxyConfigNamespaceListerExpansion allows custom methods to be added to 40 | // ProxyConfigNamespaceLister. 41 | type ProxyConfigNamespaceListerExpansion interface{} 42 | 43 | // ServiceEntryListerExpansion allows custom methods to be added to 44 | // ServiceEntryLister. 45 | type ServiceEntryListerExpansion interface{} 46 | 47 | // ServiceEntryNamespaceListerExpansion allows custom methods to be added to 48 | // ServiceEntryNamespaceLister. 49 | type ServiceEntryNamespaceListerExpansion interface{} 50 | 51 | // SidecarListerExpansion allows custom methods to be added to 52 | // SidecarLister. 53 | type SidecarListerExpansion interface{} 54 | 55 | // SidecarNamespaceListerExpansion allows custom methods to be added to 56 | // SidecarNamespaceLister. 57 | type SidecarNamespaceListerExpansion interface{} 58 | 59 | // VirtualServiceListerExpansion allows custom methods to be added to 60 | // VirtualServiceLister. 61 | type VirtualServiceListerExpansion interface{} 62 | 63 | // VirtualServiceNamespaceListerExpansion allows custom methods to be added to 64 | // VirtualServiceNamespaceLister. 65 | type VirtualServiceNamespaceListerExpansion interface{} 66 | 67 | // WorkloadEntryListerExpansion allows custom methods to be added to 68 | // WorkloadEntryLister. 69 | type WorkloadEntryListerExpansion interface{} 70 | 71 | // WorkloadEntryNamespaceListerExpansion allows custom methods to be added to 72 | // WorkloadEntryNamespaceLister. 73 | type WorkloadEntryNamespaceListerExpansion interface{} 74 | 75 | // WorkloadGroupListerExpansion allows custom methods to be added to 76 | // WorkloadGroupLister. 77 | type WorkloadGroupListerExpansion interface{} 78 | 79 | // WorkloadGroupNamespaceListerExpansion allows custom methods to be added to 80 | // WorkloadGroupNamespaceLister. 81 | type WorkloadGroupNamespaceListerExpansion interface{} 82 | -------------------------------------------------------------------------------- /pkg/listers/security/v1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | // AuthorizationPolicyListerExpansion allows custom methods to be added to 20 | // AuthorizationPolicyLister. 21 | type AuthorizationPolicyListerExpansion interface{} 22 | 23 | // AuthorizationPolicyNamespaceListerExpansion allows custom methods to be added to 24 | // AuthorizationPolicyNamespaceLister. 25 | type AuthorizationPolicyNamespaceListerExpansion interface{} 26 | 27 | // PeerAuthenticationListerExpansion allows custom methods to be added to 28 | // PeerAuthenticationLister. 29 | type PeerAuthenticationListerExpansion interface{} 30 | 31 | // PeerAuthenticationNamespaceListerExpansion allows custom methods to be added to 32 | // PeerAuthenticationNamespaceLister. 33 | type PeerAuthenticationNamespaceListerExpansion interface{} 34 | 35 | // RequestAuthenticationListerExpansion allows custom methods to be added to 36 | // RequestAuthenticationLister. 37 | type RequestAuthenticationListerExpansion interface{} 38 | 39 | // RequestAuthenticationNamespaceListerExpansion allows custom methods to be added to 40 | // RequestAuthenticationNamespaceLister. 41 | type RequestAuthenticationNamespaceListerExpansion interface{} 42 | -------------------------------------------------------------------------------- /pkg/listers/security/v1beta1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1beta1 18 | 19 | // AuthorizationPolicyListerExpansion allows custom methods to be added to 20 | // AuthorizationPolicyLister. 21 | type AuthorizationPolicyListerExpansion interface{} 22 | 23 | // AuthorizationPolicyNamespaceListerExpansion allows custom methods to be added to 24 | // AuthorizationPolicyNamespaceLister. 25 | type AuthorizationPolicyNamespaceListerExpansion interface{} 26 | 27 | // PeerAuthenticationListerExpansion allows custom methods to be added to 28 | // PeerAuthenticationLister. 29 | type PeerAuthenticationListerExpansion interface{} 30 | 31 | // PeerAuthenticationNamespaceListerExpansion allows custom methods to be added to 32 | // PeerAuthenticationNamespaceLister. 33 | type PeerAuthenticationNamespaceListerExpansion interface{} 34 | 35 | // RequestAuthenticationListerExpansion allows custom methods to be added to 36 | // RequestAuthenticationLister. 37 | type RequestAuthenticationListerExpansion interface{} 38 | 39 | // RequestAuthenticationNamespaceListerExpansion allows custom methods to be added to 40 | // RequestAuthenticationNamespaceLister. 41 | type RequestAuthenticationNamespaceListerExpansion interface{} 42 | -------------------------------------------------------------------------------- /pkg/listers/telemetry/v1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1 18 | 19 | // TelemetryListerExpansion allows custom methods to be added to 20 | // TelemetryLister. 21 | type TelemetryListerExpansion interface{} 22 | 23 | // TelemetryNamespaceListerExpansion allows custom methods to be added to 24 | // TelemetryNamespaceLister. 25 | type TelemetryNamespaceListerExpansion interface{} 26 | -------------------------------------------------------------------------------- /pkg/listers/telemetry/v1alpha1/expansion_generated.gen.go: -------------------------------------------------------------------------------- 1 | // Copyright Istio Authors 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Code generated by lister-gen. DO NOT EDIT. 16 | 17 | package v1alpha1 18 | 19 | // TelemetryListerExpansion allows custom methods to be added to 20 | // TelemetryLister. 21 | type TelemetryListerExpansion interface{} 22 | 23 | // TelemetryNamespaceListerExpansion allows custom methods to be added to 24 | // TelemetryNamespaceLister. 25 | type TelemetryNamespaceListerExpansion interface{} 26 | --------------------------------------------------------------------------------