olm

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreparePackage added in v1.2.0

func PreparePackage(r *hub.Repository, md *Metadata) (*hub.Package, error)

PreparePackage prepares a package version using the provided metadata.

Types

type Metadata added in v0.20.0

type Metadata struct {
	Format             string
	Name               string
	Version            string
	Channels           []*hub.Channel
	DefaultChannelName string
	CSV                *operatorsv1alpha1.ClusterServiceVersion
	CSVData            []byte
	CSVPath            string
}

Metadata represents some information about an OLM operator version.

func GetMetadata added in v1.2.0

func GetMetadata(path string) (*Metadata, error)

GetMetadata returns the metadata for the package version located in the path provided.

type TrackerSource

type TrackerSource struct {
	// contains filtered or unexported fields
}

TrackerSource is a hub.TrackerSource implementation for OLM repositories.

func NewTrackerSource

func NewTrackerSource(i *hub.TrackerSourceInput) *TrackerSource

NewTrackerSource creates a new TrackerSource instance.

func (*TrackerSource) GetPackagesAvailable

func (s *TrackerSource) GetPackagesAvailable() (map[string]*hub.Package, error)

GetPackagesAvailable implements the TrackerSource interface.

Jump to

Keyboard shortcuts

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