controller

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 23 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, cacheRefreshRate time.Duration) error

Run is a blocking func that will run the controller.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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