extproblems

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProblemCheckActionId = "com.steadybit.extension_dynatrace.problem_check"
)

Variables

This section is empty.

Functions

func NewProblemCheckAction

func NewProblemCheckAction() action_kit_sdk.Action[ProblemCheckState]

Types

type ProblemCheckAction

type ProblemCheckAction struct{}

func (*ProblemCheckAction) Describe

func (*ProblemCheckAction) NewEmptyState

func (m *ProblemCheckAction) NewEmptyState() ProblemCheckState

func (*ProblemCheckAction) Start

func (*ProblemCheckAction) Status

type ProblemCheckState

type ProblemCheckState struct {
	Start                 time.Time
	End                   time.Time
	EntitySelector        *string
	Condition             string
	ConditionCheckMode    string
	ConditionCheckSuccess bool
}

type ProblemsApi

type ProblemsApi interface {
	GetProblems(ctx context.Context, from time.Time, entitySelector *string) ([]types.Problem, *http.Response, error)
}

Jump to

Keyboard shortcuts

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