Documentation ¶
Overview ¶
Deletes Logstash Pipelines used by Central Management
Index ¶
- Variables
- type DeletePipeline
- func (r DeletePipeline) Do(ctx context.Context) (*http.Response, error)
- func (r *DeletePipeline) Header(key, value string) *DeletePipeline
- func (r *DeletePipeline) HttpRequest(ctx context.Context) (*http.Request, error)
- func (r *DeletePipeline) Id(v string) *DeletePipeline
- func (r DeletePipeline) IsSuccess(ctx context.Context) (bool, error)
- type NewDeletePipeline
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 DeletePipeline ¶
type DeletePipeline struct {
// contains filtered or unexported fields
}
func New ¶
func New(tp elastictransport.Interface) *DeletePipeline
Deletes Logstash Pipelines used by Central Management
https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-api-delete-pipeline.html
func (*DeletePipeline) Header ¶
func (r *DeletePipeline) Header(key, value string) *DeletePipeline
Header set a key, value pair in the DeletePipeline headers map.
func (*DeletePipeline) HttpRequest ¶
HttpRequest returns the http.Request object built from the given parameters.
func (*DeletePipeline) Id ¶
func (r *DeletePipeline) Id(v string) *DeletePipeline
Id The ID of the Pipeline API Name: id
type NewDeletePipeline ¶
type NewDeletePipeline func(id string) *DeletePipeline
NewDeletePipeline type alias for index.
func NewDeletePipelineFunc ¶
func NewDeletePipelineFunc(tp elastictransport.Interface) NewDeletePipeline
NewDeletePipelineFunc returns a new instance of DeletePipeline with the provided transport. Used in the index of the library this allows to retrieve every apis in once place.