Documentation
¶
Overview ¶
Package apply verifies approved plans and hands their actions to a trusted executor while recording redacted state and history.
The apply package is part of Ramen's supported v0.1 core API.
Index ¶
- Constants
- func BuildActionDocument(resource tfplan.ResourcePlan, sourcePaths map[string]string) (*uws1.Document, error)
- func BuildActionDocumentWithBindings(resource tfplan.ResourcePlan, sourcePaths map[string]string, ...) (*uws1.Document, error)
- func ExecutorEventSink(store *state.Store) executor.EventSink
- type APISourceInput
- type ExecutedAction
- type Options
- type Result
- type Summary
Constants ¶
View Source
const Version = "ramen.apply.v1"
Variables ¶
This section is empty.
Functions ¶
func BuildActionDocument ¶
Types ¶
type APISourceInput ¶
type APISourceInput = tfplan.APISourceInput
type ExecutedAction ¶
type Result ¶
type Result struct {
Version string `json:"version"`
StatePath string `json:"state_path"`
RunID int64 `json:"run_id,omitempty"`
Plan tfplan.Document `json:"plan"`
Summary Summary `json:"summary"`
Executed []ExecutedAction `json:"executed,omitempty"`
Feedback []executor.FeedbackRecord `json:"feedback,omitempty"`
GeneratedDocuments []string `json:"generated_documents,omitempty"`
Errors []string `json:"errors,omitempty"`
}
type Summary ¶
type Summary struct {
Create int `json:"create"`
Update int `json:"update"`
Delete int `json:"delete"`
Post int `json:"post,omitempty"`
Put int `json:"put,omitempty"`
Patch int `json:"patch,omitempty"`
Read int `json:"read"`
NoOp int `json:"no_op"`
Skipped int `json:"skipped"`
Failed int `json:"failed"`
Blocked int `json:"blocked"`
}
Click to show internal directories.
Click to hide internal directories.