catalogmetadata

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func (b *Bundle) HasDeprecation() bool

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

func (b *Bundle) IsDeprecated() bool

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)

func (*Bundle) Version

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

type Channel

type Channel struct {
	declcfg.Channel
}

type Deprecation added in v0.10.0

type Deprecation struct {
	declcfg.Deprecation
}

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 | Deprecation
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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