fbcindex

package
v1.34.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConfigMapEncodingAnnotationKey  = "olm.contentEncoding"
	ConfigMapEncodingAnnotationGzip = "gzip+base64"
)

Variables

This section is empty.

Functions

func GetRegistryPodHost

func GetRegistryPodHost(ipStr string) string

Types

type FBCRegistryPod

type FBCRegistryPod struct {
	// BundleItems contains all bundles to be added to a registry pod.
	BundleItems []index.BundleItem

	// Index image contains a database of pointers to operator manifest content that is queriable via an API.
	// new version of an operator bundle when published can be added to an index image
	IndexImage string

	// InitImage is the image to be used in the registry init container
	InitImage string

	// GRPCPort is the container grpc port
	GRPCPort int32

	// FBCContent represents the contents of the FBC file (string YAML).
	FBCContent string

	// FBCIndexRootDir is the FBC directory that exists under root of an FBC container image.
	// This directory has the File-Based Catalog representation of a catalog index.
	FBCIndexRootDir string

	// SecurityContext defines the security context which will enable the
	// SecurityContext on the Pod
	SecurityContext string
	// contains filtered or unexported fields
}

FBCRegistryPod holds resources necessary for creation of a registry pod in FBC scenarios.

func (*FBCRegistryPod) Create

Create creates a bundle registry pod built from an fbc index image, sets the catalog source as the owner for the pod and verifies that the pod is running

Jump to

Keyboard shortcuts

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