instancecontroller

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceReadyTimeout                 = 20 * time.Minute
	DatabaseInstanceReadyTimeoutSeeded   = 20 * time.Minute
	DatabaseInstanceReadyTimeoutUnseeded = 60 * time.Minute // 60 minutes because it can take 50+ minutes to create an unseeded CDB

)

Variables

View Source
var CheckStatusInstanceFunc = controllers.CheckStatusInstanceFunc

Functions

func CloneMap

func CloneMap(source map[string]string) map[string]string

Types

type InstanceReconciler

type InstanceReconciler struct {
	client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	Images        map[string]string
	ClientFactory controllers.ConfigAgentClientFactory
	Recorder      record.EventRecorder
}

InstanceReconciler reconciles an Instance object.

func (*InstanceReconciler) Reconcile

func (r *InstanceReconciler) Reconcile(_ context.Context, req ctrl.Request) (_ ctrl.Result, respErr error)

func (*InstanceReconciler) SetupWithManager

func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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