Documentation
¶
Overview ¶
Returns information about the master node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
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 Master ¶
type Master struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *Master
Returns information about the master node.
https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/cat-master.html
func (*Master) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewMaster ¶
type NewMaster func() *Master
NewMaster type alias for index.
func NewMasterFunc ¶
func NewMasterFunc(tp elastictransport.Interface) NewMaster
NewMasterFunc returns a new instance of Master with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.
Click to show internal directories.
Click to hide internal directories.