install

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 20 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
	PodCPURequest  string
	PodMemRequest  string
	PodCPULimit    string
	PodMemLimit    string
	SecretFile     string
	NoSecret       bool
	DryRun         bool
	SkipInstall    bool
}

func NewInstallOptions

func NewInstallOptions() *InstallOptions

func (*InstallOptions) AsDatamgrOptions

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

AsDatamgrOptions 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) CheckClusterFlavorForDataManager

func (o *InstallOptions) CheckClusterFlavorForDataManager() constants.ClusterFlavor

func (*InstallOptions) CheckFeatureFlagsForDataManager

func (o *InstallOptions) CheckFeatureFlagsForDataManager(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