controlplane

package
v1.18.10 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DaprControlPlaneFinalizerName = "controlplane.operator.dapr.io/finalizer"
	DaprControlPlaneResourceName  = "dapr-control-plane"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Configure(ctx context.Context, c *client.Client, b *builder.Builder) (*builder.Builder, error)
	Run(ctx context.Context, rc *ReconciliationRequest) error
	Cleanup(ctx context.Context, rc *ReconciliationRequest) error
}

func NewApplyAction

func NewApplyAction(l logr.Logger) Action

func NewStatusAction

func NewStatusAction(l logr.Logger) Action

type ApplyAction

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

func (*ApplyAction) Cleanup

func (*ApplyAction) Configure

func (*ApplyAction) Run

type Reconciler

type Reconciler struct {
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(ctx context.Context, manager ctrlRt.Manager, o helm.Options) (*Reconciler, error)

func (*Reconciler) Cleanup

func (r *Reconciler) Cleanup(ctx context.Context, res *daprApi.DaprControlPlane) error

func (*Reconciler) Client

func (r *Reconciler) Client() *client.Client

func (*Reconciler) Event

func (r *Reconciler) Event(object runtime.Object, eventType string, reason string, message string)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, res *daprApi.DaprControlPlane) (ctrl.Result, error)

type ReconciliationRequest

type ReconciliationRequest struct {
	*client.Client
	types.NamespacedName

	Reconciler *Reconciler
	Resource   *daprApi.DaprControlPlane
}

type StatusAction

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

StatusAction computes the state of a DaprControlPlane resource out of the owned DaprInstance resource.

func (*StatusAction) Cleanup

func (*StatusAction) Configure

func (*StatusAction) Run

Jump to

Keyboard shortcuts

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