controllers

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelKeyOwner       = "cs.sap.com/owner"
	AnnotationKeyDigest = "cs.sap.com/digest"
	AnnotationKeyTTL    = "cs.sap.com/ttl"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectReconciler

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

ProjectReconciler reconciles a Project object

func NewProjectReconciler

func NewProjectReconciler(client client.Client, scheme *runtime.Scheme, options ProjectReconcilerOptions) *ProjectReconciler

NewProjectReconciler creates a ProjectReconciler object

func (*ProjectReconciler) Reconcile

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

func (*ProjectReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ProjectReconcilerOptions

type ProjectReconcilerOptions struct {
	NamespacePrefix   string
	AdminClusterRole  string
	ViewerClusterRole string
	EnableClusterView bool
}

ProjectReconcilerOptions defines options for a ProjectReconciler

Jump to

Keyboard shortcuts

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