Documentation ¶
Index ¶
- func LabelsOnISTagImage(ctx context.Context, client ctrlruntimeclient.Client, ...) (map[string]string, error)
- func MergeImageStreamTagMaps(target ImageStreamTagMap, toMerge ...ImageStreamTagMap)
- func TestInputImageStreamsFromResolvedConfig(cfg api.ReleaseBuildConfiguration) []types.NamespacedName
- type ImageStreamTagMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelsOnISTagImage ¶
func LabelsOnISTagImage(ctx context.Context, client ctrlruntimeclient.Client, isTag *imagev1.ImageStreamTag, arch api.ReleaseArchitecture) (map[string]string, error)
LabelsOnISTagImage the labels of the image underlying the given ImageStreamTag for the given arch
func MergeImageStreamTagMaps ¶
func MergeImageStreamTagMaps(target ImageStreamTagMap, toMerge ...ImageStreamTagMap)
MergeImageStramTagMaps merges multiple ImageStreamTagMaps together
func TestInputImageStreamsFromResolvedConfig ¶
func TestInputImageStreamsFromResolvedConfig(cfg api.ReleaseBuildConfiguration) []types.NamespacedName
Types ¶
type ImageStreamTagMap ¶
type ImageStreamTagMap map[string]types.NamespacedName
ImageStreamTagMap is a map [types.NamespacedName.String()]types.NamespacedName of ImagestreamTags
func TestInputImageStreamTagsFromResolvedConfig ¶
func TestInputImageStreamTagsFromResolvedConfig(cfg api.ReleaseBuildConfiguration, repoFileGetter func(org, repo, branch string, _ ...github.Opt) github.FileGetter) (ImageStreamTagMap, error)
TestInputImageStreamTagsFromResolvedConfig returns all ImageStreamTags referenced anywhere in the config as input. It only returns their namespace and name and drops the cluster field, as we plan to remove that. The key is in namespace/name format. It assumes that the config is already resolved, i.E. that MultiStageTestConfiguration is always nil and MultiStageTestConfigurationLiteral gets set instead
func (ImageStreamTagMap) String ¶
func (istm ImageStreamTagMap) String() string