operations

package
v1.0.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOpsRequest

func CreateOpsRequest(ctx context.Context, testCtx testutil.TestContext, opsRequest *opsv1alpha1.OpsRequest) *opsv1alpha1.OpsRequest

CreateOpsRequest calls the api to create the OpsRequest resource.

func GetOpsRequestPhase

func GetOpsRequestPhase(testCtx *testutil.TestContext, opsKey types.NamespacedName) func(gomega.Gomega) opsv1alpha1.OpsPhase

GetOpsRequestPhase gets the testing opsRequest phase for verification.

func NewOpsRequestObj

func NewOpsRequestObj(opsRequestName, namespace, clusterName string, opsType opsv1alpha1.OpsType) *opsv1alpha1.OpsRequest

NewOpsRequestObj only generates the OpsRequest Object, instead of actually creating this resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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