Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- type InstallOptions
- func (o *InstallOptions) AsBackupDriverOptions() (*pkgInstall.PodOptions, error)
- func (o *InstallOptions) BindFlags(flags *pflag.FlagSet)
- func (o *InstallOptions) CheckClusterFlavorForBackupDriver() (constants.ClusterFlavor, error)
- func (o *InstallOptions) CheckFeatureFlagsForBackupDriver(kubeClient kubernetes.Interface) error
- func (o *InstallOptions) Complete(args []string, f client.Factory) error
- func (o *InstallOptions) Run(c *cobra.Command, f client.Factory) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.