restart

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RestartCommandDescription = command.NewDescription(
	"restart",
	"Restarts a specified subset of nodes in the cluster",
	`ydbops restart:
  Restarts a specified subset of nodes in the cluster.
  By default will restart all nodes, filters can be specified to
  narrow down what subset will be restarted.`)

Functions

func New

func New(
	f cmdutil.Factory,
) *cobra.Command

Types

type Options

type Options struct {
	*rolling.RestartOptions
}

func (*Options) DefineFlags

func (o *Options) DefineFlags(fs *pflag.FlagSet)

func (*Options) Run added in v0.0.6

func (o *Options) Run(f cmdutil.Factory) error

Jump to

Keyboard shortcuts

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