Documentation ¶
Index ¶
- type Client
- func (a *Client) Rebuild(params *RebuildParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildOK, *RebuildAccepted, error)
- func (a *Client) RebuildIndex(params *RebuildIndexParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildIndexOK, *RebuildIndexAccepted, error)
- func (a *Client) RebuildIndexSet(params *RebuildIndexSetParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildIndexSetOK, *RebuildIndexSetAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type RebuildAccepted
- type RebuildIndexAccepted
- type RebuildIndexOK
- type RebuildIndexParams
- func (o *RebuildIndexParams) SetContext(ctx context.Context)
- func (o *RebuildIndexParams) SetHTTPClient(client *http.Client)
- func (o *RebuildIndexParams) SetIndex(index string)
- func (o *RebuildIndexParams) SetTimeout(timeout time.Duration)
- func (o *RebuildIndexParams) WithContext(ctx context.Context) *RebuildIndexParams
- func (o *RebuildIndexParams) WithHTTPClient(client *http.Client) *RebuildIndexParams
- func (o *RebuildIndexParams) WithIndex(index string) *RebuildIndexParams
- func (o *RebuildIndexParams) WithTimeout(timeout time.Duration) *RebuildIndexParams
- func (o *RebuildIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebuildIndexReader
- type RebuildIndexSetAccepted
- type RebuildIndexSetOK
- type RebuildIndexSetParams
- func NewRebuildIndexSetParams() *RebuildIndexSetParams
- func NewRebuildIndexSetParamsWithContext(ctx context.Context) *RebuildIndexSetParams
- func NewRebuildIndexSetParamsWithHTTPClient(client *http.Client) *RebuildIndexSetParams
- func NewRebuildIndexSetParamsWithTimeout(timeout time.Duration) *RebuildIndexSetParams
- func (o *RebuildIndexSetParams) SetContext(ctx context.Context)
- func (o *RebuildIndexSetParams) SetHTTPClient(client *http.Client)
- func (o *RebuildIndexSetParams) SetIndexSetID(indexSetID string)
- func (o *RebuildIndexSetParams) SetTimeout(timeout time.Duration)
- func (o *RebuildIndexSetParams) WithContext(ctx context.Context) *RebuildIndexSetParams
- func (o *RebuildIndexSetParams) WithHTTPClient(client *http.Client) *RebuildIndexSetParams
- func (o *RebuildIndexSetParams) WithIndexSetID(indexSetID string) *RebuildIndexSetParams
- func (o *RebuildIndexSetParams) WithTimeout(timeout time.Duration) *RebuildIndexSetParams
- func (o *RebuildIndexSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebuildIndexSetReader
- type RebuildOK
- type RebuildParams
- func (o *RebuildParams) SetContext(ctx context.Context)
- func (o *RebuildParams) SetHTTPClient(client *http.Client)
- func (o *RebuildParams) SetTimeout(timeout time.Duration)
- func (o *RebuildParams) WithContext(ctx context.Context) *RebuildParams
- func (o *RebuildParams) WithHTTPClient(client *http.Client) *RebuildParams
- func (o *RebuildParams) WithTimeout(timeout time.Duration) *RebuildParams
- func (o *RebuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RebuildReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system indices index sets API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system indices index sets API client.
func (*Client) Rebuild ¶
func (a *Client) Rebuild(params *RebuildParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildOK, *RebuildAccepted, error)
Rebuild rebuilds sync index range information
This triggers a systemjob that scans every index and stores meta information about what indices contain messages in what timeranges. It atomically overwrites already existing meta information.
func (*Client) RebuildIndex ¶
func (a *Client) RebuildIndex(params *RebuildIndexParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildIndexOK, *RebuildIndexAccepted, error)
RebuildIndex rebuilds sync index range information
This triggers a system job that scans an index and stores meta information about what indices contain messages in what time ranges. It atomically overwrites already existing meta information.
func (*Client) RebuildIndexSet ¶
func (a *Client) RebuildIndexSet(params *RebuildIndexSetParams, authInfo runtime.ClientAuthInfoWriter) (*RebuildIndexSetOK, *RebuildIndexSetAccepted, error)
RebuildIndexSet rebuilds sync index range information for the given index set
This triggers a systemjob that scans every index in the given index set and stores meta information about what indices contain messages in what timeranges. It atomically overwrites already existing meta information.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type RebuildAccepted ¶
type RebuildAccepted struct { }
RebuildAccepted handles this case with default header values.
Rebuild/sync systemjob triggered.
func NewRebuildAccepted ¶
func NewRebuildAccepted() *RebuildAccepted
NewRebuildAccepted creates a RebuildAccepted with default headers values
func (*RebuildAccepted) Error ¶
func (o *RebuildAccepted) Error() string
type RebuildIndexAccepted ¶
type RebuildIndexAccepted struct { }
RebuildIndexAccepted handles this case with default header values.
Rebuild/sync system job triggered.
func NewRebuildIndexAccepted ¶
func NewRebuildIndexAccepted() *RebuildIndexAccepted
NewRebuildIndexAccepted creates a RebuildIndexAccepted with default headers values
func (*RebuildIndexAccepted) Error ¶
func (o *RebuildIndexAccepted) Error() string
type RebuildIndexOK ¶
type RebuildIndexOK struct { }
RebuildIndexOK handles this case with default header values.
No response was specified
func NewRebuildIndexOK ¶
func NewRebuildIndexOK() *RebuildIndexOK
NewRebuildIndexOK creates a RebuildIndexOK with default headers values
func (*RebuildIndexOK) Error ¶
func (o *RebuildIndexOK) Error() string
type RebuildIndexParams ¶
type RebuildIndexParams struct { /*Index The name of the Graylog-managed Elasticsearch index */ Index string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebuildIndexParams contains all the parameters to send to the API endpoint for the rebuild index operation typically these are written to a http.Request
func NewRebuildIndexParams ¶
func NewRebuildIndexParams() *RebuildIndexParams
NewRebuildIndexParams creates a new RebuildIndexParams object with the default values initialized.
func NewRebuildIndexParamsWithContext ¶
func NewRebuildIndexParamsWithContext(ctx context.Context) *RebuildIndexParams
NewRebuildIndexParamsWithContext creates a new RebuildIndexParams object with the default values initialized, and the ability to set a context for a request
func NewRebuildIndexParamsWithHTTPClient ¶
func NewRebuildIndexParamsWithHTTPClient(client *http.Client) *RebuildIndexParams
NewRebuildIndexParamsWithHTTPClient creates a new RebuildIndexParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRebuildIndexParamsWithTimeout ¶
func NewRebuildIndexParamsWithTimeout(timeout time.Duration) *RebuildIndexParams
NewRebuildIndexParamsWithTimeout creates a new RebuildIndexParams object with the default values initialized, and the ability to set a timeout on a request
func (*RebuildIndexParams) SetContext ¶
func (o *RebuildIndexParams) SetContext(ctx context.Context)
SetContext adds the context to the rebuild index params
func (*RebuildIndexParams) SetHTTPClient ¶
func (o *RebuildIndexParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rebuild index params
func (*RebuildIndexParams) SetIndex ¶
func (o *RebuildIndexParams) SetIndex(index string)
SetIndex adds the index to the rebuild index params
func (*RebuildIndexParams) SetTimeout ¶
func (o *RebuildIndexParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rebuild index params
func (*RebuildIndexParams) WithContext ¶
func (o *RebuildIndexParams) WithContext(ctx context.Context) *RebuildIndexParams
WithContext adds the context to the rebuild index params
func (*RebuildIndexParams) WithHTTPClient ¶
func (o *RebuildIndexParams) WithHTTPClient(client *http.Client) *RebuildIndexParams
WithHTTPClient adds the HTTPClient to the rebuild index params
func (*RebuildIndexParams) WithIndex ¶
func (o *RebuildIndexParams) WithIndex(index string) *RebuildIndexParams
WithIndex adds the index to the rebuild index params
func (*RebuildIndexParams) WithTimeout ¶
func (o *RebuildIndexParams) WithTimeout(timeout time.Duration) *RebuildIndexParams
WithTimeout adds the timeout to the rebuild index params
func (*RebuildIndexParams) WriteToRequest ¶
func (o *RebuildIndexParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebuildIndexReader ¶
type RebuildIndexReader struct {
// contains filtered or unexported fields
}
RebuildIndexReader is a Reader for the RebuildIndex structure.
func (*RebuildIndexReader) ReadResponse ¶
func (o *RebuildIndexReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebuildIndexSetAccepted ¶
type RebuildIndexSetAccepted struct { }
RebuildIndexSetAccepted handles this case with default header values.
Rebuild/sync systemjob triggered.
func NewRebuildIndexSetAccepted ¶
func NewRebuildIndexSetAccepted() *RebuildIndexSetAccepted
NewRebuildIndexSetAccepted creates a RebuildIndexSetAccepted with default headers values
func (*RebuildIndexSetAccepted) Error ¶
func (o *RebuildIndexSetAccepted) Error() string
type RebuildIndexSetOK ¶
type RebuildIndexSetOK struct { }
RebuildIndexSetOK handles this case with default header values.
No response was specified
func NewRebuildIndexSetOK ¶
func NewRebuildIndexSetOK() *RebuildIndexSetOK
NewRebuildIndexSetOK creates a RebuildIndexSetOK with default headers values
func (*RebuildIndexSetOK) Error ¶
func (o *RebuildIndexSetOK) Error() string
type RebuildIndexSetParams ¶
type RebuildIndexSetParams struct { /*IndexSetID*/ IndexSetID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebuildIndexSetParams contains all the parameters to send to the API endpoint for the rebuild index set operation typically these are written to a http.Request
func NewRebuildIndexSetParams ¶
func NewRebuildIndexSetParams() *RebuildIndexSetParams
NewRebuildIndexSetParams creates a new RebuildIndexSetParams object with the default values initialized.
func NewRebuildIndexSetParamsWithContext ¶
func NewRebuildIndexSetParamsWithContext(ctx context.Context) *RebuildIndexSetParams
NewRebuildIndexSetParamsWithContext creates a new RebuildIndexSetParams object with the default values initialized, and the ability to set a context for a request
func NewRebuildIndexSetParamsWithHTTPClient ¶
func NewRebuildIndexSetParamsWithHTTPClient(client *http.Client) *RebuildIndexSetParams
NewRebuildIndexSetParamsWithHTTPClient creates a new RebuildIndexSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRebuildIndexSetParamsWithTimeout ¶
func NewRebuildIndexSetParamsWithTimeout(timeout time.Duration) *RebuildIndexSetParams
NewRebuildIndexSetParamsWithTimeout creates a new RebuildIndexSetParams object with the default values initialized, and the ability to set a timeout on a request
func (*RebuildIndexSetParams) SetContext ¶
func (o *RebuildIndexSetParams) SetContext(ctx context.Context)
SetContext adds the context to the rebuild index set params
func (*RebuildIndexSetParams) SetHTTPClient ¶
func (o *RebuildIndexSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rebuild index set params
func (*RebuildIndexSetParams) SetIndexSetID ¶
func (o *RebuildIndexSetParams) SetIndexSetID(indexSetID string)
SetIndexSetID adds the indexSetId to the rebuild index set params
func (*RebuildIndexSetParams) SetTimeout ¶
func (o *RebuildIndexSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rebuild index set params
func (*RebuildIndexSetParams) WithContext ¶
func (o *RebuildIndexSetParams) WithContext(ctx context.Context) *RebuildIndexSetParams
WithContext adds the context to the rebuild index set params
func (*RebuildIndexSetParams) WithHTTPClient ¶
func (o *RebuildIndexSetParams) WithHTTPClient(client *http.Client) *RebuildIndexSetParams
WithHTTPClient adds the HTTPClient to the rebuild index set params
func (*RebuildIndexSetParams) WithIndexSetID ¶
func (o *RebuildIndexSetParams) WithIndexSetID(indexSetID string) *RebuildIndexSetParams
WithIndexSetID adds the indexSetID to the rebuild index set params
func (*RebuildIndexSetParams) WithTimeout ¶
func (o *RebuildIndexSetParams) WithTimeout(timeout time.Duration) *RebuildIndexSetParams
WithTimeout adds the timeout to the rebuild index set params
func (*RebuildIndexSetParams) WriteToRequest ¶
func (o *RebuildIndexSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebuildIndexSetReader ¶
type RebuildIndexSetReader struct {
// contains filtered or unexported fields
}
RebuildIndexSetReader is a Reader for the RebuildIndexSet structure.
func (*RebuildIndexSetReader) ReadResponse ¶
func (o *RebuildIndexSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RebuildOK ¶
type RebuildOK struct { }
RebuildOK handles this case with default header values.
No response was specified
func NewRebuildOK ¶
func NewRebuildOK() *RebuildOK
NewRebuildOK creates a RebuildOK with default headers values
type RebuildParams ¶
type RebuildParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RebuildParams contains all the parameters to send to the API endpoint for the rebuild operation typically these are written to a http.Request
func NewRebuildParams ¶
func NewRebuildParams() *RebuildParams
NewRebuildParams creates a new RebuildParams object with the default values initialized.
func NewRebuildParamsWithContext ¶
func NewRebuildParamsWithContext(ctx context.Context) *RebuildParams
NewRebuildParamsWithContext creates a new RebuildParams object with the default values initialized, and the ability to set a context for a request
func NewRebuildParamsWithHTTPClient ¶
func NewRebuildParamsWithHTTPClient(client *http.Client) *RebuildParams
NewRebuildParamsWithHTTPClient creates a new RebuildParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRebuildParamsWithTimeout ¶
func NewRebuildParamsWithTimeout(timeout time.Duration) *RebuildParams
NewRebuildParamsWithTimeout creates a new RebuildParams object with the default values initialized, and the ability to set a timeout on a request
func (*RebuildParams) SetContext ¶
func (o *RebuildParams) SetContext(ctx context.Context)
SetContext adds the context to the rebuild params
func (*RebuildParams) SetHTTPClient ¶
func (o *RebuildParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rebuild params
func (*RebuildParams) SetTimeout ¶
func (o *RebuildParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rebuild params
func (*RebuildParams) WithContext ¶
func (o *RebuildParams) WithContext(ctx context.Context) *RebuildParams
WithContext adds the context to the rebuild params
func (*RebuildParams) WithHTTPClient ¶
func (o *RebuildParams) WithHTTPClient(client *http.Client) *RebuildParams
WithHTTPClient adds the HTTPClient to the rebuild params
func (*RebuildParams) WithTimeout ¶
func (o *RebuildParams) WithTimeout(timeout time.Duration) *RebuildParams
WithTimeout adds the timeout to the rebuild params
func (*RebuildParams) WriteToRequest ¶
func (o *RebuildParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RebuildReader ¶
type RebuildReader struct {
// contains filtered or unexported fields
}
RebuildReader is a Reader for the Rebuild structure.
func (*RebuildReader) ReadResponse ¶
func (o *RebuildReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.