Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type DistributedTasksGetForbidden
- func (o *DistributedTasksGetForbidden) Code() int
- func (o *DistributedTasksGetForbidden) Error() string
- func (o *DistributedTasksGetForbidden) GetPayload() *models.ErrorResponse
- func (o *DistributedTasksGetForbidden) IsClientError() bool
- func (o *DistributedTasksGetForbidden) IsCode(code int) bool
- func (o *DistributedTasksGetForbidden) IsRedirect() bool
- func (o *DistributedTasksGetForbidden) IsServerError() bool
- func (o *DistributedTasksGetForbidden) IsSuccess() bool
- func (o *DistributedTasksGetForbidden) String() string
- type DistributedTasksGetInternalServerError
- func (o *DistributedTasksGetInternalServerError) Code() int
- func (o *DistributedTasksGetInternalServerError) Error() string
- func (o *DistributedTasksGetInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DistributedTasksGetInternalServerError) IsClientError() bool
- func (o *DistributedTasksGetInternalServerError) IsCode(code int) bool
- func (o *DistributedTasksGetInternalServerError) IsRedirect() bool
- func (o *DistributedTasksGetInternalServerError) IsServerError() bool
- func (o *DistributedTasksGetInternalServerError) IsSuccess() bool
- func (o *DistributedTasksGetInternalServerError) String() string
- type DistributedTasksGetOK
- func (o *DistributedTasksGetOK) Code() int
- func (o *DistributedTasksGetOK) Error() string
- func (o *DistributedTasksGetOK) GetPayload() models.DistributedTasks
- func (o *DistributedTasksGetOK) IsClientError() bool
- func (o *DistributedTasksGetOK) IsCode(code int) bool
- func (o *DistributedTasksGetOK) IsRedirect() bool
- func (o *DistributedTasksGetOK) IsServerError() bool
- func (o *DistributedTasksGetOK) IsSuccess() bool
- func (o *DistributedTasksGetOK) String() string
- type DistributedTasksGetParams
- func NewDistributedTasksGetParams() *DistributedTasksGetParams
- func NewDistributedTasksGetParamsWithContext(ctx context.Context) *DistributedTasksGetParams
- func NewDistributedTasksGetParamsWithHTTPClient(client *http.Client) *DistributedTasksGetParams
- func NewDistributedTasksGetParamsWithTimeout(timeout time.Duration) *DistributedTasksGetParams
- func (o *DistributedTasksGetParams) SetContext(ctx context.Context)
- func (o *DistributedTasksGetParams) SetDefaults()
- func (o *DistributedTasksGetParams) SetHTTPClient(client *http.Client)
- func (o *DistributedTasksGetParams) SetTimeout(timeout time.Duration)
- func (o *DistributedTasksGetParams) WithContext(ctx context.Context) *DistributedTasksGetParams
- func (o *DistributedTasksGetParams) WithDefaults() *DistributedTasksGetParams
- func (o *DistributedTasksGetParams) WithHTTPClient(client *http.Client) *DistributedTasksGetParams
- func (o *DistributedTasksGetParams) WithTimeout(timeout time.Duration) *DistributedTasksGetParams
- func (o *DistributedTasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DistributedTasksGetReader
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 distributed tasks API
func (*Client) DistributedTasksGet ¶
func (a *Client) DistributedTasksGet(params *DistributedTasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DistributedTasksGetOK, error)
DistributedTasksGet lists all distributed tasks in the cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DistributedTasksGet(params *DistributedTasksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DistributedTasksGetOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new distributed tasks API client.
type DistributedTasksGetForbidden ¶
type DistributedTasksGetForbidden struct {
Payload *models.ErrorResponse
}
DistributedTasksGetForbidden describes a response with status code 403, with default header values.
Unauthorized or invalid credentials.
func NewDistributedTasksGetForbidden ¶
func NewDistributedTasksGetForbidden() *DistributedTasksGetForbidden
NewDistributedTasksGetForbidden creates a DistributedTasksGetForbidden with default headers values
func (*DistributedTasksGetForbidden) Code ¶
func (o *DistributedTasksGetForbidden) Code() int
Code gets the status code for the distributed tasks get forbidden response
func (*DistributedTasksGetForbidden) Error ¶
func (o *DistributedTasksGetForbidden) Error() string
func (*DistributedTasksGetForbidden) GetPayload ¶
func (o *DistributedTasksGetForbidden) GetPayload() *models.ErrorResponse
func (*DistributedTasksGetForbidden) IsClientError ¶
func (o *DistributedTasksGetForbidden) IsClientError() bool
IsClientError returns true when this distributed tasks get forbidden response has a 4xx status code
func (*DistributedTasksGetForbidden) IsCode ¶
func (o *DistributedTasksGetForbidden) IsCode(code int) bool
IsCode returns true when this distributed tasks get forbidden response a status code equal to that given
func (*DistributedTasksGetForbidden) IsRedirect ¶
func (o *DistributedTasksGetForbidden) IsRedirect() bool
IsRedirect returns true when this distributed tasks get forbidden response has a 3xx status code
func (*DistributedTasksGetForbidden) IsServerError ¶
func (o *DistributedTasksGetForbidden) IsServerError() bool
IsServerError returns true when this distributed tasks get forbidden response has a 5xx status code
func (*DistributedTasksGetForbidden) IsSuccess ¶
func (o *DistributedTasksGetForbidden) IsSuccess() bool
IsSuccess returns true when this distributed tasks get forbidden response has a 2xx status code
func (*DistributedTasksGetForbidden) String ¶
func (o *DistributedTasksGetForbidden) String() string
type DistributedTasksGetInternalServerError ¶
type DistributedTasksGetInternalServerError struct {
Payload *models.ErrorResponse
}
DistributedTasksGetInternalServerError describes a response with status code 500, with default header values.
An internal server error occurred while retrieving distributed tasks. Check the ErrorResponse for details.
func NewDistributedTasksGetInternalServerError ¶
func NewDistributedTasksGetInternalServerError() *DistributedTasksGetInternalServerError
NewDistributedTasksGetInternalServerError creates a DistributedTasksGetInternalServerError with default headers values
func (*DistributedTasksGetInternalServerError) Code ¶
func (o *DistributedTasksGetInternalServerError) Code() int
Code gets the status code for the distributed tasks get internal server error response
func (*DistributedTasksGetInternalServerError) Error ¶
func (o *DistributedTasksGetInternalServerError) Error() string
func (*DistributedTasksGetInternalServerError) GetPayload ¶
func (o *DistributedTasksGetInternalServerError) GetPayload() *models.ErrorResponse
func (*DistributedTasksGetInternalServerError) IsClientError ¶
func (o *DistributedTasksGetInternalServerError) IsClientError() bool
IsClientError returns true when this distributed tasks get internal server error response has a 4xx status code
func (*DistributedTasksGetInternalServerError) IsCode ¶
func (o *DistributedTasksGetInternalServerError) IsCode(code int) bool
IsCode returns true when this distributed tasks get internal server error response a status code equal to that given
func (*DistributedTasksGetInternalServerError) IsRedirect ¶
func (o *DistributedTasksGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this distributed tasks get internal server error response has a 3xx status code
func (*DistributedTasksGetInternalServerError) IsServerError ¶
func (o *DistributedTasksGetInternalServerError) IsServerError() bool
IsServerError returns true when this distributed tasks get internal server error response has a 5xx status code
func (*DistributedTasksGetInternalServerError) IsSuccess ¶
func (o *DistributedTasksGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this distributed tasks get internal server error response has a 2xx status code
func (*DistributedTasksGetInternalServerError) String ¶
func (o *DistributedTasksGetInternalServerError) String() string
type DistributedTasksGetOK ¶
type DistributedTasksGetOK struct {
Payload models.DistributedTasks
}
DistributedTasksGetOK describes a response with status code 200, with default header values.
Distributed tasks successfully returned.
func NewDistributedTasksGetOK ¶
func NewDistributedTasksGetOK() *DistributedTasksGetOK
NewDistributedTasksGetOK creates a DistributedTasksGetOK with default headers values
func (*DistributedTasksGetOK) Code ¶
func (o *DistributedTasksGetOK) Code() int
Code gets the status code for the distributed tasks get o k response
func (*DistributedTasksGetOK) Error ¶
func (o *DistributedTasksGetOK) Error() string
func (*DistributedTasksGetOK) GetPayload ¶
func (o *DistributedTasksGetOK) GetPayload() models.DistributedTasks
func (*DistributedTasksGetOK) IsClientError ¶
func (o *DistributedTasksGetOK) IsClientError() bool
IsClientError returns true when this distributed tasks get o k response has a 4xx status code
func (*DistributedTasksGetOK) IsCode ¶
func (o *DistributedTasksGetOK) IsCode(code int) bool
IsCode returns true when this distributed tasks get o k response a status code equal to that given
func (*DistributedTasksGetOK) IsRedirect ¶
func (o *DistributedTasksGetOK) IsRedirect() bool
IsRedirect returns true when this distributed tasks get o k response has a 3xx status code
func (*DistributedTasksGetOK) IsServerError ¶
func (o *DistributedTasksGetOK) IsServerError() bool
IsServerError returns true when this distributed tasks get o k response has a 5xx status code
func (*DistributedTasksGetOK) IsSuccess ¶
func (o *DistributedTasksGetOK) IsSuccess() bool
IsSuccess returns true when this distributed tasks get o k response has a 2xx status code
func (*DistributedTasksGetOK) String ¶
func (o *DistributedTasksGetOK) String() string
type DistributedTasksGetParams ¶
type DistributedTasksGetParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DistributedTasksGetParams contains all the parameters to send to the API endpoint
for the distributed tasks get operation. Typically these are written to a http.Request.
func NewDistributedTasksGetParams ¶
func NewDistributedTasksGetParams() *DistributedTasksGetParams
NewDistributedTasksGetParams creates a new DistributedTasksGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDistributedTasksGetParamsWithContext ¶
func NewDistributedTasksGetParamsWithContext(ctx context.Context) *DistributedTasksGetParams
NewDistributedTasksGetParamsWithContext creates a new DistributedTasksGetParams object with the ability to set a context for a request.
func NewDistributedTasksGetParamsWithHTTPClient ¶
func NewDistributedTasksGetParamsWithHTTPClient(client *http.Client) *DistributedTasksGetParams
NewDistributedTasksGetParamsWithHTTPClient creates a new DistributedTasksGetParams object with the ability to set a custom HTTPClient for a request.
func NewDistributedTasksGetParamsWithTimeout ¶
func NewDistributedTasksGetParamsWithTimeout(timeout time.Duration) *DistributedTasksGetParams
NewDistributedTasksGetParamsWithTimeout creates a new DistributedTasksGetParams object with the ability to set a timeout on a request.
func (*DistributedTasksGetParams) SetContext ¶
func (o *DistributedTasksGetParams) SetContext(ctx context.Context)
SetContext adds the context to the distributed tasks get params
func (*DistributedTasksGetParams) SetDefaults ¶
func (o *DistributedTasksGetParams) SetDefaults()
SetDefaults hydrates default values in the distributed tasks get params (not the query body).
All values with no default are reset to their zero value.
func (*DistributedTasksGetParams) SetHTTPClient ¶
func (o *DistributedTasksGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the distributed tasks get params
func (*DistributedTasksGetParams) SetTimeout ¶
func (o *DistributedTasksGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the distributed tasks get params
func (*DistributedTasksGetParams) WithContext ¶
func (o *DistributedTasksGetParams) WithContext(ctx context.Context) *DistributedTasksGetParams
WithContext adds the context to the distributed tasks get params
func (*DistributedTasksGetParams) WithDefaults ¶
func (o *DistributedTasksGetParams) WithDefaults() *DistributedTasksGetParams
WithDefaults hydrates default values in the distributed tasks get params (not the query body).
All values with no default are reset to their zero value.
func (*DistributedTasksGetParams) WithHTTPClient ¶
func (o *DistributedTasksGetParams) WithHTTPClient(client *http.Client) *DistributedTasksGetParams
WithHTTPClient adds the HTTPClient to the distributed tasks get params
func (*DistributedTasksGetParams) WithTimeout ¶
func (o *DistributedTasksGetParams) WithTimeout(timeout time.Duration) *DistributedTasksGetParams
WithTimeout adds the timeout to the distributed tasks get params
func (*DistributedTasksGetParams) WriteToRequest ¶
func (o *DistributedTasksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DistributedTasksGetReader ¶
type DistributedTasksGetReader struct {
// contains filtered or unexported fields
}
DistributedTasksGetReader is a Reader for the DistributedTasksGet structure.
func (*DistributedTasksGetReader) ReadResponse ¶
func (o *DistributedTasksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.