Help us shape the future of Go! Take the 2026 Go Developer Survey

controlplane

package
v0.0.13 Latest Latest
Warning

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

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

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