Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2019 Changes in this version + const ApplyActionID + const CheckActionID + const DumpActionID + const ErrorAddingExchangeFolder + const ErrorCreatingDumpFile + const ErrorCreatingExchangeFolder + const ErrorCreatingReportFile + const ErrorGeneric + const ErrorParsingDescriptor + const ErrorParsingEnvironment + const ErrorReadingReport + const ErrorUnmarshallingReport + const FailOnErrorActionID + const LogProcessingNode + const LogProcessingStackCompose + const LogProcessingStackPlaybook + const LogReportWritten + const LogRunningAction + const LogRunningSetupFor + const LogValidationSuccessful + const NilActionID + const ValidateActionID + var FailsOnCode = failOn(codeFailure) + var FailsOnDescriptor = failOn(descriptorFailure) + var FailsOnNotImplemented = failOn(notImplementedFailure) + var FailsOnPlaybook = failOn(playBookFailure) + var InitCodeStepResult = initResult(stepContextCode) + var InitDescriptorStepResult = initResult(stepContextDescriptor) + var InitHookStepResult = initResult(stepContextHookPlaybook) + var InitParameterStepResult = initResult(stepContextParameterFIle) + var InitPlaybookStepResult = initResult(stepContextPlaybook) + func CreateRuntimeContext(lC util.LaunchContext, cM component.Manager, aM ansible.Manager) *runtimeContext + func NoCleanUpRequired(lC util.LaunchContext) error + type Action struct + type ActionID string + func (a ActionID) String() string + type Cleanup func(lC util.LaunchContext) error + type DumpResult struct + func (r DumpResult) AsJson() (string, error) + func (r DumpResult) AsPlainText() ([]string, error) + func (r DumpResult) AsYaml() (string, error) + func (r DumpResult) IsSuccess() bool + type ExecutionReport struct + Error error + Steps StepResults + func (er ExecutionReport) Content() (b []byte, e error) + type Manager interface + Run func(id ActionID) (Result, error) + func CreateActionManager(lC util.LaunchContext, cM component.Manager, aM ansible.Manager) Manager + type ReportFailures struct + type ReportFileContent struct + Results []StepResult + type Result interface + AsJson func() (string, error) + AsPlainText func() ([]string, error) + AsYaml func() (string, error) + IsSuccess func() bool + type StepResult struct + AppliedToName string + AppliedToType string + Context stepInfo + ErrorMessage string + ExecutionTime time.Duration + FailureCause failureCause + RawContent interface{} + ReadableMessage string + Status stepStatus + StepName string + func (sr *StepResult) MarshalJSON() (b []byte, e error) + func (sr StepResult) Build() StepResults + type StepResults struct + Status []StepResult + TotalExecutionTime time.Duration + func InitStepResults() *StepResults + func (sr *StepResults) Add(c StepResult) + func (sr *StepResults) MarshalJSON() (b []byte, e error) + type ValidateResult struct + func (v ValidateResult) AsJson() (string, error) + func (v ValidateResult) AsPlainText() ([]string, error) + func (v ValidateResult) AsYaml() (string, error) + func (v ValidateResult) IsSuccess() bool