autodetect

package
v1.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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 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 New

func New(mgr manager.Manager) (*Background, error)

New creates a new auto-detect runner

func WithClients

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

type Platform added in v1.48.0

type Platform int

Platform holds the auto-detected running platform.

const (
	// KubernetesPlatform represents the cluster is Kubernetes.
	KubernetesPlatform Platform = iota

	// OpenShiftPlatform represents the cluster is OpenShift.
	OpenShiftPlatform
)

func (Platform) String added in v1.48.0

func (p Platform) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL