Documentation ¶
Index ¶
- func CreateOpsRequest(ctx context.Context, testCtx testutil.TestContext, ...) *opsv1alpha1.OpsRequest
- func GetOpsRequestPhase(testCtx *testutil.TestContext, opsKey types.NamespacedName) func(gomega.Gomega) opsv1alpha1.OpsPhase
- func NewOpsRequestObj(opsRequestName, namespace, clusterName string, opsType opsv1alpha1.OpsType) *opsv1alpha1.OpsRequest
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.
Click to show internal directories.
Click to hide internal directories.