Documentation ¶
Index ¶
- func ApiExtsClient() (apiexts.Interface, error)
- func AuthConfigClient(namespaces []string) (extauth.AuthConfigClient, error)
- func CheckKubernetesConnection() error
- func GatewayClient(namespaces []string) (gatewayv1.GatewayClient, error)
- func GetKubernetesClient() (*kubernetes.Clientset, error)
- func GetKubernetesClientWithTimeout(timeout time.Duration) (*kubernetes.Clientset, error)
- func GetNamespaces() ([]string, error)
- func KubeClient() (kubernetes.Interface, error)
- func MustApiExtsClient() apiexts.Interface
- func MustAuthConfigClient() extauth.AuthConfigClient
- func MustGatewayClient() gatewayv1.GatewayClient
- func MustGetNamespaces() []string
- func MustKubeClient() kubernetes.Interface
- func MustMultiNamespacedAuthConfigClient(namespaces []string) extauth.AuthConfigClient
- func MustMultiNamespacedGatewayClient(namespaces []string) gatewayv1.GatewayClient
- func MustMultiNamespacedProxyClient(namespaces []string) v1.ProxyClient
- func MustMultiNamespacedRateLimitConfigClient(namespaces []string) v1alpha1.RateLimitConfigClient
- func MustMultiNamespacedRouteTableClient(namespaces []string) gatewayv1.RouteTableClient
- func MustMultiNamespacedSettingsClient(namespaces []string) v1.SettingsClient
- func MustMultiNamespacedUpstreamClient(namespaces []string) v1.UpstreamClient
- func MustMultiNamespacedUpstreamGroupClient(namespaces []string) v1.UpstreamGroupClient
- func MustMultiNamespacedVirtualServiceClient(namespaces []string) gatewayv1.VirtualServiceClient
- func MustNamespacedAuthConfigClient(ns string) extauth.AuthConfigClient
- func MustNamespacedGatewayClient(ns string) gatewayv1.GatewayClient
- func MustNamespacedProxyClient(ns string) v1.ProxyClient
- func MustNamespacedRateLimitConfigClient(ns string) v1alpha1.RateLimitConfigClient
- func MustNamespacedRouteTableClient(ns string) gatewayv1.RouteTableClient
- func MustNamespacedSettingsClient(ns string) v1.SettingsClient
- func MustNamespacedUpstreamClient(ns string) v1.UpstreamClient
- func MustNamespacedUpstreamGroupClient(ns string) v1.UpstreamGroupClient
- func MustNamespacedVirtualServiceClient(ns string) gatewayv1.VirtualServiceClient
- func MustProxyClient() v1.ProxyClient
- func MustRouteTableClient() gatewayv1.RouteTableClient
- func MustSecretClient() v1.SecretClient
- func MustSecretClientWithOptions(timeout time.Duration, namespaces []string) v1.SecretClient
- func MustSettingsClient() v1.SettingsClient
- func MustUpstreamClient() v1.UpstreamClient
- func MustUpstreamGroupClient() v1.UpstreamGroupClient
- func MustVirtualServiceClient() gatewayv1.VirtualServiceClient
- func NewNamespaceLister() listers.NamespaceLister
- func NewProvidedNamespaceLister(namespaces []string) listers.NamespaceLister
- func ProxyClient(namespaces []string) (v1.ProxyClient, error)
- func RateLimitConfigClient(namespaces []string) (v1alpha1.RateLimitConfigClient, error)
- func RouteTableClient(namespaces []string) (gatewayv1.RouteTableClient, error)
- func SettingsClient(namespaces []string) (v1.SettingsClient, error)
- func UpstreamClient(namespaces []string) (v1.UpstreamClient, error)
- func UpstreamGroupClient(namespaces []string) (v1.UpstreamGroupClient, error)
- func UseConsulClients(client *api.Client, rootKey string)
- func UseDefaultClients()
- func UseMemoryClients()
- func UseVaultClients(client *vaultapi.Client, rootKey string)
- func VirtualServiceClient(namespaces []string) (gatewayv1.VirtualServiceClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiExtsClient ¶ added in v0.18.14
func AuthConfigClient ¶ added in v1.0.0
func AuthConfigClient(namespaces []string) (extauth.AuthConfigClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped authConfig client
func CheckKubernetesConnection ¶ added in v0.18.42
func CheckKubernetesConnection() error
func GatewayClient ¶ added in v1.2.13
func GatewayClient(namespaces []string) (gatewayv1.GatewayClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped gateway client
func GetKubernetesClient ¶ added in v0.13.3
func GetKubernetesClient() (*kubernetes.Clientset, error)
func GetKubernetesClientWithTimeout ¶ added in v0.18.21
func GetKubernetesClientWithTimeout(timeout time.Duration) (*kubernetes.Clientset, error)
func GetNamespaces ¶
Note: requires RBAC permission to list namespaces at the cluster level
func KubeClient ¶ added in v0.17.0
func KubeClient() (kubernetes.Interface, error)
func MustApiExtsClient ¶ added in v0.18.14
func MustAuthConfigClient ¶ added in v1.0.0
func MustAuthConfigClient() extauth.AuthConfigClient
func MustGatewayClient ¶ added in v1.2.13
func MustGatewayClient() gatewayv1.GatewayClient
func MustGetNamespaces ¶
func MustGetNamespaces() []string
func MustKubeClient ¶ added in v0.17.0
func MustKubeClient() kubernetes.Interface
func MustMultiNamespacedAuthConfigClient ¶ added in v1.3.16
func MustMultiNamespacedAuthConfigClient(namespaces []string) extauth.AuthConfigClient
func MustMultiNamespacedGatewayClient ¶ added in v1.3.16
func MustMultiNamespacedGatewayClient(namespaces []string) gatewayv1.GatewayClient
func MustMultiNamespacedProxyClient ¶ added in v1.3.16
func MustMultiNamespacedProxyClient(namespaces []string) v1.ProxyClient
func MustMultiNamespacedRateLimitConfigClient ¶ added in v1.5.0
func MustMultiNamespacedRateLimitConfigClient(namespaces []string) v1alpha1.RateLimitConfigClient
func MustMultiNamespacedRouteTableClient ¶ added in v1.3.16
func MustMultiNamespacedRouteTableClient(namespaces []string) gatewayv1.RouteTableClient
func MustMultiNamespacedSettingsClient ¶ added in v1.3.16
func MustMultiNamespacedSettingsClient(namespaces []string) v1.SettingsClient
func MustMultiNamespacedUpstreamClient ¶ added in v1.3.16
func MustMultiNamespacedUpstreamClient(namespaces []string) v1.UpstreamClient
func MustMultiNamespacedUpstreamGroupClient ¶ added in v1.3.16
func MustMultiNamespacedUpstreamGroupClient(namespaces []string) v1.UpstreamGroupClient
func MustMultiNamespacedVirtualServiceClient ¶ added in v1.3.16
func MustMultiNamespacedVirtualServiceClient(namespaces []string) gatewayv1.VirtualServiceClient
func MustNamespacedAuthConfigClient ¶ added in v1.3.16
func MustNamespacedAuthConfigClient(ns string) extauth.AuthConfigClient
func MustNamespacedGatewayClient ¶ added in v1.3.16
func MustNamespacedGatewayClient(ns string) gatewayv1.GatewayClient
func MustNamespacedProxyClient ¶ added in v1.3.16
func MustNamespacedProxyClient(ns string) v1.ProxyClient
func MustNamespacedRateLimitConfigClient ¶ added in v1.5.0
func MustNamespacedRateLimitConfigClient(ns string) v1alpha1.RateLimitConfigClient
func MustNamespacedRouteTableClient ¶ added in v1.3.16
func MustNamespacedRouteTableClient(ns string) gatewayv1.RouteTableClient
func MustNamespacedSettingsClient ¶ added in v1.3.16
func MustNamespacedSettingsClient(ns string) v1.SettingsClient
func MustNamespacedUpstreamClient ¶ added in v1.3.16
func MustNamespacedUpstreamClient(ns string) v1.UpstreamClient
func MustNamespacedUpstreamGroupClient ¶ added in v1.3.16
func MustNamespacedUpstreamGroupClient(ns string) v1.UpstreamGroupClient
func MustNamespacedVirtualServiceClient ¶ added in v1.3.16
func MustNamespacedVirtualServiceClient(ns string) gatewayv1.VirtualServiceClient
func MustProxyClient ¶
func MustProxyClient() v1.ProxyClient
func MustRouteTableClient ¶ added in v0.20.3
func MustRouteTableClient() gatewayv1.RouteTableClient
func MustSecretClient ¶
func MustSecretClient() v1.SecretClient
func MustSecretClientWithOptions ¶ added in v1.3.25
func MustSecretClientWithOptions(timeout time.Duration, namespaces []string) v1.SecretClient
func MustSettingsClient ¶
func MustSettingsClient() v1.SettingsClient
func MustUpstreamClient ¶
func MustUpstreamClient() v1.UpstreamClient
func MustUpstreamGroupClient ¶ added in v0.13.23
func MustUpstreamGroupClient() v1.UpstreamGroupClient
func MustVirtualServiceClient ¶
func MustVirtualServiceClient() gatewayv1.VirtualServiceClient
func NewNamespaceLister ¶ added in v0.18.12
func NewNamespaceLister() listers.NamespaceLister
func NewProvidedNamespaceLister ¶ added in v1.3.17
func NewProvidedNamespaceLister(namespaces []string) listers.NamespaceLister
func ProxyClient ¶
func ProxyClient(namespaces []string) (v1.ProxyClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped proxy client
func RateLimitConfigClient ¶ added in v1.5.0
func RateLimitConfigClient(namespaces []string) (v1alpha1.RateLimitConfigClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped client
func RouteTableClient ¶ added in v0.20.3
func RouteTableClient(namespaces []string) (gatewayv1.RouteTableClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped route table client
func SettingsClient ¶
func SettingsClient(namespaces []string) (v1.SettingsClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped settings client
func UpstreamClient ¶
func UpstreamClient(namespaces []string) (v1.UpstreamClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped upstream client
func UpstreamGroupClient ¶ added in v0.13.23
func UpstreamGroupClient(namespaces []string) (v1.UpstreamGroupClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped upstream group client
func UseConsulClients ¶ added in v0.18.23
only applies to Config and Artifact clients
func UseDefaultClients ¶ added in v0.18.23
func UseDefaultClients()
wipes all the client helper overrides
func UseMemoryClients ¶
func UseMemoryClients()
func UseVaultClients ¶ added in v0.18.23
only applies to secret clients
func VirtualServiceClient ¶
func VirtualServiceClient(namespaces []string) (gatewayv1.VirtualServiceClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped virtual service client
Types ¶
This section is empty.