Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AttachTargetNode string AttachVolume string )
View Source
var ( ReplicaName string // Name of replica to be deleted ReplicaVolume lh_client.Volume // Volume the replica belongs to )
View Source
var ( UpdateVolumeName string ReplicaCountFlag string ReplicaCount int64 )
View Source
var (
DrainTargetNode string
)
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func InitManagerClient ¶
func InitManagerClient()
InitManagerClient: call it before running commangs that need to interact with the longhorn manager api
Types ¶
Click to show internal directories.
Click to hide internal directories.