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.
Click to show internal directories.
Click to hide internal directories.