checker

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

func New

func New(search search.Searcher) *Checker

func (*Checker) Container

func (c *Checker) Container(ctx context.Context, log *logrus.Entry, pod *corev1.Pod,
	container *corev1.Container, opts *api.Options) (*Result, error)

Container will return the result of the given container's current version, compared to the latest upstream.

func (*Checker) Search

func (c *Checker) Search() search.Searcher

type Result

type Result struct {
	CurrentVersion string
	LatestVersion  string
	IsLatest       bool
	ImageURL       string
}

Jump to

Keyboard shortcuts

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