Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudResourceLogsCommand ¶ added in v0.4.0
NewCloudResourceLogsCommand returns a new instance of the get command
func NewCommand ¶
NewCommand 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
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
Click to show internal directories.
Click to hide internal directories.