Documentation ¶
Index ¶
- func AddKubeConfigFlag(cmd *cobra.Command, value *string)
- func NewCmdBlockDevice() *cobra.Command
- func NewCmdStart() *cobra.Command
- func NewNodeDiskManager() (*cobra.Command, error)
- func NewSubCmdListBlockDevice() *cobra.Command
- func RunNodeDiskManager(cmd *cobra.Command) error
- type CmdStartOptions
- type NodeDiskManagerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKubeConfigFlag ¶
AddKubeConfigFlag is used to add a config flag
func NewCmdBlockDevice ¶
NewCmdBlockDevice and its nested children are created
func NewNodeDiskManager ¶
NewNodeDiskManager creates a new ndm.
func NewSubCmdListBlockDevice ¶
NewSubCmdListBlockDevice is to list block device is created
func RunNodeDiskManager ¶
RunNodeDiskManager starts ndm process
Types ¶
type CmdStartOptions ¶
type CmdStartOptions struct {
// contains filtered or unexported fields
}
CmdStartOptions options for start command
type NodeDiskManagerOptions ¶
type NodeDiskManagerOptions struct {
KubeConfig string
}
NodeDiskManagerOptions defines a type for the options of NDM
Click to show internal directories.
Click to hide internal directories.