Documentation
¶
Index ¶
- func CommandError(t *testing.T, err error, out []byte) error
- func CreateApplicationTarget(f *framework.Framework, ctx *framework.TestCtx, target types.NamespacedName, ...) error
- func CreateCertificateIssuer(t *testing.T, f *framework.Framework, ctx *framework.TestCtx, n string) 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 IsCertManagerInstalled(t *testing.T, f *framework.Framework, ctx *framework.TestCtx) bool
- func IsKnativeServiceDeployed(t *testing.T, f *framework.Framework, ns, n string) (bool, 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 WaitForApplicationCreated(t *testing.T, f *framework.Framework, target types.NamespacedName) error
- func WaitForApplicationDelete(t *testing.T, f *framework.Framework, target types.NamespacedName) error
- func WaitForCertificate(t *testing.T, f *framework.Framework, ns, n string, ...) 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 CreateApplicationTarget ¶ added in v0.7.0
func CreateCertificateIssuer ¶ added in v0.4.1
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 IsCertManagerInstalled ¶ added in v0.4.1
func IsKnativeServiceDeployed ¶ added in v0.6.0
IsKnativeServiceDeployed : Check if the Knative service is deployed.
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
func WaitForApplicationCreated ¶ added in v0.7.0
func WaitForApplicationCreated(t *testing.T, f *framework.Framework, target types.NamespacedName) error
WaitForApplicationCreated wait for kappnav to create the generated application
func WaitForApplicationDelete ¶ added in v0.7.0
func WaitForApplicationDelete(t *testing.T, f *framework.Framework, target types.NamespacedName) error
WaitForApplicationDelete wait for kappnav to delete the generated application
func WaitForCertificate ¶ added in v0.4.1
func WaitForCertificate(t *testing.T, f *framework.Framework, ns, n string, retryInterval, timeout time.Duration) error
WaitForCertificate : Poll for generated certificates from our cert manager functionality
Types ¶
This section is empty.