exthttpcheck

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 20 Imported by: 1 module, 0 packages

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

View Source
const (
	TargetIDPeriodically = "com.steadybit.extension_http.check.periodically"
	TargetIDFixedAmount  = "com.steadybit.extension_http.check.fixed_amount"
)

Variables

View Source
var (
	ExecutionRunDataMap = sync.Map{} //make(map[uuid.UUID]*ExecutionRunData)
)

Functions

func NewHTTPCheckActionFixedAmount

func NewHTTPCheckActionFixedAmount() action_kit_sdk.Action[HTTPCheckState]

func NewHTTPCheckActionPeriodically

func NewHTTPCheckActionPeriodically() action_kit_sdk.Action[HTTPCheckState]

Types

type ExecutionRunData

type ExecutionRunData struct {
	// contains filtered or unexported fields
}

type HTTPCheckState

type HTTPCheckState struct {
	ExpectedStatusCodes      []int
	DelayBetweenRequestsInMS int64
	Timeout                  time.Time
	ResponsesContains        string
	SuccessRate              int
	MaxConcurrent            int
	NumberOfRequests         uint64
	ReadTimeout              time.Duration
	ExecutionID              uuid.UUID
	Body                     string
	URL                      url.URL
	Method                   string
	Headers                  map[string]string
	ConnectionTimeout        time.Duration
	FollowRedirects          bool
}

Jump to

Keyboard shortcuts

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