infrastructure

package
v0.0.0-...-b39dcdb Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 GetOperatorNamespace() (string, error)

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

type Type

type Type int

Jump to

Keyboard shortcuts

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