helpers

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 25 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 CheckKubernetesConnection added in v0.18.42

func CheckKubernetesConnection() error

func GatewayV2Client added in v0.18.21

func GatewayV2Client() (gatewayv2.GatewayClient, error)

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 MustGatewayV2Client added in v0.18.21

func MustGatewayV2Client() gatewayv2.GatewayClient

func MustGetNamespaces

func MustGetNamespaces() []string

func MustKubeClient added in v0.17.0

func MustKubeClient() kubernetes.Interface

func MustProxyClient

func MustProxyClient() v1.ProxyClient

func MustRouteTableClient added in v0.20.3

func MustRouteTableClient() gatewayv1.RouteTableClient

func MustSecretClient

func MustSecretClient() 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 ProxyClient

func ProxyClient() (v1.ProxyClient, error)

func RouteTableClient added in v0.20.3

func RouteTableClient() (gatewayv1.RouteTableClient, error)

func SettingsClient

func SettingsClient() (v1.SettingsClient, error)

func UpstreamClient

func UpstreamClient() (v1.UpstreamClient, error)

func UpstreamGroupClient added in v0.13.23

func UpstreamGroupClient() (v1.UpstreamGroupClient, error)

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() (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