Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExitCode ¶
type ExitCode struct {
// contains filtered or unexported fields
}
func (*ExitCode) ConditionResult ¶
ConditionResult defines the success criteria for a condition using the shell resource
func (*ExitCode) PostCommand ¶
PostCommand defines operations needed to be executed after the shell command
func (*ExitCode) PreCommand ¶
PreCommand defines operations needed to be executed before the shell command
func (*ExitCode) SourceResult ¶
SourceResult defines the success criteria for a source using the shell resource
func (*ExitCode) TargetResult ¶
TargetResult defines the success criteria for a target using the shell resource
type Spec ¶
type Spec struct { // Warning defines the command exit code used by Updatecli to identify a change need. Default to 2 if no exitcode have been specified Warning int `yaml:",omitempty" jsonschema:"required"` // Success defines the command exit code used by Updatecli to identify no changes are needed. Default to 0 if no exitcode have been specified Success int `yaml:",omitempty" jsonschema:"required"` // Failure defines the command exit code used by Updatecli to identify that something went wrong. Default to 1 if no exitcode have been specified Failure int `yaml:",omitempty" jsonschema:"required"` }
Click to show internal directories.
Click to hide internal directories.