Documentation ¶
Index ¶
- type Client
- type CountBadRequest
- type CountOK
- type CountParams
- func (o *CountParams) SetContext(ctx context.Context)
- func (o *CountParams) SetHTTPClient(client *http.Client)
- func (o *CountParams) SetSince(since string)
- func (o *CountParams) SetTimeout(timeout time.Duration)
- func (o *CountParams) WithContext(ctx context.Context) *CountParams
- func (o *CountParams) WithHTTPClient(client *http.Client) *CountParams
- func (o *CountParams) WithSince(since string) *CountParams
- func (o *CountParams) WithTimeout(timeout time.Duration) *CountParams
- func (o *CountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountReader
- type SingleOK
- type SingleOKBody
- type SingleParams
- func (o *SingleParams) SetContext(ctx context.Context)
- func (o *SingleParams) SetHTTPClient(client *http.Client)
- func (o *SingleParams) SetLimit(limit int64)
- func (o *SingleParams) SetOffset(offset int64)
- func (o *SingleParams) SetTimeout(timeout time.Duration)
- func (o *SingleParams) WithContext(ctx context.Context) *SingleParams
- func (o *SingleParams) WithHTTPClient(client *http.Client) *SingleParams
- func (o *SingleParams) WithLimit(limit int64) *SingleParams
- func (o *SingleParams) WithOffset(offset int64) *SingleParams
- func (o *SingleParams) WithTimeout(timeout time.Duration) *SingleParams
- func (o *SingleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SingleReader
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 indices API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new system indexer indices API client.
func (*Client) Count ¶
func (a *Client) Count(params *CountParams, authInfo runtime.ClientAuthInfoWriter) (*CountOK, error)
Count totals count of failed index operations since the given date
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) Single ¶
func (a *Client) Single(params *SingleParams, authInfo runtime.ClientAuthInfoWriter) (*SingleOK, error)
Single gets a list of failed index operations
type CountBadRequest ¶
type CountBadRequest struct { }
CountBadRequest handles this case with default header values.
Invalid date parameter provided.
func NewCountBadRequest ¶
func NewCountBadRequest() *CountBadRequest
NewCountBadRequest creates a CountBadRequest with default headers values
func (*CountBadRequest) Error ¶
func (o *CountBadRequest) Error() string
type CountOK ¶
type CountOK struct {
Payload *models.FailureCount
}
CountOK handles this case with default header values.
No response was specified
func NewCountOK ¶
func NewCountOK() *CountOK
NewCountOK creates a CountOK with default headers values
type CountParams ¶
type CountParams struct { /*Since ISO8601 date */ Since string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountParams contains all the parameters to send to the API endpoint for the count operation typically these are written to a http.Request
func NewCountParams ¶
func NewCountParams() *CountParams
NewCountParams creates a new CountParams object with the default values initialized.
func NewCountParamsWithContext ¶
func NewCountParamsWithContext(ctx context.Context) *CountParams
NewCountParamsWithContext creates a new CountParams object with the default values initialized, and the ability to set a context for a request
func NewCountParamsWithHTTPClient ¶
func NewCountParamsWithHTTPClient(client *http.Client) *CountParams
NewCountParamsWithHTTPClient creates a new CountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCountParamsWithTimeout ¶
func NewCountParamsWithTimeout(timeout time.Duration) *CountParams
NewCountParamsWithTimeout creates a new CountParams object with the default values initialized, and the ability to set a timeout on a request
func (*CountParams) SetContext ¶
func (o *CountParams) SetContext(ctx context.Context)
SetContext adds the context to the count params
func (*CountParams) SetHTTPClient ¶
func (o *CountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count params
func (*CountParams) SetSince ¶
func (o *CountParams) SetSince(since string)
SetSince adds the since to the count params
func (*CountParams) SetTimeout ¶
func (o *CountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count params
func (*CountParams) WithContext ¶
func (o *CountParams) WithContext(ctx context.Context) *CountParams
WithContext adds the context to the count params
func (*CountParams) WithHTTPClient ¶
func (o *CountParams) WithHTTPClient(client *http.Client) *CountParams
WithHTTPClient adds the HTTPClient to the count params
func (*CountParams) WithSince ¶
func (o *CountParams) WithSince(since string) *CountParams
WithSince adds the since to the count params
func (*CountParams) WithTimeout ¶
func (o *CountParams) WithTimeout(timeout time.Duration) *CountParams
WithTimeout adds the timeout to the count params
func (*CountParams) WriteToRequest ¶
func (o *CountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountReader ¶
type CountReader struct {
// contains filtered or unexported fields
}
CountReader is a Reader for the Count structure.
func (*CountReader) ReadResponse ¶
func (o *CountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SingleOK ¶
type SingleOK struct {
Payload SingleOKBody
}
SingleOK handles this case with default header values.
No response was specified
func NewSingleOK ¶
func NewSingleOK() *SingleOK
NewSingleOK creates a SingleOK with default headers values
type SingleOKBody ¶
type SingleOKBody interface{}
SingleOKBody single o k body swagger:model SingleOKBody
type SingleParams ¶
type SingleParams struct { /*Limit Limit */ Limit int64 /*Offset Offset */ Offset int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SingleParams contains all the parameters to send to the API endpoint for the single operation typically these are written to a http.Request
func NewSingleParams ¶
func NewSingleParams() *SingleParams
NewSingleParams creates a new SingleParams object with the default values initialized.
func NewSingleParamsWithContext ¶
func NewSingleParamsWithContext(ctx context.Context) *SingleParams
NewSingleParamsWithContext creates a new SingleParams object with the default values initialized, and the ability to set a context for a request
func NewSingleParamsWithHTTPClient ¶
func NewSingleParamsWithHTTPClient(client *http.Client) *SingleParams
NewSingleParamsWithHTTPClient creates a new SingleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSingleParamsWithTimeout ¶
func NewSingleParamsWithTimeout(timeout time.Duration) *SingleParams
NewSingleParamsWithTimeout creates a new SingleParams object with the default values initialized, and the ability to set a timeout on a request
func (*SingleParams) SetContext ¶
func (o *SingleParams) SetContext(ctx context.Context)
SetContext adds the context to the single params
func (*SingleParams) SetHTTPClient ¶
func (o *SingleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the single params
func (*SingleParams) SetLimit ¶
func (o *SingleParams) SetLimit(limit int64)
SetLimit adds the limit to the single params
func (*SingleParams) SetOffset ¶
func (o *SingleParams) SetOffset(offset int64)
SetOffset adds the offset to the single params
func (*SingleParams) SetTimeout ¶
func (o *SingleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the single params
func (*SingleParams) WithContext ¶
func (o *SingleParams) WithContext(ctx context.Context) *SingleParams
WithContext adds the context to the single params
func (*SingleParams) WithHTTPClient ¶
func (o *SingleParams) WithHTTPClient(client *http.Client) *SingleParams
WithHTTPClient adds the HTTPClient to the single params
func (*SingleParams) WithLimit ¶
func (o *SingleParams) WithLimit(limit int64) *SingleParams
WithLimit adds the limit to the single params
func (*SingleParams) WithOffset ¶
func (o *SingleParams) WithOffset(offset int64) *SingleParams
WithOffset adds the offset to the single params
func (*SingleParams) WithTimeout ¶
func (o *SingleParams) WithTimeout(timeout time.Duration) *SingleParams
WithTimeout adds the timeout to the single params
func (*SingleParams) WriteToRequest ¶
func (o *SingleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SingleReader ¶
type SingleReader struct {
// contains filtered or unexported fields
}
SingleReader is a Reader for the Single structure.
func (*SingleReader) ReadResponse ¶
func (o *SingleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.