Documentation ¶
Index ¶
- Constants
- func NewDrainCmd(rootCfg *RootConfig) *ffcli.Command
- func NewRestartCmd(rootCfg *RootConfig) *ffcli.Command
- func NewShowCmd(rootCfg *RootConfig) *ffcli.Command
- func NewShowNodesCmd(rootCfg *RootConfig) *ffcli.Command
- func NewVersionCmd() *ffcli.Command
- type DrainConfig
- type NodeInfo
- type RestartConfig
- type RootConfig
- type ShowNodesConfig
Constants ¶
View Source
const Version = "v0.2.0"
Variables ¶
This section is empty.
Functions ¶
func NewDrainCmd ¶ added in v0.0.1
func NewDrainCmd(rootCfg *RootConfig) *ffcli.Command
func NewRestartCmd ¶
func NewRestartCmd(rootCfg *RootConfig) *ffcli.Command
func NewShowCmd ¶ added in v0.0.3
func NewShowCmd(rootCfg *RootConfig) *ffcli.Command
func NewShowNodesCmd ¶ added in v0.0.3
func NewShowNodesCmd(rootCfg *RootConfig) *ffcli.Command
func NewVersionCmd ¶ added in v0.0.5
Types ¶
type DrainConfig ¶ added in v0.0.1
type DrainConfig struct {
// contains filtered or unexported fields
}
type RestartConfig ¶
type RestartConfig struct {
// contains filtered or unexported fields
}
type RootConfig ¶
type RootConfig struct { KubeConfig string Verbose bool KubeClient *kubernetes.Client }
func NewRootCmd ¶
func NewRootCmd() (*ffcli.Command, *RootConfig)
func (*RootConfig) RegisterFlags ¶
func (c *RootConfig) RegisterFlags(fs *flag.FlagSet)
type ShowNodesConfig ¶ added in v0.0.3
type ShowNodesConfig struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.