triggerconfig

package
v0.0.827 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata"`

	// Spec holds the desired state of the Config from the client
	// +optional
	Spec ConfigSpec `json:"spec"`
}

Config represents local trigger configurations which can be merged into the configuration

type ConfigList

type ConfigList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Config `json:"items"`
}

ConfigList contains a list of Config

type ConfigSpec

type ConfigSpec struct {
	// Presubmit zero or more presubmits
	Presubmits []job.Presubmit `json:"presubmits,omitempty"`

	// Postsubmit zero or more postsubmits
	Postsubmits []job.Postsubmit `json:"postsubmits,omitempty"`
}

ConfigSpec specifies the optional presubmit/postsubmit/trigger configurations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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