Documentation ¶
Index ¶
- Variables
- func AvailableAPIs(discovery discovery.DiscoveryInterface, groups map[string]bool) ([]*metav1.APIResourceList, error)
- func IsElasticsearchOperatorAvailable(apiList []*metav1.APIResourceList) bool
- type AuthDelegatorAvailability
- type Background
- type ESOperatorIntegration
- type KafkaOperatorIntegration
- type Platform
Constants ¶
This section is empty.
Variables ¶
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 AuthDelegatorAvailability ¶ added in v1.51.0
type AuthDelegatorAvailability int
AuthDelegatorAvailability holds the if the AuthDelegator available.
const ( // AuthDelegatorAvailabilityYes represents the AuthDelegator is available. AuthDelegatorAvailabilityYes AuthDelegatorAvailability = iota // AuthDelegatorAvailabilityNo represents the AuthDelegator is not available. AuthDelegatorAvailabilityNo // AuthDelegatorAvailabilityUnknown represents the AuthDelegator availability is not known. AuthDelegatorAvailabilityUnknown )
func (AuthDelegatorAvailability) String ¶ added in v1.51.0
func (p AuthDelegatorAvailability) String() string
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
type KafkaOperatorIntegration ¶ added in v1.49.0
type KafkaOperatorIntegration int
KafkaOperatorIntegration holds the if the Kafka Operator integration is enabled.
const ( // KafkaOperatorIntegrationYes represents the Kafka Operator integration is enabled. KafkaOperatorIntegrationYes KafkaOperatorIntegration = iota // KafkaOperatorIntegrationNo represents the Kafka Operator integration is disabled. KafkaOperatorIntegrationNo )
func (KafkaOperatorIntegration) String ¶ added in v1.49.0
func (p KafkaOperatorIntegration) String() string