Documentation ¶
Index ¶
Constants ¶
View Source
const (
CmdAddRecommendedName = "add"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterAddConfig ¶
type ClusterAddConfig struct { BaseDir string ImageTag string Image string ServerLogLevel int ComponentsToInstall []string Out io.Writer ErrOut io.Writer // contains filtered or unexported fields }
func (*ClusterAddConfig) Bind ¶
func (c *ClusterAddConfig) Bind(flags *pflag.FlagSet)
func (*ClusterAddConfig) Check ¶
func (c *ClusterAddConfig) Check() error
Check is a spot to do NON-MUTATING, preflight checks. Over time, we should try to move our non-mutating checks out of Complete and into Check. TODO check for basedir correctness
func (*ClusterAddConfig) GetLogDir ¶
func (c *ClusterAddConfig) GetLogDir() string
func (*ClusterAddConfig) Run ¶
func (c *ClusterAddConfig) Run() error
Start runs the start tasks ensuring that they are executed in sequence
func (*ClusterAddConfig) Validate ¶
func (c *ClusterAddConfig) Validate() error
Validate validates that required fields in StartConfig have been populated
Click to show internal directories.
Click to hide internal directories.