Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortChanges ¶
func SortChanges(changes []Change)
SortChanges keeps plan output stable across platforms and tests.
Types ¶
type AgentID ¶
type AgentID string
AgentID identifies an agent integration supported by configure.
func ParseAgent ¶
ParseAgent validates an agent flag value.
type ApplyFailure ¶
ApplyFailure records one configuration change that could not be applied.
type ApplyResult ¶
type ApplyResult struct {
Applied []Change
Failures []ApplyFailure
}
ApplyResult reports every successful and failed configuration change.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager detects, plans, applies, and checks agent integrations.
func (*Manager) Apply ¶
func (m *Manager) Apply(ctx context.Context, changes []Change) ApplyResult
Apply performs every change in a previously confirmed plan and reports all outcomes.
Click to show internal directories.
Click to hide internal directories.