pipeline

package
v2.0.8-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterPipelineFormatter

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

func Formatter

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

func SourceCodeCredentialFormatter

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

func SourceCodeRepositoryFormatter

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

func Validator

func Validator(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) error

Types

type ClusterPipelineHandler

type ClusterPipelineHandler struct {
	ClusterPipelines           v3.ClusterPipelineInterface
	ClusterPipelineLister      v3.ClusterPipelineLister
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
	SourceCodeRepositories     v3.SourceCodeRepositoryInterface
	SourceCodeRepositoryLister v3.SourceCodeRepositoryLister

	SecretLister v1.SecretLister
	Secrets      v1.SecretInterface
	AuthConfigs  v3.AuthConfigInterface
}

func (*ClusterPipelineHandler) ActionHandler

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

func (*ClusterPipelineHandler) LinkHandler

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

type ExecutionHandler

type ExecutionHandler struct {
}

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 {
	Pipelines          v3.PipelineInterface
	PipelineLister     v3.PipelineLister
	PipelineExecutions v3.PipelineExecutionInterface
}

func (*Handler) ActionHandler

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

func (*Handler) CreateHandler

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

func (*Handler) LinkHandler

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

func (*Handler) UpdateHandler

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

type SourceCodeCredentialHandler

type SourceCodeCredentialHandler struct {
	ClusterPipelineLister      v3.ClusterPipelineLister
	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

type SourceCodeRepositoryHandler

type SourceCodeRepositoryHandler struct {
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
	SourceCodeRepositoryLister v3.SourceCodeRepositoryLister
	ClusterPipelineLister      v3.ClusterPipelineLister
}

func (SourceCodeRepositoryHandler) LinkHandler

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

Jump to

Keyboard shortcuts

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