Documentation
¶
Index ¶
- Constants
- type BundleEntity
- func (b *BundleEntity) BundlePath() (string, error)
- func (b *BundleEntity) ChannelName() (string, error)
- func (b *BundleEntity) ChannelProperties() (*ChannelProperties, 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 ChannelProperties
- type GVK
- type GVKRequired
- type MediaType
- type PackageRequired
Constants ¶
View Source
const ( MediaTypePlain = "plain+v0" MediaTypeRegistry = "registry+v1" )
View Source
const PropertyBundleMediaType = "olm.bundle.mediatype"
TODO: Is this the right place for these? ----
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) BundlePath ¶
func (b *BundleEntity) BundlePath() (string, error)
func (*BundleEntity) ChannelName ¶
func (b *BundleEntity) ChannelName() (string, error)
func (*BundleEntity) ChannelProperties ¶
func (b *BundleEntity) ChannelProperties() (*ChannelProperties, 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 ChannelProperties ¶
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.