Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remediation ¶
type Remediation struct { ApiVersion string `json:"apiVersion" yaml:"apiVersion"` Kind string `json:"kind" yaml:"kind"` Metadata RemediationMetadata `json:"metadata" yaml:"metadata"` Spec RemediationSpec `json:"spec" yaml:"spec"` }
Remediation describes a remediation specification according to Keptn spec 0.1.4
type RemediationActionsOnOpen ¶
type RemediationActionsOnOpen struct { Name string `json:"name" yaml:"name"` Action string `json:"action" yaml:"action"` Description string `json:"description" yaml:"description"` Value interface{} `json:"value" yaml:"value"` }
RemediationActionsOnOpen describes an action which is executed when a problem.open occurred
type RemediationMap ¶
type RemediationMap struct { ProblemType string `json:"problemType" yaml:"problemType"` ActionsOnOpen []RemediationActionsOnOpen `json:"actionsOnOpen" yaml:"actionsOnOpen"` }
RemediationMap maps a problem to a list of actions which are executed when a problem.open occurred
type RemediationMetadata ¶
type RemediationMetadata struct {
Name string `json:"name" yaml:"name"`
}
RemediationMetadata describes Remediation metadata
type RemediationSpec ¶
type RemediationSpec struct {
Remediations []RemediationMap `json:"remediations" yaml:"remediations"`
}
RemediationSpec contains a list of remediations
Click to show internal directories.
Click to hide internal directories.