Documentation
¶
Index ¶
Constants ¶
View Source
const ( ControllerIDManagedControlPlane = "managedcontrolplane" PprofEnabledEnvVar = "ENABLE_PROFILER" PprofAddrEnvVar = "PROFILER_ADDRESS" PprofDefaultAddr = ":8082" )
View Source
const OperatorName = "ManagedControlPlaneOperator"
Variables ¶
View Source
var ( ControllerIDAPIServer = strings.ToLower(string(openmcpv1alpha1.APIServerComponent)) ControllerIDLandscaper = strings.ToLower(string(openmcpv1alpha1.LandscaperComponent)) ControllerIDCloudOrchestrator = strings.ToLower(string(openmcpv1alpha1.CloudOrchestratorComponent)) ControllerIDAuthentication = strings.ToLower(string(openmcpv1alpha1.AuthenticationComponent)) ControllerIDAuthorization = strings.ToLower(string(openmcpv1alpha1.AuthorizationComponent)) )
Functions ¶
Types ¶
type Options ¶
type Options struct {
// completed options from raw options
APIServerConfig *config.APIServerProviderConfiguration
Log logging.Logger
LaaSClusterConfig *rest.Config
CrateClusterConfig *rest.Config
CloudOrchestratorClusterConfig *rest.Config
HostClusterConfig *rest.Config
AuthConfig *configauthn.AuthenticationConfig
AuthzConfig *configauthz.AuthorizationConfig
ActiveControllers sets.Set[string]
WebhooksFlags *webhooks.Flags
CRDFlags *crds.Flags
// options based on env vars
PprofAddr string `json:"pprofAddr"`
// contains filtered or unexported fields
}
Options describes the options to configure the Landscaper controller.
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.