helpers

package
v1.6.0-beta5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 26 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiExtsClient added in v0.18.14

func ApiExtsClient() (apiexts.Interface, error)

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

func GetNamespaces() ([]string, error)

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 MustApiExtsClient() apiexts.Interface

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

func UseConsulClients(client *api.Client, rootKey string)

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

func UseVaultClients(client *vaultapi.Client, rootKey string)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL