Documentation
¶
Index ¶
- func AbsentOperandFromRequest(f *framework.Framework, ns, opName string) (*v1alpha1.OperandRequest, error)
- func CreateNamespace(f *framework.Framework, ctx *framework.TestCtx, name string) error
- func CreateOperandBindInfo(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandBindInfo, error)
- func CreateOperandConfig(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandConfig, error)
- func CreateOperandRegistry(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandRegistry, error)
- func CreateOperandRequest(f *framework.Framework, ctx *framework.TestCtx, req *v1alpha1.OperandRequest) (*v1alpha1.OperandRequest, error)
- func DeleteNamespace(f *framework.Framework, name string) error
- func DeleteOperandBindInfo(f *framework.Framework, bi *v1alpha1.OperandBindInfo) error
- func DeleteOperandConfig(f *framework.Framework, ci *v1alpha1.OperandConfig) error
- func DeleteOperandRegistry(f *framework.Framework, reg *v1alpha1.OperandRegistry) error
- func DeleteOperandRequest(req *v1alpha1.OperandRequest, f *framework.Framework) error
- func NewOperandRequestCR1(name, namespace string) *v1alpha1.OperandRequest
- func NewOperandRequestCR2(name, namespace string) *v1alpha1.OperandRequest
- func PresentOperandFromRequest(f *framework.Framework, ns, opName string) (*v1alpha1.OperandRequest, error)
- func RetrieveConfigmap(f *framework.Framework, name, namespace string) (*corev1.ConfigMap, error)
- func RetrieveOperandBindInfo(f *framework.Framework, obj runtime.Object, ns string) error
- func RetrieveOperandConfig(f *framework.Framework, obj runtime.Object, ns string) error
- func RetrieveOperandRegistry(f *framework.Framework, obj runtime.Object, ns string) error
- func RetrieveOperandRquest(f *framework.Framework, obj runtime.Object, ns string) error
- func RetrieveSecret(f *framework.Framework, name, namespace string) (*corev1.Secret, error)
- func UpdateOperandBindInfo(f *framework.Framework, ns string) (*v1alpha1.OperandBindInfo, error)
- func UpdateOperandConfig(f *framework.Framework, ns string) error
- func UpdateOperandRegistry(f *framework.Framework, ns string) error
- func WaitBindInfoStatus(f *framework.Framework, expectedPhase v1alpha1.BindInfoPhase, ns string) (*v1alpha1.OperandBindInfo, error)
- func WaitConfigStatus(f *framework.Framework, expectedPhase v1alpha1.ServicePhase, ns string) (*v1alpha1.OperandConfig, error)
- func WaitRegistryStatus(f *framework.Framework, expectedPhase v1alpha1.RegistryPhase, ns string) (*v1alpha1.OperandRegistry, error)
- func WaitRequestStatus(f *framework.Framework, expectedPhase v1alpha1.ClusterPhase, ns string) (*v1alpha1.OperandRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsentOperandFromRequest ¶
func AbsentOperandFromRequest(f *framework.Framework, ns, opName string) (*v1alpha1.OperandRequest, error)
AbsentOperandFromRequest is used to delete an operator and operand from OperandRequest
func CreateNamespace ¶
CreateNamespace is used to create a new namespace for test
func CreateOperandBindInfo ¶
func CreateOperandBindInfo(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandBindInfo, error)
CreateOperandBindInfo is used to create an OperandBindInfo instance
func CreateOperandConfig ¶
func CreateOperandConfig(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandConfig, error)
CreateOperandConfig is used to create an OperandConfig instance
func CreateOperandRegistry ¶
func CreateOperandRegistry(f *framework.Framework, ctx *framework.TestCtx, ns string) (*v1alpha1.OperandRegistry, error)
CreateOperandRegistry is used to create an OperandRegistry instance
func CreateOperandRequest ¶
func CreateOperandRequest(f *framework.Framework, ctx *framework.TestCtx, req *v1alpha1.OperandRequest) (*v1alpha1.OperandRequest, error)
CreateOperandRequest is used to create an OperandRequest instance
func DeleteNamespace ¶
DeleteNamespace is delete the test namespace
func DeleteOperandBindInfo ¶
func DeleteOperandBindInfo(f *framework.Framework, bi *v1alpha1.OperandBindInfo) error
DeleteOperandBindInfo is used to delete an OperandBindInfo instance
func DeleteOperandConfig ¶
func DeleteOperandConfig(f *framework.Framework, ci *v1alpha1.OperandConfig) error
DeleteOperandConfig is used to delete an OperandConfig instance
func DeleteOperandRegistry ¶
func DeleteOperandRegistry(f *framework.Framework, reg *v1alpha1.OperandRegistry) error
DeleteOperandRegistry is used to delete an OperandRegistry instance
func DeleteOperandRequest ¶
func DeleteOperandRequest(req *v1alpha1.OperandRequest, f *framework.Framework) error
DeleteOperandRequest is used to delete an OperandRequest instance
func NewOperandRequestCR1 ¶
func NewOperandRequestCR1(name, namespace string) *v1alpha1.OperandRequest
NewOperandRequestCR1 is return an OperandRequest CR object
func NewOperandRequestCR2 ¶
func NewOperandRequestCR2(name, namespace string) *v1alpha1.OperandRequest
NewOperandRequestCR2 is return an OperandRequest CR object
func PresentOperandFromRequest ¶
func PresentOperandFromRequest(f *framework.Framework, ns, opName string) (*v1alpha1.OperandRequest, error)
PresentOperandFromRequest is used to add an operator and operand into OperandRequest
func RetrieveConfigmap ¶
RetrieveConfigmap is get a configmap
func RetrieveOperandBindInfo ¶
RetrieveOperandBindInfo is used to get an OperandBindInfo instance
func RetrieveOperandConfig ¶
RetrieveOperandConfig is used to get an OperandConfig instance
func RetrieveOperandRegistry ¶
RetrieveOperandRegistry is used to get an OperandRegistry instance
func RetrieveOperandRquest ¶
RetrieveOperandRquest is used to get an OperandRquest instance
func RetrieveSecret ¶
RetrieveSecret is get a secret
func UpdateOperandBindInfo ¶
UpdateOperandBindInfo is used to update an OperandBindInfo instance
func UpdateOperandConfig ¶
UpdateOperandConfig is used to update an OperandConfig instance
func UpdateOperandRegistry ¶
UpdateOperandRegistry is used to update an OperandRegistry instance
func WaitBindInfoStatus ¶
func WaitBindInfoStatus(f *framework.Framework, expectedPhase v1alpha1.BindInfoPhase, ns string) (*v1alpha1.OperandBindInfo, error)
WaitBindInfoStatus is wait for bindinfo phase become to expected phase
func WaitConfigStatus ¶
func WaitConfigStatus(f *framework.Framework, expectedPhase v1alpha1.ServicePhase, ns string) (*v1alpha1.OperandConfig, error)
WaitConfigStatus is wait for config phase become to expected phase
func WaitRegistryStatus ¶
func WaitRegistryStatus(f *framework.Framework, expectedPhase v1alpha1.RegistryPhase, ns string) (*v1alpha1.OperandRegistry, error)
WaitRegistryStatus is wait for registry phase become to expected phase
func WaitRequestStatus ¶
func WaitRequestStatus(f *framework.Framework, expectedPhase v1alpha1.ClusterPhase, ns string) (*v1alpha1.OperandRequest, error)
WaitRequestStatus is wait for request phase become to expected phase
Types ¶
This section is empty.