imagepromoter

package
v3.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedOutputFormats = []string{
	"csv",
	"yaml",
}

Functions

This section is empty.

Types

type Promoter

type Promoter struct {
	Options *options.Options
	// contains filtered or unexported fields
}

func New

func New() *Promoter

func (*Promoter) CheckSignatures added in v3.5.0

func (p *Promoter) CheckSignatures(opts *options.Options) error

CheckSignatures checks the consistency of a set of images

func (*Promoter) PromoteImages

func (p *Promoter) PromoteImages(opts *options.Options) (err error)

PromoteImages is the main method for image promotion it runs by taking all its parameters from a set of options.

func (*Promoter) SecurityScan

func (p *Promoter) SecurityScan(opts *options.Options) error

SecurityScan runs just like an image promotion, but instead of actually copying the new detected images, it will run a vulnerability scan on them

func (*Promoter) SetImplementation added in v3.4.3

func (p *Promoter) SetImplementation(pi promoterImplementation)

func (*Promoter) Snapshot

func (p *Promoter) Snapshot(opts *options.Options) (err error)

Snapshot runs the steps to output a representation in json or yaml of a registry

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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