imagepromoter

package
v3.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 7 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) CheckManifestLists

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

CheckManifestLists is a mode that just checks manifests and exists.

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