Documentation
¶
Overview ¶
Package logs implements the deployah logs command.
The command streams or tails pod logs for components deployed by Deployah, using Kubernetes selectors derived from Helm release metadata.
Register the command with Register on a nabat.dev/nabat.App instance.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Project string `nabat:"project"`
NoFollow bool `nabat:"no-follow"`
Container string `nabat:"container"`
Since time.Duration `nabat:"since"`
Tail int64 `nabat:"tail"`
Timestamps bool `nabat:"timestamps"`
Resource string `nabat:"resource"`
Component string `nabat:"component"`
Environment string `nabat:"environment"`
OnlyLogLines bool `nabat:"only-log-lines"`
Template string `nabat:"template"`
TemplateFile string `nabat:"template-file"`
Timezone string `nabat:"timezone"`
}
Options holds command-line flags for logs.
Click to show internal directories.
Click to hide internal directories.