infrastructure

package
v0.0.0-...-2c0259d Latest Latest
Warning

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

Go to latest
Published: Apr 3, 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"
)

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 IsOpenShiftOAuthEnabled

func IsOpenShiftOAuthEnabled() 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