Documentation ¶
Index ¶
- func Install(fn ...DeploymentOptsFn) framework.InstallFunc
- type Deployment
- type DeploymentOpts
- type DeploymentOptsFn
- func WithEchoArgs(args ...string) DeploymentOptsFn
- func WithHealthCheckTCPArgs(args ...string) DeploymentOptsFn
- func WithMesh(mesh string) DeploymentOptsFn
- func WithName(name string) DeploymentOptsFn
- func WithNamespace(namespace string) DeploymentOptsFn
- func WithPodAnnotations(annotations map[string]string) DeploymentOptsFn
- func WithReachableServices(services ...string) DeploymentOptsFn
- func WithReplicas(n int32) DeploymentOptsFn
- func WithServiceAccount(serviceAccountName string) DeploymentOptsFn
- func WithStatefulSet(apply bool) DeploymentOptsFn
- func WithoutProbes() DeploymentOptsFn
- func WithoutWaitingToBeReady() DeploymentOptsFn
- type TestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(fn ...DeploymentOptsFn) framework.InstallFunc
Types ¶
type Deployment ¶
type Deployment interface { framework.Deployment TestServer }
type DeploymentOpts ¶
type DeploymentOpts struct { Name string Namespace string Mesh string ReachableServices []string WithStatefulSet bool ServiceAccount string Replicas int32 WaitingToBeReady bool EnableProbes bool PodAnnotations map[string]string NodeSelector map[string]string // contains filtered or unexported fields }
func DefaultDeploymentOpts ¶
func DefaultDeploymentOpts() DeploymentOpts
type DeploymentOptsFn ¶
type DeploymentOptsFn = func(*DeploymentOpts)
func WithEchoArgs ¶
func WithEchoArgs(args ...string) DeploymentOptsFn
func WithHealthCheckTCPArgs ¶
func WithHealthCheckTCPArgs(args ...string) DeploymentOptsFn
func WithMesh ¶
func WithMesh(mesh string) DeploymentOptsFn
func WithName ¶
func WithName(name string) DeploymentOptsFn
func WithNamespace ¶
func WithNamespace(namespace string) DeploymentOptsFn
func WithPodAnnotations ¶
func WithPodAnnotations(annotations map[string]string) DeploymentOptsFn
func WithReachableServices ¶
func WithReachableServices(services ...string) DeploymentOptsFn
func WithReplicas ¶
func WithReplicas(n int32) DeploymentOptsFn
func WithServiceAccount ¶
func WithServiceAccount(serviceAccountName string) DeploymentOptsFn
func WithStatefulSet ¶
func WithStatefulSet(apply bool) DeploymentOptsFn
func WithoutProbes ¶
func WithoutProbes() DeploymentOptsFn
func WithoutWaitingToBeReady ¶
func WithoutWaitingToBeReady() DeploymentOptsFn
type TestServer ¶
type TestServer interface { }
Click to show internal directories.
Click to hide internal directories.