Help us shape the future of Go! Take the 2026 Go Developer Survey

catalogmetadata

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MediaTypePlain          = "plain+v0"
	MediaTypeRegistry       = "registry+v1"
	PropertyBundleMediaType = "olm.bundle.mediatype"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	declcfg.Bundle
	CatalogName string
	InChannels  []*Channel
	// contains filtered or unexported fields
}

func (*Bundle) MediaType

func (b *Bundle) MediaType() (string, error)

func (*Bundle) RequiredPackages

func (b *Bundle) RequiredPackages() ([]PackageRequired, error)

func (*Bundle) Version

func (b *Bundle) Version() (*bsemver.Version, error)

type Channel

type Channel struct {
	declcfg.Channel
}

type Package

type Package struct {
	declcfg.Package
}

type PackageRequired

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

type Schemas

type Schemas interface {
	Package | Bundle | Channel
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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