operator

package
v0.3.10-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const OperatorsToInitializeArtifactConfigType transformertypes.ConfigType = "OperatorsToInitializeConfig"

OperatorsToInitializeArtifactConfigType is the type for OperatorArtifactConfig config used by OperatorArtifactType artifacts.

View Source
const OperatorsToInitializeArtifactType transformertypes.ArtifactType = "OperatorsToInitialize"

OperatorsToInitializeArtifactType is the type for an artifact that containing the output of TCA (operator names and URLs).

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallPlanApprovalType

type InstallPlanApprovalType string

InstallPlanApprovalType reprents an OLM automatic or manual install plan.

const (
	// AutomaticApproval means the operator installation is approved automatically.
	AutomaticApproval InstallPlanApprovalType = "Automatic"
	// ManualApproval means the operator installation has to be approved manually.
	ManualApproval InstallPlanApprovalType = "Manual"
)

func (InstallPlanApprovalType) IsValid

func (i InstallPlanApprovalType) IsValid() bool

IsValid returns true if the install plan is valid.

type OperatorArtifactConfig

type OperatorArtifactConfig struct {
	Operators map[string]OperatorArtifactConfigOp `json:"operators,omitempty"`
}

OperatorArtifactConfig represents the data inside a OperatorArtifactType artifact.

type OperatorArtifactConfigOp

type OperatorArtifactConfigOp struct {
	Url                 string                  `json:"url,omitempty"`
	OperatorName        string                  `json:"operatorName"`
	CatalogSource       string                  `json:"catalogSource,omitempty"`
	CatalogChannel      string                  `json:"catalogChannel,omitempty"`
	InstallPlanApproval InstallPlanApprovalType `json:"installPlanApproval,omitempty"`
}

OperatorArtifactConfigOp contains all the info needed to install the operator with OLM.

Jump to

Keyboard shortcuts

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