app

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerIDManagedControlPlane = "managedcontrolplane"
)

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
	// 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