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 }
Click to show internal directories.
Click to hide internal directories.