helpers

package
v0.0.0-...-5a6645a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiExtsClient

func ApiExtsClient() (apiexts.Interface, error)

func CheckKubernetesConnection

func CheckKubernetesConnection() error

func GatewayV2Client

func GatewayV2Client() (gatewayv2.GatewayClient, error)

func GetKubernetesClient

func GetKubernetesClient() (*kubernetes.Clientset, error)

func GetKubernetesClientWithTimeout

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

func KubeClient() (kubernetes.Interface, error)

func MustApiExtsClient

func MustApiExtsClient() apiexts.Interface

func MustGatewayV2Client

func MustGatewayV2Client() gatewayv2.GatewayClient

func MustGetNamespaces

func MustGetNamespaces() []string

func MustKubeClient

func MustKubeClient() kubernetes.Interface

func MustProxyClient

func MustProxyClient() v1.ProxyClient

func MustRouteTableClient

func MustRouteTableClient() gatewayv1.RouteTableClient

func MustSecretClient

func MustSecretClient() v1.SecretClient

func MustSettingsClient

func MustSettingsClient() v1.SettingsClient

func MustUpstreamClient

func MustUpstreamClient() v1.UpstreamClient

func MustUpstreamGroupClient

func MustUpstreamGroupClient() v1.UpstreamGroupClient

func MustVirtualServiceClient

func MustVirtualServiceClient() gatewayv1.VirtualServiceClient

func NewNamespaceLister

func NewNamespaceLister() listers.NamespaceLister

func ProxyClient

func ProxyClient() (v1.ProxyClient, error)

func RouteTableClient

func RouteTableClient() (gatewayv1.RouteTableClient, error)

func SettingsClient

func SettingsClient() (v1.SettingsClient, error)

func UpstreamClient

func UpstreamClient() (v1.UpstreamClient, error)

func UpstreamGroupClient

func UpstreamGroupClient() (v1.UpstreamGroupClient, error)

func UseConsulClients

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

only applies to Config and Artifact clients

func UseDefaultClients

func UseDefaultClients()

wipes all the client helper overrides

func UseMemoryClients

func UseMemoryClients()

func UseVaultClients

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

only applies to secret clients

func VirtualServiceClient

func VirtualServiceClient() (gatewayv1.VirtualServiceClient, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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