Documentation
¶
Index ¶
- Constants
- Variables
- func EnableSetBuild(o *RestartOptions) (EnableSet, DisableSet, error)
- func Execute() int
- func NewRootCommand(o *RestartOptions) *cobra.Command
- func NewVersionCmd() *cobra.Command
- func ValidateAllDisableEnableOptions(option *RestartOptions) error
- type DisableSet
- type EnableSet
- type RestartOptions
Constants ¶
View Source
const Version = "v0.0.2"
Variables ¶
View Source
var Revision = "development"
Functions ¶
func EnableSetBuild ¶
func EnableSetBuild(o *RestartOptions) (EnableSet, DisableSet, error)
func NewRootCommand ¶
func NewRootCommand(o *RestartOptions) *cobra.Command
func NewVersionCmd ¶
func ValidateAllDisableEnableOptions ¶
func ValidateAllDisableEnableOptions(option *RestartOptions) error
Types ¶
type DisableSet ¶ added in v0.0.2
type DisableSet []string
type RestartOptions ¶
type RestartOptions struct { Object string Namespace string Tag string Enable []string Disable []string EnableAll bool DisableAll bool InCluster bool }
func NewRestartOptions ¶
func NewRestartOptions() *RestartOptions
Click to show internal directories.
Click to hide internal directories.