scan

package
v1.6.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 env.JobContext, params map[string]interface{}) 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 map[string]interface{}) 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