install

package
v0.0.0-...-1b45e6a Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(f client.Factory) *cobra.Command

Types

type InstallOptions

type InstallOptions struct {
	Namespace            string
	Image                string
	BucketName           string
	Prefix               string
	ProviderName         string
	PodAnnotations       flag.Map
	DatamgrPodCPURequest string
	DatamgrPodMemRequest string
	DatamgrPodCPULimit   string
	DatamgrPodMemLimit   string
	SecretFile           string
	NoSecret             bool
	DryRun               bool
}

func NewInstallOptions

func NewInstallOptions() *InstallOptions

func (*InstallOptions) AsDatamgrOptions

func (o *InstallOptions) AsDatamgrOptions() (*install.DatamgrOptions, error)

AsVeleroOptions translates the values provided at the command line into values used to instantiate Kubernetes resources

func (*InstallOptions) BindFlags

func (o *InstallOptions) BindFlags(flags *pflag.FlagSet)

func (*InstallOptions) Complete

func (o *InstallOptions) Complete(args []string, f client.Factory) error

Complete completes options for a command.

func (*InstallOptions) Run

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