system_indexer_overview

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: 10 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 indexer overview API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new system indexer overview API client.

func (*Client) Close

func (a *Client) Close(params *CloseParams, authInfo runtime.ClientAuthInfoWriter) (*CloseOK, error)

Close closes an index this will also trigger an index ranges rebuild job

func (*Client) Closed

func (a *Client) Closed(params *ClosedParams, authInfo runtime.ClientAuthInfoWriter) (*ClosedOK, error)

Closed gets a list of closed indices that can be reopened

func (*Client) IndexSetClosed

func (a *Client) IndexSetClosed(params *IndexSetClosedParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetClosedOK, error)

IndexSetClosed gets a list of closed indices that can be reopened

func (*Client) IndexSetList

func (a *Client) IndexSetList(params *IndexSetListParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetListOK, error)

IndexSetList lists all open closed and reopened indices

func (*Client) IndexSetOpen

func (a *Client) IndexSetOpen(params *IndexSetOpenParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetOpenOK, error)

IndexSetOpen gets information of all open indices managed by graylog and their shards

func (*Client) IndexSetReopened

func (a *Client) IndexSetReopened(params *IndexSetReopenedParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetReopenedOK, error)

IndexSetReopened gets a list of reopened indices which will not be cleaned by retention cleaning

func (*Client) Multiple

func (a *Client) Multiple(params *MultipleParams, authInfo runtime.ClientAuthInfoWriter) (*MultipleOK, error)

Multiple gets information of all specified indices and their shards

func (*Client) Open

func (a *Client) Open(params *OpenParams, authInfo runtime.ClientAuthInfoWriter) (*OpenOK, error)

Open gets information of all open indices managed by graylog and their shards

func (*Client) Reopen

func (a *Client) Reopen(params *ReopenParams, authInfo runtime.ClientAuthInfoWriter) (*ReopenOK, error)

Reopen reopens a closed index this will also trigger an index ranges rebuild job

func (*Client) Reopened

func (a *Client) Reopened(params *ReopenedParams, authInfo runtime.ClientAuthInfoWriter) (*ReopenedOK, error)

Reopened gets a list of reopened indices which will not be cleaned by retention cleaning

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CloseForbidden

type CloseForbidden struct {
}

CloseForbidden handles this case with default header values.

You cannot close the current deflector target index.

func NewCloseForbidden

func NewCloseForbidden() *CloseForbidden

NewCloseForbidden creates a CloseForbidden with default headers values

func (*CloseForbidden) Error

func (o *CloseForbidden) Error() string

type CloseOK

type CloseOK struct {
}

CloseOK handles this case with default header values.

No response was specified

func NewCloseOK

func NewCloseOK() *CloseOK

NewCloseOK creates a CloseOK with default headers values

func (*CloseOK) Error

func (o *CloseOK) Error() string

type CloseParams

