olmcatalog

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 Imports: 23 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
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleGenerator added in v0.18.0

type BundleGenerator struct {
	// OperatorName is the operator's name, ex. app-operator
	OperatorName string
	OutputDir    string
	FromVersion  string
	// csvVersion is the CSV current version.
	CSVVersion string
	// These directories specify where to retrieve manifests from.
	DeployDir, ApisDir, CRDsDir string
	// InteractivePreference refers to the user preference to enable/disable
	// interactive prompts.
	InteractivePreference projutil.InteractiveLevel
	// updateCRDs directs the generator to also add CustomResourceDefinition
	// manifests to the bundle.
	UpdateCRDs bool
	// makeManifests directs the generator to use 'manifests' as the bundle
	// dir name.
	MakeManifests bool
	// contains filtered or unexported fields
}

func (BundleGenerator) Generate added in v0.18.0

func (g BundleGenerator) Generate() error

Generate allows a CSV to be written by marshalling olmapiv1alpha1.ClusterServiceVersion instead of writing to a template.

type PkgGenerator added in v0.18.0

type PkgGenerator struct {
	OperatorName string
	OutputDir    string
	// csvVersion is the version of the CSV being updated.
	CSVVersion string
	// channel is csvVersion's package manifest channel. If a new package
	// manifest is generated, this channel will be the manifest default.
	Channel string
	// If channelIsDefault is true, channel will be the package manifests'
	// default channel.
	ChannelIsDefault bool
	// contains filtered or unexported fields
}

func (PkgGenerator) Generate added in v0.18.0

func (g PkgGenerator) Generate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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