helpers

package
v0.13.23 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubernetesClient added in v0.13.3

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

func GetNamespaces

func GetNamespaces() ([]string, error)

Note: requires RBAC permission to list namespaces at the cluster level

func MustGetNamespaces

func MustGetNamespaces() []string

func MustProxyClient

func MustProxyClient() v1.ProxyClient

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 PrintProxies

func PrintProxies(proxies v1.ProxyList, outputType string)

func PrintRoutes

func PrintRoutes(routes []*v1.Route, outputType string)

func PrintUpstreams

func PrintUpstreams(upstreams v1.UpstreamList, outputType string)

func PrintVirtualServices

func PrintVirtualServices(virtualServices gatewayv1.VirtualServiceList, outputType string)

func ProxyClient

func ProxyClient() (v1.ProxyClient, 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 UseMemoryClients

func UseMemoryClients()

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