operator

package
v0.0.178 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir               string
	GitURL            string
	GitUserName       string
	GitToken          string
	Namespace         string
	ReleaseName       string
	ChartName         string
	ChartVersion      string
	HelmBin           string
	GitSetupCommands  []string
	DryRun            bool
	NoSwitchNamespace bool
	NoLog             bool
	BatchMode         bool
	JobLogOptions     joblog.Options
	CommandRunner     cmdrunner.CommandRunner
	Helmer            helmer.Helmer
}

Options contains the command line arguments for this command

func NewCmdOperator

func NewCmdOperator() (*cobra.Command, *Options)

NewCmdRun creates the new command

func (*Options) AddFlags

func (o *Options) AddFlags(command *cobra.Command)

func (*Options) Run

func (o *Options) Run() error

Run installs the git operator chart

Jump to

Keyboard shortcuts

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