Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager, products []string) error
- type EnqueueIntegreatlyOwner
- func (e *EnqueueIntegreatlyOwner) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueIntegreatlyOwner) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueIntegreatlyOwner) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueIntegreatlyOwner) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type ReconcileInstallation
- type Reconciler
- type Stage
- type Type
Constants ¶
View Source
const ( IntegreatlyOwnerNamespace = "integreatly-namespace" IntegreatlyOwnerName = "integreatly-name" )
View Source
const ( DefaultInstallationName = "rhmi" DefaultInstallationConfigMapName = "installation-config" DefaultInstallationPrefix = "redhat-rhmi-" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnqueueIntegreatlyOwner ¶
type EnqueueIntegreatlyOwner struct { }
func (*EnqueueIntegreatlyOwner) Create ¶
func (e *EnqueueIntegreatlyOwner) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
func (*EnqueueIntegreatlyOwner) Delete ¶
func (e *EnqueueIntegreatlyOwner) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
func (*EnqueueIntegreatlyOwner) Generic ¶
func (e *EnqueueIntegreatlyOwner) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
func (*EnqueueIntegreatlyOwner) Update ¶
func (e *EnqueueIntegreatlyOwner) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
type ReconcileInstallation ¶
type ReconcileInstallation struct {
// contains filtered or unexported fields
}
ReconcileInstallation reconciles a Installation object
type Reconciler ¶
type Reconciler struct { ConfigManager config.ConfigReadWriter Config *config.ThreeScale *resources.Reconciler // contains filtered or unexported fields }
func NewBootstrapReconciler ¶
func NewBootstrapReconciler(configManager config.ConfigReadWriter, installation *integreatlyv1alpha1.RHMI, mpm marketplace.MarketplaceInterface, recorder record.EventRecorder) (*Reconciler, error)
func (*Reconciler) GetPreflightObject ¶
func (r *Reconciler) GetPreflightObject(ns string) runtime.Object
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, installation *integreatlyv1alpha1.RHMI, serverClient k8sclient.Client) (integreatlyv1alpha1.StatusPhase, error)
type Stage ¶
type Stage struct { Products map[integreatlyv1alpha1.ProductName]integreatlyv1alpha1.RHMIProductStatus Name integreatlyv1alpha1.StageName }
type Type ¶
type Type struct {
Stages []Stage
}
func (*Type) GetStages ¶
GetProductOrder returns indexed arrays of products names this is worked through starting at 0 the install will not move to the next index until all installs in the current index have completed successfully
func (*Type) HasProduct ¶
Click to show internal directories.
Click to hide internal directories.