jobs

package
v0.0.0-...-977965f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	api.BaseController
	// contains filtered or unexported fields
}

Handler handles reqeust on /service/notifications/jobs/*, which listens to the webhook of jobservice.

func (*Handler) HandleReplication

func (h *Handler) HandleReplication()

HandleReplication handles the webhook of replication job 处理镜像复制任务

func (*Handler) HandleScan

func (h *Handler) HandleScan()

HandleScan handles the webhook of scan job 处理镜像扫描任务

func (*Handler) Prepare

func (h *Handler) Prepare()

Prepare ... 主要用来获取 job id 以及更改 任务状态

Jump to

Keyboard shortcuts

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