v0_1_4

package
v0.8.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 0 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL