Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertPoolGetter ¶ added in v5.2.1
type DefaultCertPoolGetter ¶ added in v5.2.1
type DefaultCertPoolGetter struct{}
func (DefaultCertPoolGetter) FromCustomCA ¶ added in v5.2.1
func (DefaultCertPoolGetter) FromCustomCA(caCert []byte) *x509.CertPool
func (DefaultCertPoolGetter) SystemPool ¶ added in v5.2.1
func (DefaultCertPoolGetter) SystemPool() (*x509.CertPool, error)
type ElasticsearchProbe ¶
type ElasticsearchProbe struct {
// contains filtered or unexported fields
}
func NewElasticsearchProbe ¶
func NewElasticsearchProbe(name, url string, opts ...ProbeOpts) ElasticsearchProbe
NewElasticsearchProbe instantiate a new elasticsearch probe: - name: probe name - url : connection string with the form "http://username:password@example.com" - opts: optionnal parameters such as providing a TLS CA certificate or allowing insecure connections
func (ElasticsearchProbe) Name ¶
func (p ElasticsearchProbe) Name() string
type ProbeOpts ¶
type ProbeOpts func(*ElasticsearchProbe)
func WithInsecureSkipVerify ¶
func WithInsecureSkipVerify() ProbeOpts
Directories
¶
Path | Synopsis |
---|---|
Package elasticsearchprobemock is a generated GoMock package.
|
Package elasticsearchprobemock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.