operator

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations

type Annotations struct {
	PackageName        string
	Channels           []string
	DefaultChannelName string
}

func NewAnnotationsFromRegistryAnnotations

func NewAnnotationsFromRegistryAnnotations(as registry.Annotations) Annotations

type Bundle

type Bundle struct {
	Annotations           Annotations
	ClusterServiceVersion ClusterServiceVersion
	BundleImage           string
	Channels              []string
	Name                  string
	Package               string
	Version               string
}

func HeadBundle

func HeadBundle(bundles ...Bundle) (Bundle, bool)

func NewBundleFromDirectory

func NewBundleFromDirectory(path string) (Bundle, error)

func NewBundleFromRegistryBundle

func NewBundleFromRegistryBundle(b registry.Bundle) (Bundle, error)

func (*Bundle) GetNameVersion

func (b *Bundle) GetNameVersion() string

type ClusterServiceVersion

type ClusterServiceVersion struct {
	Name                              string
	OwnedCustomResourceDefinitions    []CustomResourceDefinition
	RequiredCustomResourceDefinitions []CustomResourceDefinition
	Spec                              opsv1alpha1.ClusterServiceVersionSpec
}

func NewClusterServiceVersionfromRegistryCSV

func NewClusterServiceVersionfromRegistryCSV(csv registry.ClusterServiceVersion) (ClusterServiceVersion, error)

type CustomResourceDefinition

type CustomResourceDefinition struct {
	Name                 string
	Group, Kind, Version string
}

func NewCustomeResourceDefinitionFromRegistryDefinitionKey

func NewCustomeResourceDefinitionFromRegistryDefinitionKey(key registry.DefinitionKey) CustomResourceDefinition

type OrderedBundles

type OrderedBundles []Bundle

func (OrderedBundles) Len

func (l OrderedBundles) Len() int

func (OrderedBundles) Less

func (l OrderedBundles) Less(i, j int) bool

func (OrderedBundles) Swap

func (l OrderedBundles) Swap(i, j int)

Jump to

Keyboard shortcuts

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