Documentation
¶
Index ¶
- Constants
- type BundleEntity
- func (b *BundleEntity) BundleChannelEntry() (*ChannelEntry, error)
- func (b *BundleEntity) BundlePath() (string, error)
- func (b *BundleEntity) Channel() (*property.Channel, error)
- func (b *BundleEntity) ChannelName() (string, error)
- func (b *BundleEntity) MediaType() (string, error)
- func (b *BundleEntity) PackageName() (string, error)
- func (b *BundleEntity) ProvidedGVKs() ([]GVK, error)
- func (b *BundleEntity) RequiredGVKs() ([]GVKRequired, error)
- func (b *BundleEntity) RequiredPackages() ([]PackageRequired, error)
- func (b *BundleEntity) Version() (*semver.Version, error)
- type ChannelEntry
- type GVK
- type GVKRequired
- type MediaType
- type PackageRequired
Constants ¶
View Source
const ( MediaTypePlain = "plain+v0" MediaTypeRegistry = "registry+v1" )
View Source
const PropertyBundleChannelEntry = "olm.bundle.channelEntry"
View Source
const PropertyBundleMediaType = "olm.bundle.mediatype"
View Source
const PropertyBundlePath = "olm.bundle.path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleEntity ¶
func NewBundleEntity ¶
func NewBundleEntity(entity *input.Entity) *BundleEntity
func (*BundleEntity) BundleChannelEntry ¶ added in v0.4.0
func (b *BundleEntity) BundleChannelEntry() (*ChannelEntry, error)
func (*BundleEntity) BundlePath ¶
func (b *BundleEntity) BundlePath() (string, error)
func (*BundleEntity) Channel ¶ added in v0.4.0
func (b *BundleEntity) Channel() (*property.Channel, error)
func (*BundleEntity) ChannelName ¶
func (b *BundleEntity) ChannelName() (string, error)
func (*BundleEntity) MediaType ¶
func (b *BundleEntity) MediaType() (string, error)
func (*BundleEntity) PackageName ¶
func (b *BundleEntity) PackageName() (string, error)
func (*BundleEntity) ProvidedGVKs ¶
func (b *BundleEntity) ProvidedGVKs() ([]GVK, error)
func (*BundleEntity) RequiredGVKs ¶
func (b *BundleEntity) RequiredGVKs() ([]GVKRequired, error)
func (*BundleEntity) RequiredPackages ¶
func (b *BundleEntity) RequiredPackages() ([]PackageRequired, error)
func (*BundleEntity) Version ¶
func (b *BundleEntity) Version() (*semver.Version, error)
type ChannelEntry ¶ added in v0.4.0
type GVKRequired ¶
type GVKRequired property.GVKRequired
func (GVKRequired) AsGVK ¶
func (g GVKRequired) AsGVK() GVK
func (GVKRequired) String ¶
func (g GVKRequired) String() string
type PackageRequired ¶
type PackageRequired struct { property.PackageRequired SemverRange *semver.Range `json:"-"` }
Click to show internal directories.
Click to hide internal directories.