controller

package
v0.0.0-...-31b15bb Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: AGPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CASPolicyName = "cas-policy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartCh

type ChartCh struct {
	Name string
	Err  error
}

type DataPlaneReconciler

type DataPlaneReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	// reconcile time duration, defaults to 10s
	ReconcileWait   time.Duration
	Recorder        record.EventRecorder
	Predicates      predicate.Predicate
	NgStore         store.Store
	CustomerName    string
	EnablePrivate   bool
	InClusterClient client.Client
}

DataPlaneReconciler reconciles a Environment object

func NewDataplaneReconciler

func NewDataplaneReconciler(mgr ctrl.Manager, enablePrivate bool, customerName string) *DataPlaneReconciler

func (*DataPlaneReconciler) Reconcile

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

+kubebuilder:rbac:groups=baaz.dev,resources=dataplanes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=baaz.dev,resources=dataplanes/status,verbs=get;update;patch +kubebuilder:rbac:groups=baaz.dev,resources=dataplanes/finalizers,verbs=update

func (*DataPlaneReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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