retry

package
v0.3.24 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(factory cmd.Factory) *cobra.Command

NewCommand creates and returns the command

Types

type Command

type Command struct {
	cmd.Factory
	// Name is the name of the configuration
	Name string
	// Namespace is the namespace the configuration resides in
	Namespace string
	// WatchLogs indicates we should watch the logs after restarting the configuration
	WatchLogs bool
}

Command returns the cobra command

func (*Command) Run

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

Run implements the command

Jump to

Keyboard shortcuts

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