system_indices_retention

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 indices retention API

func New

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

New creates a new system indices retention API client.

func (*Client) GlobalStats

func (a *Client) GlobalStats(params *GlobalStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GlobalStatsOK, error)

GlobalStats gets stats of all index sets

func (*Client) IndexSetStatistics

func (a *Client) IndexSetStatistics(params *IndexSetStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetStatisticsOK, error)

IndexSetStatistics gets index set statistics

func (*Client) SetDefault

func (a *Client) SetDefault(params *SetDefaultParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultOK, error)

SetDefault sets default index set

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GlobalStatsForbidden

type GlobalStatsForbidden struct {
}

GlobalStatsForbidden handles this case with default header values.

Unauthorized

func NewGlobalStatsForbidden

func NewGlobalStatsForbidden() *GlobalStatsForbidden

NewGlobalStatsForbidden creates a GlobalStatsForbidden with default headers values

func (*GlobalStatsForbidden) Error

func (o *GlobalStatsForbidden) Error() string

type GlobalStatsOK

type GlobalStatsOK struct {
	Payload *models.IndexSetStats
}

GlobalStatsOK handles this case with default header values.

No response was specified

func NewGlobalStatsOK

func NewGlobalStatsOK() *GlobalStatsOK

NewGlobalStatsOK creates a GlobalStatsOK with default headers values

func (*GlobalStatsOK) Error

func (o *GlobalStatsOK) Error() string

type GlobalStatsParams

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

GlobalStatsParams contains all the parameters to send to the API endpoint for the global stats operation typically these are written to a http.Request

func NewGlobalStatsParams

func NewGlobalStatsParams() *GlobalStatsParams

NewGlobalStatsParams creates a new GlobalStatsParams object with the default values initialized.

func NewGlobalStatsParamsWithContext

func NewGlobalStatsParamsWithContext(ctx context.Context) *GlobalStatsParams

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

func NewGlobalStatsParamsWithHTTPClient

func NewGlobalStatsParamsWithHTTPClient(client *http.Client) *GlobalStatsParams

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

func NewGlobalStatsParamsWithTimeout

func NewGlobalStatsParamsWithTimeout(timeout time.Duration) *GlobalStatsParams

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

func (*GlobalStatsParams) SetContext

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

SetContext adds the context to the global stats params

