Documentation ¶
Overview ¶
Retrieves information about the status of the basic license.
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 GetBasicStatus ¶
type GetBasicStatus struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *GetBasicStatus
Retrieves information about the status of the basic license.
https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html
func (*GetBasicStatus) Header ¶
func (r *GetBasicStatus) Header(key, value string) *GetBasicStatus
Header set a key, value pair in the GetBasicStatus headers map.
func (*GetBasicStatus) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
type NewGetBasicStatus ¶
type NewGetBasicStatus func() *GetBasicStatus
NewGetBasicStatus type alias for index.
func NewGetBasicStatusFunc ¶
func NewGetBasicStatusFunc(tp elastictransport.Interface) NewGetBasicStatus
NewGetBasicStatusFunc returns a new instance of GetBasicStatus with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.