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 vdc API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new vdc API client.
func (*Client) ListTasks ¶
func (a *Client) ListTasks(params *ListTasksParams, authInfo runtime.ClientAuthInfoWriter) (*ListTasksOK, error)
ListTasks lists tasks
Returns a list of tasks for the specified tenant
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShowTask ¶
func (a *Client) ShowTask(params *ShowTaskParams, authInfo runtime.ClientAuthInfoWriter) (*ShowTaskOK, error)
ShowTask shows task
Show Task details.
type ListTasksDefault ¶
ListTasksDefault handles this case with default header values.
Error Message
func NewListTasksDefault ¶
func NewListTasksDefault(code int) *ListTasksDefault
NewListTasksDefault creates a ListTasksDefault with default headers values
func (*ListTasksDefault) Code ¶
func (o *ListTasksDefault) Code() int
Code gets the status code for the list tasks default response
func (*ListTasksDefault) Error ¶
func (o *ListTasksDefault) Error() string
type ListTasksOK ¶
ListTasksOK handles this case with default header values.
Task List
func NewListTasksOK ¶
func NewListTasksOK() *ListTasksOK
NewListTasksOK creates a ListTasksOK with default headers values
func (*ListTasksOK) Error ¶
func (o *ListTasksOK) Error() string
type ListTasksParams ¶
type ListTasksParams struct {
// contains filtered or unexported fields
}
ListTasksParams contains all the parameters to send to the API endpoint for the list tasks operation typically these are written to a http.Request
func NewListTasksParams ¶
func NewListTasksParams() *ListTasksParams
NewListTasksParams creates a new ListTasksParams object with the default values initialized.
func NewListTasksParamsWithTimeout ¶
func NewListTasksParamsWithTimeout(timeout time.Duration) *ListTasksParams
NewListTasksParamsWithTimeout creates a new ListTasksParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListTasksParams) WriteToRequest ¶
func (o *ListTasksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTasksReader ¶
type ListTasksReader struct {
// contains filtered or unexported fields
}
ListTasksReader is a Reader for the ListTasks structure.
func (*ListTasksReader) ReadResponse ¶
func (o *ListTasksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type ShowTaskDefault ¶
ShowTaskDefault handles this case with default header values.
Error Message
func NewShowTaskDefault ¶
func NewShowTaskDefault(code int) *ShowTaskDefault
NewShowTaskDefault creates a ShowTaskDefault with default headers values
func (*ShowTaskDefault) Code ¶
func (o *ShowTaskDefault) Code() int
Code gets the status code for the show task default response
func (*ShowTaskDefault) Error ¶
func (o *ShowTaskDefault) Error() string
type ShowTaskOK ¶
ShowTaskOK handles this case with default header values.
Task Object
func NewShowTaskOK ¶
func NewShowTaskOK() *ShowTaskOK
NewShowTaskOK creates a ShowTaskOK with default headers values
func (*ShowTaskOK) Error ¶
func (o *ShowTaskOK) Error() string
type ShowTaskParams ¶
type ShowTaskParams struct { /*ID The URN of a ViPR/CoprHD Task */ ID string // contains filtered or unexported fields }
ShowTaskParams contains all the parameters to send to the API endpoint for the show task operation typically these are written to a http.Request
func NewShowTaskParams ¶
func NewShowTaskParams() *ShowTaskParams
NewShowTaskParams creates a new ShowTaskParams object with the default values initialized.
func NewShowTaskParamsWithTimeout ¶
func NewShowTaskParamsWithTimeout(timeout time.Duration) *ShowTaskParams
NewShowTaskParamsWithTimeout creates a new ShowTaskParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShowTaskParams) WithID ¶
func (o *ShowTaskParams) WithID(ID string) *ShowTaskParams
WithID adds the id to the show task params
func (*ShowTaskParams) WriteToRequest ¶
func (o *ShowTaskParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShowTaskReader ¶
type ShowTaskReader struct {
// contains filtered or unexported fields
}
ShowTaskReader is a Reader for the ShowTask structure.
func (*ShowTaskReader) ReadResponse ¶
func (o *ShowTaskReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.