install

package
v1.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 19 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
	PodAnnotations flag.Map
	PodCPURequest  string
	PodMemRequest  string
	PodCPULimit    string
	PodMemLimit    string
	MasterAffinity bool
	HostNetwork    bool
}

func NewInstallOptions

func NewInstallOptions() *InstallOptions

func (*InstallOptions) AsBackupDriverOptions

func (o *InstallOptions) AsBackupDriverOptions() (*pkgInstall.PodOptions, error)

AsPodOptions 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) CheckClusterFlavorForBackupDriver

func (o *InstallOptions) CheckClusterFlavorForBackupDriver() (constants.ClusterFlavor, error)

func (*InstallOptions) CheckFeatureFlagsForBackupDriver

func (o *InstallOptions) CheckFeatureFlagsForBackupDriver(kubeClient kubernetes.Interface) error

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