controllers

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// FailedStatus composable status
	FailedStatus = "Failed"

	// PendingStatus - indicates that the Composable object is pending for something
	PendingStatus = "Pending"

	// OnlineStatus - indicates that Composable successfully created underlying objects
	OnlineStatus = "Online"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ComposableReconciler

type ComposableReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	Controller controller.Controller
	Resolver   sdk.ResolveObject
}

ComposableReconciler reconciles a Composable object

func (*ComposableReconciler) Reconcile

func (r *ComposableReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

+kubebuilder:rbac:groups=ibmcloud.ibm.com,resources=composables,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=ibmcloud.ibm.com,resources=composables/status,verbs=get;update;patch +kubebuilder:rbac:groups=ibmcloud.ibm.com,resources=composables/finalizers,verbs=update

func (*ComposableReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ManagerSettableReconciler

type ManagerSettableReconciler interface {
	reconcile.Reconciler
	SetupWithManager(mgr ctrl.Manager) error
}

ManagerSettableReconciler - a Reconciler that can be added to a Manager

func NewReconciler

NewReconciler ...

type ReconcilerOptions

type ReconcilerOptions struct {
	QueriesPerSecond float32
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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