Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller reconciles AddonAssociation entities, driving provisioning and deprovisioning of addons through their providers.
Implements controller.ReconcileControllerI[*addon_v1alpha.AddonAssociation]
func NewController ¶
func NewController( log *slog.Logger, ec *entityserver.Client, eac *entityserver_v1alpha.EntityAccessClient, registry *addon.Registry, ) *Controller
NewController creates a new addon controller.
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context, assoc *addon_v1alpha.AddonAssociation, meta *entity.Meta) error
type RotationController ¶ added in v0.12.1
type RotationController struct {
// contains filtered or unexported fields
}
RotationController reconciles RotationRequest entities, driving in-place rotation of an addon server credential through the provider's optional CredentialRotator capability.
Rotation is modeled as its own reactive entity rather than an association status because it is server-scoped: one request rotates the credential on the backing server, then redeploys whichever consumers actually embed the rotated secret. Implements controller.ReconcileControllerI[*addon_v1alpha.RotationRequest].
func NewRotationController ¶ added in v0.12.1
func NewRotationController( log *slog.Logger, ec *entityserver.Client, eac *entityserver_v1alpha.EntityAccessClient, registry *addon.Registry, ) *RotationController
NewRotationController creates a new rotation controller.
func (*RotationController) Init ¶ added in v0.12.1
func (c *RotationController) Init(ctx context.Context) error
func (*RotationController) Reconcile ¶ added in v0.12.1
func (c *RotationController) Reconcile(ctx context.Context, req *addon_v1alpha.RotationRequest, meta *entity.Meta) error