tekton

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMiddleware

func NewMiddleware(pr, tr cache.Store, opts ...Option) echo.MiddlewareFunc

Types

type Context

type Context struct {
	echo.Context

	Log logr.Logger
	// contains filtered or unexported fields
}

func (*Context) BindTemplateData

func (c *Context) BindTemplateData(td *model.TemplateData) error

func (*Context) GetPipelineRun

func (c *Context) GetPipelineRun(namespace, name string) *pipelinev1beta1.PipelineRun

func (*Context) GetPipelineTaskRuns

func (c *Context) GetPipelineTaskRuns(namespace, name string) []*pipelinev1beta1.TaskRun

func (*Context) GetStoreFor

func (c *Context) GetStoreFor(resource string) cache.Store

func (*Context) GetTaskRun

func (c *Context) GetTaskRun(namespace, name string) *pipelinev1beta1.TaskRun

type Option added in v0.0.15

type Option func(*mwOpts)

func WithLogger added in v0.0.15

func WithLogger(log logr.Logger) Option

func WithNamespaces added in v0.0.15

func WithNamespaces(ns []string) Option

Jump to

Keyboard shortcuts

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