manager

package
v0.0.9 Latest Latest
Warning

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

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