Documentation ¶
Index ¶
- type Client
- func (a *Client) GlobalStats(params *GlobalStatsParams, authInfo runtime.ClientAuthInfoWriter) (*GlobalStatsOK, error)
- func (a *Client) IndexSetStatistics(params *IndexSetStatisticsParams, authInfo runtime.ClientAuthInfoWriter) (*IndexSetStatisticsOK, error)
- func (a *Client) SetDefault(params *SetDefaultParams, authInfo runtime.ClientAuthInfoWriter) (*SetDefaultOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GlobalStatsForbidden
- type GlobalStatsOK
- type GlobalStatsParams
- func (o *GlobalStatsParams) SetContext(ctx context.Context)
- func (o *GlobalStatsParams) SetHTTPClient(client *http.Client)
- func (o *GlobalStatsParams) SetTimeout(timeout time.Duration)
- func (o *GlobalStatsParams) WithContext(ctx context.Context) *GlobalStatsParams
- func (o *GlobalStatsParams) WithHTTPClient(client *http.Client) *GlobalStatsParams
- func (o *GlobalStatsParams) WithTimeout(timeout time.Duration) *GlobalStatsParams
- func (o *GlobalStatsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GlobalStatsReader
- type IndexSetStatisticsForbidden
- type IndexSetStatisticsNotFound
- type IndexSetStatisticsOK
- type IndexSetStatisticsParams
- func NewIndexSetStatisticsParams() *IndexSetStatisticsParams
- func NewIndexSetStatisticsParamsWithContext(ctx context.Context) *IndexSetStatisticsParams
- func NewIndexSetStatisticsParamsWithHTTPClient(client *http.Client) *IndexSetStatisticsParams
- func NewIndexSetStatisticsParamsWithTimeout(timeout time.Duration) *IndexSetStatisticsParams
- func (o *IndexSetStatisticsParams) SetContext(ctx context.Context)
- func (o *IndexSetStatisticsParams) SetHTTPClient(client *http.Client)
- func (o *IndexSetStatisticsParams) SetID(id string)
- func (o *IndexSetStatisticsParams) SetTimeout(timeout time.Duration)
- func (o *IndexSetStatisticsParams) WithContext(ctx context.Context) *IndexSetStatisticsParams
- func (o *IndexSetStatisticsParams) WithHTTPClient(client *http.Client) *IndexSetStatisticsParams
- func (o *IndexSetStatisticsParams) WithID(id string) *IndexSetStatisticsParams
- func (o *IndexSetStatisticsParams) WithTimeout(timeout time.Duration) *IndexSetStatisticsParams
- func (o *IndexSetStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IndexSetStatisticsReader
- type SaveForbidden
- type SaveOK
- type SaveParams
- func (o *SaveParams) SetContext(ctx context.Context)
- func (o *SaveParams) SetHTTPClient(client *http.Client)
- func (o *SaveParams) SetIndexSetConfiguration(indexSetConfiguration *models.IndexSetSummary)
- func (o *SaveParams) SetTimeout(timeout time.Duration)
- func (o *SaveParams) WithContext(ctx context.Context) *SaveParams
- func (o *SaveParams) WithHTTPClient(client *http.Client) *SaveParams
- func (o *SaveParams) WithIndexSetConfiguration(indexSetConfiguration *models.IndexSetSummary) *SaveParams
- func (o *SaveParams) WithTimeout(timeout time.Duration) *SaveParams
- func (o *SaveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveReader
- type SetDefaultForbidden
- type SetDefaultOK
- type SetDefaultParams
- func (o *SetDefaultParams) SetContext(ctx context.Context)
- func (o *SetDefaultParams) SetHTTPClient(client *http.Client)
- func (o *SetDefaultParams) SetID(id string)
- func (o *SetDefaultParams) SetTimeout(timeout time.Duration)
- func (o *SetDefaultParams) WithContext(ctx context.Context) *SetDefaultParams
- func (o *SetDefaultParams) WithHTTPClient(client *http.Client) *SetDefaultParams
- func (o *SetDefaultParams) WithID(id string) *SetDefaultParams
- func (o *SetDefaultParams) WithTimeout(timeout time.Duration) *SetDefaultParams
- func (o *SetDefaultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDefaultReader
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 ¶
func (o *IndexSetStatisticsForbidden) Error() string
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 ¶
func (o *IndexSetStatisticsNotFound) Error() string
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 ¶
func (o *IndexSetStatisticsParams) WithContext(ctx context.Context) *IndexSetStatisticsParams
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 ¶
func (o *IndexSetStatisticsParams) WithID(id string) *IndexSetStatisticsParams
WithID adds the id to the index set statistics params
func (*IndexSetStatisticsParams) WithTimeout ¶
func (o *IndexSetStatisticsParams) WithTimeout(timeout time.Duration) *IndexSetStatisticsParams
WithTimeout adds the timeout to the index set statistics params
func (*IndexSetStatisticsParams) WriteToRequest ¶
func (o *IndexSetStatisticsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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.