Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "unlock", Short: "Release lock in Kubernetes", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { locked, err := k8s_lock_utils.Unlock( CmdFlagName, CmdFlagNamespace, ) if err != nil { panic(err) } if !locked { os.Exit(0) } else { os.Exit(1) } }, }
View Source
var CmdFlagName string
View Source
var CmdFlagNamespace string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.