tekton_handler

package
v0.0.0-...-087c714 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ValidRoles = map[string]bool{
		"primary": true,
		"standby": true,
	}
)

Functions

func InitContext

func InitContext(c context.Context)

func InitLogger

func InitLogger(logger *zap.SugaredLogger)

Types

type Config

type Config struct {
	Pipeline    string `yaml:"pipeline"`
	KubeConfig  string `yaml:"kube_config"`
	KubeContext string `yaml:"kube_context"`
	Namespace   string `yaml:"namespace"`
	Timeout     string `yaml:"pipeline_timeout"`
	// contains filtered or unexported fields
}

func (*Config) Connect

func (c *Config) Connect() error

func (*Config) GetPipeline

func (c *Config) GetPipeline() (*v1.Pipeline, error)

func (*Config) Run

func (c *Config) Run() error

Jump to

Keyboard shortcuts

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