cmd

package
v0.26.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRoot

func BuildRoot() *cobra.Command

BuildRoot creates a new root command from the

func ExecuteStart

func ExecuteStart(ctx context.Context, options *StartOptions) error

func NewRestoreCommand added in v0.24.0

func NewRestoreCommand() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command

func NewSnapshotCommand added in v0.24.0

func NewSnapshotCommand() *cobra.Command

func NewStartCommand

func NewStartCommand() *cobra.Command

func RunRoot added in v0.20.0

func RunRoot()

func StartLeaderElection added in v0.15.1

func StartLeaderElection(ctx *synccontext.ControllerContext, startLeading func() error) error

Types

type RestoreOptions added in v0.24.0

type RestoreOptions struct {
	Snapshot snapshot.Options

	NewVCluster bool
}

func (*RestoreOptions) Run added in v0.24.0

func (o *RestoreOptions) Run(ctx context.Context) error

type SnapshotOptions added in v0.24.0

type SnapshotOptions struct {
	Snapshot snapshot.Options
}

func (*SnapshotOptions) Run added in v0.24.0

func (o *SnapshotOptions) Run(ctx context.Context) error

type StartOptions added in v0.20.0

type StartOptions struct {
	Config string

	SetValues []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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