Documentation
¶
Overview ¶
Package resourcepack plans and applies immutable, parameterized resource configuration packages. It deliberately has no provider or guest-transport dependency: those are supplied by the executor at the application boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRegistryRequired = errors.New("resource package registry is required") ErrExecutorRequired = errors.New("resource package executor is required") ErrUnsupportedMethod = errors.New("resource package method is not supported") ErrInvalidManifest = errors.New("resource package manifest is invalid") ErrInvalidPackageScope = errors.New("resource package scope is invalid for event") )
Functions ¶
This section is empty.
Types ¶
type AppliedPackage ¶
type Manifest ¶
type Manifest struct {
Name string `json:"name" yaml:"name"`
Version string `json:"version" yaml:"version"`
Method Method `json:"method" yaml:"method"`
Scopes []Scope `json:"scopes" yaml:"scopes"`
Events []Event `json:"events" yaml:"events"`
Defaults map[string]any `json:"defaults,omitempty" yaml:"defaults,omitempty"`
Inputs map[string]any `json:"inputs,omitempty" yaml:"inputs,omitempty"`
}
Manifest is the typed content of a published resource package.
type Plan ¶
type Plan struct {
Target Target
Event Event
Packages []PlannedPackage
}
type PlannedPackage ¶
type Request ¶
type Request struct {
Target Target
Event Event
Scope Scope
References []string
Overrides map[string]any
Applied []AppliedPackage
}
Request describes one lifecycle package application.
Click to show internal directories.
Click to hide internal directories.