options

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagerGuid = "control"
)

Variables

This section is empty.

Functions

func InstallManagerFlags

func InstallManagerFlags(flags *pflag.FlagSet, c *ManagerOpts)

func SetDefaultManagerOpts

func SetDefaultManagerOpts(c *ManagerOpts)

Types

type ManagerOpts

type ManagerOpts struct {
	Role            string
	MoreInfo        bool
	DeleteImage     string
	StrategiesFile  string
	StrategiesImage string
	LogStoreFile    string

	ResourceType string
	All          bool
	Status       string
	ConfigPath   string
	Slave        string
	Master       string
	File         string
	WebUrl       string
}

func (*ManagerOpts) Apply

func (e *ManagerOpts) Apply(c *rootOpt.Opts)

Jump to

Keyboard shortcuts

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