Documentation
¶
Overview ¶
Package ownapplication records node custody for Techstack-owned application intent. Catalog and own workloads share the native Compose executor.
Index ¶
- func AccessTable(workspace string, base accessgatetable.Table) (accessgatetable.Table, error)
- func ExtendBackupPolicy(workspace string, p localbackuppolicy.Policy) (localbackuppolicy.Policy, error)
- func Mutating(action string) bool
- func RequireBackupCoverage(p localbackuppolicy.Policy) error
- type Operation
- type Record
- type Request
- type Result
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessTable ¶
func AccessTable(workspace string, base accessgatetable.Table) (accessgatetable.Table, error)
AccessTable extends only the server's already admitted table. Invalid or unsigned custody fails closed; names cannot replace an existing route.
func ExtendBackupPolicy ¶
func ExtendBackupPolicy(workspace string, p localbackuppolicy.Policy) (localbackuppolicy.Policy, error)
func RequireBackupCoverage ¶
func RequireBackupCoverage(p localbackuppolicy.Policy) error
RequireBackupCoverage preserves the installation's existing coverage grant; own application data never silently widens a paid or owner-selected policy.
Types ¶
type Record ¶
type Record struct {
SecretsKept bool `json:"secretsKept,omitempty"`
Generation string `json:"generation"`
Bundle contract.Bundle `json:"bundle"`
PreviousImage string `json:"previousImage,omitempty"`
PreviousResolvedImage string `json:"previousResolvedImage,omitempty"`
State string `json:"state"`
Revision string `json:"revision"`
Operation Operation `json:"operation"`
}
type Request ¶
type Request struct {
Action string `json:"action"`
Name string `json:"name"`
Application *contract.Application `json:"application,omitempty"`
KeepSecrets bool `json:"keepSecrets,omitempty"`
ResolvedImage string `json:"resolvedImage,omitempty"`
SecretMaterial map[string]string `json:"-"`
SecretCommitment string `json:"secretCommitment,omitempty"`
DeleteData bool `json:"deleteData,omitempty"`
OperationID string `json:"operationId,omitempty"`
ReviewDigest string `json:"reviewDigest,omitempty"`
DryRun bool `json:"dryRun,omitempty"`
OwnerApproved bool `json:"-"`
}
type Result ¶
type Result struct {
APIVersion string `json:"apiVersion"`
NetworkNotice string `json:"networkNotice"`
Action string `json:"action"`
DryRun bool `json:"dryRun"`
ReviewDigest string `json:"reviewDigest,omitempty"`
Record Record `json:"record"`
Compose string `json:"compose,omitempty"`
Route *accessgatetable.Route `json:"route,omitempty"`
BackupVolumes []string `json:"backupVolumes"`
Observation json.RawMessage `json:"observation,omitempty"`
ObservationError string `json:"observationError,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.