registry

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DefaultIndexImage is the index base image used if none is specified. It contains no bundles.
	// TODO(v2.0.0): pin this image tag to a specific version.
	DefaultIndexImage = defaultIndexImageBase + "latest"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogCreator

type CatalogCreator interface {
	CreateCatalog(ctx context.Context, name string) (*v1alpha1.CatalogSource, error)
}

type CatalogUpdater added in v1.3.0

type CatalogUpdater interface {
	UpdateCatalog(ctx context.Context, cs *v1alpha1.CatalogSource) error
}

type ConfigMapCatalogCreator

type ConfigMapCatalogCreator struct {
	Package *apimanifests.PackageManifest
	Bundles []*apimanifests.Bundle
	// contains filtered or unexported fields
}

func NewConfigMapCatalogCreator

func NewConfigMapCatalogCreator(cfg *operator.Configuration) *ConfigMapCatalogCreator

func (ConfigMapCatalogCreator) CreateCatalog

func (c ConfigMapCatalogCreator) CreateCatalog(ctx context.Context, name string) (*v1alpha1.CatalogSource, error)

type IndexImageCatalogCreator

type IndexImageCatalogCreator struct {
	PackageName   string
	IndexImage    string
	BundleImage   string
	SkipTLS       bool
	BundleAddMode index.BundleAddMode
	SecretName    string
	CASecretName  string
	// contains filtered or unexported fields
}

func NewIndexImageCatalogCreator

func NewIndexImageCatalogCreator(cfg *operator.Configuration) *IndexImageCatalogCreator

func (*IndexImageCatalogCreator) BindFlags added in v1.6.0

func (c *IndexImageCatalogCreator) BindFlags(fs *pflag.FlagSet)

func (IndexImageCatalogCreator) CreateCatalog

func (IndexImageCatalogCreator) UpdateCatalog added in v1.3.0

UpdateCatalog links a new registry pod in catalog source by updating the address and annotations, then deletes existing registry pod based on annotation name found in catalog source object

type OperatorInstaller

type OperatorInstaller struct {
	CatalogSourceName     string
	PackageName           string
	StartingCSV           string
	Channel               string
	InstallMode           operator.InstallMode
	CatalogCreator        CatalogCreator
	CatalogUpdater        CatalogUpdater
	SupportedInstallModes sets.String
	// contains filtered or unexported fields
}

func NewOperatorInstaller

func NewOperatorInstaller(cfg *operator.Configuration) *OperatorInstaller

func (OperatorInstaller) InstallOperator

func (OperatorInstaller) UpgradeOperator added in v1.3.0

Notes

Bugs

  • if namespace is not contained in targetNamespaces, DoCSVWait will fail because the CSV is not deployed in namespace.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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