clients

package
v0.3.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNamespaces

func GetNamespaces() ([]string, error)

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

func InstallClient

func InstallClient() (v1.InstallClient, error)

func KubeClient

func KubeClient() (kubernetes.Interface, error)

func MeshClient

func MeshClient() (v1.MeshClient, error)

func MeshIngressClient

func MeshIngressClient() (v1.MeshIngressClient, error)

func MustGetNamespaces

func MustGetNamespaces() []string

func MustInstallClient

func MustInstallClient() v1.InstallClient

func MustKubeClient

func MustKubeClient() kubernetes.Interface

func MustMeshClient

func MustMeshClient() v1.MeshClient

func MustMeshIngressClient

func MustMeshIngressClient() v1.MeshIngressClient

func MustPrometheusConfigClient

func MustPrometheusConfigClient() prometheusv1.PrometheusConfigClient

func MustRoutingRuleClient

func MustRoutingRuleClient() v1.RoutingRuleClient

func MustSecretClient

func MustSecretClient() gloov1.SecretClient

func MustSecurityRuleClient

func MustSecurityRuleClient() v1.SecurityRuleClient

func MustSettingsClient added in v0.3.17

func MustSettingsClient() gloov1.SettingsClient

func MustTlsSecretClient

func MustTlsSecretClient() v1.TlsSecretClient

func MustUpstreamClient

func MustUpstreamClient() gloov1.UpstreamClient

func PrometheusConfigClient

func PrometheusConfigClient() (prometheusv1.PrometheusConfigClient, error)

func RoutingRuleClient

func RoutingRuleClient() (v1.RoutingRuleClient, error)

func SecretClient

func SecretClient() (gloov1.SecretClient, error)

func SecurityRuleClient

func SecurityRuleClient() (v1.SecurityRuleClient, error)

func SettingsClient added in v0.3.17

func SettingsClient() (gloov1.SettingsClient, error)

func TlsSecretClient

func TlsSecretClient() (v1.TlsSecretClient, error)

func UpstreamClient

func UpstreamClient() (gloov1.UpstreamClient, error)

func UseAppmeshMock

func UseAppmeshMock(mockClient Appmesh)

func UseMemoryClients

func UseMemoryClients()

Types

type Appmesh

type Appmesh interface {
	ListMeshes(input *appmesh.ListMeshesInput) (*appmesh.ListMeshesOutput, error)
}

Functions must have the same signatures at the ones in the embedded appmesh.AppMesh struct.

func NewAppmeshClient

func NewAppmeshClient(accessKeyId, secretAccessKey, region string) (Appmesh, error)

type AppmeshClient

type AppmeshClient struct {
	*appmesh.AppMesh
}

We wrap the AWS App Mesh client in order to be able to define an interface (with only the function we need) that we can use to generate mocks.

Jump to

Keyboard shortcuts

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