tls

package
v0.0.0-...-c3423aa Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package tls is the tls probe package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLS

type TLS struct {
	base.DefaultProbe  `yaml:",inline"`
	Host               string `yaml:"host" json:"host" jsonschema:"required,format=hostname,title=Host,description=The host to probe"`
	Proxy              string `` /* 128-byte string literal not displayed */
	InsecureSkipVerify bool   `` /* 179-byte string literal not displayed */

	RootCAPemPath string `` /* 138-byte string literal not displayed */
	RootCaPem     string `yaml:"root_ca_pem" json:"root_ca_pem,omitempty" jsonschema:"title=Root CA PEM,description=The root CA PEM"`

	ExpireSkipVerify  bool          `` /* 165-byte string literal not displayed */
	AlertExpireBefore time.Duration `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

TLS implements a config for TLS

func (*TLS) Config

func (t *TLS) Config(gConf global.ProbeSettings) error

Config HTTP Config Object

func (*TLS) DoProbe

func (t *TLS) DoProbe() (bool, string)

DoProbe return the checking result

Jump to

Keyboard shortcuts

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