Documentation
¶
Index ¶
- type Check
- func NewGraphQLCheck(url string, query string, variables map[string]interface{}, ...) Check
- func NewHttpCheck(url string, expectedStatusCode *int, certificateWarningDelta time.Duration, ...) Check
- func NewIcmpCheck(addr string) Check
- func NewTcpCheck(addr string) Check
- func NewTlsCheck(url string, tlsConfig *tls.Config) Check
- type GraphQLCheck
- type GraphQLCheckAuth
- type GraphQLCheckAuthOIDC
- type GraphQLStatistics
- type HttpCheck
- type HttpCheckAuth
- type HttpCheckAuthOIDC
- type HttpStatistics
- type IcmpCheck
- type IcmpStatistics
- type PeerCertificate
- type Result
- type Statistics
- type TcpCheck
- type TcpStatistics
- type TlsCheck
- type TlsStatistics
- type Type
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphQLCheck ¶
type GraphQLCheck struct { HttpCheck // contains filtered or unexported fields }
func (GraphQLCheck) Check ¶
func (h GraphQLCheck) Check() Result
func (GraphQLCheck) GetType ¶
func (h GraphQLCheck) GetType() Type
type GraphQLCheckAuth ¶
type GraphQLCheckAuth struct {
OIDC *GraphQLCheckAuthOIDC `json:"oidc"`
}
type GraphQLCheckAuthOIDC ¶
type GraphQLStatistics ¶
type GraphQLStatistics struct { TimeTaken time.Duration Headers map[string][]string ContentLength int64 }
func (GraphQLStatistics) GetTimeTaken ¶
func (i GraphQLStatistics) GetTimeTaken() time.Duration
type HttpCheck ¶
type HttpCheck struct {
// contains filtered or unexported fields
}
func (HttpCheck) GetHttpHeaders ¶
type HttpCheckAuth ¶
type HttpCheckAuth struct {
OIDC *HttpCheckAuthOIDC `json:"oidc"`
}
type HttpCheckAuthOIDC ¶
type HttpStatistics ¶
type HttpStatistics struct { TimeTaken time.Duration StatusCode int Headers map[string][]string ContentLength int64 }
func (HttpStatistics) GetTimeTaken ¶
func (i HttpStatistics) GetTimeTaken() time.Duration
type IcmpStatistics ¶
type IcmpStatistics struct { TimeTaken time.Duration PingStatistics *ping.Statistics }
func (IcmpStatistics) GetTimeTaken ¶
func (i IcmpStatistics) GetTimeTaken() time.Duration
type PeerCertificate ¶
type PeerCertificate struct {
Content []byte
}
type Result ¶
type Result struct { Error error Message string Warnings []Warning CertificateWarnings []Warning Statistics Statistics }
type Statistics ¶
type TcpStatistics ¶
func (TcpStatistics) GetTimeTaken ¶
func (i TcpStatistics) GetTimeTaken() time.Duration
type TlsStatistics ¶
type TlsStatistics struct { TimeTaken time.Duration PeerCertificates []PeerCertificate }
func (TlsStatistics) GetTimeTaken ¶
func (i TlsStatistics) GetTimeTaken() time.Duration
Click to show internal directories.
Click to hide internal directories.