testutil

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FailFuncName = "FailFunc"
	WaitFuncName = "WaitFunc"
	ArgFuncName  = "ArgFunc"
)

Variables

This section is empty.

Functions

func ActionSetWithConfigMap

func ActionSetWithConfigMap(as *crv1alpha1.ActionSet, name string) *crv1alpha1.ActionSet

func ArgFuncArgs

func ArgFuncArgs() []string

func BlueprintWithConfigMap

func BlueprintWithConfigMap(bp *crv1alpha1.Blueprint) *crv1alpha1.Blueprint

func NewTestActionSet

func NewTestActionSet(namespace, blueprintName, poKind, poName, poNamespace string) *crv1alpha1.ActionSet

func NewTestBlueprint

func NewTestBlueprint(poKind string, phaseFuncs ...string) *crv1alpha1.Blueprint

func NewTestConfigMap

func NewTestConfigMap() *v1.ConfigMap

func NewTestDeployment

func NewTestDeployment() *v1beta1.Deployment

func NewTestNamespace

func NewTestNamespace() *v1.Namespace

func NewTestStatefulSet

func NewTestStatefulSet() *v1beta1.StatefulSet

func ReleaseWaitFunc

func ReleaseWaitFunc()

Types

This section is empty.

Jump to

Keyboard shortcuts

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