Documentation
¶
Index ¶
- Constants
- Variables
- func Render(manifest Manifest) (y []byte, err error)
- func TaskNamesFromTask(t Task) (taskNames []string)
- type ArtifactConfig
- type ComposeFiles
- type ConsumerIntegrationTest
- func (r ConsumerIntegrationTest) GetAttempts() int
- func (r ConsumerIntegrationTest) GetBuildHistory() int
- func (r ConsumerIntegrationTest) GetGitHubEnvironment() GitHubEnvironment
- func (r ConsumerIntegrationTest) GetName() string
- func (r ConsumerIntegrationTest) GetNotifications() Notifications
- func (r ConsumerIntegrationTest) GetSecrets() map[string]string
- func (r ConsumerIntegrationTest) GetTimeout() string
- func (r ConsumerIntegrationTest) IsManualTrigger() bool
- func (r ConsumerIntegrationTest) MarshalYAML() (interface{}, error)
- func (r ConsumerIntegrationTest) NotifiesOnSuccess() bool
- func (r ConsumerIntegrationTest) ReadsFromArtifacts() bool
- func (r ConsumerIntegrationTest) SavesArtifacts() bool
- func (r ConsumerIntegrationTest) SavesArtifactsOnFailure() bool
- func (r ConsumerIntegrationTest) SetBuildHistory(buildHistory int) Task
- func (r ConsumerIntegrationTest) SetName(name string) Task
- func (r ConsumerIntegrationTest) SetNotifications(notifications Notifications) Task
- func (r ConsumerIntegrationTest) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r ConsumerIntegrationTest) SetTimeout(timeout string) Task
- type DeployCF
- func (r DeployCF) GetAttempts() int
- func (r DeployCF) GetBuildHistory() int
- func (r DeployCF) GetGitHubEnvironment() GitHubEnvironment
- func (r DeployCF) GetName() string
- func (r DeployCF) GetNotifications() Notifications
- func (r DeployCF) GetSecrets() map[string]string
- func (r DeployCF) GetTimeout() string
- func (r DeployCF) IsManualTrigger() bool
- func (r DeployCF) MarshalYAML() (interface{}, error)
- func (r DeployCF) NotifiesOnSuccess() bool
- func (r DeployCF) ReadsFromArtifacts() bool
- func (r DeployCF) SavesArtifacts() bool
- func (r DeployCF) SavesArtifactsOnFailure() bool
- func (r DeployCF) SetBuildHistory(buildHistory int) Task
- func (r DeployCF) SetName(name string) Task
- func (r DeployCF) SetNotifications(notifications Notifications) Task
- func (r DeployCF) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r DeployCF) SetTimeout(timeout string) Task
- type DeployKatee
- func (d DeployKatee) GetAttempts() int
- func (d DeployKatee) GetBuildHistory() int
- func (d DeployKatee) GetGitHubEnvironment() GitHubEnvironment
- func (r DeployKatee) GetName() string
- func (d DeployKatee) GetNotifications() Notifications
- func (d DeployKatee) GetSecrets() map[string]string
- func (d DeployKatee) GetTimeout() string
- func (d DeployKatee) IsManualTrigger() bool
- func (d DeployKatee) MarshalYAML() (interface{}, error)
- func (d DeployKatee) NotifiesOnSuccess() bool
- func (d DeployKatee) ReadsFromArtifacts() bool
- func (d DeployKatee) SavesArtifacts() bool
- func (d DeployKatee) SavesArtifactsOnFailure() bool
- func (d DeployKatee) SetBuildHistory(buildHistory int) Task
- func (r DeployKatee) SetName(name string) Task
- func (d DeployKatee) SetNotifications(notifications Notifications) Task
- func (r DeployKatee) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (d DeployKatee) SetTimeout(timeout string) Task
- type DeployMLModules
- func (r DeployMLModules) GetAttempts() int
- func (r DeployMLModules) GetBuildHistory() int
- func (r DeployMLModules) GetGitHubEnvironment() GitHubEnvironment
- func (r DeployMLModules) GetName() string
- func (r DeployMLModules) GetNotifications() Notifications
- func (r DeployMLModules) GetSecrets() map[string]string
- func (r DeployMLModules) GetTimeout() string
- func (r DeployMLModules) IsManualTrigger() bool
- func (r DeployMLModules) MarshalYAML() (interface{}, error)
- func (r DeployMLModules) NotifiesOnSuccess() bool
- func (r DeployMLModules) ReadsFromArtifacts() bool
- func (r DeployMLModules) SavesArtifacts() bool
- func (r DeployMLModules) SavesArtifactsOnFailure() bool
- func (r DeployMLModules) SetBuildHistory(buildHistory int) Task
- func (r DeployMLModules) SetName(name string) Task
- func (r DeployMLModules) SetNotifications(notifications Notifications) Task
- func (r DeployMLModules) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r DeployMLModules) SetTimeout(timeout string) Task
- type DeployMLZip
- func (r DeployMLZip) GetAttempts() int
- func (r DeployMLZip) GetBuildHistory() int
- func (r DeployMLZip) GetGitHubEnvironment() GitHubEnvironment
- func (r DeployMLZip) GetName() string
- func (r DeployMLZip) GetNotifications() Notifications
- func (r DeployMLZip) GetSecrets() map[string]string
- func (r DeployMLZip) GetTimeout() string
- func (r DeployMLZip) IsManualTrigger() bool
- func (r DeployMLZip) MarshalYAML() (interface{}, error)
- func (r DeployMLZip) NotifiesOnSuccess() bool
- func (r DeployMLZip) ReadsFromArtifacts() bool
- func (r DeployMLZip) SavesArtifacts() bool
- func (r DeployMLZip) SavesArtifactsOnFailure() bool
- func (r DeployMLZip) SetBuildHistory(buildHistory int) Task
- func (r DeployMLZip) SetName(name string) Task
- func (r DeployMLZip) SetNotifications(notifications Notifications) Task
- func (r DeployMLZip) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r DeployMLZip) SetTimeout(timeout string) Task
- type Docker
- type DockerCompose
- func (r DockerCompose) GetAttempts() int
- func (r DockerCompose) GetBuildHistory() int
- func (r DockerCompose) GetGitHubEnvironment() GitHubEnvironment
- func (r DockerCompose) GetName() string
- func (r DockerCompose) GetNotifications() Notifications
- func (r DockerCompose) GetSecrets() map[string]string
- func (r DockerCompose) GetTimeout() string
- func (r DockerCompose) IsManualTrigger() bool
- func (r DockerCompose) MarshalYAML() (interface{}, error)
- func (r DockerCompose) NotifiesOnSuccess() bool
- func (r DockerCompose) ReadsFromArtifacts() bool
- func (r DockerCompose) SavesArtifacts() bool
- func (r DockerCompose) SavesArtifactsOnFailure() bool
- func (r DockerCompose) SetBuildHistory(buildHistory int) Task
- func (r DockerCompose) SetName(name string) Task
- func (r DockerCompose) SetNotifications(notifications Notifications) Task
- func (r DockerCompose) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r DockerCompose) SetTimeout(timeout string) Task
- type DockerPush
- func (r DockerPush) GetAttempts() int
- func (r DockerPush) GetBuildHistory() int
- func (r DockerPush) GetGitHubEnvironment() GitHubEnvironment
- func (r DockerPush) GetName() string
- func (r DockerPush) GetNotifications() Notifications
- func (r DockerPush) GetSecrets() map[string]string
- func (r DockerPush) GetTimeout() string
- func (r DockerPush) IsManualTrigger() bool
- func (r DockerPush) MarshalYAML() (interface{}, error)
- func (r DockerPush) NotifiesOnSuccess() bool
- func (r DockerPush) ReadsFromArtifacts() bool
- func (r DockerPush) SavesArtifacts() bool
- func (r DockerPush) SavesArtifactsOnFailure() bool
- func (r DockerPush) SetBuildHistory(buildHistory int) Task
- func (r DockerPush) SetName(name string) Task
- func (r DockerPush) SetNotifications(notifications Notifications) Task
- func (r DockerPush) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r DockerPush) SetTimeout(timeout string) Task
- type DockerTrigger
- type FeatureToggles
- type GitHubEnvironment
- type GitTrigger
- type Manifest
- type NotificationChannel
- type NotificationChannels
- type Notifications
- type Parallel
- func (Parallel) GetAttempts() int
- func (p Parallel) GetBuildHistory() int
- func (Parallel) GetGitHubEnvironment() GitHubEnvironment
- func (Parallel) GetName() string
- func (p Parallel) GetNotifications() Notifications
- func (p Parallel) GetSecrets() map[string]string
- func (Parallel) GetTimeout() string
- func (Parallel) IsManualTrigger() bool
- func (p Parallel) MarshalYAML() (interface{}, error)
- func (p Parallel) NotifiesOnSuccess() bool
- func (p Parallel) ReadsFromArtifacts() bool
- func (p Parallel) SavesArtifacts() bool
- func (p Parallel) SavesArtifactsOnFailure() bool
- func (p Parallel) SetBuildHistory(buildHistory int) Task
- func (p Parallel) SetName(name string) Task
- func (p Parallel) SetNotifications(notifications Notifications) Task
- func (p Parallel) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (p Parallel) SetTimeout(timeout string) Task
- type PipelineTrigger
- type Platform
- type Repo
- type Run
- func (r Run) GetAttempts() int
- func (r Run) GetBuildHistory() int
- func (r Run) GetGitHubEnvironment() GitHubEnvironment
- func (r Run) GetName() string
- func (r Run) GetNotifications() Notifications
- func (r Run) GetSecrets() map[string]string
- func (r Run) GetTimeout() string
- func (r Run) IsManualTrigger() bool
- func (r Run) MarshalYAML() (interface{}, error)
- func (r Run) NotifiesOnSuccess() bool
- func (r Run) ReadsFromArtifacts() bool
- func (r Run) SavesArtifacts() bool
- func (r Run) SavesArtifactsOnFailure() bool
- func (r Run) SetBuildHistory(buildHistory int) Task
- func (r Run) SetName(name string) Task
- func (r Run) SetNotifications(notifications Notifications) Task
- func (r Run) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (r Run) SetTimeout(timeout string) Task
- type SecretValidator
- type Sequence
- func (s Sequence) GetAttempts() int
- func (s Sequence) GetBuildHistory() int
- func (s Sequence) GetGitHubEnvironment() GitHubEnvironment
- func (s Sequence) GetName() string
- func (s Sequence) GetNotifications() Notifications
- func (s Sequence) GetSecrets() map[string]string
- func (s Sequence) GetTimeout() string
- func (s Sequence) IsManualTrigger() bool
- func (s Sequence) MarshalYAML() (interface{}, error)
- func (s Sequence) NotifiesOnSuccess() bool
- func (s Sequence) ReadsFromArtifacts() bool
- func (s Sequence) SavesArtifacts() bool
- func (s Sequence) SavesArtifactsOnFailure() bool
- func (s Sequence) SetBuildHistory(buildHistory int) Task
- func (s Sequence) SetName(name string) Task
- func (s Sequence) SetNotifications(notifications Notifications) Task
- func (p Sequence) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (s Sequence) SetTimeout(timeout string) Task
- type Task
- type TaskList
- func (tl TaskList) Flatten() (updated TaskList)
- func (tl TaskList) GetTask(name string) Task
- func (tl TaskList) PreviousTaskNames(currentIndex int) []string
- func (tl TaskList) SavesArtifacts() bool
- func (tl TaskList) SavesArtifactsOnFailure() bool
- func (t *TaskList) UnmarshalJSON(b []byte) error
- func (tl TaskList) UsesSlackNotifications() bool
- func (tl TaskList) UsesTeamsNotifications() bool
- type TimerTrigger
- type Trigger
- type TriggerList
- type Update
- func (Update) GetAttempts() int
- func (u Update) GetBuildHistory() int
- func (r Update) GetGitHubEnvironment() GitHubEnvironment
- func (Update) GetName() string
- func (u Update) GetNotifications() Notifications
- func (u Update) GetSecrets() map[string]string
- func (u Update) GetTimeout() string
- func (Update) IsManualTrigger() bool
- func (u Update) MarshalYAML() (interface{}, error)
- func (Update) NotifiesOnSuccess() bool
- func (Update) ReadsFromArtifacts() bool
- func (Update) SavesArtifacts() bool
- func (Update) SavesArtifactsOnFailure() bool
- func (u Update) SetBuildHistory(buildHistory int) Task
- func (u Update) SetName(name string) Task
- func (u Update) SetNotifications(notifications Notifications) Task
- func (u Update) SetNotifyOnSuccess(notifyOnSuccess bool) Task
- func (u Update) SetTimeout(timeout string) Task
- type Vars
Constants ¶
View Source
const ( FeatureUpdatePipeline = "update-pipeline" FeatureUpdatePipelineAndTag = "update-pipeline-and-tag" FeatureGithubStatuses = "github-statuses" )
Variables ¶
View Source
var AvailableFeatureToggles = FeatureToggles{ FeatureUpdatePipeline, FeatureUpdatePipelineAndTag, FeatureGithubStatuses, }
View Source
var InvalidSecretActionsError = func(secret, fieldName string) error { return fmt.Errorf("'%s' at '%s' is not a valid key, must be in format of ((mapName.keyName)), ((path/to/mapName.keyName)) or ((/springernature/data/path/to/mapName keyName))", secret, fieldName) }
View Source
var InvalidSecretConcourseError = func(secret, fieldName string) error { return fmt.Errorf("'%s' at '%s' is not a valid key, must be in format of ((mapName.keyName)) or ((path/to/mapName.keyName))", secret, fieldName) }
View Source
var UnsupportedSecretError = func(fieldName string) error { return fmt.Errorf("'%s' is not allowed to contain a secret", fieldName) }
Functions ¶
func TaskNamesFromTask ¶
Types ¶
type ArtifactConfig ¶
type ComposeFiles ¶
type ComposeFiles []string
func (ComposeFiles) MarshalYAML ¶
func (c ComposeFiles) MarshalYAML() (interface{}, error)
func (*ComposeFiles) UnmarshalJSON ¶
func (c *ComposeFiles) UnmarshalJSON(b []byte) error
type ConsumerIntegrationTest ¶
type ConsumerIntegrationTest struct { Type string Name string `yaml:"name,omitempty"` Consumer string `yaml:"consumer,omitempty"` ConsumerHost string `json:"consumer_host" yaml:"consumer_host,omitempty"` GitCloneOptions string `json:"git_clone_options,omitempty" yaml:"git_clone_options,omitempty"` ProviderHost string `json:"provider_host" yaml:"provider_host,omitempty"` ProviderName string `json:"provider_name" yaml:"provider_name,omitempty"` Script string `yaml:"script,omitempty"` DockerComposeFile string `json:"docker_compose_file" yaml:"docker_compose_file,omitempty"` DockerComposeService string `json:"docker_compose_service" yaml:"docker_compose_service,omitempty"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` UseCovenant bool `json:"use_covenant,omitempty" yaml:"use_covenant,omitempty"` SaveArtifacts []string `json:"save_artifacts" yaml:"save_artifacts,omitempty"` SaveArtifactsOnFailure []string `json:"save_artifacts_on_failure" yaml:"save_artifacts_on_failure,omitempty"` }
func (ConsumerIntegrationTest) GetAttempts ¶
func (r ConsumerIntegrationTest) GetAttempts() int
func (ConsumerIntegrationTest) GetBuildHistory ¶
func (r ConsumerIntegrationTest) GetBuildHistory() int
func (ConsumerIntegrationTest) GetGitHubEnvironment ¶
func (r ConsumerIntegrationTest) GetGitHubEnvironment() GitHubEnvironment
func (ConsumerIntegrationTest) GetName ¶
func (r ConsumerIntegrationTest) GetName() string
func (ConsumerIntegrationTest) GetNotifications ¶
func (r ConsumerIntegrationTest) GetNotifications() Notifications
func (ConsumerIntegrationTest) GetSecrets ¶
func (r ConsumerIntegrationTest) GetSecrets() map[string]string
func (ConsumerIntegrationTest) GetTimeout ¶
func (r ConsumerIntegrationTest) GetTimeout() string
func (ConsumerIntegrationTest) IsManualTrigger ¶
func (r ConsumerIntegrationTest) IsManualTrigger() bool
func (ConsumerIntegrationTest) MarshalYAML ¶
func (r ConsumerIntegrationTest) MarshalYAML() (interface{}, error)
func (ConsumerIntegrationTest) NotifiesOnSuccess ¶
func (r ConsumerIntegrationTest) NotifiesOnSuccess() bool
func (ConsumerIntegrationTest) ReadsFromArtifacts ¶
func (r ConsumerIntegrationTest) ReadsFromArtifacts() bool
func (ConsumerIntegrationTest) SavesArtifacts ¶
func (r ConsumerIntegrationTest) SavesArtifacts() bool
func (ConsumerIntegrationTest) SavesArtifactsOnFailure ¶
func (r ConsumerIntegrationTest) SavesArtifactsOnFailure() bool
func (ConsumerIntegrationTest) SetBuildHistory ¶
func (r ConsumerIntegrationTest) SetBuildHistory(buildHistory int) Task
func (ConsumerIntegrationTest) SetName ¶
func (r ConsumerIntegrationTest) SetName(name string) Task
func (ConsumerIntegrationTest) SetNotifications ¶
func (r ConsumerIntegrationTest) SetNotifications(notifications Notifications) Task
func (ConsumerIntegrationTest) SetNotifyOnSuccess ¶
func (r ConsumerIntegrationTest) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (ConsumerIntegrationTest) SetTimeout ¶
func (r ConsumerIntegrationTest) SetTimeout(timeout string) Task
type DeployCF ¶
type DeployCF struct { Type string Name string `yaml:"name,omitempty"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` API string `yaml:"api,omitempty" secretAllowed:"true"` Space string `yaml:"space,omitempty" secretAllowed:"true"` Org string `yaml:"org,omitempty" secretAllowed:"true"` Username string `yaml:"username,omitempty" secretAllowed:"true"` Password string `yaml:"password,omitempty" secretAllowed:"true"` Manifest string `yaml:"manifest,omitempty"` TestDomain string `json:"test_domain" yaml:"test_domain,omitempty" secretAllowed:"true"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` DeployArtifact string `json:"deploy_artifact" yaml:"deploy_artifact,omitempty"` PrePromote TaskList `json:"pre_promote" yaml:"pre_promote,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` PreStart []string `json:"pre_start,omitempty" yaml:"pre_start,omitempty"` Rolling bool `yaml:"rolling,omitempty"` IsDockerPush bool `json:"-" yaml:"-"` CliVersion string `json:"cli_version,omitempty" yaml:"cli_version,omitempty"` DockerTag string `json:"docker_tag,omitempty" yaml:"docker_tag,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` SSORoute string `json:"sso_route,omitempty" yaml:"sso_route,omitempty"` GitHubEnvironment GitHubEnvironment `json:"github_environment,omitempty" yaml:"github_environment,omitempty"` CfApplication manifestparser.Application `json:"-" yaml:"-"` }
func (DeployCF) GetAttempts ¶
func (DeployCF) GetBuildHistory ¶
func (DeployCF) GetGitHubEnvironment ¶
func (r DeployCF) GetGitHubEnvironment() GitHubEnvironment
func (DeployCF) GetNotifications ¶
func (r DeployCF) GetNotifications() Notifications
func (DeployCF) GetSecrets ¶
func (DeployCF) GetTimeout ¶
func (DeployCF) IsManualTrigger ¶
func (DeployCF) MarshalYAML ¶
func (DeployCF) NotifiesOnSuccess ¶
func (DeployCF) ReadsFromArtifacts ¶
func (DeployCF) SavesArtifacts ¶
func (DeployCF) SavesArtifactsOnFailure ¶
func (DeployCF) SetBuildHistory ¶
func (DeployCF) SetNotifications ¶
func (r DeployCF) SetNotifications(notifications Notifications) Task
func (DeployCF) SetNotifyOnSuccess ¶
func (DeployCF) SetTimeout ¶
type DeployKatee ¶
type DeployKatee struct { Type string Name string `yaml:"name,omitempty"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` VelaManifest string `json:"vela_manifest,omitempty" yaml:"vela_manifest,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Tag string `json:"tag,omitempty" yaml:"tag,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` Environment string `json:"environment,omitempty" yaml:"environment,omitempty"` Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"` DeploymentCheckTimeout int `json:"deployment_check_timeout,omitempty" yaml:"deployment_check_timeout,omitempty"` CheckInterval int `json:"check_interval,omitempty" yaml:"check_interval,omitempty"` MaxChecks int `json:"max_checks,omitempty" yaml:"max_checks,omitempty"` GitHubEnvironment GitHubEnvironment `json:"github_environment,omitempty" yaml:"github_environment,omitempty"` }
func (DeployKatee) GetAttempts ¶
func (d DeployKatee) GetAttempts() int
func (DeployKatee) GetBuildHistory ¶
func (d DeployKatee) GetBuildHistory() int
func (DeployKatee) GetGitHubEnvironment ¶
func (d DeployKatee) GetGitHubEnvironment() GitHubEnvironment
func (DeployKatee) GetName ¶
func (r DeployKatee) GetName() string
func (DeployKatee) GetNotifications ¶
func (d DeployKatee) GetNotifications() Notifications
func (DeployKatee) GetSecrets ¶
func (d DeployKatee) GetSecrets() map[string]string
func (DeployKatee) GetTimeout ¶
func (d DeployKatee) GetTimeout() string
func (DeployKatee) IsManualTrigger ¶
func (d DeployKatee) IsManualTrigger() bool
func (DeployKatee) MarshalYAML ¶
func (d DeployKatee) MarshalYAML() (interface{}, error)
func (DeployKatee) NotifiesOnSuccess ¶
func (d DeployKatee) NotifiesOnSuccess() bool
func (DeployKatee) ReadsFromArtifacts ¶
func (d DeployKatee) ReadsFromArtifacts() bool
func (DeployKatee) SavesArtifacts ¶
func (d DeployKatee) SavesArtifacts() bool
func (DeployKatee) SavesArtifactsOnFailure ¶
func (d DeployKatee) SavesArtifactsOnFailure() bool
func (DeployKatee) SetBuildHistory ¶
func (d DeployKatee) SetBuildHistory(buildHistory int) Task
func (DeployKatee) SetName ¶
func (r DeployKatee) SetName(name string) Task
func (DeployKatee) SetNotifications ¶
func (d DeployKatee) SetNotifications(notifications Notifications) Task
func (DeployKatee) SetNotifyOnSuccess ¶
func (r DeployKatee) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (DeployKatee) SetTimeout ¶
func (d DeployKatee) SetTimeout(timeout string) Task
type DeployMLModules ¶
type DeployMLModules struct { Type string Name string `yaml:"name,omitempty"` MLModulesVersion string `json:"ml_modules_version" yaml:"ml_modules_version,omitempty"` AppName string `json:"app_name" yaml:"app_name,omitempty"` AppVersion string `json:"app_version" yaml:"app_version,omitempty"` Targets []string `yaml:"targets,omitempty" secretAllowed:"true"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` UseBuildVersion bool `json:"use_build_version,omitempty" yaml:"use_build_version,omitempty"` Username string `json:"username" yaml:"username,omitempty" secretAllowed:"true"` Password string `json:"password" yaml:"password,omitempty" secretAllowed:"true"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` }
func (DeployMLModules) GetAttempts ¶
func (r DeployMLModules) GetAttempts() int
func (DeployMLModules) GetBuildHistory ¶
func (r DeployMLModules) GetBuildHistory() int
func (DeployMLModules) GetGitHubEnvironment ¶
func (r DeployMLModules) GetGitHubEnvironment() GitHubEnvironment
func (DeployMLModules) GetName ¶
func (r DeployMLModules) GetName() string
func (DeployMLModules) GetNotifications ¶
func (r DeployMLModules) GetNotifications() Notifications
func (DeployMLModules) GetSecrets ¶
func (r DeployMLModules) GetSecrets() map[string]string
func (DeployMLModules) GetTimeout ¶
func (r DeployMLModules) GetTimeout() string
func (DeployMLModules) IsManualTrigger ¶
func (r DeployMLModules) IsManualTrigger() bool
func (DeployMLModules) MarshalYAML ¶
func (r DeployMLModules) MarshalYAML() (interface{}, error)
func (DeployMLModules) NotifiesOnSuccess ¶
func (r DeployMLModules) NotifiesOnSuccess() bool
func (DeployMLModules) ReadsFromArtifacts ¶
func (r DeployMLModules) ReadsFromArtifacts() bool
func (DeployMLModules) SavesArtifacts ¶
func (r DeployMLModules) SavesArtifacts() bool
func (DeployMLModules) SavesArtifactsOnFailure ¶
func (r DeployMLModules) SavesArtifactsOnFailure() bool
func (DeployMLModules) SetBuildHistory ¶
func (r DeployMLModules) SetBuildHistory(buildHistory int) Task
func (DeployMLModules) SetName ¶
func (r DeployMLModules) SetName(name string) Task
func (DeployMLModules) SetNotifications ¶
func (r DeployMLModules) SetNotifications(notifications Notifications) Task
func (DeployMLModules) SetNotifyOnSuccess ¶
func (r DeployMLModules) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (DeployMLModules) SetTimeout ¶
func (r DeployMLModules) SetTimeout(timeout string) Task
type DeployMLZip ¶
type DeployMLZip struct { Type string Name string `yaml:"name,omitempty"` DeployZip string `json:"deploy_zip" yaml:"deploy_zip,omitempty"` AppName string `json:"app_name" yaml:"app_name,omitempty"` AppVersion string `json:"app_version" yaml:"app_version,omitempty"` Targets []string `yaml:"targets,omitempty" secretAllowed:"true" ` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` UseBuildVersion bool `json:"use_build_version,omitempty" yaml:"use_build_version,omitempty"` Username string `json:"username" yaml:"username,omitempty" secretAllowed:"true"` Password string `json:"password" yaml:"password,omitempty" secretAllowed:"true"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` }
func (DeployMLZip) GetAttempts ¶
func (r DeployMLZip) GetAttempts() int
func (DeployMLZip) GetBuildHistory ¶
func (r DeployMLZip) GetBuildHistory() int
func (DeployMLZip) GetGitHubEnvironment ¶
func (r DeployMLZip) GetGitHubEnvironment() GitHubEnvironment
func (DeployMLZip) GetName ¶
func (r DeployMLZip) GetName() string
func (DeployMLZip) GetNotifications ¶
func (r DeployMLZip) GetNotifications() Notifications
func (DeployMLZip) GetSecrets ¶
func (r DeployMLZip) GetSecrets() map[string]string
func (DeployMLZip) GetTimeout ¶
func (r DeployMLZip) GetTimeout() string
func (DeployMLZip) IsManualTrigger ¶
func (r DeployMLZip) IsManualTrigger() bool
func (DeployMLZip) MarshalYAML ¶
func (r DeployMLZip) MarshalYAML() (interface{}, error)
func (DeployMLZip) NotifiesOnSuccess ¶
func (r DeployMLZip) NotifiesOnSuccess() bool
func (DeployMLZip) ReadsFromArtifacts ¶
func (r DeployMLZip) ReadsFromArtifacts() bool
func (DeployMLZip) SavesArtifacts ¶
func (r DeployMLZip) SavesArtifacts() bool
func (DeployMLZip) SavesArtifactsOnFailure ¶
func (r DeployMLZip) SavesArtifactsOnFailure() bool
func (DeployMLZip) SetBuildHistory ¶
func (r DeployMLZip) SetBuildHistory(buildHistory int) Task
func (DeployMLZip) SetName ¶
func (r DeployMLZip) SetName(name string) Task
func (DeployMLZip) SetNotifications ¶
func (r DeployMLZip) SetNotifications(notifications Notifications) Task
func (DeployMLZip) SetNotifyOnSuccess ¶
func (r DeployMLZip) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (DeployMLZip) SetTimeout ¶
func (r DeployMLZip) SetTimeout(timeout string) Task
type DockerCompose ¶
type DockerCompose struct { Type string Name string `yaml:"name,omitempty"` Command string `yaml:"command,omitempty"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` Service string `yaml:"service,omitempty"` ComposeFiles ComposeFiles `json:"compose_file" yaml:"compose_file,omitempty"` SaveArtifacts []string `json:"save_artifacts" yaml:"save_artifacts,omitempty"` RestoreArtifacts bool `json:"restore_artifacts" yaml:"restore_artifacts,omitempty"` SaveArtifactsOnFailure []string `json:"save_artifacts_on_failure" yaml:"save_artifacts_on_failure,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` }
func (DockerCompose) GetAttempts ¶
func (r DockerCompose) GetAttempts() int
func (DockerCompose) GetBuildHistory ¶
func (r DockerCompose) GetBuildHistory() int
func (DockerCompose) GetGitHubEnvironment ¶
func (r DockerCompose) GetGitHubEnvironment() GitHubEnvironment
func (DockerCompose) GetName ¶
func (r DockerCompose) GetName() string
func (DockerCompose) GetNotifications ¶
func (r DockerCompose) GetNotifications() Notifications
func (DockerCompose) GetSecrets ¶
func (r DockerCompose) GetSecrets() map[string]string
func (DockerCompose) GetTimeout ¶
func (r DockerCompose) GetTimeout() string
func (DockerCompose) IsManualTrigger ¶
func (r DockerCompose) IsManualTrigger() bool
func (DockerCompose) MarshalYAML ¶
func (r DockerCompose) MarshalYAML() (interface{}, error)
func (DockerCompose) NotifiesOnSuccess ¶
func (r DockerCompose) NotifiesOnSuccess() bool
func (DockerCompose) ReadsFromArtifacts ¶
func (r DockerCompose) ReadsFromArtifacts() bool
func (DockerCompose) SavesArtifacts ¶
func (r DockerCompose) SavesArtifacts() bool
func (DockerCompose) SavesArtifactsOnFailure ¶
func (r DockerCompose) SavesArtifactsOnFailure() bool
func (DockerCompose) SetBuildHistory ¶
func (r DockerCompose) SetBuildHistory(buildHistory int) Task
func (DockerCompose) SetName ¶
func (r DockerCompose) SetName(name string) Task
func (DockerCompose) SetNotifications ¶
func (r DockerCompose) SetNotifications(notifications Notifications) Task
func (DockerCompose) SetNotifyOnSuccess ¶
func (r DockerCompose) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (DockerCompose) SetTimeout ¶
func (r DockerCompose) SetTimeout(timeout string) Task
type DockerPush ¶
type DockerPush struct { Type string Name string `yaml:"name,omitempty"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Username string `yaml:"username,omitempty" secretAllowed:"true"` Password string `yaml:"password,omitempty" secretAllowed:"true"` Image string `yaml:"image,omitempty"` IgnoreVulnerabilities bool `json:"ignore_vulnerabilities,omitempty" yaml:"ignore_vulnerabilities,omitempty"` ScanTimeout int `json:"scan_timeout,omitempty" yaml:"scan_timeout,omitempty"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` Secrets Vars `yaml:"secrets,omitempty" secretAllowed:"true"` RestoreArtifacts bool `json:"restore_artifacts" yaml:"restore_artifacts,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` DockerfilePath string `json:"dockerfile_path,omitempty" yaml:"dockerfile_path,omitempty"` BuildPath string `json:"build_path,omitempty" yaml:"build_path,omitempty"` Tag string `json:"tag,omitempty" yaml:"tag,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` Platforms []string `json:"platforms,omitempty" yaml:"platforms,omitempty"` UseCache bool `json:"use_cache,omitempty" yaml:"use_cache,omitempty"` }
func (DockerPush) GetAttempts ¶
func (r DockerPush) GetAttempts() int
func (DockerPush) GetBuildHistory ¶
func (r DockerPush) GetBuildHistory() int
func (DockerPush) GetGitHubEnvironment ¶
func (r DockerPush) GetGitHubEnvironment() GitHubEnvironment
func (DockerPush) GetName ¶
func (r DockerPush) GetName() string
func (DockerPush) GetNotifications ¶
func (r DockerPush) GetNotifications() Notifications
func (DockerPush) GetSecrets ¶
func (r DockerPush) GetSecrets() map[string]string
func (DockerPush) GetTimeout ¶
func (r DockerPush) GetTimeout() string
func (DockerPush) IsManualTrigger ¶
func (r DockerPush) IsManualTrigger() bool
func (DockerPush) MarshalYAML ¶
func (r DockerPush) MarshalYAML() (interface{}, error)
func (DockerPush) NotifiesOnSuccess ¶
func (r DockerPush) NotifiesOnSuccess() bool
func (DockerPush) ReadsFromArtifacts ¶
func (r DockerPush) ReadsFromArtifacts() bool
func (DockerPush) SavesArtifacts ¶
func (r DockerPush) SavesArtifacts() bool
func (DockerPush) SavesArtifactsOnFailure ¶
func (r DockerPush) SavesArtifactsOnFailure() bool
func (DockerPush) SetBuildHistory ¶
func (r DockerPush) SetBuildHistory(buildHistory int) Task
func (DockerPush) SetName ¶
func (r DockerPush) SetName(name string) Task
func (DockerPush) SetNotifications ¶
func (r DockerPush) SetNotifications(notifications Notifications) Task
func (DockerPush) SetNotifyOnSuccess ¶
func (r DockerPush) SetNotifyOnSuccess(notifyOnSuccess bool) Task
func (DockerPush) SetTimeout ¶
func (r DockerPush) SetTimeout(timeout string) Task
type DockerTrigger ¶
type DockerTrigger struct { Type string Image string `json:"image,omitempty" yaml:"image,omitempty"` Username string `json:"username,omitempty" yaml:"username,omitempty" secretAllowed:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" secretAllowed:"true"` }
func (DockerTrigger) GetTriggerAttempts ¶
func (d DockerTrigger) GetTriggerAttempts() int
func (DockerTrigger) GetTriggerName ¶
func (d DockerTrigger) GetTriggerName() string
func (DockerTrigger) MarshalYAML ¶
func (d DockerTrigger) MarshalYAML() (interface{}, error)
type FeatureToggles ¶
type FeatureToggles []string
func (FeatureToggles) GithubStatuses ¶
func (f FeatureToggles) GithubStatuses() bool
func (FeatureToggles) TagGitRepo ¶
func (f FeatureToggles) TagGitRepo() bool
func (FeatureToggles) UpdatePipeline ¶
func (f FeatureToggles) UpdatePipeline() bool
type GitHubEnvironment ¶
func (GitHubEnvironment) IsValid ¶
func (g GitHubEnvironment) IsValid() bool
type GitTrigger ¶
type GitTrigger struct { Type string URI string `json:"uri,omitempty" yaml:"uri,omitempty"` BasePath string `json:"-" yaml:"-"` //don't auto unmarshal PrivateKey string `json:"private_key,omitempty" yaml:"private_key,omitempty" secretAllowed:"true"` WatchedPaths []string `json:"watched_paths,omitempty" yaml:"watched_paths,omitempty"` IgnoredPaths []string `json:"ignored_paths,omitempty" yaml:"ignored_paths,omitempty"` GitCryptKey string `json:"git_crypt_key,omitempty" yaml:"git_crypt_key,omitempty" secretAllowed:"true"` Branch string `json:"branch,omitempty" yaml:"branch,omitempty"` Shallow bool `json:"shallow,omitempty" yaml:"shallow,omitempty"` ShallowDefined bool `json:"-" yaml:"-"` //don't auto unmarshal ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` }
func (GitTrigger) GetRepoName ¶
func (git GitTrigger) GetRepoName() string
func (GitTrigger) GetTriggerAttempts ¶
func (git GitTrigger) GetTriggerAttempts() int
func (GitTrigger) GetTriggerName ¶
func (GitTrigger) GetTriggerName() string
func (GitTrigger) IsPublic ¶
func (git GitTrigger) IsPublic() bool
func (GitTrigger) MarshalYAML ¶
func (git GitTrigger) MarshalYAML() (interface{}, error)
type Manifest ¶
type Manifest struct { Team string `yaml:"team,omitempty"` Pipeline string `yaml:"pipeline,omitempty"` SlackChannel string `json:"slack_channel,omitempty" yaml:"slack_channel,omitempty"` TeamsWebhook string `json:"teams_webhook,omitempty" yaml:"teams_webhook,omitempty" secretAllowed:"true"` SlackSuccessMessage string `json:"slack_success_message,omitempty" yaml:"slack_success_message,omitempty"` SlackFailureMessage string `json:"slack_failure_message,omitempty" yaml:"slack_failure_message,omitempty"` ArtifactConfig ArtifactConfig `json:"artifact_config,omitempty" yaml:"artifact_config,omitempty"` FeatureToggles FeatureToggles `json:"feature_toggles,omitempty" yaml:"feature_toggles,omitempty"` Triggers TriggerList `json:"triggers,omitempty" yaml:"triggers,omitempty"` Tasks TaskList `yaml:"tasks,omitempty"` Platform Platform `json:"platform,omitempty" yaml:"platform,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` }
func (Manifest) PipelineName ¶
type NotificationChannel ¶
type NotificationChannels ¶
type NotificationChannels []NotificationChannel
func (NotificationChannels) Slack ¶
func (nc NotificationChannels) Slack() (ncs NotificationChannels)
func (NotificationChannels) Teams ¶
func (nc NotificationChannels) Teams() (ncs NotificationChannels)
type Notifications ¶
type Notifications struct { OnSuccess []string `json:"on_success,omitempty" yaml:"on_success,omitempty"` OnSuccessMessage string `json:"on_success_message,omitempty" yaml:"on_success_message,omitempty"` OnFailure []string `json:"on_failure,omitempty" yaml:"on_failure,omitempty"` OnFailureMessage string `json:"on_failure_message,omitempty" yaml:"on_failure_message,omitempty"` Success NotificationChannels `json:"success,omitempty" yaml:"success,omitempty"` Failure NotificationChannels `json:"failure,omitempty" yaml:"failure,omitempty"` }
func (Notifications) Equal ¶
func (n Notifications) Equal(n2 Notifications) bool
func (Notifications) NotificationsDefined ¶
func (n Notifications) NotificationsDefined() bool
type Parallel ¶
func (Parallel) GetAttempts ¶
func (Parallel) GetBuildHistory ¶
func (Parallel) GetGitHubEnvironment ¶
func (Parallel) GetGitHubEnvironment() GitHubEnvironment
func (Parallel) GetNotifications ¶
func (p Parallel) GetNotifications() Notifications
func (Parallel) GetSecrets ¶
func (Parallel) GetTimeout ¶
func (Parallel) IsManualTrigger ¶
func (Parallel) MarshalYAML ¶
func (Parallel) NotifiesOnSuccess ¶
func (Parallel) ReadsFromArtifacts ¶
func (Parallel) SavesArtifacts ¶
func (Parallel) SavesArtifactsOnFailure ¶
func (Parallel) SetBuildHistory ¶
func (Parallel) SetNotifications ¶
func (p Parallel) SetNotifications(notifications Notifications) Task
func (Parallel) SetNotifyOnSuccess ¶
func (Parallel) SetTimeout ¶
type PipelineTrigger ¶
type PipelineTrigger struct { Type string ConcourseURL string `json:"concourse_url,omitempty" yaml:"concourse_url,omitempty" secretAllowed:"true"` Username string `json:"username,omitempty" yaml:"username,omitempty" secretAllowed:"true"` Password string `json:"password,omitempty" yaml:"password,omitempty" secretAllowed:"true"` Team string `json:"team,omitempty" yaml:"team,omitempty"` Pipeline string `json:"pipeline,omitempty" yaml:"pipeline,omitempty"` Job string `json:"job,omitempty" yaml:"job,omitempty"` Status string `json:"status,omitempty" yaml:"status,omitempty"` }
func (PipelineTrigger) GetTriggerAttempts ¶
func (p PipelineTrigger) GetTriggerAttempts() int
func (PipelineTrigger) GetTriggerName ¶
func (p PipelineTrigger) GetTriggerName() string
func (PipelineTrigger) MarshalYAML ¶
func (p PipelineTrigger) MarshalYAML() (interface{}, error)
type Repo ¶
type Repo struct { URI string `json:"uri,omitempty" yaml:"uri,omitempty"` BasePath string `json:"-" yaml:"-"` //don't auto unmarshal PrivateKey string `json:"private_key,omitempty" yaml:"private_key,omitempty" secretAllowed:"true"` WatchedPaths []string `json:"watched_paths,omitempty" yaml:"watched_paths,omitempty"` IgnoredPaths []string `json:"ignored_paths,omitempty" yaml:"ignored_paths,omitempty"` GitCryptKey string `json:"git_crypt_key,omitempty" yaml:"git_crypt_key,omitempty" secretAllowed:"true"` Branch string `json:"branch,omitempty" yaml:"branch,omitempty"` Shallow bool `json:"shallow,omitempty" yaml:"shallow,omitempty"` }
type Run ¶
type Run struct { Type string Name string `yaml:"name,omitempty"` ManualTrigger bool `json:"manual_trigger" yaml:"manual_trigger,omitempty"` Script string `yaml:"script,omitempty"` Docker Docker `yaml:"docker,omitempty"` Privileged bool `yaml:"privileged,omitempty"` Vars Vars `yaml:"vars,omitempty" secretAllowed:"true"` SaveArtifacts []string `json:"save_artifacts" yaml:"save_artifacts,omitempty"` RestoreArtifacts bool `json:"restore_artifacts" yaml:"restore_artifacts,omitempty"` SaveArtifactsOnFailure []string `json:"save_artifacts_on_failure" yaml:"save_artifacts_on_failure,omitempty"` Retries int `yaml:"retries,omitempty"` NotifyOnSuccess bool `json:"notify_on_success,omitempty" yaml:"notify_on_success,omitempty"` Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string `json:"timeout,omitempty" yaml:"timeout,omitempty"` BuildHistory int `json:"build_history,omitempty" yaml:"build_history,omitempty"` }
func (Run) GetAttempts ¶
func (Run) GetBuildHistory ¶
func (Run) GetGitHubEnvironment ¶
func (r Run) GetGitHubEnvironment() GitHubEnvironment
func (Run) GetNotifications ¶
func (r Run) GetNotifications() Notifications
func (Run) GetSecrets ¶
func (Run) GetTimeout ¶
func (Run) IsManualTrigger ¶
func (Run) MarshalYAML ¶
func (Run) NotifiesOnSuccess ¶
func (Run) ReadsFromArtifacts ¶
func (Run) SavesArtifacts ¶
func (Run) SavesArtifactsOnFailure ¶
func (Run) SetBuildHistory ¶
func (Run) SetNotifications ¶
func (r Run) SetNotifications(notifications Notifications) Task
func (Run) SetNotifyOnSuccess ¶
func (Run) SetTimeout ¶
type SecretValidator ¶
func NewSecretValidator ¶
func NewSecretValidator() SecretValidator
type Sequence ¶
func (Sequence) GetAttempts ¶
func (Sequence) GetBuildHistory ¶
func (Sequence) GetGitHubEnvironment ¶
func (s Sequence) GetGitHubEnvironment() GitHubEnvironment
func (Sequence) GetNotifications ¶
func (s Sequence) GetNotifications() Notifications
func (Sequence) GetSecrets ¶
func (Sequence) GetTimeout ¶
func (Sequence) IsManualTrigger ¶
func (Sequence) MarshalYAML ¶
func (Sequence) NotifiesOnSuccess ¶
func (Sequence) ReadsFromArtifacts ¶
func (Sequence) SavesArtifacts ¶
func (Sequence) SavesArtifactsOnFailure ¶
func (Sequence) SetBuildHistory ¶
func (Sequence) SetNotifications ¶
func (s Sequence) SetNotifications(notifications Notifications) Task
func (Sequence) SetNotifyOnSuccess ¶
func (Sequence) SetTimeout ¶
type Task ¶
type Task interface { ReadsFromArtifacts() bool GetAttempts() int SavesArtifacts() bool SavesArtifactsOnFailure() bool IsManualTrigger() bool NotifiesOnSuccess() bool GetTimeout() string SetTimeout(timeout string) Task GetName() string SetName(name string) Task GetNotifications() Notifications SetNotifications(notifications Notifications) Task SetNotifyOnSuccess(notifyOnSuccess bool) Task GetBuildHistory() int SetBuildHistory(buildHistory int) Task GetSecrets() map[string]string GetGitHubEnvironment() GitHubEnvironment MarshalYAML() (interface{}, error) // To make sure type is always set when marshalling to yaml }
type TaskList ¶
type TaskList []Task
func (TaskList) PreviousTaskNames ¶
func (TaskList) SavesArtifacts ¶
func (TaskList) SavesArtifactsOnFailure ¶
func (*TaskList) UnmarshalJSON ¶
func (TaskList) UsesSlackNotifications ¶
func (TaskList) UsesTeamsNotifications ¶
type TimerTrigger ¶
func (TimerTrigger) GetTriggerAttempts ¶
func (t TimerTrigger) GetTriggerAttempts() int
func (TimerTrigger) GetTriggerName ¶
func (TimerTrigger) GetTriggerName() string
func (TimerTrigger) MarshalYAML ¶
func (t TimerTrigger) MarshalYAML() (interface{}, error)
type TriggerList ¶
type TriggerList []Trigger
func (TriggerList) GetGitTrigger ¶
func (t TriggerList) GetGitTrigger() GitTrigger
func (TriggerList) HasGitTrigger ¶
func (t TriggerList) HasGitTrigger() bool
func (*TriggerList) UnmarshalJSON ¶
func (t *TriggerList) UnmarshalJSON(b []byte) error
type Update ¶
type Update struct { Type string Notifications Notifications `json:"notifications,omitempty" yaml:"notifications,omitempty"` Timeout string BuildHistory int TagRepo bool }
func (Update) GetAttempts ¶
func (Update) GetBuildHistory ¶
func (Update) GetGitHubEnvironment ¶
func (r Update) GetGitHubEnvironment() GitHubEnvironment
func (Update) GetNotifications ¶
func (u Update) GetNotifications() Notifications
func (Update) GetSecrets ¶
func (Update) GetTimeout ¶
func (Update) IsManualTrigger ¶
func (Update) MarshalYAML ¶
func (Update) NotifiesOnSuccess ¶
func (Update) ReadsFromArtifacts ¶
func (Update) SavesArtifacts ¶
func (Update) SavesArtifactsOnFailure ¶
func (Update) SetBuildHistory ¶
func (Update) SetNotifications ¶
func (u Update) SetNotifications(notifications Notifications) Task
func (Update) SetNotifyOnSuccess ¶
func (Update) SetTimeout ¶
Source Files
¶
- consumer_integration.go
- deploy_cf.go
- deploy_katee.go
- deploy_ml_modules.go
- deploy_ml_zip.go
- docker_compose.go
- docker_image_trigger.go
- docker_push.go
- feature_toggles.go
- git_trigger.go
- manifest.go
- parallel.go
- parser.go
- pipeline_trigger.go
- renderer.go
- run.go
- secret_validator.go
- sequence.go
- timer_trigger.go
- update.go
Click to show internal directories.
Click to hide internal directories.