logs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: GPL-2.0 Imports: 13 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 returns a new instance of the get command

Types

type Command

type Command struct {
	cmd.Factory
	// Name is the name of the resource
	Name string
	// Namespace is the namespace of the resource
	Namespace string
	// Follow indicates we should follow the logs
	Follow bool
	// Stage override the stage to look for
	Stage string
}

Command represents the options

func (*Command) Run

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

Run executes the command

Jump to

Keyboard shortcuts

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