Documentation ¶
Index ¶
- func CommandError(t *testing.T, err error, out []byte) error
- 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 MakeBasicAppsodyApplication(t *testing.T, f *framework.Framework, n string, ns string, replicas int32) *appsodyv1beta1.AppsodyApplication
- func ResetConfigMap(t *testing.T, f *framework.Framework, configMap *corev1.ConfigMap, ...)
- 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 CommandError ¶ added in v0.6.0
CommandError : Reports back an error if a command fails to execute
func FailureCleanup ¶ added in v0.2.2
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 MakeBasicAppsodyApplication ¶
func MakeBasicAppsodyApplication(t *testing.T, f *framework.Framework, n string, ns string, replicas int32) *appsodyv1beta1.AppsodyApplication
MakeBasicAppsodyApplication : Create a simple Appsody App with provided number of replicas.
func ResetConfigMap ¶ added in v0.2.2
func ResetConfigMap(t *testing.T, f *framework.Framework, configMap *corev1.ConfigMap, cmName string, fileName string, namespace string)
ResetConfigMap : Resets the configmaps to original empty values, this is required to allow tests to be run after the configmaps test
func UpdateApplication ¶ added in v0.4.1
func UpdateApplication(f *framework.Framework, target types.NamespacedName, update func(r *appsodyv1beta1.AppsodyApplication)) 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.