Documentation ¶
Index ¶
- Variables
- func ApplicationNameForRelease(rel *shipper.Release) (string, error)
- func GetGeneration(release *shipper.Release) (int, error)
- func GetReleaseCondition(status shipper.ReleaseStatus, condType shipper.ReleaseConditionType) *shipper.ReleaseCondition
- func GetSiblingReleases(release *shipper.Release, appReleases []*shipper.Release) (*shipper.Release, *shipper.Release, error)
- func HasEmptyEnvironment(rel *shipper.Release) bool
- func NewReleaseCondition(condType shipper.ReleaseConditionType, status corev1.ConditionStatus, ...) *shipper.ReleaseCondition
- func ReleaseAchievedTargetStep(rel *shipper.Release) bool
- func ReleaseComplete(release *shipper.Release) bool
- func ReleaseProgressing(release *shipper.Release) bool
- func ReleaseScheduled(release *shipper.Release) bool
- func ReleaseStrategyExecuted(release *shipper.Release) bool
- func RemoveReleaseCondition(status shipper.ReleaseStatus, condType shipper.ReleaseConditionType)
- func SetGeneration(release *shipper.Release, generation int)
- func SetIteration(release *shipper.Release, iteration int)
- func SetReleaseCondition(status *shipper.ReleaseStatus, condition shipper.ReleaseCondition) diff.Diff
- func SortByGenerationAscending(rels []*shipper.Release) []*shipper.Release
- func SortByGenerationDescending(rels []*shipper.Release) []*shipper.Release
- type ByGenerationAscending
- type ByGenerationDescending
- type ReleaseConditionDiff
Constants ¶
This section is empty.
Variables ¶
View Source
var ConditionsShouldDiscardTimestamps = false
Functions ¶
func GetReleaseCondition ¶
func GetReleaseCondition(status shipper.ReleaseStatus, condType shipper.ReleaseConditionType) *shipper.ReleaseCondition
func GetSiblingReleases ¶ added in v0.8.0
func HasEmptyEnvironment ¶ added in v0.3.0
func NewReleaseCondition ¶
func NewReleaseCondition(condType shipper.ReleaseConditionType, status corev1.ConditionStatus, reason, message string) *shipper.ReleaseCondition
func ReleaseAchievedTargetStep ¶ added in v0.8.0
func ReleaseComplete ¶
func ReleaseProgressing ¶
func ReleaseScheduled ¶
func ReleaseStrategyExecuted ¶ added in v0.8.0
func RemoveReleaseCondition ¶
func RemoveReleaseCondition(status shipper.ReleaseStatus, condType shipper.ReleaseConditionType)
func SetGeneration ¶
func SetIteration ¶
func SetReleaseCondition ¶
func SetReleaseCondition(status *shipper.ReleaseStatus, condition shipper.ReleaseCondition) diff.Diff
Types ¶
type ByGenerationAscending ¶
func (ByGenerationAscending) Len ¶
func (a ByGenerationAscending) Len() int
func (ByGenerationAscending) Less ¶
func (a ByGenerationAscending) Less(i, j int) bool
func (ByGenerationAscending) Swap ¶
func (a ByGenerationAscending) Swap(i, j int)
type ByGenerationDescending ¶
func (ByGenerationDescending) Len ¶
func (a ByGenerationDescending) Len() int
func (ByGenerationDescending) Less ¶
func (a ByGenerationDescending) Less(i, j int) bool
func (ByGenerationDescending) Swap ¶
func (a ByGenerationDescending) Swap(i, j int)
type ReleaseConditionDiff ¶ added in v0.7.0
type ReleaseConditionDiff struct {
// contains filtered or unexported fields
}
func NewReleaseConditionDiff ¶ added in v0.7.0
func NewReleaseConditionDiff(c1, c2 *shipper.ReleaseCondition) *ReleaseConditionDiff
func (*ReleaseConditionDiff) IsEmpty ¶ added in v0.7.0
func (d *ReleaseConditionDiff) IsEmpty() bool
func (*ReleaseConditionDiff) String ¶ added in v0.7.0
func (d *ReleaseConditionDiff) String() string
Click to show internal directories.
Click to hide internal directories.