Documentation ¶
Index ¶
- func ApiExtsClient() (apiexts.Interface, error)
- func AuthConfigClient(ctx context.Context, namespaces []string) (extauth.AuthConfigClient, error)
- func CheckKubernetesConnection(ctx context.Context) error
- func GatewayClient(ctx context.Context, namespaces []string) (gatewayv1.GatewayClient, error)
- func GetKubernetesClient() (kubernetes.Interface, error)
- func GetKubernetesClientWithTimeout(timeout time.Duration) (kubernetes.Interface, error)
- func GetNamespaces(ctx context.Context) ([]string, error)
- func GetSecretClient(ctx context.Context, timeout time.Duration, namespaces []string) (v1.SecretClient, error)
- func KubeClient() (kubernetes.Interface, error)
- func MustApiExtsClient() apiexts.Interface
- func MustAuthConfigClient(ctx context.Context) extauth.AuthConfigClient
- func MustGatewayClient(ctx context.Context) gatewayv1.GatewayClient
- func MustGetNamespaces(ctx context.Context) []string
- func MustKubeClient() kubernetes.Interface
- func MustMultiNamespacedAuthConfigClient(ctx context.Context, namespaces []string) extauth.AuthConfigClient
- func MustMultiNamespacedGatewayClient(ctx context.Context, namespaces []string) gatewayv1.GatewayClient
- func MustMultiNamespacedProxyClient(ctx context.Context, namespaces []string) v1.ProxyClient
- func MustMultiNamespacedRateLimitConfigClient(ctx context.Context, namespaces []string) v1alpha1.RateLimitConfigClient
- func MustMultiNamespacedRouteOptionClient(ctx context.Context, namespaces []string) gatewayv1.RouteOptionClient
- func MustMultiNamespacedRouteTableClient(ctx context.Context, namespaces []string) gatewayv1.RouteTableClient
- func MustMultiNamespacedSettingsClient(ctx context.Context, namespaces []string) v1.SettingsClient
- func MustMultiNamespacedUpstreamClient(ctx context.Context, namespaces []string) v1.UpstreamClient
- func MustMultiNamespacedUpstreamGroupClient(ctx context.Context, namespaces []string) v1.UpstreamGroupClient
- func MustMultiNamespacedVirtualHostOptionClient(ctx context.Context, namespaces []string) gatewayv1.VirtualHostOptionClient
- func MustMultiNamespacedVirtualServiceClient(ctx context.Context, namespaces []string) gatewayv1.VirtualServiceClient
- func MustNamespacedAuthConfigClient(ctx context.Context, ns string) extauth.AuthConfigClient
- func MustNamespacedGatewayClient(ctx context.Context, ns string) gatewayv1.GatewayClient
- func MustNamespacedProxyClient(ctx context.Context, ns string) v1.ProxyClient
- func MustNamespacedRateLimitConfigClient(ctx context.Context, ns string) v1alpha1.RateLimitConfigClient
- func MustNamespacedRouteOptionClient(ctx context.Context, ns string) gatewayv1.RouteOptionClient
- func MustNamespacedRouteTableClient(ctx context.Context, ns string) gatewayv1.RouteTableClient
- func MustNamespacedSettingsClient(ctx context.Context, ns string) v1.SettingsClient
- func MustNamespacedUpstreamClient(ctx context.Context, ns string) v1.UpstreamClient
- func MustNamespacedUpstreamGroupClient(ctx context.Context, ns string) v1.UpstreamGroupClient
- func MustNamespacedVirtualHostOptionClient(ctx context.Context, ns string) gatewayv1.VirtualHostOptionClient
- func MustNamespacedVirtualServiceClient(ctx context.Context, ns string) gatewayv1.VirtualServiceClient
- func MustProxyClient(ctx context.Context) v1.ProxyClient
- func MustRouteOptionClient(ctx context.Context) gatewayv1.RouteOptionClient
- func MustRouteTableClient(ctx context.Context) gatewayv1.RouteTableClient
- func MustSecretClient(ctx context.Context) v1.SecretClient
- func MustSecretClientWithOptions(ctx context.Context, timeout time.Duration, namespaces []string) v1.SecretClient
- func MustSettingsClient(ctx context.Context) v1.SettingsClient
- func MustUpstreamClient(ctx context.Context) v1.UpstreamClient
- func MustUpstreamGroupClient(ctx context.Context) v1.UpstreamGroupClient
- func MustVirtualHostOptionClient(ctx context.Context) gatewayv1.VirtualHostOptionClient
- func MustVirtualServiceClient(ctx context.Context) gatewayv1.VirtualServiceClient
- func NewNamespaceLister() listers.NamespaceLister
- func NewProvidedNamespaceLister(namespaces []string) listers.NamespaceLister
- func ProxyClient(ctx context.Context, namespaces []string) (v1.ProxyClient, error)
- func RateLimitConfigClient(ctx context.Context, namespaces []string) (v1alpha1.RateLimitConfigClient, error)
- func RouteOptionClient(ctx context.Context, namespaces []string) (gatewayv1.RouteOptionClient, error)
- func RouteTableClient(ctx context.Context, namespaces []string) (gatewayv1.RouteTableClient, error)
- func SettingsClient(ctx context.Context, namespaces []string) (v1.SettingsClient, error)
- func UpstreamClient(ctx context.Context, namespaces []string) (v1.UpstreamClient, error)
- func UpstreamGroupClient(ctx context.Context, namespaces []string) (v1.UpstreamGroupClient, error)
- func UseConsulClients(client *api.Client, rootKey string)
- func UseDefaultClients()
- func UseMemoryClients()
- func UseVaultClients(client *vaultapi.Client, rootKey string)
- func VirtualHostOptionClient(ctx context.Context, namespaces []string) (gatewayv1.VirtualHostOptionClient, error)
- func VirtualServiceClient(ctx context.Context, 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
provide "" (metav1.NamespaceAll) to get a cluster-scoped authConfig client
func CheckKubernetesConnection ¶ added in v0.18.42
func GatewayClient ¶ added in v1.2.13
provide "" (metav1.NamespaceAll) to get a cluster-scoped gateway client
func GetKubernetesClient ¶ added in v0.13.3
func GetKubernetesClient() (kubernetes.Interface, error)
func GetKubernetesClientWithTimeout ¶ added in v0.18.21
func GetKubernetesClientWithTimeout(timeout time.Duration) (kubernetes.Interface, error)
func GetNamespaces ¶
Note: requires RBAC permission to list namespaces at the cluster level
func GetSecretClient ¶ added in v1.9.25
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(ctx context.Context) extauth.AuthConfigClient
func MustGatewayClient ¶ added in v1.2.13
func MustGatewayClient(ctx context.Context) gatewayv1.GatewayClient
func MustGetNamespaces ¶
func MustKubeClient ¶ added in v0.17.0
func MustKubeClient() kubernetes.Interface
func MustMultiNamespacedAuthConfigClient ¶ added in v1.3.16
func MustMultiNamespacedAuthConfigClient(ctx context.Context, namespaces []string) extauth.AuthConfigClient
func MustMultiNamespacedGatewayClient ¶ added in v1.3.16
func MustMultiNamespacedGatewayClient(ctx context.Context, namespaces []string) gatewayv1.GatewayClient
func MustMultiNamespacedProxyClient ¶ added in v1.3.16
func MustMultiNamespacedProxyClient(ctx context.Context, namespaces []string) v1.ProxyClient
func MustMultiNamespacedRateLimitConfigClient ¶ added in v1.5.0
func MustMultiNamespacedRateLimitConfigClient(ctx context.Context, namespaces []string) v1alpha1.RateLimitConfigClient
func MustMultiNamespacedRouteOptionClient ¶ added in v1.8.0
func MustMultiNamespacedRouteOptionClient(ctx context.Context, namespaces []string) gatewayv1.RouteOptionClient
func MustMultiNamespacedRouteTableClient ¶ added in v1.3.16
func MustMultiNamespacedRouteTableClient(ctx context.Context, namespaces []string) gatewayv1.RouteTableClient
func MustMultiNamespacedSettingsClient ¶ added in v1.3.16
func MustMultiNamespacedSettingsClient(ctx context.Context, namespaces []string) v1.SettingsClient
func MustMultiNamespacedUpstreamClient ¶ added in v1.3.16
func MustMultiNamespacedUpstreamClient(ctx context.Context, namespaces []string) v1.UpstreamClient
func MustMultiNamespacedUpstreamGroupClient ¶ added in v1.3.16
func MustMultiNamespacedUpstreamGroupClient(ctx context.Context, namespaces []string) v1.UpstreamGroupClient
func MustMultiNamespacedVirtualHostOptionClient ¶ added in v1.8.0
func MustMultiNamespacedVirtualHostOptionClient(ctx context.Context, namespaces []string) gatewayv1.VirtualHostOptionClient
func MustMultiNamespacedVirtualServiceClient ¶ added in v1.3.16
func MustMultiNamespacedVirtualServiceClient(ctx context.Context, namespaces []string) gatewayv1.VirtualServiceClient
func MustNamespacedAuthConfigClient ¶ added in v1.3.16
func MustNamespacedAuthConfigClient(ctx context.Context, ns string) extauth.AuthConfigClient
func MustNamespacedGatewayClient ¶ added in v1.3.16
func MustNamespacedGatewayClient(ctx context.Context, ns string) gatewayv1.GatewayClient
func MustNamespacedProxyClient ¶ added in v1.3.16
func MustNamespacedProxyClient(ctx context.Context, ns string) v1.ProxyClient
func MustNamespacedRateLimitConfigClient ¶ added in v1.5.0
func MustNamespacedRateLimitConfigClient(ctx context.Context, ns string) v1alpha1.RateLimitConfigClient
func MustNamespacedRouteOptionClient ¶ added in v1.8.0
func MustNamespacedRouteOptionClient(ctx context.Context, ns string) gatewayv1.RouteOptionClient
func MustNamespacedRouteTableClient ¶ added in v1.3.16
func MustNamespacedRouteTableClient(ctx context.Context, ns string) gatewayv1.RouteTableClient
func MustNamespacedSettingsClient ¶ added in v1.3.16
func MustNamespacedSettingsClient(ctx context.Context, ns string) v1.SettingsClient
func MustNamespacedUpstreamClient ¶ added in v1.3.16
func MustNamespacedUpstreamClient(ctx context.Context, ns string) v1.UpstreamClient
func MustNamespacedUpstreamGroupClient ¶ added in v1.3.16
func MustNamespacedUpstreamGroupClient(ctx context.Context, ns string) v1.UpstreamGroupClient
func MustNamespacedVirtualHostOptionClient ¶ added in v1.8.0
func MustNamespacedVirtualHostOptionClient(ctx context.Context, ns string) gatewayv1.VirtualHostOptionClient
func MustNamespacedVirtualServiceClient ¶ added in v1.3.16
func MustNamespacedVirtualServiceClient(ctx context.Context, ns string) gatewayv1.VirtualServiceClient
func MustProxyClient ¶
func MustProxyClient(ctx context.Context) v1.ProxyClient
func MustRouteOptionClient ¶ added in v1.8.0
func MustRouteOptionClient(ctx context.Context) gatewayv1.RouteOptionClient
func MustRouteTableClient ¶ added in v0.20.3
func MustRouteTableClient(ctx context.Context) gatewayv1.RouteTableClient
func MustSecretClient ¶
func MustSecretClient(ctx context.Context) v1.SecretClient
func MustSecretClientWithOptions ¶ added in v1.3.25
func MustSettingsClient ¶
func MustSettingsClient(ctx context.Context) v1.SettingsClient
func MustUpstreamClient ¶
func MustUpstreamClient(ctx context.Context) v1.UpstreamClient
func MustUpstreamGroupClient ¶ added in v0.13.23
func MustUpstreamGroupClient(ctx context.Context) v1.UpstreamGroupClient
func MustVirtualHostOptionClient ¶ added in v1.8.0
func MustVirtualHostOptionClient(ctx context.Context) gatewayv1.VirtualHostOptionClient
func MustVirtualServiceClient ¶
func MustVirtualServiceClient(ctx context.Context) 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 ¶
provide "" (metav1.NamespaceAll) to get a cluster-scoped proxy client
func RateLimitConfigClient ¶ added in v1.5.0
func RateLimitConfigClient(ctx context.Context, namespaces []string) (v1alpha1.RateLimitConfigClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped client
func RouteOptionClient ¶ added in v1.8.0
func RouteTableClient ¶ added in v0.20.3
provide "" (metav1.NamespaceAll) to get a cluster-scoped route table client
func SettingsClient ¶
provide "" (metav1.NamespaceAll) to get a cluster-scoped settings client
func UpstreamClient ¶
provide "" (metav1.NamespaceAll) to get a cluster-scoped upstream client
func UpstreamGroupClient ¶ added in v0.13.23
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 VirtualHostOptionClient ¶ added in v1.8.0
func VirtualServiceClient ¶
func VirtualServiceClient(ctx context.Context, namespaces []string) (gatewayv1.VirtualServiceClient, error)
provide "" (metav1.NamespaceAll) to get a cluster-scoped virtual service client
Types ¶
This section is empty.