retry

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 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

func NewRetryCloudResourceCommand added in v0.4.0

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

NewRetryCloudResourceCommand creates and returns the command

func NewRetryConfigurationCommand added in v0.4.0

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

NewRetryConfigurationCommand 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
	// Kind is the kind of configuration
	Kind 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