helpers

package
v1.1.0-cambridge Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2020 IBM Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsentOperandFormRequest

func AbsentOperandFormRequest(f *framework.Framework, ctx *framework.TestCtx) error

AbsentOperandFormRequest delete an operator and operand from OperandRequest

func AssertNoError

func AssertNoError(t *testing.T, err error)

AssertNoError confirms the error returned is nil

func CheckingClusterState

func CheckingClusterState(f *framework.Framework, ctx *framework.TestCtx) error

Checking Cluster phase is running

func CreateOperandConfig

func CreateOperandConfig(f *framework.Framework, ctx *framework.TestCtx) error

CreateOperandConfig creates a OperandConfig instance

func CreateOperandRegistry

func CreateOperandRegistry(f *framework.Framework, ctx *framework.TestCtx) error

CreateOperandRegistry creates a OperandRegistry instance

func CreateOperandRequest

func CreateOperandRequest(f *framework.Framework, ctx *framework.TestCtx) error

CreateOperandRequest creates a OperandRequest instance

func DeleteOperandConfig

func DeleteOperandConfig(f *framework.Framework, ci *operator.OperandConfig) error

DeleteOperandConfig deletes a OperandConfig instance

func DeleteOperandRegistry

func DeleteOperandRegistry(f *framework.Framework, regCr *operator.OperandRegistry) error

DeleteOperandRegistry delete a OperandRegistry instance

func DeleteOperandRequest

func DeleteOperandRequest(reqCr *operator.OperandRequest, f *framework.Framework) error

DeleteOperandRequest delete a OperandRequest instance

func GetReconcileRequest

func GetReconcileRequest(name, namespace string) reconcile.Request

func PresentOperandFormRequest

func PresentOperandFormRequest(f *framework.Framework, ctx *framework.TestCtx) error

PresentOperandFormRequest add an operator and operand into OperandRequest

func RetrieveOperandConfig

func RetrieveOperandConfig(f *framework.Framework, ctx *framework.TestCtx) (*operator.OperandConfig, error)

RetrieveOperandConfig gets a OperandConfig instance

func RetrieveOperandRegistry

func RetrieveOperandRegistry(f *framework.Framework, ctx *framework.TestCtx) (*operator.OperandRegistry, error)

RetrieveOperandRegistry get and update a OperandRegistry instance

func RetrieveOperandRequest

func RetrieveOperandRequest(f *framework.Framework, ctx *framework.TestCtx) (*operator.OperandRequest, error)

RetrieveOperandRequest gets an OperandRequest instance

func UpdateOperandConfig

func UpdateOperandConfig(f *framework.Framework, ctx *framework.TestCtx) error

UpdateOperandConfig updates a OperandConfig instance

func UpdateOperandRegistry

func UpdateOperandRegistry(f *framework.Framework, ctx *framework.TestCtx) error

UpdateOperandRegistry update a OperandRegistry instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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