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) Run ¶ added in v1.7.0
func (sa *All) Run(ctx env.JobContext, params map[string]interface{}) error
Run implements the interface in job/Interface
func (*All) ShouldRetry ¶ added in v1.7.0
ShouldRetry 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) Run ¶
func (cj *ClairJob) Run(ctx env.JobContext, params map[string]interface{}) error
Run implements the interface in job/Interface
func (*ClairJob) ShouldRetry ¶
ShouldRetry implements the interface in job/Interface
Click to show internal directories.
Click to hide internal directories.