Documentation
¶
Overview ¶
Package diff provides the global diff command for viewing staged changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
// Services lists the provider services in stable display order.
Services []ServiceStrategy
// ProviderLabel is the human-readable provider name (e.g. "AWS").
ProviderLabel string
Store store.ReadWriteOperator
Stdout io.Writer
Stderr io.Writer
}
Runner executes the diff command.
type ServiceStrategy ¶ added in v0.8.1
type ServiceStrategy struct {
Service staging.Service
Strategy staging.DiffStrategy
}
ServiceStrategy pairs a service with its (possibly nil) diff strategy. The strategy is nil when no changes are staged for that service and thus no provider client was initialized.
Click to show internal directories.
Click to hide internal directories.