Documentation
¶
Index ¶
- Variables
- func Create(workspace string, manifest Manifest) (string, error)
- func CreateExample(workspace string) (string, error)
- func ManifestPath(workspace string) string
- func Validate(manifest Manifest) error
- type Environment
- type Manifest
- type PackReference
- type Project
- type Provider
- type Publish
- type ReleaseConfirmationPolicy
- type RevisionMismatchError
- type Snapshot
- type Source
- type Store
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Create ¶
Create initializes the manifest and its managed-file source state. Provider project IDs may intentionally be empty during onboarding.
func CreateExample ¶
func ManifestPath ¶
Types ¶
type Environment ¶
type Manifest ¶
type Manifest struct {
Version int `yaml:"version" json:"version"`
Project Project `yaml:"project" json:"project"`
Pack PackReference `yaml:"pack" json:"pack"`
Source Source `yaml:"source" json:"source"`
Environments []Environment `yaml:"environments" json:"environments"`
}
type PackReference ¶
type PackReference struct {
ID string `yaml:"id" json:"id"`
}
type Project ¶
type Project struct {
ID string `yaml:"id" json:"id"`
Name string `yaml:"name" json:"name"`
ReleaseConfirmationPolicy ReleaseConfirmationPolicy `yaml:"release_confirmation_policy" json:"release_confirmation_policy"`
}
type Publish ¶
type Publish struct {
RequiresConfirmation bool `yaml:"requires_confirmation" json:"requires_confirmation"`
}
type ReleaseConfirmationPolicy ¶
type ReleaseConfirmationPolicy struct {
ProductionLowRiskMode string `yaml:"production_low_risk_mode" json:"production_low_risk_mode"`
}
ReleaseConfirmationPolicy is project-level by ADR-006. Empty values from older manifests resolve to environment_id during plan construction.
type RevisionMismatchError ¶
func (*RevisionMismatchError) Error ¶
func (e *RevisionMismatchError) Error() string
func (*RevisionMismatchError) Unwrap ¶
func (e *RevisionMismatchError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.