release

package
v0.2.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConditionsShouldDiscardTimestamps = false

Functions

func ApplicationNameForRelease

func ApplicationNameForRelease(rel *shipper.Release) (string, error)

func GetGeneration

func GetGeneration(release *shipper.Release) (int, error)

func IsEmpty

func IsEmpty(rel *shipper.Release) bool

func NewReleaseCondition

func NewReleaseCondition(condType shipper.ReleaseConditionType, status corev1.ConditionStatus, reason, message string) *shipper.ReleaseCondition

func ReleaseComplete

func ReleaseComplete(release *shipper.Release) bool

func ReleaseInstalled

func ReleaseInstalled(release *shipper.Release) bool

func ReleaseProgressing

func ReleaseProgressing(release *shipper.Release) bool

func ReleaseScheduled

func ReleaseScheduled(release *shipper.Release) bool

func RemoveReleaseCondition

func RemoveReleaseCondition(status shipper.ReleaseStatus, condType shipper.ReleaseConditionType)

func SetGeneration

func SetGeneration(release *shipper.Release, generation int)

func SetIteration

func SetIteration(release *shipper.Release, iteration int)

func SetReleaseCondition

func SetReleaseCondition(status *shipper.ReleaseStatus, condition shipper.ReleaseCondition)

func SortByGenerationAscending

func SortByGenerationAscending(rels []*shipper.Release) []*shipper.Release

func SortByGenerationDescending

func SortByGenerationDescending(rels []*shipper.Release) []*shipper.Release

Types

type ByGenerationAscending

type ByGenerationAscending []*shipper.Release

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

type ByGenerationDescending []*shipper.Release

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)

Jump to

Keyboard shortcuts

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