clusteradd

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	CmdAddRecommendedName = "add"
)

Variables

This section is empty.

Functions

func NewCmdAdd

func NewCmdAdd(name, fullName string, streams genericclioptions.IOStreams) *cobra.Command

Types

type ClusterAddConfig

type ClusterAddConfig struct {
	ImageTemplate variable.ImageTemplate
	ImageTag      string

	BaseDir             string
	ServerLogLevel      int
	ComponentsToInstall []string

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewClusterAddConfig

func NewClusterAddConfig(streams genericclioptions.IOStreams) *ClusterAddConfig

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) Complete

func (c *ClusterAddConfig) Complete(cmd *cobra.Command) error

func (*ClusterAddConfig) GetLogDir

func (c *ClusterAddConfig) GetLogDir() string

func (*ClusterAddConfig) Run

func (c *ClusterAddConfig) Run(cmd *cobra.Command) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL