Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type All ¶
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. 获取数据库中的所有镜像信息,然后调用 Harbor API 来扫描镜像
func (*All) Run ¶
func (sa *All) Run(ctx env.JobContext, params map[string]interface{}) error
Run implements the interface in job/Interface
func (*All) ShouldRetry ¶
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.