Versions in this module Expand all Collapse all v0 v0.0.2 Jul 2, 2024 v0.0.1 Jan 9, 2024 Changes in this version + const RetryAlways + const RetryApiFailure + const RetryArchivedFailure + const RetryIntegrityFailure + const RetryJobExecutionTimeout + const RetryRunnerSystemFailure + const RetryRunnerUnsupported + const RetrySchedulerFailure + const RetryScriptFailure + const RetryStaleSchedule + const RetrySturckOrTimeoutFailure + const RetryUnknownFailure + type AllowFailure struct + ExitCodes []int + Value bool + func (v *AllowFailure) MarshalYAML() (interface{}, error) + func (v *AllowFailure) UnmarshalYAML(unmarshal func(interface{}) error) error + type Artifacts struct + Exclude Stringorslice + ExpireIn string + ExposeAs string + Name string + Paths Stringorslice + Public *bool + Reports map[string]interface{} + Untracked bool + When string + type AssetLink struct + FilePath string + LinkType string + Name string + Url string + type Assets struct + Links []*AssetLink + type Cache struct + FallbackKeys Stringorslice + Key *CacheKey + Paths Stringorslice + Policy string + Unprotect bool + Untracked bool + When string + type CacheKey struct + Files Stringorslice + Prefix string + Value string + func (v *CacheKey) MarshalYAML() (interface{}, error) + func (v *CacheKey) UnmarshalYAML(unmarshal func(interface{}) error) error + type Change struct + CompareTo string + Paths []string + func (v *Change) MarshalYAML() (interface{}, error) + func (v *Change) UnmarshalYAML(unmarshal func(interface{}) error) error + type Conditions struct + Changes []string + Kubernetes string + Refs []string + Variables []string + func (c *Conditions) MarshalYAML() (interface{}, error) + func (c *Conditions) UnmarshalYAML(unmarshal func(interface{}) error) error + type DASTConfiguration struct + ScannerProfile string + SiteProfile string + type Default struct + After []string + Artifacts *Artifacts + Before []string + Cache *Cache + Image *Image + Interruptible bool + Retry *Retry + Services []*Image + Tags []string + Timeout string + type Environment struct + Action string + AutoStopIn string + DeploymentTier string + Kubernetes *Kubernetes + Name string + OnStop string + Url string + func (v *Environment) UnmarshalYAML(unmarshal func(interface{}) error) error + type Forward struct + PipelineVariables bool + YamlVariables *bool + type IDToken struct + Aud interface{} + type Image struct + Alias string + Command Stringorslice + Entrypoint Stringorslice + Name string + PullPolicy Stringorslice + func (v *Image) UnmarshalYAML(unmarshal func(interface{}) error) error + type Include struct + File Stringorslice + Local string + Project string + Ref string + Remote string + Template string + func (v *Include) UnmarshalYAML(unmarshal func(interface{}) error) error + type Inherit struct + Default *InheritKeys + Variables *InheritKeys + func (v *Inherit) MarshalYAML() (interface{}, error) + func (v *Inherit) UnmarshalYAML(unmarshal func(interface{}) error) error + type InheritKeys struct + All bool + Keys []string + func (v *InheritKeys) UnmarshalYAML(unmarshal func(interface{}) error) error + type Job struct + After Stringorslice + AllowFailure *AllowFailure + Artifacts *Artifacts + Before Stringorslice + Cache *Cache + Coverage string + DASTConfiguration *DASTConfiguration + Dependencies Stringorslice + Environment *Environment + Except *Conditions + Extends Stringorslice + Hooks map[string]Stringorslice + IDTokens map[string]*IDToken + Image *Image + Inherit *Inherit + Interruptible bool + Needs *Needs + Only *Conditions + Pages *Job + Parallel *Parallel + Publish string + Release *Release + ResourceGroup string + Retry *Retry + Rules []*Rule + Script Stringorslice + Secrets map[string]*Secret + Services []*Image + Stage string + Tags Stringorslice + Timeout string + Trigger *Trigger + Variables map[string]*Variable + When string + func (v *Job) UnmarshalYAML(unmarshal func(interface{}) error) error + type Kubernetes struct + Namespace string + type Need struct + Artifacts bool + Job string + Optional bool + Pipeline string + Project string + Ref string + func (v *Need) UnmarshalYAML(unmarshal func(interface{}) error) error + type Needs struct + Items []*Need + func (v *Needs) MarshalYAML() (interface{}, error) + func (v *Needs) UnmarshalYAML(unmarshal func(interface{}) error) error + type Parallel struct + Count int + Matrix []map[string][]string + func (v *Parallel) MarshalYAML() (interface{}, error) + func (v *Parallel) UnmarshalYAML(unmarshal func(interface{}) error) error + type Pipeline struct + AfterScript []string + Artifacts *Artifacts + BeforeScript []string + Cache *Cache + Default *Default + Image *Image + Include []*Include + Jobs map[string]*Job + Pages *Job + Schema string + Services []*Image + Stages []string + TemplateJobs map[string]*Job + Variables map[string]*Variable + Workflow *Workflow + func Parse(r io.Reader) (*Pipeline, error) + func ParseBytes(b []byte) (*Pipeline, error) + func ParseFile(p string) (*Pipeline, error) + func ParseString(s string) (*Pipeline, error) + func (p *Pipeline) MarshalYAML() (interface{}, error) + func (p *Pipeline) UnmarshalYAML(unmarshal func(interface{}) error) error + type Release struct + Assets *Assets + Desc string + Milestones Stringorslice + Name string + Ref string + ReleasedAt string + Tag string + TagMessage string + type Retry struct + Max int + When Stringorslice + func (v *Retry) MarshalYAML() (interface{}, error) + func (v *Retry) UnmarshalYAML(unmarshal func(interface{}) error) error + type Rule struct + AllowFailures bool + Changes Change + Exists []string + If string + Needs []string + Variables map[string]string + When string + type Secret struct + File *bool + Token string + Vault *Vault + type Stringorslice []string + func (s *Stringorslice) UnmarshalYAML(unmarshal func(interface{}) error) error + type Trigger struct + Branch string + Forward *Forward + Include string + Project string + Strategy string + func (v *Trigger) MarshalYAML() (interface{}, error) + func (v *Trigger) UnmarshalYAML(unmarshal func(interface{}) error) error + type Variable struct + Desc string + Expand *bool + Options Stringorslice + Value string + func (v *Variable) MarshalYAML() (interface{}, error) + func (v *Variable) UnmarshalYAML(unmarshal func(interface{}) error) error + type Vault struct + Engine *VaultEngine + Field string + Path string + func (v *Vault) UnmarshalYAML(unmarshal func(interface{}) error) error + type VaultEngine struct + Name string + Path string + type Workflow struct + Name string + Rules []*Rule