operator

package
v0.20.1 Latest Latest
Warning

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

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

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