Documentation
¶
Overview ¶
Package development implements controller-owned Git and publication actions.
Index ¶
- type PublicationPolicy
- type Runtime
- func (r *Runtime) Admission(ctx context.Context, all map[string]*workflows.Workflow) (map[string]any, error)
- func (r *Runtime) Cleanup(ctx context.Context, id string) error
- func (r *Runtime) CleanupOwned(ctx context.Context, id string, owner *ownership.Lock) error
- func (r *Runtime) RunAction(ctx context.Context, req workflows.ActionRequest) (map[string]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicationPolicy ¶
type Runtime ¶
type Runtime struct {
Secrets map[string]string
Root string
Store *workflows.SQLiteStore
Policy PublicationPolicy
// contains filtered or unexported fields
}
func (*Runtime) CleanupOwned ¶
CleanupOwned journals each filesystem/effect boundary before removal. The tombstone remains after the run records are deleted, making retries idempotent.
Click to show internal directories.
Click to hide internal directories.