Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct { declcfg.Bundle CatalogName string InChannels []*Channel Deprecations []declcfg.DeprecationEntry // contains filtered or unexported fields }
func (*Bundle) HasDeprecation ¶ added in v0.10.0
HasDeprecation returns true if the bundle has any deprecations associated with it. This may return true even in cases where the bundle may be associated with an olm.channel deprecation but the bundle is not considered "deprecated" because the bundle is selected via a non-deprecated channel.
func (*Bundle) IsDeprecated ¶ added in v0.10.0
IsDeprecated returns true if the bundle has been explicitly deprecated. This can occur if the bundle itself has been deprecated. this function does not take into consideration olm.channel or olm.package deprecations associated with the bundle as a bundle can be present in multiple channels with some channels being deprecated and some not Package deprecation does not carry the same meaning as an individual bundle deprecation, so package deprecation is not considered.
func (*Bundle) RequiredPackages ¶
func (b *Bundle) RequiredPackages() ([]PackageRequired, error)
type Deprecation ¶ added in v0.10.0
type Deprecation struct {
declcfg.Deprecation
}
type PackageRequired ¶
type PackageRequired struct { property.PackageRequired SemverRange bsemver.Range `json:"-"` }