logs

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: GPL-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudResourceLogsCommand added in v0.4.0

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

NewCloudResourceLogsCommand returns a new instance of the get command

func NewCommand

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

NewCommand returns a new instance of the get command

func NewConfigurationLogsCommand added in v0.4.0

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

NewConfigurationLogsCommand returns a new instance of the get command

Types

type CloudResourceLogsCommand added in v0.4.0

type CloudResourceLogsCommand struct {
	cmd.Factory
	// Name is the name of the cloudresource
	Name string
	// Namespace is the namespace of the cloudresource
	Namespace string
	// Stage is the stage to show logs for
	Stage string
	// Follow indicates we should follow the logs
	Follow bool
	// WaitInterval is the interval to wait for the logs
	WaitInterval time.Duration
}

CloudResourceLogsCommand defines the struct for running the command

func (*CloudResourceLogsCommand) Run added in v0.4.0

Run is called to implement the action

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
	// WaitInterval is the interval to wait for the logs
	WaitInterval time.Duration
}

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