Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsValidArch ¶
Types ¶
type Duration ¶ added in v0.8.0
func (Duration) MarshalJSON ¶ added in v0.8.0
func (*Duration) UnmarshalJSON ¶ added in v0.8.0
type When ¶
type When struct { Branch *WhenConditions `json:"branch,omitempty"` Tag *WhenConditions `json:"tag,omitempty"` Ref *WhenConditions `json:"ref,omitempty"` }
type WhenCondition ¶
type WhenCondition struct { Type WhenConditionType `json:"type,omitempty"` Match string `json:"match,omitempty"` }
type WhenConditionType ¶
type WhenConditionType string
const ( WhenConditionTypeSimple WhenConditionType = "simple" WhenConditionTypeRegExp WhenConditionType = "regexp" )
type WhenConditions ¶
type WhenConditions struct { Include []WhenCondition `json:"include,omitempty"` Exclude []WhenCondition `json:"exclude,omitempty"` }
Click to show internal directories.
Click to hide internal directories.