Documentation
¶
Overview ¶
Package types provides shared types for ork packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
// Changed indicates whether the playbook made any changes to the system.
// false means the system was already in the desired state.
// true means the playbook modified the system.
Changed bool
// Message is a human-readable description of what happened.
Message string
// Details contains additional information about the execution.
// Keys are field names, values are string representations.
Details map[string]string
// Error is non-nil if the playbook failed to execute.
// When Error is non-nil, Changed may be true if some changes occurred before the failure.
Error error
}
Result represents the outcome of a playbook execution. It indicates whether any changes were made and provides details about the execution.
Click to show internal directories.
Click to hide internal directories.