healthcheck

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheck

func HealthCheck(ctx context.Context, data *HttpHealthArgs, diag *diag.Diagnostics) error

Types

type HttpHealthArgs

type HttpHealthArgs struct {
	URL                  string
	Method               string
	Timeout              int64
	RequestTimeout       int64
	Interval             int64
	StatusCode           string
	ConsecutiveSuccesses int64
	Headers              map[string]string
	IgnoreFailure        bool
	Passed               bool
	RequestBody          string
	ResultBody           string
	CABundle             string
	InsecureTLS          bool
	JSONPath             string
	JSONValue            string
}

Jump to

Keyboard shortcuts

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