v0_1_4

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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