Documentation
¶
Overview ¶
Update settings for the watcher system index
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 NewUpdateSettings ¶
type NewUpdateSettings func() *UpdateSettings
NewUpdateSettings type alias for index.
func NewUpdateSettingsFunc ¶
func NewUpdateSettingsFunc(tp elastictransport.Interface) NewUpdateSettings
NewUpdateSettingsFunc returns a new instance of UpdateSettings with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.
type UpdateSettings ¶
type UpdateSettings struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *UpdateSettings
Update settings for the watcher system index
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-update-settings.html
func (*UpdateSettings) Header ¶
func (r *UpdateSettings) Header(key, value string) *UpdateSettings
Header set a key, value pair in the UpdateSettings headers map.
func (*UpdateSettings) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
Click to show internal directories.
Click to hide internal directories.