func (*GlobalStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the global stats params

func (*GlobalStatsParams) SetTimeout

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

SetTimeout adds the timeout to the global stats params

func (*GlobalStatsParams) WithContext

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

WithContext adds the context to the global stats params

func (*GlobalStatsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the global stats params

func (*GlobalStatsParams) WithTimeout

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

WithTimeout adds the timeout to the global stats params

func (*GlobalStatsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GlobalStatsReader

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

GlobalStatsReader is a Reader for the GlobalStats structure.

func (*GlobalStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type IndexSetStatisticsForbidden

type IndexSetStatisticsForbidden struct {
}

IndexSetStatisticsForbidden handles this case with default header values.

Unauthorized

func NewIndexSetStatisticsForbidden

func NewIndexSetStatisticsForbidden() *IndexSetStatisticsForbidden

NewIndexSetStatisticsForbidden creates a IndexSetStatisticsForbidden with default headers values

func (*IndexSetStatisticsForbidden) Error

type IndexSetStatisticsNotFound

type IndexSetStatisticsNotFound struct {
}

IndexSetStatisticsNotFound handles this case with default header values.

Index set not found

func NewIndexSetStatisticsNotFound

func NewIndexSetStatisticsNotFound() *IndexSetStatisticsNotFound

NewIndexSetStatisticsNotFound creates a IndexSetStatisticsNotFound with default headers values

func (*IndexSetStatisticsNotFound) Error

type IndexSetStatisticsOK

type IndexSetStatisticsOK struct {
	Payload *models.IndexSetStats
}

IndexSetStatisticsOK handles this case with default header values.

No response was specified

func NewIndexSetStatisticsOK

func NewIndexSetStatisticsOK() *IndexSetStatisticsOK

NewIndexSetStatisticsOK creates a IndexSetStatisticsOK with default headers values

func (*IndexSetStatisticsOK) Error

func (o *IndexSetStatisticsOK) Error() string

type IndexSetStatisticsParams

type IndexSetStatisticsParams struct {

	/*ID*/
	ID string

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

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

func NewIndexSetStatisticsParams

func NewIndexSetStatisticsParams() *IndexSetStatisticsParams

NewIndexSetStatisticsParams creates a new IndexSetStatisticsParams object with the default values initialized.

func NewIndexSetStatisticsParamsWithContext

func NewIndexSetStatisticsParamsWithContext(ctx context.Context) *IndexSetStatisticsParams

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

func NewIndexSetStatisticsParamsWithHTTPClient

func NewIndexSetStatisticsParamsWithHTTPClient(client *http.Client) *IndexSetStatisticsParams

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

func NewIndexSetStatisticsParamsWithTimeout

func NewIndexSetStatisticsParamsWithTimeout(timeout time.Duration) *IndexSetStatisticsParams

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

func (*IndexSetStatisticsParams) SetContext

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

SetContext adds the context to the index set statistics params

func (*IndexSetStatisticsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the index set statistics params

func (*IndexSetStatisticsParams) SetID

func (o *IndexSetStatisticsParams) SetID(id string)

SetID adds the id to the index set statistics params

func (*IndexSetStatisticsParams) SetTimeout

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

SetTimeout adds the timeout to the index set statistics params

func (*IndexSetStatisticsParams) WithContext

WithContext adds the context to the index set statistics params

func (*IndexSetStatisticsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the index set statistics params

func (*IndexSetStatisticsParams) WithID

WithID adds the id to the index set statistics params

func (*IndexSetStatisticsParams) WithTimeout

WithTimeout adds the timeout to the index set statistics params

func (*IndexSetStatisticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type IndexSetStatisticsReader

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

IndexSetStatisticsReader is a Reader for the IndexSetStatistics structure.

func (*IndexSetStatisticsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveForbidden

type SaveForbidden struct {
}

SaveForbidden handles this case with default header values.

Unauthorized

func NewSaveForbidden

func NewSaveForbidden() *SaveForbidden

NewSaveForbidden creates a SaveForbidden with default headers values

func (*SaveForbidden) Error

func (o *SaveForbidden) Error() string

type SaveOK

type SaveOK struct {
	Payload *models.IndexSetSummary
}

SaveOK handles this case with default header values.

No response was specified

func NewSaveOK

func NewSaveOK() *SaveOK

NewSaveOK creates a SaveOK with default headers values

func (*SaveOK) Error

func (o *SaveOK) Error() string

type SaveParams

type SaveParams struct {

	/*IndexSetConfiguration*/
	IndexSetConfiguration *models.IndexSetSummary

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

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

func NewSaveParams

func NewSaveParams() *SaveParams

NewSaveParams creates a new SaveParams object with the default values initialized.

func NewSaveParamsWithContext

func NewSaveParamsWithContext(ctx context.Context) *SaveParams

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

func NewSaveParamsWithHTTPClient

func NewSaveParamsWithHTTPClient(client *http.Client) *SaveParams

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

func NewSaveParamsWithTimeout

func NewSaveParamsWithTimeout(timeout time.Duration) *SaveParams

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

func (*SaveParams) SetContext

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

SetContext adds the context to the save params

func (*SaveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save params

func (*SaveParams) SetIndexSetConfiguration

func (o *SaveParams) SetIndexSetConfiguration(indexSetConfiguration *models.IndexSetSummary)

SetIndexSetConfiguration adds the indexSetConfiguration to the save params

func (*SaveParams) SetTimeout

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

SetTimeout adds the timeout to the save params

func (*SaveParams) WithContext

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

WithContext adds the context to the save params

func (*SaveParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the save params

func (*SaveParams) WithIndexSetConfiguration

func (o *SaveParams) WithIndexSetConfiguration(indexSetConfiguration *models.IndexSetSummary) *SaveParams

WithIndexSetConfiguration adds the indexSetConfiguration to the save params

func (*SaveParams) WithTimeout

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

WithTimeout adds the timeout to the save params

func (*SaveParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SaveReader

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

SaveReader is a Reader for the Save structure.

func (*SaveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetDefaultForbidden

type SetDefaultForbidden struct {
}

SetDefaultForbidden handles this case with default header values.

Unauthorized

func NewSetDefaultForbidden

func NewSetDefaultForbidden() *SetDefaultForbidden

NewSetDefaultForbidden creates a SetDefaultForbidden with default headers values

func (*SetDefaultForbidden) Error

func (o *SetDefaultForbidden) Error() string

type SetDefaultOK

type SetDefaultOK struct {
	Payload *models.IndexSetSummary
}

SetDefaultOK handles this case with default header values.

No response was specified

func NewSetDefaultOK

func NewSetDefaultOK() *SetDefaultOK

NewSetDefaultOK creates a SetDefaultOK with default headers values

func (*SetDefaultOK) Error

func (o *SetDefaultOK) Error() string

type SetDefaultParams

type SetDefaultParams struct {

	/*ID*/
	ID string

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

SetDefaultParams contains all the parameters to send to the API endpoint for the set default operation typically these are written to a http.Request

func NewSetDefaultParams

func NewSetDefaultParams() *SetDefaultParams

NewSetDefaultParams creates a new SetDefaultParams object with the default values initialized.

func NewSetDefaultParamsWithContext

func NewSetDefaultParamsWithContext(ctx context.Context) *SetDefaultParams

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

func NewSetDefaultParamsWithHTTPClient

func NewSetDefaultParamsWithHTTPClient(client *http.Client) *SetDefaultParams

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

func NewSetDefaultParamsWithTimeout

func NewSetDefaultParamsWithTimeout(timeout time.Duration) *SetDefaultParams

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

func (*SetDefaultParams) SetContext

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

SetContext adds the context to the set default params

func (*SetDefaultParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set default params

func (*SetDefaultParams) SetID

func (o *SetDefaultParams) SetID(id string)

SetID adds the id to the set default params

func (*SetDefaultParams) SetTimeout

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

SetTimeout adds the timeout to the set default params

func (*SetDefaultParams) WithContext

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

WithContext adds the context to the set default params

func (*SetDefaultParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set default params

func (*SetDefaultParams) WithID

func (o *SetDefaultParams) WithID(id string) *SetDefaultParams

WithID adds the id to the set default params

func (*SetDefaultParams) WithTimeout

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

WithTimeout adds the timeout to the set default params

func (*SetDefaultParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetDefaultReader

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

SetDefaultReader is a Reader for the SetDefault structure.

func (*SetDefaultReader) ReadResponse

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