pipelineconfig

package
v0.0.0-...-8909857 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigKey = "pipeline-config"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Defaults pipelinerun.PipelineRun `json:"defaults,omitempty" yaml:"defaults,omitempty"`
	Triggers TriggerSlice            `json:"triggers,omitempty" yaml:"triggers,omitempty"`
}

func (*Config) MarshalJSON

func (c *Config) MarshalJSON() ([]byte, error)

func (*Config) Merge

func (c *Config) Merge(s *Config) error

func (*Config) PipelineRuns

func (c *Config) PipelineRuns(ctx context.Context, meta *pipelineresolver.Metadata) ([]*v1pipeline.PipelineRun, error)

func (*Config) UnmarshalConfigMapYAML

func (c *Config) UnmarshalConfigMapYAML(cm *v1.ConfigMap) error

func (*Config) UnmarshalJSON

func (c *Config) UnmarshalJSON(data []byte) error

func (*Config) UnmarshalYAML

func (c *Config) UnmarshalYAML(data []byte) error

type Trigger

type Trigger struct {
	Name      string                    `json:"name,omitempty"`
	Filter    TriggerFilter             `json:"filter,omitempty"`
	Defaults  pipelinerun.PipelineRun   `json:"defaults,omitempty"`
	Pipelines pipelinerun.PipelineSlice `json:"pipelines,omitempty"`
}

type TriggerFilter

type TriggerFilter string

func (TriggerFilter) Match

type TriggerSlice

type TriggerSlice []Trigger

Jump to

Keyboard shortcuts

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