Documentation
¶
Index ¶
- func Deployment(c client.Client) func(namespace, name string) appsv1.Deployment
- func DeploymentConfig(c client.Client) func(namespace, name string) osappsv1.DeploymentConfig
- func DeploymentConfigWithError(c client.Client) func(namespace, name string) (osappsv1.DeploymentConfig, error)
- func DeploymentWithError(c client.Client) func(namespace, name string) (appsv1.Deployment, error)
- func DestinationRule(c client.Client) func(namespace, name string) istionetwork.DestinationRule
- func Gateway(c client.Client) func(namespace, name string) istionetwork.Gateway
- func Session(c client.Client) func(namespace, name string) v1alpha1.Session
- func VirtualService(c client.Client) func(namespace, name string) istionetwork.VirtualService
- func VirtualServices(c client.Client) func(namespace string) istionetwork.VirtualServiceList
- type Getters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deployment ¶
func Deployment(c client.Client) func(namespace, name string) appsv1.Deployment
Deployment returns a deployment by name in a given namespace.
func DeploymentConfig ¶
func DeploymentConfig(c client.Client) func(namespace, name string) osappsv1.DeploymentConfig
DeploymentConfig returns a deploymentconfig by name in a given namespace.
func DeploymentConfigWithError ¶
func DeploymentConfigWithError(c client.Client) func(namespace, name string) (osappsv1.DeploymentConfig, error)
DeploymentConfigWithError returns a deploymentconfig by name in a given namespace or error.
func DeploymentWithError ¶
DeploymentWithError returns a deployment by name in a given namespace or error.
func DestinationRule ¶
func DestinationRule(c client.Client) func(namespace, name string) istionetwork.DestinationRule
DestinationRule returns a destinationrule by name in a given namespace.
func Gateway ¶
func Gateway(c client.Client) func(namespace, name string) istionetwork.Gateway
Gateway returns a gateway by name in a given namespace.
func VirtualService ¶
func VirtualService(c client.Client) func(namespace, name string) istionetwork.VirtualService
VirtualService returns a virtualservice by name in a given namespace.
func VirtualServices ¶
func VirtualServices(c client.Client) func(namespace string) istionetwork.VirtualServiceList
VirtualServices returns all virtualservices in a given namespace.
Types ¶
type Getters ¶
type Getters struct { Session func(namespace, name string) v1alpha1.Session Gateway func(namespace, name string) istionetwork.Gateway DestinationRule func(namespace, name string) istionetwork.DestinationRule VirtualService func(namespace, name string) istionetwork.VirtualService Deployment func(namespace, name string) appsv1.Deployment DeploymentWithError func(namespace, name string) (appsv1.Deployment, error) DeploymentConfig func(namespace, name string) osappsv1.DeploymentConfig DeploymentConfigWithError func(namespace, name string) (osappsv1.DeploymentConfig, error) VirtualServices func(namespace string) istionetwork.VirtualServiceList }
Getters simple struct to hold funcs.
Click to show internal directories.
Click to hide internal directories.