Documentation ¶
Index ¶
- func ValidateAddonLabel(metabundle utils.MetaBundle) (bool, error)
- func ValidateCSVPresent(metabundle utils.MetaBundle) (bool, error)
- func ValidateDefaultChannel(metabundle utils.MetaBundle) (bool, error)
- type ValidatorAddonLabelTestBundle
- type ValidatorDefaultChannelTestBundle
- func (val ValidatorDefaultChannelTestBundle) FailingCandidates() []utils.MetaBundle
- func (val ValidatorDefaultChannelTestBundle) Name() string
- func (val ValidatorDefaultChannelTestBundle) Run(mb utils.MetaBundle) (bool, error)
- func (val ValidatorDefaultChannelTestBundle) SucceedingCandidates() []utils.MetaBundle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAddonLabel ¶
func ValidateAddonLabel(metabundle utils.MetaBundle) (bool, error)
ValidateAddonLabel validates whether the 'label' field under an addon.yaml follows the format 'api.openshift.com/addon-<id>'
func ValidateCSVPresent ¶
func ValidateCSVPresent(metabundle utils.MetaBundle) (bool, error)
func ValidateDefaultChannel ¶
func ValidateDefaultChannel(metabundle utils.MetaBundle) (bool, error)
ValidateDefaultChannel validates whether the 'defaultChannel' provided under an addon.yaml also exists under 'channels' field
Types ¶
type ValidatorAddonLabelTestBundle ¶
type ValidatorAddonLabelTestBundle struct{}
func (ValidatorAddonLabelTestBundle) FailingCandidates ¶
func (val ValidatorAddonLabelTestBundle) FailingCandidates() []utils.MetaBundle
func (ValidatorAddonLabelTestBundle) Name ¶
func (val ValidatorAddonLabelTestBundle) Name() string
func (ValidatorAddonLabelTestBundle) Run ¶
func (val ValidatorAddonLabelTestBundle) Run(mb utils.MetaBundle) (bool, error)
func (ValidatorAddonLabelTestBundle) SucceedingCandidates ¶
func (val ValidatorAddonLabelTestBundle) SucceedingCandidates() []utils.MetaBundle
type ValidatorDefaultChannelTestBundle ¶
type ValidatorDefaultChannelTestBundle struct{}
func (ValidatorDefaultChannelTestBundle) FailingCandidates ¶
func (val ValidatorDefaultChannelTestBundle) FailingCandidates() []utils.MetaBundle
func (ValidatorDefaultChannelTestBundle) Name ¶
func (val ValidatorDefaultChannelTestBundle) Name() string
func (ValidatorDefaultChannelTestBundle) Run ¶
func (val ValidatorDefaultChannelTestBundle) Run(mb utils.MetaBundle) (bool, error)
func (ValidatorDefaultChannelTestBundle) SucceedingCandidates ¶
func (val ValidatorDefaultChannelTestBundle) SucceedingCandidates() []utils.MetaBundle
Click to show internal directories.
Click to hide internal directories.