app

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerIDManagedControlPlane = "managedcontrolplane"
	PprofEnabledEnvVar              = "ENABLE_PROFILER"
	PprofAddrEnvVar                 = "PROFILER_ADDRESS"
	PprofDefaultAddr                = ":8082"
)

Variables

Functions

func NewMCPOperatorCommand

func NewMCPOperatorCommand(ctx context.Context) *cobra.Command

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

func (*Options) AddFlags

func (o *Options) AddFlags(fs *flag.FlagSet)

func (*Options) Complete

func (o *Options) Complete() error

Complete parses all Options and flags and initializes the basic functions

func (*Options) String

func (o *Options) String(includeHeader bool, includeRawOptions bool) (string, error)

Jump to

Keyboard shortcuts

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