Documentation ¶
Index ¶
- func GetKubernetesClient() (*kubernetes.Clientset, error)
- func GetNamespaces() ([]string, error)
- func MustGetNamespaces() []string
- func MustProxyClient() v1.ProxyClient
- func MustSecretClient() v1.SecretClient
- func MustSettingsClient() v1.SettingsClient
- func MustUpstreamClient() v1.UpstreamClient
- func MustVirtualServiceClient() gatewayv1.VirtualServiceClient
- func PrintProxies(proxies v1.ProxyList, outputType string)
- func PrintRoutes(routes []*v1.Route, outputType string)
- func PrintUpstreams(upstreams v1.UpstreamList, outputType string)
- func PrintVirtualServices(virtualServices gatewayv1.VirtualServiceList, outputType string)
- func ProxyClient() (v1.ProxyClient, error)
- func SettingsClient() (v1.SettingsClient, error)
- func UpstreamClient() (v1.UpstreamClient, error)
- func UseMemoryClients()
- func VirtualServiceClient() (gatewayv1.VirtualServiceClient, error)
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 ¶
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 PrintRoutes ¶
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.
Click to show internal directories.
Click to hide internal directories.