backend

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Backend 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 ReconcileBackend

type ReconcileBackend struct {
	*reconcilers.BaseReconciler
}

ReconcileBackend reconciles a Backend object

func (*ReconcileBackend) Reconcile

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

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

type StatusReconciler

type StatusReconciler struct {
	*reconcilers.BaseReconciler
	// contains filtered or unexported fields
}

func NewStatusReconciler

func NewStatusReconciler(b *reconcilers.BaseReconciler, backendResource *capabilitiesv1beta1.Backend, backendAPIEntity *controllerhelper.BackendAPIEntity, providerAccountHost string, syncError error) *StatusReconciler

func (*StatusReconciler) Reconcile

func (s *StatusReconciler) Reconcile() (reconcile.Result, error)

type ThreescaleReconciler

type ThreescaleReconciler struct {
	*reconcilers.BaseReconciler
	// contains filtered or unexported fields
}

func NewThreescaleReconciler

func NewThreescaleReconciler(b *reconcilers.BaseReconciler,
	backendResource *capabilitiesv1beta1.Backend,
	threescaleAPIClient *threescaleapi.ThreeScaleClient,
	backendRemoteIndex *controllerhelper.BackendAPIRemoteIndex,
	providerAccount *controllerhelper.ProviderAccount,
) *ThreescaleReconciler

func (*ThreescaleReconciler) Reconcile

Jump to

Keyboard shortcuts

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