exthttpcheck

package
v1.0.37 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 28 Imported by: 0

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
}

type HTTPCheckState

type HTTPCheckState struct {
	ExpectedStatusCodes  []string
	DelayBetweenRequests time.Duration
	Timeout              time.Time
	ResponsesContains    string
	SuccessRate          uint64
	ResponseTimeMode     string
	ResponseTime         time.Duration
	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
}

Jump to

Keyboard shortcuts

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