Documentation
¶
Overview ¶
Package extensioninput defines the persistence boundary for non-secret extension inputs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConflict = errors.New("extension inputs changed since preparation")
Functions ¶
This section is empty.
Types ¶
type Instance ¶
Instance addresses one exact cell; values do not cross profile or workspace boundaries.
type Mutation ¶
Mutation carries rollback before-images; nil Before expects no row and nil After removes the row.
type Store ¶
type Store interface {
List(context.Context, Instance) (map[string]Record, error)
Apply(context.Context, Instance, []Mutation) error
}
Store reads one instance and applies a complete mutation batch atomically.
type Value ¶
type Value struct {
Value json.RawMessage `json:"value,omitempty"`
VaultRef *string `json:"vault_ref,omitzero"`
}
Value is one install/update input: exactly one of Value or VaultRef must be supplied.
Click to show internal directories.
Click to hide internal directories.