Documentation ¶
Overview ¶
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrBuildPath = errors.New("cannot build path, check for missing path parameters")
ErrBuildPath is returned in case of missing parameters within the build of the request.
Functions ¶
This section is empty.
Types ¶
type Certificates ¶
type Certificates struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *Certificates
Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html
func (*Certificates) Header ¶
func (r *Certificates) Header(key, value string) *Certificates
Header set a key, value pair in the Certificates headers map.
func (*Certificates) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewCertificates ¶
type NewCertificates func() *Certificates
NewCertificates type alias for index.
func NewCertificatesFunc ¶
func NewCertificatesFunc(tp elastictransport.Interface) NewCertificates
NewCertificatesFunc returns a new instance of Certificates with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.