exthttpcheck

package
v1.0.57 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 33 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 (
	ActionIDPeriodically = "com.steadybit.extension_http.check.periodically"
	ActionIDFixedAmount  = "com.steadybit.extension_http.check.fixed_amount"
)
View Source
const (
	ActionIDBandwidth = "com.steadybit.extension_http.check.bandwidth"
)

Variables

This section is empty.

Functions

func NewDiscovery added in v1.0.23

func NewDiscovery() discovery_kit_sdk.TargetDiscovery

func NewHTTPCheckActionBandwidth added in v1.0.36

func NewHTTPCheckActionBandwidth() action_kit_sdk.Action[BandwidthCheckState]

func NewHTTPCheckActionFixedAmount

func NewHTTPCheckActionFixedAmount() action_kit_sdk.Action[HTTPCheckState]

func NewHTTPCheckActionPeriodically

func NewHTTPCheckActionPeriodically() action_kit_sdk.Action[HTTPCheckState]

Types

type BandwidthCheckState added in v1.0.36

type BandwidthCheckState struct {
	ExecutionID        uuid.UUID
	URL                url.URL
	Headers            map[string]string
	MinBandwidthBps    int64 // minimum bandwidth in bits per second
	MaxBandwidthBps    int64 // maximum bandwidth in bits per second
	SuccessRate        int   // required success rate percentage
	ConnectionTimeout  time.Duration
	ReadTimeout        time.Duration
	FollowRedirects    bool
	InsecureSkipVerify bool
	MaxConcurrent      int
	FailEarly          bool
	// ExpectedWindows is the number of measurement windows expected over the whole step (~1 per
	// second). When FailEarly is enabled it is used to determine whether the required success rate
	// can still be reached.
	ExpectedWindows uint64
}

type HTTPCheckState

type HTTPCheckState struct {
	ExpectedStatusCodes     []string
	DelayBetweenRequests    time.Duration
	Timeout                 time.Time
	ResponsesContains       string
	SuccessRate             uint64
	ResponseTimeMode        string
	ResponseTime            time.Duration
	ResponseTimeMeasurement string
	MaxConcurrent           uint64
	NumberOfRequests        uint64
	ReadTimeout             time.Duration
	ExecutionID             uuid.UUID
	Body                    string
	URL                     url.URL
	Method                  string
	Headers                 map[string]string
	ConnectionTimeout       time.Duration
	FollowRedirects         bool
	InsecureSkipVerify      bool
	FailEarly               bool
	// ExpectedRequests is the number of requests expected over the whole step. When FailEarly is
	// enabled it is used to determine whether the required success rate can still be reached.
	ExpectedRequests uint64
}

Jump to

Keyboard shortcuts

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