Documentation
¶
Index ¶
- type BulkUpdatePatternsOK
- type BulkUpdatePatternsParams
- func NewBulkUpdatePatternsParams() *BulkUpdatePatternsParams
- func NewBulkUpdatePatternsParamsWithContext(ctx context.Context) *BulkUpdatePatternsParams
- func NewBulkUpdatePatternsParamsWithHTTPClient(client *http.Client) *BulkUpdatePatternsParams
- func NewBulkUpdatePatternsParamsWithTimeout(timeout time.Duration) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) SetContext(ctx context.Context)
- func (o *BulkUpdatePatternsParams) SetHTTPClient(client *http.Client)
- func (o *BulkUpdatePatternsParams) SetPatterns(patterns *models.GrokPatternList)
- func (o *BulkUpdatePatternsParams) SetReplace(replace *bool)
- func (o *BulkUpdatePatternsParams) SetTimeout(timeout time.Duration)
- func (o *BulkUpdatePatternsParams) WithContext(ctx context.Context) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) WithHTTPClient(client *http.Client) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) WithPatterns(patterns *models.GrokPatternList) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) WithReplace(replace *bool) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) WithTimeout(timeout time.Duration) *BulkUpdatePatternsParams
- func (o *BulkUpdatePatternsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkUpdatePatternsReader
- type Client
- func (a *Client) BulkUpdatePatterns(params *BulkUpdatePatternsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkUpdatePatternsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePattern(params *UpdatePatternParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePatternOK, error)
- type CreatePatternOK
- type CreatePatternParams
- func (o *CreatePatternParams) SetContext(ctx context.Context)
- func (o *CreatePatternParams) SetHTTPClient(client *http.Client)
- func (o *CreatePatternParams) SetPattern(pattern *models.GrokPattern)
- func (o *CreatePatternParams) SetTimeout(timeout time.Duration)
- func (o *CreatePatternParams) WithContext(ctx context.Context) *CreatePatternParams
- func (o *CreatePatternParams) WithHTTPClient(client *http.Client) *CreatePatternParams
- func (o *CreatePatternParams) WithPattern(pattern *models.GrokPattern) *CreatePatternParams
- func (o *CreatePatternParams) WithTimeout(timeout time.Duration) *CreatePatternParams
- func (o *CreatePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePatternReader
- type ListGrokPatternsOK
- type ListGrokPatternsParams
- func NewListGrokPatternsParams() *ListGrokPatternsParams
- func NewListGrokPatternsParamsWithContext(ctx context.Context) *ListGrokPatternsParams
- func NewListGrokPatternsParamsWithHTTPClient(client *http.Client) *ListGrokPatternsParams
- func NewListGrokPatternsParamsWithTimeout(timeout time.Duration) *ListGrokPatternsParams
- func (o *ListGrokPatternsParams) SetContext(ctx context.Context)
- func (o *ListGrokPatternsParams) SetHTTPClient(client *http.Client)
- func (o *ListGrokPatternsParams) SetTimeout(timeout time.Duration)
- func (o *ListGrokPatternsParams) WithContext(ctx context.Context) *ListGrokPatternsParams
- func (o *ListGrokPatternsParams) WithHTTPClient(client *http.Client) *ListGrokPatternsParams
- func (o *ListGrokPatternsParams) WithTimeout(timeout time.Duration) *ListGrokPatternsParams
- func (o *ListGrokPatternsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGrokPatternsReader
- type ListPatternOK
- type ListPatternParams
- func (o *ListPatternParams) SetContext(ctx context.Context)
- func (o *ListPatternParams) SetHTTPClient(client *http.Client)
- func (o *ListPatternParams) SetPatternID(patternID string)
- func (o *ListPatternParams) SetTimeout(timeout time.Duration)
- func (o *ListPatternParams) WithContext(ctx context.Context) *ListPatternParams
- func (o *ListPatternParams) WithHTTPClient(client *http.Client) *ListPatternParams
- func (o *ListPatternParams) WithPatternID(patternID string) *ListPatternParams
- func (o *ListPatternParams) WithTimeout(timeout time.Duration) *ListPatternParams
- func (o *ListPatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPatternReader
- type RemovePatternOK
- type RemovePatternParams
- func (o *RemovePatternParams) SetContext(ctx context.Context)
- func (o *RemovePatternParams) SetHTTPClient(client *http.Client)
- func (o *RemovePatternParams) SetPatternID(patternID string)
- func (o *RemovePatternParams) SetTimeout(timeout time.Duration)
- func (o *RemovePatternParams) WithContext(ctx context.Context) *RemovePatternParams
- func (o *RemovePatternParams) WithHTTPClient(client *http.Client) *RemovePatternParams
- func (o *RemovePatternParams) WithPatternID(patternID string) *RemovePatternParams
- func (o *RemovePatternParams) WithTimeout(timeout time.Duration) *RemovePatternParams
- func (o *RemovePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemovePatternReader
- type UpdatePatternOK
- type UpdatePatternParams
- func (o *UpdatePatternParams) SetContext(ctx context.Context)
- func (o *UpdatePatternParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePatternParams) SetPattern(pattern *models.GrokPattern)
- func (o *UpdatePatternParams) SetPatternID(patternID string)
- func (o *UpdatePatternParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePatternParams) WithContext(ctx context.Context) *UpdatePatternParams
- func (o *UpdatePatternParams) WithHTTPClient(client *http.Client) *UpdatePatternParams
- func (o *UpdatePatternParams) WithPattern(pattern *models.GrokPattern) *UpdatePatternParams
- func (o *UpdatePatternParams) WithPatternID(patternID string) *UpdatePatternParams
- func (o *UpdatePatternParams) WithTimeout(timeout time.Duration) *UpdatePatternParams
- func (o *UpdatePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePatternReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkUpdatePatternsOK ¶
type BulkUpdatePatternsOK struct { }
BulkUpdatePatternsOK handles this case with default header values.
No response was specified
func NewBulkUpdatePatternsOK ¶
func NewBulkUpdatePatternsOK() *BulkUpdatePatternsOK
NewBulkUpdatePatternsOK creates a BulkUpdatePatternsOK with default headers values
func (*BulkUpdatePatternsOK) Error ¶
func (o *BulkUpdatePatternsOK) Error() string
type BulkUpdatePatternsParams ¶
type BulkUpdatePatternsParams struct { /*Patterns*/ Patterns *models.GrokPatternList /*Replace Replace all patterns with the new ones. */ Replace *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BulkUpdatePatternsParams contains all the parameters to send to the API endpoint for the bulk update patterns operation typically these are written to a http.Request
func NewBulkUpdatePatternsParams ¶
func NewBulkUpdatePatternsParams() *BulkUpdatePatternsParams
NewBulkUpdatePatternsParams creates a new BulkUpdatePatternsParams object with the default values initialized.
func NewBulkUpdatePatternsParamsWithContext ¶
func NewBulkUpdatePatternsParamsWithContext(ctx context.Context) *BulkUpdatePatternsParams
NewBulkUpdatePatternsParamsWithContext creates a new BulkUpdatePatternsParams object with the default values initialized, and the ability to set a context for a request
func NewBulkUpdatePatternsParamsWithHTTPClient ¶
func NewBulkUpdatePatternsParamsWithHTTPClient(client *http.Client) *BulkUpdatePatternsParams
NewBulkUpdatePatternsParamsWithHTTPClient creates a new BulkUpdatePatternsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewBulkUpdatePatternsParamsWithTimeout ¶
func NewBulkUpdatePatternsParamsWithTimeout(timeout time.Duration) *BulkUpdatePatternsParams
NewBulkUpdatePatternsParamsWithTimeout creates a new BulkUpdatePatternsParams object with the default values initialized, and the ability to set a timeout on a request
func (*BulkUpdatePatternsParams) SetContext ¶
func (o *BulkUpdatePatternsParams) SetContext(ctx context.Context)
SetContext adds the context to the bulk update patterns params
func (*BulkUpdatePatternsParams) SetHTTPClient ¶
func (o *BulkUpdatePatternsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bulk update patterns params
func (*BulkUpdatePatternsParams) SetPatterns ¶
func (o *BulkUpdatePatternsParams) SetPatterns(patterns *models.GrokPatternList)
SetPatterns adds the patterns to the bulk update patterns params
func (*BulkUpdatePatternsParams) SetReplace ¶
func (o *BulkUpdatePatternsParams) SetReplace(replace *bool)
SetReplace adds the replace to the bulk update patterns params
func (*BulkUpdatePatternsParams) SetTimeout ¶
func (o *BulkUpdatePatternsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bulk update patterns params
func (*BulkUpdatePatternsParams) WithContext ¶
func (o *BulkUpdatePatternsParams) WithContext(ctx context.Context) *BulkUpdatePatternsParams
WithContext adds the context to the bulk update patterns params
func (*BulkUpdatePatternsParams) WithHTTPClient ¶
func (o *BulkUpdatePatternsParams) WithHTTPClient(client *http.Client) *BulkUpdatePatternsParams
WithHTTPClient adds the HTTPClient to the bulk update patterns params
func (*BulkUpdatePatternsParams) WithPatterns ¶
func (o *BulkUpdatePatternsParams) WithPatterns(patterns *models.GrokPatternList) *BulkUpdatePatternsParams
WithPatterns adds the patterns to the bulk update patterns params
func (*BulkUpdatePatternsParams) WithReplace ¶
func (o *BulkUpdatePatternsParams) WithReplace(replace *bool) *BulkUpdatePatternsParams
WithReplace adds the replace to the bulk update patterns params
func (*BulkUpdatePatternsParams) WithTimeout ¶
func (o *BulkUpdatePatternsParams) WithTimeout(timeout time.Duration) *BulkUpdatePatternsParams
WithTimeout adds the timeout to the bulk update patterns params
func (*BulkUpdatePatternsParams) WriteToRequest ¶
func (o *BulkUpdatePatternsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BulkUpdatePatternsReader ¶
type BulkUpdatePatternsReader struct {
// contains filtered or unexported fields
}
BulkUpdatePatternsReader is a Reader for the BulkUpdatePatterns structure.
func (*BulkUpdatePatternsReader) ReadResponse ¶
func (o *BulkUpdatePatternsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system indices ranges API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system indices ranges API client.
func (*Client) BulkUpdatePatterns ¶
func (a *Client) BulkUpdatePatterns(params *BulkUpdatePatternsParams, authInfo runtime.ClientAuthInfoWriter) (*BulkUpdatePatternsOK, error)
BulkUpdatePatterns adds a list of new patterns
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePattern ¶
func (a *Client) UpdatePattern(params *UpdatePatternParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePatternOK, error)
UpdatePattern updates an existing pattern
type CreatePatternOK ¶
type CreatePatternOK struct { }
CreatePatternOK handles this case with default header values.
No response was specified
func NewCreatePatternOK ¶
func NewCreatePatternOK() *CreatePatternOK
NewCreatePatternOK creates a CreatePatternOK with default headers values
func (*CreatePatternOK) Error ¶
func (o *CreatePatternOK) Error() string
type CreatePatternParams ¶
type CreatePatternParams struct { /*Pattern*/ Pattern *models.GrokPattern Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePatternParams contains all the parameters to send to the API endpoint for the create pattern operation typically these are written to a http.Request
func NewCreatePatternParams ¶
func NewCreatePatternParams() *CreatePatternParams
NewCreatePatternParams creates a new CreatePatternParams object with the default values initialized.
func NewCreatePatternParamsWithContext ¶
func NewCreatePatternParamsWithContext(ctx context.Context) *CreatePatternParams
NewCreatePatternParamsWithContext creates a new CreatePatternParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePatternParamsWithHTTPClient ¶
func NewCreatePatternParamsWithHTTPClient(client *http.Client) *CreatePatternParams
NewCreatePatternParamsWithHTTPClient creates a new CreatePatternParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePatternParamsWithTimeout ¶
func NewCreatePatternParamsWithTimeout(timeout time.Duration) *CreatePatternParams
NewCreatePatternParamsWithTimeout creates a new CreatePatternParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePatternParams) SetContext ¶
func (o *CreatePatternParams) SetContext(ctx context.Context)
SetContext adds the context to the create pattern params
func (*CreatePatternParams) SetHTTPClient ¶
func (o *CreatePatternParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create pattern params
func (*CreatePatternParams) SetPattern ¶
func (o *CreatePatternParams) SetPattern(pattern *models.GrokPattern)
SetPattern adds the pattern to the create pattern params
func (*CreatePatternParams) SetTimeout ¶
func (o *CreatePatternParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create pattern params
func (*CreatePatternParams) WithContext ¶
func (o *CreatePatternParams) WithContext(ctx context.Context) *CreatePatternParams
WithContext adds the context to the create pattern params
func (*CreatePatternParams) WithHTTPClient ¶
func (o *CreatePatternParams) WithHTTPClient(client *http.Client) *CreatePatternParams
WithHTTPClient adds the HTTPClient to the create pattern params
func (*CreatePatternParams) WithPattern ¶
func (o *CreatePatternParams) WithPattern(pattern *models.GrokPattern) *CreatePatternParams
WithPattern adds the pattern to the create pattern params
func (*CreatePatternParams) WithTimeout ¶
func (o *CreatePatternParams) WithTimeout(timeout time.Duration) *CreatePatternParams
WithTimeout adds the timeout to the create pattern params
func (*CreatePatternParams) WriteToRequest ¶
func (o *CreatePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePatternReader ¶
type CreatePatternReader struct {
// contains filtered or unexported fields
}
CreatePatternReader is a Reader for the CreatePattern structure.
func (*CreatePatternReader) ReadResponse ¶
func (o *CreatePatternReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListGrokPatternsOK ¶
type ListGrokPatternsOK struct {
Payload *models.GrokPatternList
}
ListGrokPatternsOK handles this case with default header values.
No response was specified
func NewListGrokPatternsOK ¶
func NewListGrokPatternsOK() *ListGrokPatternsOK
NewListGrokPatternsOK creates a ListGrokPatternsOK with default headers values
func (*ListGrokPatternsOK) Error ¶
func (o *ListGrokPatternsOK) Error() string
type ListGrokPatternsParams ¶
type ListGrokPatternsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListGrokPatternsParams contains all the parameters to send to the API endpoint for the list grok patterns operation typically these are written to a http.Request
func NewListGrokPatternsParams ¶
func NewListGrokPatternsParams() *ListGrokPatternsParams
NewListGrokPatternsParams creates a new ListGrokPatternsParams object with the default values initialized.
func NewListGrokPatternsParamsWithContext ¶
func NewListGrokPatternsParamsWithContext(ctx context.Context) *ListGrokPatternsParams
NewListGrokPatternsParamsWithContext creates a new ListGrokPatternsParams object with the default values initialized, and the ability to set a context for a request
func NewListGrokPatternsParamsWithHTTPClient ¶
func NewListGrokPatternsParamsWithHTTPClient(client *http.Client) *ListGrokPatternsParams
NewListGrokPatternsParamsWithHTTPClient creates a new ListGrokPatternsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListGrokPatternsParamsWithTimeout ¶
func NewListGrokPatternsParamsWithTimeout(timeout time.Duration) *ListGrokPatternsParams
NewListGrokPatternsParamsWithTimeout creates a new ListGrokPatternsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListGrokPatternsParams) SetContext ¶
func (o *ListGrokPatternsParams) SetContext(ctx context.Context)
SetContext adds the context to the list grok patterns params
func (*ListGrokPatternsParams) SetHTTPClient ¶
func (o *ListGrokPatternsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list grok patterns params
func (*ListGrokPatternsParams) SetTimeout ¶
func (o *ListGrokPatternsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list grok patterns params
func (*ListGrokPatternsParams) WithContext ¶
func (o *ListGrokPatternsParams) WithContext(ctx context.Context) *ListGrokPatternsParams
WithContext adds the context to the list grok patterns params
func (*ListGrokPatternsParams) WithHTTPClient ¶
func (o *ListGrokPatternsParams) WithHTTPClient(client *http.Client) *ListGrokPatternsParams
WithHTTPClient adds the HTTPClient to the list grok patterns params
func (*ListGrokPatternsParams) WithTimeout ¶
func (o *ListGrokPatternsParams) WithTimeout(timeout time.Duration) *ListGrokPatternsParams
WithTimeout adds the timeout to the list grok patterns params
func (*ListGrokPatternsParams) WriteToRequest ¶
func (o *ListGrokPatternsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGrokPatternsReader ¶
type ListGrokPatternsReader struct {
// contains filtered or unexported fields
}
ListGrokPatternsReader is a Reader for the ListGrokPatterns structure.
func (*ListGrokPatternsReader) ReadResponse ¶
func (o *ListGrokPatternsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPatternOK ¶
type ListPatternOK struct {
Payload *models.GrokPattern
}
ListPatternOK handles this case with default header values.
No response was specified
func NewListPatternOK ¶
func NewListPatternOK() *ListPatternOK
NewListPatternOK creates a ListPatternOK with default headers values
func (*ListPatternOK) Error ¶
func (o *ListPatternOK) Error() string
type ListPatternParams ¶
type ListPatternParams struct { /*PatternID*/ PatternID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPatternParams contains all the parameters to send to the API endpoint for the list pattern operation typically these are written to a http.Request
func NewListPatternParams ¶
func NewListPatternParams() *ListPatternParams
NewListPatternParams creates a new ListPatternParams object with the default values initialized.
func NewListPatternParamsWithContext ¶
func NewListPatternParamsWithContext(ctx context.Context) *ListPatternParams
NewListPatternParamsWithContext creates a new ListPatternParams object with the default values initialized, and the ability to set a context for a request
func NewListPatternParamsWithHTTPClient ¶
func NewListPatternParamsWithHTTPClient(client *http.Client) *ListPatternParams
NewListPatternParamsWithHTTPClient creates a new ListPatternParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPatternParamsWithTimeout ¶
func NewListPatternParamsWithTimeout(timeout time.Duration) *ListPatternParams
NewListPatternParamsWithTimeout creates a new ListPatternParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPatternParams) SetContext ¶
func (o *ListPatternParams) SetContext(ctx context.Context)
SetContext adds the context to the list pattern params
func (*ListPatternParams) SetHTTPClient ¶
func (o *ListPatternParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list pattern params
func (*ListPatternParams) SetPatternID ¶
func (o *ListPatternParams) SetPatternID(patternID string)
SetPatternID adds the patternId to the list pattern params
func (*ListPatternParams) SetTimeout ¶
func (o *ListPatternParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list pattern params
func (*ListPatternParams) WithContext ¶
func (o *ListPatternParams) WithContext(ctx context.Context) *ListPatternParams
WithContext adds the context to the list pattern params
func (*ListPatternParams) WithHTTPClient ¶
func (o *ListPatternParams) WithHTTPClient(client *http.Client) *ListPatternParams
WithHTTPClient adds the HTTPClient to the list pattern params
func (*ListPatternParams) WithPatternID ¶
func (o *ListPatternParams) WithPatternID(patternID string) *ListPatternParams
WithPatternID adds the patternID to the list pattern params
func (*ListPatternParams) WithTimeout ¶
func (o *ListPatternParams) WithTimeout(timeout time.Duration) *ListPatternParams
WithTimeout adds the timeout to the list pattern params
func (*ListPatternParams) WriteToRequest ¶
func (o *ListPatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPatternReader ¶
type ListPatternReader struct {
// contains filtered or unexported fields
}
ListPatternReader is a Reader for the ListPattern structure.
func (*ListPatternReader) ReadResponse ¶
func (o *ListPatternReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemovePatternOK ¶
type RemovePatternOK struct { }
RemovePatternOK handles this case with default header values.
No response was specified
func NewRemovePatternOK ¶
func NewRemovePatternOK() *RemovePatternOK
NewRemovePatternOK creates a RemovePatternOK with default headers values
func (*RemovePatternOK) Error ¶
func (o *RemovePatternOK) Error() string
type RemovePatternParams ¶
type RemovePatternParams struct { /*PatternID*/ PatternID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemovePatternParams contains all the parameters to send to the API endpoint for the remove pattern operation typically these are written to a http.Request
func NewRemovePatternParams ¶
func NewRemovePatternParams() *RemovePatternParams
NewRemovePatternParams creates a new RemovePatternParams object with the default values initialized.
func NewRemovePatternParamsWithContext ¶
func NewRemovePatternParamsWithContext(ctx context.Context) *RemovePatternParams
NewRemovePatternParamsWithContext creates a new RemovePatternParams object with the default values initialized, and the ability to set a context for a request
func NewRemovePatternParamsWithHTTPClient ¶
func NewRemovePatternParamsWithHTTPClient(client *http.Client) *RemovePatternParams
NewRemovePatternParamsWithHTTPClient creates a new RemovePatternParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemovePatternParamsWithTimeout ¶
func NewRemovePatternParamsWithTimeout(timeout time.Duration) *RemovePatternParams
NewRemovePatternParamsWithTimeout creates a new RemovePatternParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemovePatternParams) SetContext ¶
func (o *RemovePatternParams) SetContext(ctx context.Context)
SetContext adds the context to the remove pattern params
func (*RemovePatternParams) SetHTTPClient ¶
func (o *RemovePatternParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove pattern params
func (*RemovePatternParams) SetPatternID ¶
func (o *RemovePatternParams) SetPatternID(patternID string)
SetPatternID adds the patternId to the remove pattern params
func (*RemovePatternParams) SetTimeout ¶
func (o *RemovePatternParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove pattern params
func (*RemovePatternParams) WithContext ¶
func (o *RemovePatternParams) WithContext(ctx context.Context) *RemovePatternParams
WithContext adds the context to the remove pattern params
func (*RemovePatternParams) WithHTTPClient ¶
func (o *RemovePatternParams) WithHTTPClient(client *http.Client) *RemovePatternParams
WithHTTPClient adds the HTTPClient to the remove pattern params
func (*RemovePatternParams) WithPatternID ¶
func (o *RemovePatternParams) WithPatternID(patternID string) *RemovePatternParams
WithPatternID adds the patternID to the remove pattern params
func (*RemovePatternParams) WithTimeout ¶
func (o *RemovePatternParams) WithTimeout(timeout time.Duration) *RemovePatternParams
WithTimeout adds the timeout to the remove pattern params
func (*RemovePatternParams) WriteToRequest ¶
func (o *RemovePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemovePatternReader ¶
type RemovePatternReader struct {
// contains filtered or unexported fields
}
RemovePatternReader is a Reader for the RemovePattern structure.
func (*RemovePatternReader) ReadResponse ¶
func (o *RemovePatternReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePatternOK ¶
type UpdatePatternOK struct {
Payload *models.GrokPattern
}
UpdatePatternOK handles this case with default header values.
No response was specified
func NewUpdatePatternOK ¶
func NewUpdatePatternOK() *UpdatePatternOK
NewUpdatePatternOK creates a UpdatePatternOK with default headers values
func (*UpdatePatternOK) Error ¶
func (o *UpdatePatternOK) Error() string
type UpdatePatternParams ¶
type UpdatePatternParams struct { /*Pattern*/ Pattern *models.GrokPattern /*PatternID*/ PatternID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePatternParams contains all the parameters to send to the API endpoint for the update pattern operation typically these are written to a http.Request
func NewUpdatePatternParams ¶
func NewUpdatePatternParams() *UpdatePatternParams
NewUpdatePatternParams creates a new UpdatePatternParams object with the default values initialized.
func NewUpdatePatternParamsWithContext ¶
func NewUpdatePatternParamsWithContext(ctx context.Context) *UpdatePatternParams
NewUpdatePatternParamsWithContext creates a new UpdatePatternParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePatternParamsWithHTTPClient ¶
func NewUpdatePatternParamsWithHTTPClient(client *http.Client) *UpdatePatternParams
NewUpdatePatternParamsWithHTTPClient creates a new UpdatePatternParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePatternParamsWithTimeout ¶
func NewUpdatePatternParamsWithTimeout(timeout time.Duration) *UpdatePatternParams
NewUpdatePatternParamsWithTimeout creates a new UpdatePatternParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePatternParams) SetContext ¶
func (o *UpdatePatternParams) SetContext(ctx context.Context)
SetContext adds the context to the update pattern params
func (*UpdatePatternParams) SetHTTPClient ¶
func (o *UpdatePatternParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update pattern params
func (*UpdatePatternParams) SetPattern ¶
func (o *UpdatePatternParams) SetPattern(pattern *models.GrokPattern)
SetPattern adds the pattern to the update pattern params
func (*UpdatePatternParams) SetPatternID ¶
func (o *UpdatePatternParams) SetPatternID(patternID string)
SetPatternID adds the patternId to the update pattern params
func (*UpdatePatternParams) SetTimeout ¶
func (o *UpdatePatternParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update pattern params
func (*UpdatePatternParams) WithContext ¶
func (o *UpdatePatternParams) WithContext(ctx context.Context) *UpdatePatternParams
WithContext adds the context to the update pattern params
func (*UpdatePatternParams) WithHTTPClient ¶
func (o *UpdatePatternParams) WithHTTPClient(client *http.Client) *UpdatePatternParams
WithHTTPClient adds the HTTPClient to the update pattern params
func (*UpdatePatternParams) WithPattern ¶
func (o *UpdatePatternParams) WithPattern(pattern *models.GrokPattern) *UpdatePatternParams
WithPattern adds the pattern to the update pattern params
func (*UpdatePatternParams) WithPatternID ¶
func (o *UpdatePatternParams) WithPatternID(patternID string) *UpdatePatternParams
WithPatternID adds the patternID to the update pattern params
func (*UpdatePatternParams) WithTimeout ¶
func (o *UpdatePatternParams) WithTimeout(timeout time.Duration) *UpdatePatternParams
WithTimeout adds the timeout to the update pattern params
func (*UpdatePatternParams) WriteToRequest ¶
func (o *UpdatePatternParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePatternReader ¶
type UpdatePatternReader struct {
// contains filtered or unexported fields
}
UpdatePatternReader is a Reader for the UpdatePattern structure.
func (*UpdatePatternReader) ReadResponse ¶
func (o *UpdatePatternReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- bulk_update_patterns_parameters.go
- bulk_update_patterns_responses.go
- create_pattern_parameters.go
- create_pattern_responses.go
- list_grok_patterns_parameters.go
- list_grok_patterns_responses.go
- list_pattern_parameters.go
- list_pattern_responses.go
- remove_pattern_parameters.go
- remove_pattern_responses.go
- system_indices_ranges_client.go
- update_pattern_parameters.go
- update_pattern_responses.go