Documentation ¶ Index ¶ func Register(ctx context.Context, cluster *config.UserContext) type CronSyncer type Lifecycle func (l *Lifecycle) Create(obj *v3.Pipeline) (*v3.Pipeline, error) func (l *Lifecycle) Remove(obj *v3.Pipeline) (*v3.Pipeline, error) func (l *Lifecycle) Updated(obj *v3.Pipeline) (*v3.Pipeline, error) 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) Source Files ¶ View all Source files cronsyncer.go pipeline.go Click to show internal directories. Click to hide internal directories.