Documentation ¶
Index ¶
- type Client
- func (a *Client) GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)
- func (a *Client) GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetVcenterAccountsBadRequest
- type GetVcenterAccountsConnectionBadRequest
- type GetVcenterAccountsConnectionInternalServerError
- type GetVcenterAccountsConnectionNotFound
- type GetVcenterAccountsConnectionOK
- type GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParams() *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
- func NewGetVcenterAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVcenterAccountsConnectionParams) SetContext(ctx context.Context)
- func (o *GetVcenterAccountsConnectionParams) SetDefaults()
- func (o *GetVcenterAccountsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVcenterAccountsConnectionParams) SetRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody)
- func (o *GetVcenterAccountsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVcenterAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithDefaults() *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
- func (o *GetVcenterAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVcenterAccountsConnectionReader
- type GetVcenterAccountsInternalServerError
- type GetVcenterAccountsNotFound
- type GetVcenterAccountsOK
- type GetVcenterAccountsParams
- func NewGetVcenterAccountsParams() *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithContext(ctx context.Context) *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsParams
- func NewGetVcenterAccountsParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVcenterAccountsParams) SetContext(ctx context.Context)
- func (o *GetVcenterAccountsParams) SetDefaults()
- func (o *GetVcenterAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetVcenterAccountsParams) SetRequestBody(requestBody *models.GetVcenterAccountsRequestBody)
- func (o *GetVcenterAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetVcenterAccountsParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithContext(ctx context.Context) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithDefaults() *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithRequestBody(requestBody *models.GetVcenterAccountsRequestBody) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsParams
- func (o *GetVcenterAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVcenterAccountsReader
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 vcenter account API
func (*Client) GetVcenterAccounts ¶
func (a *Client) GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error)
GetVcenterAccounts get vcenter accounts API
func (*Client) GetVcenterAccountsConnection ¶
func (a *Client) GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, error)
GetVcenterAccountsConnection get vcenter accounts connection API
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 { GetVcenterAccounts(params *GetVcenterAccountsParams, opts ...ClientOption) (*GetVcenterAccountsOK, error) GetVcenterAccountsConnection(params *GetVcenterAccountsConnectionParams, opts ...ClientOption) (*GetVcenterAccountsConnectionOK, 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 vcenter account API client.
type GetVcenterAccountsBadRequest ¶
GetVcenterAccountsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVcenterAccountsBadRequest ¶
func NewGetVcenterAccountsBadRequest() *GetVcenterAccountsBadRequest
NewGetVcenterAccountsBadRequest creates a GetVcenterAccountsBadRequest with default headers values
func (*GetVcenterAccountsBadRequest) Error ¶
func (o *GetVcenterAccountsBadRequest) Error() string
func (*GetVcenterAccountsBadRequest) GetPayload ¶
func (o *GetVcenterAccountsBadRequest) GetPayload() *models.ErrorBody
type GetVcenterAccountsConnectionBadRequest ¶
GetVcenterAccountsConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVcenterAccountsConnectionBadRequest ¶
func NewGetVcenterAccountsConnectionBadRequest() *GetVcenterAccountsConnectionBadRequest
NewGetVcenterAccountsConnectionBadRequest creates a GetVcenterAccountsConnectionBadRequest with default headers values
func (*GetVcenterAccountsConnectionBadRequest) Error ¶
func (o *GetVcenterAccountsConnectionBadRequest) Error() string
func (*GetVcenterAccountsConnectionBadRequest) GetPayload ¶
func (o *GetVcenterAccountsConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVcenterAccountsConnectionInternalServerError ¶ added in v1.10.0
GetVcenterAccountsConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVcenterAccountsConnectionInternalServerError ¶ added in v1.10.0
func NewGetVcenterAccountsConnectionInternalServerError() *GetVcenterAccountsConnectionInternalServerError
NewGetVcenterAccountsConnectionInternalServerError creates a GetVcenterAccountsConnectionInternalServerError with default headers values
func (*GetVcenterAccountsConnectionInternalServerError) Error ¶ added in v1.10.0
func (o *GetVcenterAccountsConnectionInternalServerError) Error() string
func (*GetVcenterAccountsConnectionInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetVcenterAccountsConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVcenterAccountsConnectionNotFound ¶ added in v1.10.0
GetVcenterAccountsConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVcenterAccountsConnectionNotFound ¶ added in v1.10.0
func NewGetVcenterAccountsConnectionNotFound() *GetVcenterAccountsConnectionNotFound
NewGetVcenterAccountsConnectionNotFound creates a GetVcenterAccountsConnectionNotFound with default headers values
func (*GetVcenterAccountsConnectionNotFound) Error ¶ added in v1.10.0
func (o *GetVcenterAccountsConnectionNotFound) Error() string
func (*GetVcenterAccountsConnectionNotFound) GetPayload ¶ added in v1.10.0
func (o *GetVcenterAccountsConnectionNotFound) GetPayload() *models.ErrorBody
type GetVcenterAccountsConnectionOK ¶
type GetVcenterAccountsConnectionOK struct {
Payload *models.VcenterAccountConnection
}
GetVcenterAccountsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVcenterAccountsConnectionOK ¶
func NewGetVcenterAccountsConnectionOK() *GetVcenterAccountsConnectionOK
NewGetVcenterAccountsConnectionOK creates a GetVcenterAccountsConnectionOK with default headers values
func (*GetVcenterAccountsConnectionOK) Error ¶
func (o *GetVcenterAccountsConnectionOK) Error() string
func (*GetVcenterAccountsConnectionOK) GetPayload ¶
func (o *GetVcenterAccountsConnectionOK) GetPayload() *models.VcenterAccountConnection
type GetVcenterAccountsConnectionParams ¶
type GetVcenterAccountsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVcenterAccountsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVcenterAccountsConnectionParams contains all the parameters to send to the API endpoint
for the get vcenter accounts connection operation. Typically these are written to a http.Request.
func NewGetVcenterAccountsConnectionParams ¶
func NewGetVcenterAccountsConnectionParams() *GetVcenterAccountsConnectionParams
NewGetVcenterAccountsConnectionParams creates a new GetVcenterAccountsConnectionParams 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 NewGetVcenterAccountsConnectionParamsWithContext ¶
func NewGetVcenterAccountsConnectionParamsWithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
NewGetVcenterAccountsConnectionParamsWithContext creates a new GetVcenterAccountsConnectionParams object with the ability to set a context for a request.
func NewGetVcenterAccountsConnectionParamsWithHTTPClient ¶
func NewGetVcenterAccountsConnectionParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
NewGetVcenterAccountsConnectionParamsWithHTTPClient creates a new GetVcenterAccountsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVcenterAccountsConnectionParamsWithTimeout ¶
func NewGetVcenterAccountsConnectionParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
NewGetVcenterAccountsConnectionParamsWithTimeout creates a new GetVcenterAccountsConnectionParams object with the ability to set a timeout on a request.
func (*GetVcenterAccountsConnectionParams) SetContentLanguage ¶
func (o *GetVcenterAccountsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) SetContext ¶
func (o *GetVcenterAccountsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) SetDefaults ¶
func (o *GetVcenterAccountsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get vcenter accounts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVcenterAccountsConnectionParams) SetHTTPClient ¶
func (o *GetVcenterAccountsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) SetRequestBody ¶
func (o *GetVcenterAccountsConnectionParams) SetRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody)
SetRequestBody adds the requestBody to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) SetTimeout ¶
func (o *GetVcenterAccountsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithContentLanguage ¶
func (o *GetVcenterAccountsConnectionParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsConnectionParams
WithContentLanguage adds the contentLanguage to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithContext ¶
func (o *GetVcenterAccountsConnectionParams) WithContext(ctx context.Context) *GetVcenterAccountsConnectionParams
WithContext adds the context to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithDefaults ¶
func (o *GetVcenterAccountsConnectionParams) WithDefaults() *GetVcenterAccountsConnectionParams
WithDefaults hydrates default values in the get vcenter accounts connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVcenterAccountsConnectionParams) WithHTTPClient ¶
func (o *GetVcenterAccountsConnectionParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsConnectionParams
WithHTTPClient adds the HTTPClient to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithRequestBody ¶
func (o *GetVcenterAccountsConnectionParams) WithRequestBody(requestBody *models.GetVcenterAccountsConnectionRequestBody) *GetVcenterAccountsConnectionParams
WithRequestBody adds the requestBody to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WithTimeout ¶
func (o *GetVcenterAccountsConnectionParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsConnectionParams
WithTimeout adds the timeout to the get vcenter accounts connection params
func (*GetVcenterAccountsConnectionParams) WriteToRequest ¶
func (o *GetVcenterAccountsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVcenterAccountsConnectionReader ¶
type GetVcenterAccountsConnectionReader struct {
// contains filtered or unexported fields
}
GetVcenterAccountsConnectionReader is a Reader for the GetVcenterAccountsConnection structure.
func (*GetVcenterAccountsConnectionReader) ReadResponse ¶
func (o *GetVcenterAccountsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVcenterAccountsInternalServerError ¶ added in v1.10.0
GetVcenterAccountsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVcenterAccountsInternalServerError ¶ added in v1.10.0
func NewGetVcenterAccountsInternalServerError() *GetVcenterAccountsInternalServerError
NewGetVcenterAccountsInternalServerError creates a GetVcenterAccountsInternalServerError with default headers values
func (*GetVcenterAccountsInternalServerError) Error ¶ added in v1.10.0
func (o *GetVcenterAccountsInternalServerError) Error() string
func (*GetVcenterAccountsInternalServerError) GetPayload ¶ added in v1.10.0
func (o *GetVcenterAccountsInternalServerError) GetPayload() *models.ErrorBody
type GetVcenterAccountsNotFound ¶ added in v1.10.0
GetVcenterAccountsNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVcenterAccountsNotFound ¶ added in v1.10.0
func NewGetVcenterAccountsNotFound() *GetVcenterAccountsNotFound
NewGetVcenterAccountsNotFound creates a GetVcenterAccountsNotFound with default headers values
func (*GetVcenterAccountsNotFound) Error ¶ added in v1.10.0
func (o *GetVcenterAccountsNotFound) Error() string
func (*GetVcenterAccountsNotFound) GetPayload ¶ added in v1.10.0
func (o *GetVcenterAccountsNotFound) GetPayload() *models.ErrorBody
type GetVcenterAccountsOK ¶
type GetVcenterAccountsOK struct {
Payload []*models.VcenterAccount
}
GetVcenterAccountsOK describes a response with status code 200, with default header values.
Ok
func NewGetVcenterAccountsOK ¶
func NewGetVcenterAccountsOK() *GetVcenterAccountsOK
NewGetVcenterAccountsOK creates a GetVcenterAccountsOK with default headers values
func (*GetVcenterAccountsOK) Error ¶
func (o *GetVcenterAccountsOK) Error() string
func (*GetVcenterAccountsOK) GetPayload ¶
func (o *GetVcenterAccountsOK) GetPayload() []*models.VcenterAccount
type GetVcenterAccountsParams ¶
type GetVcenterAccountsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVcenterAccountsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVcenterAccountsParams contains all the parameters to send to the API endpoint
for the get vcenter accounts operation. Typically these are written to a http.Request.
func NewGetVcenterAccountsParams ¶
func NewGetVcenterAccountsParams() *GetVcenterAccountsParams
NewGetVcenterAccountsParams creates a new GetVcenterAccountsParams 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 NewGetVcenterAccountsParamsWithContext ¶
func NewGetVcenterAccountsParamsWithContext(ctx context.Context) *GetVcenterAccountsParams
NewGetVcenterAccountsParamsWithContext creates a new GetVcenterAccountsParams object with the ability to set a context for a request.
func NewGetVcenterAccountsParamsWithHTTPClient ¶
func NewGetVcenterAccountsParamsWithHTTPClient(client *http.Client) *GetVcenterAccountsParams
NewGetVcenterAccountsParamsWithHTTPClient creates a new GetVcenterAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetVcenterAccountsParamsWithTimeout ¶
func NewGetVcenterAccountsParamsWithTimeout(timeout time.Duration) *GetVcenterAccountsParams
NewGetVcenterAccountsParamsWithTimeout creates a new GetVcenterAccountsParams object with the ability to set a timeout on a request.
func (*GetVcenterAccountsParams) SetContentLanguage ¶
func (o *GetVcenterAccountsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vcenter accounts params
func (*GetVcenterAccountsParams) SetContext ¶
func (o *GetVcenterAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get vcenter accounts params
func (*GetVcenterAccountsParams) SetDefaults ¶
func (o *GetVcenterAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get vcenter accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetVcenterAccountsParams) SetHTTPClient ¶
func (o *GetVcenterAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vcenter accounts params
func (*GetVcenterAccountsParams) SetRequestBody ¶
func (o *GetVcenterAccountsParams) SetRequestBody(requestBody *models.GetVcenterAccountsRequestBody)
SetRequestBody adds the requestBody to the get vcenter accounts params
func (*GetVcenterAccountsParams) SetTimeout ¶
func (o *GetVcenterAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithContentLanguage ¶
func (o *GetVcenterAccountsParams) WithContentLanguage(contentLanguage *string) *GetVcenterAccountsParams
WithContentLanguage adds the contentLanguage to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithContext ¶
func (o *GetVcenterAccountsParams) WithContext(ctx context.Context) *GetVcenterAccountsParams
WithContext adds the context to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithDefaults ¶
func (o *GetVcenterAccountsParams) WithDefaults() *GetVcenterAccountsParams
WithDefaults hydrates default values in the get vcenter accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetVcenterAccountsParams) WithHTTPClient ¶
func (o *GetVcenterAccountsParams) WithHTTPClient(client *http.Client) *GetVcenterAccountsParams
WithHTTPClient adds the HTTPClient to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithRequestBody ¶
func (o *GetVcenterAccountsParams) WithRequestBody(requestBody *models.GetVcenterAccountsRequestBody) *GetVcenterAccountsParams
WithRequestBody adds the requestBody to the get vcenter accounts params
func (*GetVcenterAccountsParams) WithTimeout ¶
func (o *GetVcenterAccountsParams) WithTimeout(timeout time.Duration) *GetVcenterAccountsParams
WithTimeout adds the timeout to the get vcenter accounts params
func (*GetVcenterAccountsParams) WriteToRequest ¶
func (o *GetVcenterAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVcenterAccountsReader ¶
type GetVcenterAccountsReader struct {
// contains filtered or unexported fields
}
GetVcenterAccountsReader is a Reader for the GetVcenterAccounts structure.
func (*GetVcenterAccountsReader) ReadResponse ¶
func (o *GetVcenterAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.