install

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.Controller
	Verb  = verbs.Install
)

Functions

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

NewCommand creates a new controller cdommand.

func NewResourceManager

func NewResourceManager(rcg genericclioptions.RESTClientGetter) (*ssa.ResourceManager, error)

NewResourceManager creates a ResourceManager for the given cluster.

Types

type Command

type Command struct {
	utils.BaseCommand
	Namespace                string
	ControllerName           string
	Timeout                  time.Duration
	Version                  string
	BaseURL                  string
	ReleaseAPIURL            string
	CertManagerBaseURL       string
	CertManagerReleaseAPIURL string
	CertManagerVersion       string
	DryRun                   bool
	SkipPreFlightCheck       bool
	InstallPrerequisites     bool
	SM                       *ssa.ResourceManager
}

func (*Command) AddFlags

func (o *Command) AddFlags(set *pflag.FlagSet)

func (*Command) Complete

func (o *Command) Complete(args []string) error

func (*Command) ForName

func (o *Command) ForName(name string) *cobra.Command

func (*Command) Run

func (o *Command) Run() error

func (*Command) RunPreFlightCheck added in v0.5.0

func (o *Command) RunPreFlightCheck(ctx context.Context) error

RunPreFlightCheck checks if the target cluster has the following items: - secret containing certificates for the in-cluster registry - flux installed.

Jump to

Keyboard shortcuts

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