Documentation
¶
Index ¶
- Constants
- func GetOperatorNamespace() (string, error)
- func InitializeForTesting(desiredInfrastructure Type)
- func IsKubernetesImagePullerEnabled() bool
- func IsLeaderElectionEnabled() bool
- func IsOpenShift() bool
- func IsOpenShiftExternalAuth() bool
- func IsOpenShiftOAuthEnabled() bool
- func IsServiceMonitorEnabled() bool
- func SetOpenShiftOAuthEnabledForTesting(enabled bool)
- type Type
Constants ¶
View Source
const ( Unknown Type = iota Kubernetes OpenShiftV4 LeasesResources = "leases" OAuthClientsResources = "oauthclients" KubernetesImagePullerResources = "kubernetesimagepullers" ServiceMonitorResources = "servicemonitors" )
Variables ¶
This section is empty.
Functions ¶
func GetOperatorNamespace ¶
func InitializeForTesting ¶
func InitializeForTesting(desiredInfrastructure Type)
func IsKubernetesImagePullerEnabled ¶
func IsKubernetesImagePullerEnabled() 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.