helpers

package
v0.13.19 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 21 Imported by: 29

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