Documentation ¶
Index ¶
- func AddCommandlineArgs(flagset *pflag.FlagSet, opts *Options)
- func NewEvictCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewRestartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewStartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- func NewStopCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
- type Command
- type Lifecycle
- type Manager
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandlineArgs ¶
func NewEvictCommand ¶
func NewEvictCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
func NewRestartCommand ¶
func NewRestartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
func NewStartCommand ¶
func NewStartCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
func NewStopCommand ¶
func NewStopCommand(clientConfig clientcmd.ClientConfig) *cobra.Command
Types ¶
type Lifecycle ¶
type Lifecycle struct {
// contains filtered or unexported fields
}
func NewLifecycle ¶
func NewLifecycle(cmd Command, clientConfig clientcmd.ClientConfig) *Lifecycle
type Manager ¶
type Manager interface { Stop(ctx context.Context, name, namespace string) (msg string, err error) Start(ctx context.Context, name, namespace string) (msg string, err error) Restart(ctx context.Context, name, namespace string) (msg string, err error) Evict(ctx context.Context, name, namespace string) (msg string, err error) }
Click to show internal directories.
Click to hide internal directories.