pipeline

package
v2.2.5-rc15+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: Apache-2.0 Imports: 28 Imported by: 55

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter(apiContext *types.APIContext, resource *types.RawResource)

func SourceCodeCredentialFormatter

func SourceCodeCredentialFormatter(apiContext *types.APIContext, resource *types.RawResource)

Types

type ExecutionHandler

type ExecutionHandler struct {
	ClusterManager *clustermanager.Manager

	PipelineLister          v3.PipelineLister
	PipelineExecutionLister v3.PipelineExecutionLister
	PipelineExecutions      v3.PipelineExecutionInterface
}

func (*ExecutionHandler) ActionHandler

func (h *ExecutionHandler) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error

func (*ExecutionHandler) ExecutionFormatter

func (h *ExecutionHandler) ExecutionFormatter(apiContext *types.APIContext, resource *types.RawResource)

func (*ExecutionHandler) LinkHandler

func (h *ExecutionHandler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error

type Handler

type Handler struct {
	PipelineLister             v3.PipelineLister
	PipelineExecutions         v3.PipelineExecutionInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
}

func (*Handler) ActionHandler

func (h *Handler) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error

func (*Handler) LinkHandler

func (h *Handler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error

type SourceCodeCredentialHandler

type SourceCodeCredentialHandler struct {
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
	SourceCodeRepositories     v3.SourceCodeRepositoryInterface
	SourceCodeRepositoryLister v3.SourceCodeRepositoryLister
}

func (*SourceCodeCredentialHandler) ActionHandler

func (h *SourceCodeCredentialHandler) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error

func (SourceCodeCredentialHandler) LinkHandler

func (h SourceCodeCredentialHandler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error

func (SourceCodeCredentialHandler) ListHandler

func (h SourceCodeCredentialHandler) ListHandler(request *types.APIContext, next types.RequestHandler) error

Jump to

Keyboard shortcuts

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