options

package
v0.0.0-...-7759ae7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyConfig

type ApplyConfig struct {
	ClusterName string
	DryRun      bool
}

func NewApplyConfig

func NewApplyConfig() *ApplyConfig

func (*ApplyConfig) AddFlags

func (c *ApplyConfig) AddFlags(fs *pflag.FlagSet)

func (*ApplyConfig) ValidateFlags

func (c *ApplyConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterBackupConfig

type ClusterBackupConfig struct {
	ClusterName string
	BackupDir   string
	Sanitize    bool
}

func NewClusterBackupConfig

func NewClusterBackupConfig() *ClusterBackupConfig

func (*ClusterBackupConfig) AddFlags

func (c *ClusterBackupConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterBackupConfig) ValidateFlags

func (c *ClusterBackupConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterCreateConfig

type ClusterCreateConfig struct {
	Cluster *api.Cluster
	Nodes   map[string]int
}

func NewClusterCreateConfig

func NewClusterCreateConfig() *ClusterCreateConfig

func (*ClusterCreateConfig) AddFlags

func (c *ClusterCreateConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterCreateConfig) ValidateFlags

func (c *ClusterCreateConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterDeleteConfig

type ClusterDeleteConfig struct {
	Force                bool
	ReleaseReservedIP    bool
	KeepLBs              bool
	DeleteDynamicVolumes bool
	Clusters             []string
}

func NewClusterDeleteConfig

func NewClusterDeleteConfig() *ClusterDeleteConfig

func (*ClusterDeleteConfig) AddFlags

func (c *ClusterDeleteConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterDeleteConfig) ValidateFlags

func (c *ClusterDeleteConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterDescribeConfig

type ClusterDescribeConfig struct {
	Clusters []string
}

func NewClusterDescribeConfig

func NewClusterDescribeConfig() *ClusterDescribeConfig

func (*ClusterDescribeConfig) AddFlags

func (c *ClusterDescribeConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterDescribeConfig) ValidateFlags

func (c *ClusterDescribeConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterEditConfig

type ClusterEditConfig struct {
	ClusterName       string
	File              string
	KubernetesVersion string
	Locked            bool
	Output            string
}

func NewClusterEditConfig

func NewClusterEditConfig() *ClusterEditConfig

func (*ClusterEditConfig) AddFlags

func (c *ClusterEditConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterEditConfig) CheckForUpdateFlags

func (c *ClusterEditConfig) CheckForUpdateFlags() bool

func (*ClusterEditConfig) ValidateFlags

func (c *ClusterEditConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterGetConfig

type ClusterGetConfig struct {
	Clusters []string
	Output   string
}

func NewClusterGetConfig

func NewClusterGetConfig() *ClusterGetConfig

func (*ClusterGetConfig) AddFlags

func (c *ClusterGetConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterGetConfig) ValidateFlags

func (c *ClusterGetConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type ClusterUseConfig

type ClusterUseConfig struct {
	ClusterName string
	Overwrite   bool
}

func NewClusterUseConfig

func NewClusterUseConfig() *ClusterUseConfig

func (*ClusterUseConfig) AddFlags

func (c *ClusterUseConfig) AddFlags(fs *pflag.FlagSet)

func (*ClusterUseConfig) ValidateFlags

func (c *ClusterUseConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type NodeGroupCreateConfig

type NodeGroupCreateConfig struct {
	ClusterName  string
	NodeType     string
	SpotPriceMax float64
	Nodes        map[string]int
}

func NewNodeGroupCreateConfig

func NewNodeGroupCreateConfig() *NodeGroupCreateConfig

func (*NodeGroupCreateConfig) AddFlags

func (c *NodeGroupCreateConfig) AddFlags(fs *pflag.FlagSet)

func (*NodeGroupCreateConfig) ValidateFlags

func (c *NodeGroupCreateConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type NodeGroupEditConfig

type NodeGroupEditConfig struct {
	ClusterName string
	NgName      string
	File        string
	DoNotDelete bool
	Output      string
}

func NewNodeGroupEditConfig

func NewNodeGroupEditConfig() *NodeGroupEditConfig

func (*NodeGroupEditConfig) AddFlags

func (c *NodeGroupEditConfig) AddFlags(fs *pflag.FlagSet)

func (*NodeGroupEditConfig) ValidateFlags

func (c *NodeGroupEditConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type NodeGroupGetConfig

type NodeGroupGetConfig struct {
	ClusterName string
	Output      string
	NodeGroups  []string
}

func NewNodeGroupGetConfig

func NewNodeGroupGetConfig() *NodeGroupGetConfig

func (*NodeGroupGetConfig) AddFlags

func (c *NodeGroupGetConfig) AddFlags(fs *pflag.FlagSet)

func (*NodeGroupGetConfig) ValidateFlags

func (c *NodeGroupGetConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type NodeGroupNodeDeleteConfig

type NodeGroupNodeDeleteConfig struct {
	ClusterName string
}

func NewNodeGroupDeleteConfig

func NewNodeGroupDeleteConfig() *NodeGroupNodeDeleteConfig

func (*NodeGroupNodeDeleteConfig) AddFlags

func (c *NodeGroupNodeDeleteConfig) AddFlags(fs *pflag.FlagSet)

func (*NodeGroupNodeDeleteConfig) ValidateFlags

func (c *NodeGroupNodeDeleteConfig) ValidateFlags(cmd *cobra.Command, args []string) error

type NodeSSHConfig

type NodeSSHConfig struct {
	ClusterName string
	NodeName    string
}

func NewNodeSSHConfig

func NewNodeSSHConfig() *NodeSSHConfig

func (*NodeSSHConfig) AddFlags

func (c *NodeSSHConfig) AddFlags(fs *pflag.FlagSet)

func (*NodeSSHConfig) ValidateFlags

func (c *NodeSSHConfig) ValidateFlags(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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