Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- type InstallOptions
- func (o *InstallOptions) AsDatamgrOptions() (*install.PodOptions, error)
- func (o *InstallOptions) BindFlags(flags *pflag.FlagSet)
- func (o *InstallOptions) CheckClusterFlavorForDataManager() constants.ClusterFlavor
- func (o *InstallOptions) CheckFeatureFlagsForDataManager(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 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
Click to show internal directories.
Click to hide internal directories.