olmcatalog

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OLMCatalogChildDir = "olm-catalog"
	// OLMCatalogDir is the default location for OLM catalog directory.
	OLMCatalogDir = scaffold.DeployDir + string(filepath.Separator) + OLMCatalogChildDir

	// DeployDirKey is for the location of the operator manifests directory e.g "deploy/production"
	// The Deployment and RBAC manifests from this directory will be used to populate the CSV
	// install strategy: spec.install
	DeployDirKey = "deploy"
	// APIsDirKey is for the location of the API types directory e.g "pkg/apis"
	// The CSV annotation comments will be parsed from the types under this path.
	APIsDirKey = "apis"
	// CRDsDirKey is for the location of the CRD manifests directory e.g "deploy/crds"
	// Both the CRD and CR manifests from this path will be used to populate CSV fields
	// metadata.annotations.alm-examples for CR examples
	// and spec.customresourcedefinitions.owned for owned CRDs
	CRDsDirKey = "crds"
)

Variables

This section is empty.

Functions

func NewBundle added in v0.17.0

func NewBundle(cfg gen.Config, csvVersion, fromVersion string, updateCRDs, makeManifests bool) gen.Generator

NewBundle creates a new bundle generator.

func NewPackageManifest

func NewPackageManifest(cfg gen.Config, csvVersion, channel string, isDefault bool) gen.Generator

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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