Documentation
¶
Overview ¶
Package dryrun provides dry-run functionality for previewing AMI updates. It implements clean separation of concerns and proper resource management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DryRunResult ¶ added in v0.4.1
type DryRunResult struct {
UpdatesNeeded []NodegroupUpdate
UpdatesSkipped []NodegroupUpdate
AlreadyLatest []NodegroupUpdate
// contains filtered or unexported fields
}
DryRunResult contains the results of a dry-run analysis.
type DryRunner ¶ added in v0.4.1
type DryRunner struct {
// contains filtered or unexported fields
}
DryRunner handles dry-run operations for AMI updates.
func NewDryRunner ¶ added in v0.4.1
NewDryRunner creates a new dry runner instance.
func (*DryRunner) Analyze ¶ added in v0.4.1
func (dr *DryRunner) Analyze(ctx context.Context, nodegroups []string) *DryRunResult
Analyze performs dry-run analysis on the selected nodegroups.
func (*DryRunner) DisplayResults ¶ added in v0.4.1
func (dr *DryRunner) DisplayResults(result *DryRunResult)
DisplayResults shows the summary of the dry-run analysis.
type NodegroupUpdate ¶ added in v0.4.1
type NodegroupUpdate struct {
Name string
Action refreshTypes.DryRunAction
CurrentAMI string
LatestAMI string
Reason string
}
NodegroupUpdate contains information about a nodegroup update action.
Click to show internal directories.
Click to hide internal directories.