types

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package types contains the different data types used in versionresolver

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionResolver

type VersionResolver interface {
	GetLatestVersion(context.Context, logrus.FieldLogger, string, string) (string, error)
}

VersionResolver is the interface that is used by resolver to retrieve image version

type VersionResolverCreator

type VersionResolverCreator func(*box.Config) VersionResolver

VersionResolverCreator is the standard format of a `New` function that return a new instance of an implementation of the `VersionResolver` interface.

type VersionResolverName

type VersionResolverName string

VersionResolverName just wraps string which contains the version resolver name

Jump to

Keyboard shortcuts

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