Documentation
¶
Index ¶
- func GetOperatorNamespace() (string, error)
- func InitializeForTesting(desiredInfrastructure Type)
- func IsAgentSandboxEnabled(discovery discovery.DiscoveryInterface) bool
- func IsKubernetesImagePullerEnabled(discovery discovery.DiscoveryInterface) bool
- func IsLeaderElectionEnabled() bool
- func IsOpenShift() bool
- func IsOpenShiftExternalAuth() bool
- func IsOpenShiftOAuthEnabled() bool
- func IsServiceMonitorEnabled() bool
- func SetOpenShiftOAuthEnabledForTesting(enabled bool)
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOperatorNamespace ¶
GetOperatorNamespace returns the namespace where the operator is running. The result is cached to avoid repeated filesystem reads.
func InitializeForTesting ¶
func InitializeForTesting(desiredInfrastructure Type)
func IsAgentSandboxEnabled ¶
func IsAgentSandboxEnabled(discovery discovery.DiscoveryInterface) bool
func IsKubernetesImagePullerEnabled ¶
func IsKubernetesImagePullerEnabled(discovery discovery.DiscoveryInterface) bool
func IsLeaderElectionEnabled ¶
func IsLeaderElectionEnabled() bool
func IsOpenShift ¶
func IsOpenShift() bool
func IsOpenShiftExternalAuth ¶
func IsOpenShiftExternalAuth() bool
func IsOpenShiftOAuthEnabled ¶
func IsOpenShiftOAuthEnabled() bool
func IsServiceMonitorEnabled ¶
func IsServiceMonitorEnabled() bool
func SetOpenShiftOAuthEnabledForTesting ¶
func SetOpenShiftOAuthEnabledForTesting(enabled bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.