Documentation
¶
Index ¶
Constants ¶
View Source
const (
Finalizer = "addons.projectcapsule.dev/restore"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeWindowReconciler ¶
type ChangeWindowReconciler struct {
client.Client
Reader client.Reader
Scheme *runtime.Scheme
Mapper meta.RESTMapper
Policies *policy.Store
Factory executor.Factory
SystemNamespace string
Now func() time.Time
}
func (*ChangeWindowReconciler) SetupWithManager ¶
func (r *ChangeWindowReconciler) SetupWithManager(mgr ctrl.Manager) error
type Journal ¶
type Journal struct {
Generation int64 `json:"generation"`
Spec api.ChangeWindowSpec `json:"spec"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
Entries []executor.Participant `json:"entries"`
Complete bool `json:"complete,omitempty"`
}
Journal freezes the action plan before mutations. It lives in a controller-only Secret, not public status; optimistic locking prevents losing saved progress.
Click to show internal directories.
Click to hide internal directories.