runnable

package
v0.0.0-...-818eef4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntervalLogger

type IntervalLogger struct {
	Log logr.Logger

	RequireLeaderElection bool
	Name                  string
	Interval              time.Duration
}

func (*IntervalLogger) NeedLeaderElection

func (i *IntervalLogger) NeedLeaderElection() bool

func (*IntervalLogger) SetupWithManager

func (i *IntervalLogger) SetupWithManager(mgr ctrl.Manager) error

func (*IntervalLogger) Start

func (i *IntervalLogger) Start(stopCh <-chan struct{}) error

Start implments the manager.Runnable interface

Jump to

Keyboard shortcuts

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