Help us shape the future of Go! Take the 2026 Go Developer Survey

command

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKubeConfigFlag

func AddKubeConfigFlag(cmd *cobra.Command, value *string)

AddKubeConfigFlag is used to add a config flag

func NewCmdBlockDevice

func NewCmdBlockDevice() *cobra.Command

NewCmdBlockDevice and its nested children are created

func NewCmdStart

func NewCmdStart() *cobra.Command

NewCmdStart starts the ndm controller

func NewNodeDiskManager

func NewNodeDiskManager() (*cobra.Command, error)

NewNodeDiskManager creates a new ndm.

func NewSubCmdListBlockDevice

func NewSubCmdListBlockDevice() *cobra.Command

NewSubCmdListBlockDevice is to list block device is created

func RunNodeDiskManager

func RunNodeDiskManager(cmd *cobra.Command) error

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

Jump to

Keyboard shortcuts

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