manager

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewManagerCommand

func NewManagerCommand() *cobra.Command

func NewRegistrationOption

func NewRegistrationOption(kubeConfig *rest.Config, addonName, agentName string) *agent.RegistrationOption

Types

type LicenseAcquirer

type LicenseAcquirer struct {
	client.Client
	BaseURL               string
	Token                 string
	CaCert                []byte
	InsecureSkipTLSVerify bool
	CacheDir              string

	LicenseCache map[string]*storage.LicenseRegistry
	// contains filtered or unexported fields
}

func (*LicenseAcquirer) Reconcile

func (r *LicenseAcquirer) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

func (*LicenseAcquirer) SetupWithManager

func (r *LicenseAcquirer) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ManagerOptions

type ManagerOptions struct {
	RegistryFQDN          string
	BaseURL               string
	Token                 string
	CAFile                string
	InsecureSkipTLSVerify bool
	CacheDir              string
}

func NewManagerOptions

func NewManagerOptions() *ManagerOptions

func (*ManagerOptions) AddFlags

func (s *ManagerOptions) AddFlags(fs *pflag.FlagSet)

func (*ManagerOptions) Validate

func (s *ManagerOptions) Validate() []error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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