system_indices_index_sets

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

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

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

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

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

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

func (*RebuildOK) Error

func (o *RebuildOK) Error() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL