Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableAPIs ¶ added in v1.32.0
func AvailableAPIs(discovery discovery.DiscoveryInterface, groups map[string]bool) ([]*metav1.APIResourceList, error)
AvailableAPIs returns available list of CRDs from the cluster.
func IsElasticsearchOperatorAvailable ¶ added in v1.32.0
func IsElasticsearchOperatorAvailable(apiList []*metav1.APIResourceList) bool
IsElasticsearchOperatorAvailable returns true if OpenShift Elasticsearch CRD is available in the cluster.
Types ¶
type Background ¶
type Background struct {
// contains filtered or unexported fields
}
Background represents a procedure that runs in the background, periodically auto-detecting features
func WithClients ¶
func WithClients(cl client.Client, dcl discovery.DiscoveryInterface, clr client.Reader) *Background
WithClients builds a new Background with the provided clients
func (*Background) Start ¶
func (b *Background) Start()
Start initializes the auto-detection process that runs in the background
func (*Background) Stop ¶
func (b *Background) Stop()
Stop causes the background process to stop auto detecting capabilities
Click to show internal directories.
Click to hide internal directories.