Documentation ¶
Index ¶
- Constants
- func IsCSVSucceeded(c *v1alpha1.ClusterServiceVersion, err error) (bool, error)
- func IsSubscriptionInstalledCSVPresent(s *v1alpha1.Subscription, err error) (bool, error)
- func OperatorCleanup(cs *clients.Clients, name string)
- func SubscribeAndWaitForOperatorToBeReady(cs *clients.Clients, subscriptionName, channel, catalogsource string) (*v1alpha1.Subscription, error)
- func UpdateSubscription(cs *clients.Clients, name, channel string) (*v1alpha1.Subscription, error)
- func UptadeSubscriptionAndWaitForOperatorToBeReady(cs *clients.Clients, subscriptionName, channel string) (*v1alpha1.Subscription, error)
- func WaitForClusterServiceVersionState(cs *clients.Clients, name, namespace string, ...) (*v1alpha1.ClusterServiceVersion, error)
- func WaitForSubscriptionState(cs *clients.Clients, name, namespace string, ...) (*v1alpha1.Subscription, error)
Constants ¶
View Source
const ( // Interval specifies the time between two polls. Interval = 10 * time.Second // Timeout specifies the timeout for the function PollImmediate to reach a certain status. Timeout = 8 * time.Minute OperatorsNamespace = "openshift-operators" OLMNamespace = "openshift-marketplace" )
Variables ¶
This section is empty.
Functions ¶
func IsCSVSucceeded ¶
func IsCSVSucceeded(c *v1alpha1.ClusterServiceVersion, err error) (bool, error)
func IsSubscriptionInstalledCSVPresent ¶
func IsSubscriptionInstalledCSVPresent(s *v1alpha1.Subscription, err error) (bool, error)
func OperatorCleanup ¶
OperatorCleanup deletes All related CSVs, subscription & installplan from cluster
func UpdateSubscription ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.