Documentation ¶
Index ¶
- func ClusterPipelineFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func Formatter(apiContext *types.APIContext, resource *types.RawResource)
- func SourceCodeCredentialFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func SourceCodeRepositoryFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func Validator(apiContext *types.APIContext, schema *types.Schema, ...) error
- type ClusterPipelineHandler
- type ExecutionHandler
- func (h *ExecutionHandler) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (h ExecutionHandler) ExecutionFormatter(apiContext *types.APIContext, resource *types.RawResource)
- func (h ExecutionHandler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error
- type Handler
- func (h *Handler) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (h *Handler) CreateHandler(apiContext *types.APIContext, next types.RequestHandler) error
- func (h *Handler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error
- func (h *Handler) UpdateHandler(apiContext *types.APIContext, next types.RequestHandler) error
- type SourceCodeCredentialHandler
- type SourceCodeRepositoryHandler
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)
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 (*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 { 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
Click to show internal directories.
Click to hide internal directories.