Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OperatorConfiguration operatorConfigurationWrapper
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
type ESOperatorIntegration ¶ added in v1.48.1
type ESOperatorIntegration int
ESOperatorIntegration holds the if the ES Operator integration is enabled.
const ( // ESOperatorIntegrationYes represents the ES Operator integration is enabled. ESOperatorIntegrationYes ESOperatorIntegration = iota // ESOperatorIntegrationNo represents the ES Operator integration is disabled. ESOperatorIntegrationNo )
func (ESOperatorIntegration) String ¶ added in v1.48.1
func (p ESOperatorIntegration) String() string
Click to show internal directories.
Click to hide internal directories.