Documentation ¶
Index ¶
- type Controller
- type Option
- func EnableExitWithPods(enable bool) Option
- func WithColor(when string) Option
- func WithContainerNameRegexp(pat *regexp.Regexp) Option
- func WithNodeName(nodeName string) Option
- func WithPodLabelsSelector(selector string) Option
- func WithPodNameRegexp(pat *regexp.Regexp) Option
- func WithPrefix(enable bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(f genericclioptions.RESTClientGetter, logsOpts *corev1.PodLogOptions, opts ...Option) *Controller
func (*Controller) Run ¶
func (c *Controller) Run() error
type Option ¶
type Option func(t *Controller)
func EnableExitWithPods ¶ added in v0.0.3
func WithContainerNameRegexp ¶
func WithNodeName ¶ added in v0.0.5
func WithPodLabelsSelector ¶
func WithPodNameRegexp ¶
func WithPrefix ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.