Documentation
¶
Overview ¶
Package resourcemanager provides utility functions for managing resources in the testing cluster.
Index ¶
- func ApplyStepActionYAML(stepActionFilePath, namespace string) error
- func CreateBundle(stepAction string, id string) error
- func CreateNamespace(namespace string) error
- func DeleteBundle(bundlePath string) error
- func DeleteNamespace(namespace string) error
- func WaitForTektonRunCompletion(t *testing.T, tektonClient *versioned.Clientset, tektonRun TektonRun, ...)
- type TektonRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyStepActionYAML ¶
ApplyStepActionYAML applies the Tekton StepAction YAML file to the kubernetes cluster
func CreateBundle ¶
CreateBundle pushes the StepAction to AR as an OCI bundle
func CreateNamespace ¶
CreateNamespace creates a namespace for testing in the kubernetes cluster
func DeleteBundle ¶
DeleteBundle delete OCI bundle that was previously created
func DeleteNamespace ¶
DeleteNamespace deletes the namespace and all resources in it
func WaitForTektonRunCompletion ¶
func WaitForTektonRunCompletion(t *testing.T, tektonClient *versioned.Clientset, tektonRun TektonRun, watchTimeout time.Duration, expectedCondition, namespace string)
WaitForTektonRunCompletion waits for the Tekton TaskRun or PipelineRun to complete with the expected condition within the timeout
Types ¶
Click to show internal directories.
Click to hide internal directories.