exthttpcheck

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 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

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

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 ExecutionRunData

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

type HTTPCheckState

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