controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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
}

controller is the main controller that check and exposes metrics on versions.

func New

func New(
	cacheTimeout time.Duration,
	metrics *metrics.Metrics,
	imageClient *client.Client,
	kubeClient kubernetes.Interface,
	log *logrus.Entry,
	defaultTestAll bool,
) *Controller

func (*Controller) Run

func (c *Controller) Run(ctx context.Context) error

Run is a blocking func that will create and run new controller.

Jump to

Keyboard shortcuts

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