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(context.Context, *client.Client, *builder.Builder) (*builder.Builder, error) Run(context.Context, *ReconciliationRequest) error Cleanup(context.Context, *ReconciliationRequest) error }
func NewApplyAction ¶
func NewStatusAction ¶
type ApplyAction ¶
type ApplyAction struct {
// contains filtered or unexported fields
}
func (*ApplyAction) Cleanup ¶
func (a *ApplyAction) Cleanup(_ context.Context, _ *ReconciliationRequest) error
func (*ApplyAction) Run ¶
func (a *ApplyAction) Run(ctx context.Context, rr *ReconciliationRequest) error
type Reconciler ¶
type Reconciler struct { *client.Client Scheme *runtime.Scheme ClusterType controller.ClusterType // contains filtered or unexported fields }
func NewReconciler ¶
type ReconciliationRequest ¶
type ReconciliationRequest struct { *client.Client types.NamespacedName Reconciler *Reconciler ClusterType controller.ClusterType 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 (a *StatusAction) Cleanup(_ context.Context, _ *ReconciliationRequest) error
func (*StatusAction) Run ¶
func (a *StatusAction) Run(ctx context.Context, rr *ReconciliationRequest) error
Click to show internal directories.
Click to hide internal directories.