Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstallationConfig ¶
type InstallationConfig struct {
Channel3scale string
Channel3scaleAPIcast string
ChannelAMQBroker string
ChannelAMQInterconnect string
ChannelAMQStreams string
ChannelAPIDesigner string
ChannelCamelK string
ChannelFuseConsole string
ChannelFuseOnline string
ChannelServiceRegistry string
}
InstallationConfig stores configuration required for the installation of the product operators
type InstallationPlan ¶
type InstallationPlan struct {
Channel string
ConditionType string
Enabled bool
Mode string
Name string
Namespace string
PackageName string
StatusMessage string
}
InstallationPlan defines the information required for the installation of an operator via OLM
func CreateInstallationPlans ¶
func CreateInstallationPlans(installation *integrationv1.Installation, config *InstallationConfig) []*InstallationPlan
CreateInstallationPlans returns installation plans updated with values from the Installation CR
func (*InstallationPlan) IsClusterMode ¶
func (ip *InstallationPlan) IsClusterMode() bool
IsClusterMode returns true when the installation mode is 'cluster'
func (*InstallationPlan) IsNamespaceMode ¶
func (ip *InstallationPlan) IsNamespaceMode() bool
IsNamespaceMode returns true when the installation mode is 'namespace'
type InstallationReconciler ¶
type InstallationReconciler struct {
client.Client
Scheme *runtime.Scheme
APIReader client.Reader
Config *InstallationConfig
}
InstallationReconciler reconciles a Installation object
func (*InstallationReconciler) Reconcile ¶
func (r *InstallationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is called when watch events happen
func (*InstallationReconciler) SetupWithManager ¶
func (r *InstallationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager configures the controller
Click to show internal directories.
Click to hide internal directories.