Documentation ¶
Index ¶
- Variables
- func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool)
- func MustFromGVR(g schema.GroupVersionResource) config.GroupVersionKind
- func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource
- func ToGVR(g config.GroupVersionKind) (schema.GroupVersionResource, bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AuthorizationPolicy = config.GroupVersionKind{Group: "security.istio.io", Version: "v1", Kind: "AuthorizationPolicy"} AuthorizationPolicy_v1beta1 = config.GroupVersionKind{Group: "security.istio.io", Version: "v1beta1", Kind: "AuthorizationPolicy"} CertificateSigningRequest = config.GroupVersionKind{Group: "certificates.k8s.io", Version: "v1", Kind: "CertificateSigningRequest"} ConfigMap = config.GroupVersionKind{Group: "", Version: "v1", Kind: "ConfigMap"} CustomResourceDefinition = config.GroupVersionKind{Group: "apiextensions.k8s.io", Version: "v1", Kind: "CustomResourceDefinition"} DaemonSet = config.GroupVersionKind{Group: "apps", Version: "v1", Kind: "DaemonSet"} Deployment = config.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} DestinationRule = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "DestinationRule"} DestinationRule_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "DestinationRule"} DestinationRule_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "DestinationRule"} EndpointSlice = config.GroupVersionKind{Group: "", Version: "v1", Kind: "EndpointSlice"} Endpoints = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Endpoints"} EnvoyFilter = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "EnvoyFilter"} GRPCRoute = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1", Kind: "GRPCRoute"} GRPCRoute_v1alpha2 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "GRPCRoute"} Gateway = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "Gateway"} Gateway_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "Gateway"} Gateway_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "Gateway"} GatewayClass = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1beta1", Kind: "GatewayClass"} GatewayClass_v1alpha2 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "GatewayClass"} GatewayClass_v1 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1", Kind: "GatewayClass"} HTTPRoute = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1beta1", Kind: "HTTPRoute"} HTTPRoute_v1alpha2 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "HTTPRoute"} HTTPRoute_v1 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1", Kind: "HTTPRoute"} Ingress = config.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "Ingress"} IngressClass = config.GroupVersionKind{Group: "networking.k8s.io", Version: "v1", Kind: "IngressClass"} KubernetesGateway = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1beta1", Kind: "Gateway"} KubernetesGateway_v1alpha2 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "Gateway"} KubernetesGateway_v1 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1", Kind: "Gateway"} Lease = config.GroupVersionKind{Group: "coordination.k8s.io", Version: "v1", Kind: "Lease"} MeshConfig = config.GroupVersionKind{Group: "", Version: "v1alpha1", Kind: "MeshConfig"} MeshNetworks = config.GroupVersionKind{Group: "", Version: "v1alpha1", Kind: "MeshNetworks"} MutatingWebhookConfiguration = config.GroupVersionKind{Group: "admissionregistration.k8s.io", Version: "v1", Kind: "MutatingWebhookConfiguration"} Namespace = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Namespace"} Node = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Node"} PeerAuthentication = config.GroupVersionKind{Group: "security.istio.io", Version: "v1", Kind: "PeerAuthentication"} PeerAuthentication_v1beta1 = config.GroupVersionKind{Group: "security.istio.io", Version: "v1beta1", Kind: "PeerAuthentication"} Pod = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Pod"} ProxyConfig = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "ProxyConfig"} ReferenceGrant = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1beta1", Kind: "ReferenceGrant"} ReferenceGrant_v1alpha2 = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "ReferenceGrant"} RequestAuthentication = config.GroupVersionKind{Group: "security.istio.io", Version: "v1", Kind: "RequestAuthentication"} RequestAuthentication_v1beta1 = config.GroupVersionKind{Group: "security.istio.io", Version: "v1beta1", Kind: "RequestAuthentication"} Secret = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Secret"} Service = config.GroupVersionKind{Group: "", Version: "v1", Kind: "Service"} ServiceAccount = config.GroupVersionKind{Group: "", Version: "v1", Kind: "ServiceAccount"} ServiceEntry = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "ServiceEntry"} ServiceEntry_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "ServiceEntry"} ServiceEntry_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "ServiceEntry"} Sidecar = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "Sidecar"} Sidecar_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "Sidecar"} Sidecar_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "Sidecar"} StatefulSet = config.GroupVersionKind{Group: "apps", Version: "v1", Kind: "StatefulSet"} TCPRoute = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "TCPRoute"} TLSRoute = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "TLSRoute"} Telemetry = config.GroupVersionKind{Group: "telemetry.istio.io", Version: "v1", Kind: "Telemetry"} Telemetry_v1alpha1 = config.GroupVersionKind{Group: "telemetry.istio.io", Version: "v1alpha1", Kind: "Telemetry"} UDPRoute = config.GroupVersionKind{Group: "gateway.networking.k8s.io", Version: "v1alpha2", Kind: "UDPRoute"} ValidatingWebhookConfiguration = config.GroupVersionKind{Group: "admissionregistration.k8s.io", Version: "v1", Kind: "ValidatingWebhookConfiguration"} VirtualService = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "VirtualService"} VirtualService_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "VirtualService"} VirtualService_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "VirtualService"} WasmPlugin = config.GroupVersionKind{Group: "extensions.istio.io", Version: "v1alpha1", Kind: "WasmPlugin"} WorkloadEntry = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "WorkloadEntry"} WorkloadEntry_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "WorkloadEntry"} WorkloadEntry_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "WorkloadEntry"} WorkloadGroup = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1", Kind: "WorkloadGroup"} WorkloadGroup_v1alpha3 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1alpha3", Kind: "WorkloadGroup"} WorkloadGroup_v1beta1 = config.GroupVersionKind{Group: "networking.istio.io", Version: "v1beta1", Kind: "WorkloadGroup"} )
Functions ¶
func FromGVR ¶
func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool)
FromGVR converts a GVR to a GVK.
func MustFromGVR ¶
func MustFromGVR(g schema.GroupVersionResource) config.GroupVersionKind
FromGVR converts a GVR to a GVK, and panics if it cannot be converted Warning: this is only safe for known types; do not call on arbitrary GVRs
func MustToGVR ¶
func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource
MustToGVR converts a GVK to a GVR, and panics if it cannot be converted Warning: this is only safe for known types; do not call on arbitrary GVKs
func ToGVR ¶
func ToGVR(g config.GroupVersionKind) (schema.GroupVersionResource, bool)
ToGVR converts a GVK to a GVR.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.