tagger

package
v2.7.20 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NormalTagResolver

type NormalTagResolver struct {
	Registry       string
	Repository     string
	RegistryClient docker.Registry
}

NormalTagResolver image tag resolver

func (*NormalTagResolver) ResolveShortTag

func (m *NormalTagResolver) ResolveShortTag(appVersion *runtime.AuroraVersion, pushExtratags config.PushExtraTags) ([]string, error)

ResolveShortTag create short tags from runtime.AuroraVersion

func (*NormalTagResolver) ResolveTags

func (m *NormalTagResolver) ResolveTags(appVersion *runtime.AuroraVersion, pushExtratags config.PushExtraTags) ([]string, error)

ResolveTags create tags from runtime.AuroraVersion

type SingleTagResolver added in v2.7.12

type SingleTagResolver struct {
	Registry   string
	Repository string
	Tag        string
}

SingleTagResolver resolve single tag´

func (*SingleTagResolver) ResolveShortTag added in v2.7.12

func (m *SingleTagResolver) ResolveShortTag(_ *runtime.AuroraVersion, _ config.PushExtraTags) ([]string, error)

ResolveShortTag resolve short tag e.g latest

func (*SingleTagResolver) ResolveTags added in v2.7.12

ResolveTags create single tag of sbomFormat registry/repository:tag

type TagResolver

type TagResolver interface {
	ResolveTags(appVersion *runtime.AuroraVersion, pushExtratags config.PushExtraTags) ([]string, error)
	ResolveShortTag(appVersion *runtime.AuroraVersion, pushExtratags config.PushExtraTags) ([]string, error)
}

TagResolver interface

Jump to

Keyboard shortcuts

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