Documentation ¶
Index ¶
- func AllPromotionImageStreamTags(configSpec *cioperatorapi.ReleaseBuildConfiguration) sets.Set[string]
- func DetermineReleaseBranch(currentRelease, futureRelease, currentBranch string) (string, error)
- func IsBumpable(branch, currentRelease string) bool
- func PromotesImagesInto(configSpec *cioperatorapi.ReleaseBuildConfiguration, ...) bool
- type FutureOptions
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllPromotionImageStreamTags ¶
func AllPromotionImageStreamTags(configSpec *cioperatorapi.ReleaseBuildConfiguration) sets.Set[string]
AllPromotionImageStreamTags returns a set of all ImageStreamTags this config promotes to.
func DetermineReleaseBranch ¶
DetermineReleaseBranch determines the branch that will be used to the future release, based on the branch that is currently promoting to the current release.
func IsBumpable ¶
IsBumpable determines if the dev branch should be bumped or not
func PromotesImagesInto ¶
func PromotesImagesInto(configSpec *cioperatorapi.ReleaseBuildConfiguration, promotionNamespace, promotionName string) bool
PromotesImagesInto determines if a configuration will result in images being promoted.
Types ¶
type FutureOptions ¶
FutureOptions holds options to load CI Operator configuration and operate on a subset of them to update for future releases.
func (*FutureOptions) Bind ¶
func (o *FutureOptions) Bind(fs *flag.FlagSet)
func (*FutureOptions) Validate ¶
func (o *FutureOptions) Validate() error
type Options ¶
type Options struct { config.ConfirmableOptions CurrentRelease string CurrentPromotionNamespace string }
Options holds options to load CI Operator configuration and select a subset of that configuration to operate on. Configurations can be filtered by current release.
func (*Options) OperateOnCIOperatorConfigDir ¶
func (o *Options) OperateOnCIOperatorConfigDir(configDir string, includeOKD cioperatorapi.OKDInclusion, callback func(*cioperatorapi.ReleaseBuildConfiguration, *config.Info) error) error
OperateOnCIOperatorConfigDir filters the full set of configurations down to those that were selected by the user with promotion options