cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 Execute

func Execute() int

func NewRootCommand

func NewRootCommand(o *RestartOptions) *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func ValidateAllDisableEnableOptions

func ValidateAllDisableEnableOptions(option *RestartOptions) error

Types

type DisableSet added in v0.0.2

type DisableSet []string

type EnableSet added in v0.0.2

type EnableSet []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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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