Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageReleaseIndex ¶
func ImageReleaseIndex(kcdConfig *model.KubeCDConfig, filters ...ReleaseFilterFunc) (map[string][]*model.Release, error)
func TestHelperProcess ¶
TestHelperProcess is required boilerplate (one per package) for using exec.TestRunner
Types ¶
type ChartUpdate ¶
type ImageUpdate ¶
type ImageUpdate struct {
OldTag string
NewTag string
Release *model.Release
TagValue string
ImageRepo string
Reason string
}
func FindImageUpdatesForRelease ¶
func FindImageUpdatesForRelease(release *model.Release, tagIndex TagIndex) ([]ImageUpdate, error)
type ReleaseFilterFunc ¶
func ClusterReleaseFilter ¶
func ClusterReleaseFilter(clusterName string) ReleaseFilterFunc
func EnvironmentReleaseFilter ¶
func EnvironmentReleaseFilter(envName string) ReleaseFilterFunc
func ImageReleaseFilter ¶
func ImageReleaseFilter(imageRepo string) ReleaseFilterFunc
func ReleaseFilter ¶
func ReleaseFilter(releaseNames []string) ReleaseFilterFunc
type TagIndex ¶
type TagIndex map[string][]image.TimestampedTag
TagIndex maps image repos (without tag) to a list of tags with timestamps
func BuildTagIndexFromNewImageRef ¶
func BuildTagIndexFromNewImageRef(newImageRef *image.DockerImageRef, imageIndex map[string][]*model.Release) TagIndex
BuildTagIndexFromNewImageRef builds a tag index from an image index, with all tags being used from the input image.
func (TagIndex) GetTagTimestamp ¶
func (i TagIndex) GetTagTimestamp(imageRef *image.DockerImageRef) int64
func (TagIndex) GetTags ¶
func (i TagIndex) GetTags(imageRef *image.DockerImageRef) []image.TimestampedTag
Click to show internal directories.
Click to hide internal directories.