restapi

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "restapi-controller"

	// BackoffGCInterval is the time that has to pass before next iteration of backoff GC is run
	BackoffGCInterval = 1 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RestapiReconciler

type RestapiReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

RestapiReconciler reconciles a Restapi object

func NewReconciler

func NewReconciler(c client.Client) *RestapiReconciler

func (*RestapiReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*RestapiReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*RestapiReconciler) Sync

Sync implements control logic for synchronizing a Restapi.

type SyncStep

type SyncStep struct {
	Name string
	Sync func(ctx context.Context, cluster *slinkyv1beta1.RestApi) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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