entities

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

type BundleEntity struct {
	*input.Entity
	// contains filtered or unexported fields
}

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 ChannelEntry struct {
	Name     string `json:"name"`
	Replaces string `json:"replaces"`
}

type GVK

type GVK property.GVK

func (GVK) String

func (g GVK) String() string

type GVKRequired

type GVKRequired property.GVKRequired

func (GVKRequired) AsGVK

func (g GVKRequired) AsGVK() GVK

func (GVKRequired) String

func (g GVKRequired) String() string

type MediaType

type MediaType string

type PackageRequired

type PackageRequired struct {
	property.PackageRequired
	SemverRange *semver.Range `json:"-"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL