Documentation
¶
Index ¶
- func FailureCleanup(t *testing.T, f *framework.Framework, ns string, failure error)
- func InitializeContext(t *testing.T, clean, retryInterval time.Duration) (*framework.TestCtx, error)
- func MakeBasicRuntimeComponent(t *testing.T, f *framework.Framework, n string, ns string, replicas int32) *appstacksv1beta1.RuntimeComponent
- func UpdateApplication(f *framework.Framework, target types.NamespacedName, ...) error
- func WaitForKnativeDeployment(t *testing.T, f *framework.Framework, ns, n string, ...) error
- func WaitForStatefulSet(t *testing.T, kc kubernetes.Interface, ns, n string, replicas int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailureCleanup ¶
FailureCleanup : Log current state of the namespace and exit with fatal
func InitializeContext ¶
func InitializeContext(t *testing.T, clean, retryInterval time.Duration) (*framework.TestCtx, error)
InitializeContext : Sets up initial context
func MakeBasicRuntimeComponent ¶
func MakeBasicRuntimeComponent(t *testing.T, f *framework.Framework, n string, ns string, replicas int32) *appstacksv1beta1.RuntimeComponent
MakeBasicRuntimeComponent : Create a simple RuntimeComponent with provided number of replicas.
func UpdateApplication ¶
func UpdateApplication(f *framework.Framework, target types.NamespacedName, update func(r *appstacksv1beta1.RuntimeComponent)) error
UpdateApplication updates target app using provided function, retrying in the case that status has changed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.