Documentation ¶
Index ¶
- func GetNamespaces() ([]string, error)
- func InstallClient() (v1.InstallClient, error)
- func KubeClient() (kubernetes.Interface, error)
- func MeshClient() (v1.MeshClient, error)
- func MeshIngressClient() (v1.MeshIngressClient, error)
- func MustGetNamespaces() []string
- func MustInstallClient() v1.InstallClient
- func MustKubeClient() kubernetes.Interface
- func MustMeshClient() v1.MeshClient
- func MustMeshIngressClient() v1.MeshIngressClient
- func MustPrometheusConfigClient() prometheusv1.PrometheusConfigClient
- func MustRoutingRuleClient() v1.RoutingRuleClient
- func MustSecretClient() gloov1.SecretClient
- func MustSecurityRuleClient() v1.SecurityRuleClient
- func MustSettingsClient() gloov1.SettingsClient
- func MustTlsSecretClient() v1.TlsSecretClient
- func MustUpstreamClient() gloov1.UpstreamClient
- func PrometheusConfigClient() (prometheusv1.PrometheusConfigClient, error)
- func RoutingRuleClient() (v1.RoutingRuleClient, error)
- func SecretClient() (gloov1.SecretClient, error)
- func SecurityRuleClient() (v1.SecurityRuleClient, error)
- func SettingsClient() (gloov1.SettingsClient, error)
- func TlsSecretClient() (v1.TlsSecretClient, error)
- func UpstreamClient() (gloov1.UpstreamClient, error)
- func UseAppmeshMock(mockClient Appmesh)
- func UseMemoryClients()
- type Appmesh
- type AppmeshClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNamespaces ¶
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 ¶
type AppmeshClient ¶
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.
Click to show internal directories.
Click to hide internal directories.