pipeline

package
v2.0.9-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, cluster *config.UserContext)

Types

type CronSyncer

type CronSyncer struct {
	// contains filtered or unexported fields
}

CronSyncer is responsible for watching pipelines with cron trigger set and triggering a pipeline execution when the cron conditions meet

type Lifecycle

type Lifecycle struct {
	// contains filtered or unexported fields
}

Lifecycle is responsible for watching pipelines and handling webhook management in source code repository. It also helps to maintain labels on pipelines.

func (*Lifecycle) Create

func (l *Lifecycle) Create(obj *v3.Pipeline) (*v3.Pipeline, error)

func (*Lifecycle) Remove

func (l *Lifecycle) Remove(obj *v3.Pipeline) (*v3.Pipeline, error)

func (*Lifecycle) Updated

func (l *Lifecycle) Updated(obj *v3.Pipeline) (*v3.Pipeline, error)

Jump to

Keyboard shortcuts

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