installation

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 41 Imported by: 2

Documentation

Index

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

func Add

func Add(mgr manager.Manager, products []string) error

Add creates a new Installation Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type EnqueueIntegreatlyOwner

type EnqueueIntegreatlyOwner struct {
}

func (*EnqueueIntegreatlyOwner) Create

func (*EnqueueIntegreatlyOwner) Delete

func (*EnqueueIntegreatlyOwner) Generic

func (*EnqueueIntegreatlyOwner) Update

type ReconcileInstallation

type ReconcileInstallation struct {
	// contains filtered or unexported fields
}

ReconcileInstallation reconciles a Installation object

func (*ReconcileInstallation) Reconcile

func (r *ReconcileInstallation) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Installation object and makes changes based on the state read and what is in the Installation.Spec

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 Type

type Type struct {
	Stages []Stage
}

func TypeFactory

func TypeFactory(installationType string, products []string) (*Type, error)

func (*Type) GetStages

func (t *Type) GetStages() []Stage

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

func (t *Type) HasProduct(product string) bool

Jump to

Keyboard shortcuts

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