exthttpcheck

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionIDPeriodically = "com.steadybit.extension_http.check.periodically"
	ActionIDFixedAmount  = "com.steadybit.extension_http.check.fixed_amount"
)

Variables

This section is empty.

Functions

func NewDiscovery added in v1.0.23

func NewDiscovery() discovery_kit_sdk.TargetDiscovery

func NewHTTPCheckActionFixedAmount

func NewHTTPCheckActionFixedAmount() action_kit_sdk.Action[HTTPCheckState]

func NewHTTPCheckActionPeriodically

func NewHTTPCheckActionPeriodically() action_kit_sdk.Action[HTTPCheckState]

Types

type HTTPCheckState

type HTTPCheckState struct {
	ExpectedStatusCodes      []string
	DelayBetweenRequestsInMS uint64
	Timeout                  time.Time
	ResponsesContains        string
	SuccessRate              int
	ResponseTimeMode         string
	ResponseTime             *time.Duration
	MaxConcurrent            int
	NumberOfRequests         uint64
	RequestsPerSecond        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