scan

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type All added in v1.7.0

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

All query the DB and Registry for all image and tags, then call Harbor's API to scan each of them.

func (*All) MaxFails added in v1.7.0

func (sa *All) MaxFails() uint

MaxFails implements the interface in job/Interface

func (*All) Run added in v1.7.0

func (sa *All) Run(ctx job.Context, params job.Parameters) error

Run implements the interface in job/Interface

func (*All) ShouldRetry added in v1.7.0

func (sa *All) ShouldRetry() bool

ShouldRetry implements the interface in job/Interface

func (*All) Validate added in v1.7.0

func (sa *All) Validate(params job.Parameters) error

Validate implements the interface in job/Interface

type ClairJob

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

ClairJob is the struct to scan Harbor's Image with Clair

func (*ClairJob) MaxFails

func (cj *ClairJob) MaxFails() uint

MaxFails implements the interface in job/Interface

func (*ClairJob) Run

func (cj *ClairJob) Run(ctx job.Context, params job.Parameters) error

Run implements the interface in job/Interface

func (*ClairJob) ShouldRetry

func (cj *ClairJob) ShouldRetry() bool

ShouldRetry implements the interface in job/Interface

func (*ClairJob) Validate

func (cj *ClairJob) Validate(params job.Parameters) error

Validate implements the interface in job/Interface

Jump to

Keyboard shortcuts

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