type CloseParams struct {

	/*Index*/
	Index string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CloseParams contains all the parameters to send to the API endpoint for the close operation typically these are written to a http.Request

func NewCloseParams

func NewCloseParams() *CloseParams

NewCloseParams creates a new CloseParams object with the default values initialized.

func NewCloseParamsWithContext

func NewCloseParamsWithContext(ctx context.Context) *CloseParams

NewCloseParamsWithContext creates a new CloseParams object with the default values initialized, and the ability to set a context for a request

func NewCloseParamsWithHTTPClient

func NewCloseParamsWithHTTPClient(client *http.Client) *CloseParams

NewCloseParamsWithHTTPClient creates a new CloseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCloseParamsWithTimeout

func NewCloseParamsWithTimeout(timeout time.Duration) *CloseParams

NewCloseParamsWithTimeout creates a new CloseParams object with the default values initialized, and the ability to set a timeout on a request

func (*CloseParams) SetContext

func (o *CloseParams) SetContext(ctx context.Context)

SetContext adds the context to the close params

func (*CloseParams) SetHTTPClient

func (o *CloseParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the close params

func (*CloseParams) SetIndex

func (o *CloseParams) SetIndex(index string)

SetIndex adds the index to the close params

func (*CloseParams) SetTimeout

func (o *CloseParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the close params

func (*CloseParams) WithContext

func (o *CloseParams) WithContext(ctx context.Context) *CloseParams

WithContext adds the context to the close params

func (*CloseParams) WithHTTPClient

func (o *CloseParams) WithHTTPClient(client *http.Client) *CloseParams

WithHTTPClient adds the HTTPClient to the close params

func (*CloseParams) WithIndex

func (o *CloseParams) WithIndex(index string) *CloseParams

WithIndex adds the index to the close params

func (*CloseParams) WithTimeout

func (o *CloseParams) WithTimeout(timeout time.Duration) *CloseParams

WithTimeout adds the timeout to the close params

func (*CloseParams) WriteToRequest

func (o *CloseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CloseReader

type CloseReader struct {
	// contains filtered or unexported fields
}

CloseReader is a Reader for the Close structure.

func (*CloseReader) ReadResponse

func (o *CloseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ClosedOK

type ClosedOK struct {
	Payload *models.ClosedIndices
}

ClosedOK handles this case with default header values.

No response was specified

func NewClosedOK

func NewClosedOK() *ClosedOK

NewClosedOK creates a ClosedOK with default headers values

func (*ClosedOK) Error

func (o *ClosedOK) Error() string

type ClosedParams

type ClosedParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ClosedParams contains all the parameters to send to the API endpoint for the closed operation typically these are written to a http.Request

func NewClosedParams

func NewClosedParams() *ClosedParams

NewClosedParams creates a new ClosedParams object with the default values initialized.

func NewClosedParamsWithContext

func NewClosedParamsWithContext(ctx context.Context) *ClosedParams

NewClosedParamsWithContext creates a new ClosedParams object with the default values initialized, and the ability to set a context for a request

func NewClosedParamsWithHTTPClient

func NewClosedParamsWithHTTPClient(client *http.Client) *ClosedParams

NewClosedParamsWithHTTPClient creates a new ClosedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewClosedParamsWithTimeout

func NewClosedParamsWithTimeout(timeout time.Duration) *ClosedParams

NewClosedParamsWithTimeout creates a new ClosedParams object with the default values initialized, and the ability to set a timeout on a request

func (*ClosedParams) SetContext

func (o *ClosedParams) SetContext(ctx context.Context)

SetContext adds the context to the closed params

func (*ClosedParams) SetHTTPClient

func (o *ClosedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the closed params

func (*ClosedParams) SetTimeout

func (o *ClosedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the closed params

func (*ClosedParams) WithContext

func (o *ClosedParams) WithContext(ctx context.Context) *ClosedParams

WithContext adds the context to the closed params

func (*ClosedParams) WithHTTPClient

func (o *ClosedParams) WithHTTPClient(client *http.Client) *ClosedParams

WithHTTPClient adds the HTTPClient to the closed params

func (*ClosedParams) WithTimeout

func (o *ClosedParams) WithTimeout(timeout time.Duration) *ClosedParams

WithTimeout adds the timeout to the closed params

func (*ClosedParams) WriteToRequest

func (o *ClosedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ClosedReader

type ClosedReader struct {
	// contains filtered or unexported fields
}

ClosedReader is a Reader for the Closed structure.

func (*ClosedReader) ReadResponse

func (o *ClosedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IndexSetClosedOK

type IndexSetClosedOK struct {
	Payload *models.ClosedIndices
}

IndexSetClosedOK handles this case with default header values.

No response was specified

func NewIndexSetClosedOK

func NewIndexSetClosedOK() *IndexSetClosedOK

NewIndexSetClosedOK creates a IndexSetClosedOK with default headers values

func (*IndexSetClosedOK) Error

func (o *IndexSetClosedOK) Error() string

type IndexSetClosedParams

type IndexSetClosedParams struct {

	/*IndexSetID*/
	IndexSetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IndexSetClosedParams contains all the parameters to send to the API endpoint for the index set closed operation typically these are written to a http.Request

func NewIndexSetClosedParams

func NewIndexSetClosedParams() *IndexSetClosedParams

NewIndexSetClosedParams creates a new IndexSetClosedParams object with the default values initialized.

func NewIndexSetClosedParamsWithContext

func NewIndexSetClosedParamsWithContext(ctx context.Context) *IndexSetClosedParams

NewIndexSetClosedParamsWithContext creates a new IndexSetClosedParams object with the default values initialized, and the ability to set a context for a request

func NewIndexSetClosedParamsWithHTTPClient

func NewIndexSetClosedParamsWithHTTPClient(client *http.Client) *IndexSetClosedParams

NewIndexSetClosedParamsWithHTTPClient creates a new IndexSetClosedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIndexSetClosedParamsWithTimeout

func NewIndexSetClosedParamsWithTimeout(timeout time.Duration) *IndexSetClosedParams

NewIndexSetClosedParamsWithTimeout creates a new IndexSetClosedParams object with the default values initialized, and the ability to set a timeout on a request

func (*IndexSetClosedParams) SetContext

func (o *IndexSetClosedParams) SetContext(ctx context.Context)

SetContext adds the context to the index set closed params

func (*IndexSetClosedParams) SetHTTPClient

func (o *IndexSetClosedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the index set closed params

func (*IndexSetClosedParams) SetIndexSetID

func (o *IndexSetClosedParams) SetIndexSetID(indexSetID string)

SetIndexSetID adds the indexSetId to the index set closed params

func (*IndexSetClosedParams) SetTimeout

func (o *IndexSetClosedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the index set closed params

func (*IndexSetClosedParams) WithContext

WithContext adds the context to the index set closed params

func (*IndexSetClosedParams) WithHTTPClient

func (o *IndexSetClosedParams) WithHTTPClient(client *http.Client) *IndexSetClosedParams

WithHTTPClient adds the HTTPClient to the index set closed params

func (*IndexSetClosedParams) WithIndexSetID

func (o *IndexSetClosedParams) WithIndexSetID(indexSetID string) *IndexSetClosedParams

WithIndexSetID adds the indexSetID to the index set closed params

func (*IndexSetClosedParams) WithTimeout

func (o *IndexSetClosedParams) WithTimeout(timeout time.Duration) *IndexSetClosedParams

WithTimeout adds the timeout to the index set closed params

func (*IndexSetClosedParams) WriteToRequest

func (o *IndexSetClosedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IndexSetClosedReader

type IndexSetClosedReader struct {
	// contains filtered or unexported fields
}

IndexSetClosedReader is a Reader for the IndexSetClosed structure.

func (*IndexSetClosedReader) ReadResponse

func (o *IndexSetClosedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IndexSetListOK

type IndexSetListOK struct {
	Payload *models.AllIndices
}

IndexSetListOK handles this case with default header values.

No response was specified

func NewIndexSetListOK

func NewIndexSetListOK() *IndexSetListOK

NewIndexSetListOK creates a IndexSetListOK with default headers values

func (*IndexSetListOK) Error

func (o *IndexSetListOK) Error() string

type IndexSetListParams

type IndexSetListParams struct {

	/*IndexSetID*/
	IndexSetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IndexSetListParams contains all the parameters to send to the API endpoint for the index set list operation typically these are written to a http.Request

func NewIndexSetListParams

func NewIndexSetListParams() *IndexSetListParams

NewIndexSetListParams creates a new IndexSetListParams object with the default values initialized.

func NewIndexSetListParamsWithContext

func NewIndexSetListParamsWithContext(ctx context.Context) *IndexSetListParams

NewIndexSetListParamsWithContext creates a new IndexSetListParams object with the default values initialized, and the ability to set a context for a request

func NewIndexSetListParamsWithHTTPClient

func NewIndexSetListParamsWithHTTPClient(client *http.Client) *IndexSetListParams

NewIndexSetListParamsWithHTTPClient creates a new IndexSetListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIndexSetListParamsWithTimeout

func NewIndexSetListParamsWithTimeout(timeout time.Duration) *IndexSetListParams

NewIndexSetListParamsWithTimeout creates a new IndexSetListParams object with the default values initialized, and the ability to set a timeout on a request

func (*IndexSetListParams) SetContext

func (o *IndexSetListParams) SetContext(ctx context.Context)

SetContext adds the context to the index set list params

func (*IndexSetListParams) SetHTTPClient

func (o *IndexSetListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the index set list params

func (*IndexSetListParams) SetIndexSetID

func (o *IndexSetListParams) SetIndexSetID(indexSetID string)

SetIndexSetID adds the indexSetId to the index set list params

func (*IndexSetListParams) SetTimeout

func (o *IndexSetListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the index set list params

func (*IndexSetListParams) WithContext

WithContext adds the context to the index set list params

func (*IndexSetListParams) WithHTTPClient

func (o *IndexSetListParams) WithHTTPClient(client *http.Client) *IndexSetListParams

WithHTTPClient adds the HTTPClient to the index set list params

func (*IndexSetListParams) WithIndexSetID

func (o *IndexSetListParams) WithIndexSetID(indexSetID string) *IndexSetListParams

WithIndexSetID adds the indexSetID to the index set list params

func (*IndexSetListParams) WithTimeout

func (o *IndexSetListParams) WithTimeout(timeout time.Duration) *IndexSetListParams

WithTimeout adds the timeout to the index set list params

func (*IndexSetListParams) WriteToRequest

func (o *IndexSetListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IndexSetListReader

type IndexSetListReader struct {
	// contains filtered or unexported fields
}

IndexSetListReader is a Reader for the IndexSetList structure.

func (*IndexSetListReader) ReadResponse

func (o *IndexSetListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IndexSetOpenOK

type IndexSetOpenOK struct {
	Payload *models.OpenIndicesInfo
}

IndexSetOpenOK handles this case with default header values.

No response was specified

func NewIndexSetOpenOK

func NewIndexSetOpenOK() *IndexSetOpenOK

NewIndexSetOpenOK creates a IndexSetOpenOK with default headers values

func (*IndexSetOpenOK) Error

func (o *IndexSetOpenOK) Error() string

type IndexSetOpenParams

type IndexSetOpenParams struct {

	/*IndexSetID*/
	IndexSetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IndexSetOpenParams contains all the parameters to send to the API endpoint for the index set open operation typically these are written to a http.Request

func NewIndexSetOpenParams

func NewIndexSetOpenParams() *IndexSetOpenParams

NewIndexSetOpenParams creates a new IndexSetOpenParams object with the default values initialized.

func NewIndexSetOpenParamsWithContext

func NewIndexSetOpenParamsWithContext(ctx context.Context) *IndexSetOpenParams

NewIndexSetOpenParamsWithContext creates a new IndexSetOpenParams object with the default values initialized, and the ability to set a context for a request

func NewIndexSetOpenParamsWithHTTPClient

func NewIndexSetOpenParamsWithHTTPClient(client *http.Client) *IndexSetOpenParams

NewIndexSetOpenParamsWithHTTPClient creates a new IndexSetOpenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIndexSetOpenParamsWithTimeout

func NewIndexSetOpenParamsWithTimeout(timeout time.Duration) *IndexSetOpenParams

NewIndexSetOpenParamsWithTimeout creates a new IndexSetOpenParams object with the default values initialized, and the ability to set a timeout on a request

func (*IndexSetOpenParams) SetContext

func (o *IndexSetOpenParams) SetContext(ctx context.Context)

SetContext adds the context to the index set open params

func (*IndexSetOpenParams) SetHTTPClient

func (o *IndexSetOpenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the index set open params

func (*IndexSetOpenParams) SetIndexSetID

func (o *IndexSetOpenParams) SetIndexSetID(indexSetID string)

SetIndexSetID adds the indexSetId to the index set open params

func (*IndexSetOpenParams) SetTimeout

func (o *IndexSetOpenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the index set open params

func (*IndexSetOpenParams) WithContext

WithContext adds the context to the index set open params

func (*IndexSetOpenParams) WithHTTPClient

func (o *IndexSetOpenParams) WithHTTPClient(client *http.Client) *IndexSetOpenParams

WithHTTPClient adds the HTTPClient to the index set open params

func (*IndexSetOpenParams) WithIndexSetID

func (o *IndexSetOpenParams) WithIndexSetID(indexSetID string) *IndexSetOpenParams

WithIndexSetID adds the indexSetID to the index set open params

func (*IndexSetOpenParams) WithTimeout

func (o *IndexSetOpenParams) WithTimeout(timeout time.Duration) *IndexSetOpenParams

WithTimeout adds the timeout to the index set open params

func (*IndexSetOpenParams) WriteToRequest

func (o *IndexSetOpenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IndexSetOpenReader

type IndexSetOpenReader struct {
	// contains filtered or unexported fields
}

IndexSetOpenReader is a Reader for the IndexSetOpen structure.

func (*IndexSetOpenReader) ReadResponse

func (o *IndexSetOpenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type IndexSetReopenedOK

type IndexSetReopenedOK struct {
	Payload *models.ClosedIndices
}

IndexSetReopenedOK handles this case with default header values.

No response was specified

func NewIndexSetReopenedOK

func NewIndexSetReopenedOK() *IndexSetReopenedOK

NewIndexSetReopenedOK creates a IndexSetReopenedOK with default headers values

func (*IndexSetReopenedOK) Error

func (o *IndexSetReopenedOK) Error() string

type IndexSetReopenedParams

type IndexSetReopenedParams struct {

	/*IndexSetID*/
	IndexSetID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IndexSetReopenedParams contains all the parameters to send to the API endpoint for the index set reopened operation typically these are written to a http.Request

func NewIndexSetReopenedParams

func NewIndexSetReopenedParams() *IndexSetReopenedParams

NewIndexSetReopenedParams creates a new IndexSetReopenedParams object with the default values initialized.

func NewIndexSetReopenedParamsWithContext

func NewIndexSetReopenedParamsWithContext(ctx context.Context) *IndexSetReopenedParams

NewIndexSetReopenedParamsWithContext creates a new IndexSetReopenedParams object with the default values initialized, and the ability to set a context for a request

func NewIndexSetReopenedParamsWithHTTPClient

func NewIndexSetReopenedParamsWithHTTPClient(client *http.Client) *IndexSetReopenedParams

NewIndexSetReopenedParamsWithHTTPClient creates a new IndexSetReopenedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIndexSetReopenedParamsWithTimeout

func NewIndexSetReopenedParamsWithTimeout(timeout time.Duration) *IndexSetReopenedParams

NewIndexSetReopenedParamsWithTimeout creates a new IndexSetReopenedParams object with the default values initialized, and the ability to set a timeout on a request

func (*IndexSetReopenedParams) SetContext

func (o *IndexSetReopenedParams) SetContext(ctx context.Context)

SetContext adds the context to the index set reopened params

func (*IndexSetReopenedParams) SetHTTPClient

func (o *IndexSetReopenedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the index set reopened params

func (*IndexSetReopenedParams) SetIndexSetID

func (o *IndexSetReopenedParams) SetIndexSetID(indexSetID string)

SetIndexSetID adds the indexSetId to the index set reopened params

func (*IndexSetReopenedParams) SetTimeout

func (o *IndexSetReopenedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the index set reopened params

func (*IndexSetReopenedParams) WithContext

WithContext adds the context to the index set reopened params

func (*IndexSetReopenedParams) WithHTTPClient

func (o *IndexSetReopenedParams) WithHTTPClient(client *http.Client) *IndexSetReopenedParams

WithHTTPClient adds the HTTPClient to the index set reopened params

func (*IndexSetReopenedParams) WithIndexSetID

func (o *IndexSetReopenedParams) WithIndexSetID(indexSetID string) *IndexSetReopenedParams

WithIndexSetID adds the indexSetID to the index set reopened params

func (*IndexSetReopenedParams) WithTimeout

WithTimeout adds the timeout to the index set reopened params

func (*IndexSetReopenedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IndexSetReopenedReader

type IndexSetReopenedReader struct {
	// contains filtered or unexported fields
}

IndexSetReopenedReader is a Reader for the IndexSetReopened structure.

func (*IndexSetReopenedReader) ReadResponse

func (o *IndexSetReopenedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MultipleOK

type MultipleOK struct {
	Payload MultipleOKBody
}

MultipleOK handles this case with default header values.

No response was specified

func NewMultipleOK

func NewMultipleOK() *MultipleOK

NewMultipleOK creates a MultipleOK with default headers values

func (*MultipleOK) Error

func (o *MultipleOK) Error() string

type MultipleOKBody

type MultipleOKBody interface{}

MultipleOKBody multiple o k body swagger:model MultipleOKBody

type MultipleParams

type MultipleParams struct {

	/*RequestedIndices*/
	RequestedIndices *models.IndicesReadRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MultipleParams contains all the parameters to send to the API endpoint for the multiple operation typically these are written to a http.Request

func NewMultipleParams

func NewMultipleParams() *MultipleParams

NewMultipleParams creates a new MultipleParams object with the default values initialized.

func NewMultipleParamsWithContext

func NewMultipleParamsWithContext(ctx context.Context) *MultipleParams

NewMultipleParamsWithContext creates a new MultipleParams object with the default values initialized, and the ability to set a context for a request

func NewMultipleParamsWithHTTPClient

func NewMultipleParamsWithHTTPClient(client *http.Client) *MultipleParams

NewMultipleParamsWithHTTPClient creates a new MultipleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewMultipleParamsWithTimeout

func NewMultipleParamsWithTimeout(timeout time.Duration) *MultipleParams

NewMultipleParamsWithTimeout creates a new MultipleParams object with the default values initialized, and the ability to set a timeout on a request

func (*MultipleParams) SetContext

func (o *MultipleParams) SetContext(ctx context.Context)

SetContext adds the context to the multiple params

func (*MultipleParams) SetHTTPClient

func (o *MultipleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the multiple params

func (*MultipleParams) SetRequestedIndices

func (o *MultipleParams) SetRequestedIndices(requestedIndices *models.IndicesReadRequest)

SetRequestedIndices adds the requestedIndices to the multiple params

func (*MultipleParams) SetTimeout

func (o *MultipleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the multiple params

func (*MultipleParams) WithContext

func (o *MultipleParams) WithContext(ctx context.Context) *MultipleParams

WithContext adds the context to the multiple params

func (*MultipleParams) WithHTTPClient

func (o *MultipleParams) WithHTTPClient(client *http.Client) *MultipleParams

WithHTTPClient adds the HTTPClient to the multiple params

func (*MultipleParams) WithRequestedIndices

func (o *MultipleParams) WithRequestedIndices(requestedIndices *models.IndicesReadRequest) *MultipleParams

WithRequestedIndices adds the requestedIndices to the multiple params

func (*MultipleParams) WithTimeout

func (o *MultipleParams) WithTimeout(timeout time.Duration) *MultipleParams

WithTimeout adds the timeout to the multiple params

func (*MultipleParams) WriteToRequest

func (o *MultipleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type MultipleReader

type MultipleReader struct {
	// contains filtered or unexported fields
}

MultipleReader is a Reader for the Multiple structure.

func (*MultipleReader) ReadResponse

func (o *MultipleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OpenOK

type OpenOK struct {
	Payload *models.OpenIndicesInfo
}

OpenOK handles this case with default header values.

No response was specified

func NewOpenOK

func NewOpenOK() *OpenOK

NewOpenOK creates a OpenOK with default headers values

func (*OpenOK) Error

func (o *OpenOK) Error() string

type OpenParams

type OpenParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OpenParams contains all the parameters to send to the API endpoint for the open operation typically these are written to a http.Request

func NewOpenParams

func NewOpenParams() *OpenParams

NewOpenParams creates a new OpenParams object with the default values initialized.

func NewOpenParamsWithContext

func NewOpenParamsWithContext(ctx context.Context) *OpenParams

NewOpenParamsWithContext creates a new OpenParams object with the default values initialized, and the ability to set a context for a request

func NewOpenParamsWithHTTPClient

func NewOpenParamsWithHTTPClient(client *http.Client) *OpenParams

NewOpenParamsWithHTTPClient creates a new OpenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOpenParamsWithTimeout

func NewOpenParamsWithTimeout(timeout time.Duration) *OpenParams

NewOpenParamsWithTimeout creates a new OpenParams object with the default values initialized, and the ability to set a timeout on a request

func (*OpenParams) SetContext

func (o *OpenParams) SetContext(ctx context.Context)

SetContext adds the context to the open params

func (*OpenParams) SetHTTPClient

func (o *OpenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the open params

func (*OpenParams) SetTimeout

func (o *OpenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the open params

func (*OpenParams) WithContext

func (o *OpenParams) WithContext(ctx context.Context) *OpenParams

WithContext adds the context to the open params

func (*OpenParams) WithHTTPClient

func (o *OpenParams) WithHTTPClient(client *http.Client) *OpenParams

WithHTTPClient adds the HTTPClient to the open params

func (*OpenParams) WithTimeout

func (o *OpenParams) WithTimeout(timeout time.Duration) *OpenParams

WithTimeout adds the timeout to the open params

func (*OpenParams) WriteToRequest

func (o *OpenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OpenReader

type OpenReader struct {
	// contains filtered or unexported fields
}

OpenReader is a Reader for the Open structure.

func (*OpenReader) ReadResponse

func (o *OpenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReopenOK

type ReopenOK struct {
}

ReopenOK handles this case with default header values.

No response was specified

func NewReopenOK

func NewReopenOK() *ReopenOK

NewReopenOK creates a ReopenOK with default headers values

func (*ReopenOK) Error

func (o *ReopenOK) Error() string

type ReopenParams

type ReopenParams struct {

	/*Index*/
	Index string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReopenParams contains all the parameters to send to the API endpoint for the reopen operation typically these are written to a http.Request

func NewReopenParams

func NewReopenParams() *ReopenParams

NewReopenParams creates a new ReopenParams object with the default values initialized.

func NewReopenParamsWithContext

func NewReopenParamsWithContext(ctx context.Context) *ReopenParams

NewReopenParamsWithContext creates a new ReopenParams object with the default values initialized, and the ability to set a context for a request

func NewReopenParamsWithHTTPClient

func NewReopenParamsWithHTTPClient(client *http.Client) *ReopenParams

NewReopenParamsWithHTTPClient creates a new ReopenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReopenParamsWithTimeout

func NewReopenParamsWithTimeout(timeout time.Duration) *ReopenParams

NewReopenParamsWithTimeout creates a new ReopenParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReopenParams) SetContext

func (o *ReopenParams) SetContext(ctx context.Context)

SetContext adds the context to the reopen params

func (*ReopenParams) SetHTTPClient

func (o *ReopenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reopen params

func (*ReopenParams) SetIndex

func (o *ReopenParams) SetIndex(index string)

SetIndex adds the index to the reopen params

func (*ReopenParams) SetTimeout

func (o *ReopenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reopen params

func (*ReopenParams) WithContext

func (o *ReopenParams) WithContext(ctx context.Context) *ReopenParams

WithContext adds the context to the reopen params

func (*ReopenParams) WithHTTPClient

func (o *ReopenParams) WithHTTPClient(client *http.Client) *ReopenParams

WithHTTPClient adds the HTTPClient to the reopen params

func (*ReopenParams) WithIndex

func (o *ReopenParams) WithIndex(index string) *ReopenParams

WithIndex adds the index to the reopen params

func (*ReopenParams) WithTimeout

func (o *ReopenParams) WithTimeout(timeout time.Duration) *ReopenParams

WithTimeout adds the timeout to the reopen params

func (*ReopenParams) WriteToRequest

func (o *ReopenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReopenReader

type ReopenReader struct {
	// contains filtered or unexported fields
}

ReopenReader is a Reader for the Reopen structure.

func (*ReopenReader) ReadResponse

func (o *ReopenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReopenedOK

type ReopenedOK struct {
	Payload *models.ClosedIndices
}

ReopenedOK handles this case with default header values.

No response was specified

func NewReopenedOK

func NewReopenedOK() *ReopenedOK

NewReopenedOK creates a ReopenedOK with default headers values

func (*ReopenedOK) Error

func (o *ReopenedOK) Error() string

type ReopenedParams

type ReopenedParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReopenedParams contains all the parameters to send to the API endpoint for the reopened operation typically these are written to a http.Request

func NewReopenedParams

func NewReopenedParams() *ReopenedParams

NewReopenedParams creates a new ReopenedParams object with the default values initialized.

func NewReopenedParamsWithContext

func NewReopenedParamsWithContext(ctx context.Context) *ReopenedParams

NewReopenedParamsWithContext creates a new ReopenedParams object with the default values initialized, and the ability to set a context for a request

func NewReopenedParamsWithHTTPClient

func NewReopenedParamsWithHTTPClient(client *http.Client) *ReopenedParams

NewReopenedParamsWithHTTPClient creates a new ReopenedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReopenedParamsWithTimeout

func NewReopenedParamsWithTimeout(timeout time.Duration) *ReopenedParams

NewReopenedParamsWithTimeout creates a new ReopenedParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReopenedParams) SetContext

func (o *ReopenedParams) SetContext(ctx context.Context)

SetContext adds the context to the reopened params

func (*ReopenedParams) SetHTTPClient

func (o *ReopenedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the reopened params

func (*ReopenedParams) SetTimeout

func (o *ReopenedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the reopened params

func (*ReopenedParams) WithContext

func (o *ReopenedParams) WithContext(ctx context.Context) *ReopenedParams

WithContext adds the context to the reopened params

func (*ReopenedParams) WithHTTPClient

func (o *ReopenedParams) WithHTTPClient(client *http.Client) *ReopenedParams

WithHTTPClient adds the HTTPClient to the reopened params

func (*ReopenedParams) WithTimeout

func (o *ReopenedParams) WithTimeout(timeout time.Duration) *ReopenedParams

WithTimeout adds the timeout to the reopened params

func (*ReopenedParams) WriteToRequest

func (o *ReopenedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReopenedReader

type ReopenedReader struct {
	// contains filtered or unexported fields
}

ReopenedReader is a Reader for the Reopened structure.

func (*ReopenedReader) ReadResponse

func (o *ReopenedReader) 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