Documentation ¶
Index ¶
- type Client
- func (a *Client) GetRegionsByCredentialID(params *GetRegionsByCredentialIDParams) (*GetRegionsByCredentialIDOK, error)
- func (a *Client) GetVMTypesByCredentialID(params *GetVMTypesByCredentialIDParams) (*GetVMTypesByCredentialIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetRegionsByCredentialIDOK
- type GetRegionsByCredentialIDParams
- func NewGetRegionsByCredentialIDParams() *GetRegionsByCredentialIDParams
- func NewGetRegionsByCredentialIDParamsWithContext(ctx context.Context) *GetRegionsByCredentialIDParams
- func NewGetRegionsByCredentialIDParamsWithHTTPClient(client *http.Client) *GetRegionsByCredentialIDParams
- func NewGetRegionsByCredentialIDParamsWithTimeout(timeout time.Duration) *GetRegionsByCredentialIDParams
- func (o *GetRegionsByCredentialIDParams) SetBody(body *models_cloudbreak.PlatformResourceRequestJSON)
- func (o *GetRegionsByCredentialIDParams) SetContext(ctx context.Context)
- func (o *GetRegionsByCredentialIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRegionsByCredentialIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRegionsByCredentialIDParams) WithBody(body *models_cloudbreak.PlatformResourceRequestJSON) *GetRegionsByCredentialIDParams
- func (o *GetRegionsByCredentialIDParams) WithContext(ctx context.Context) *GetRegionsByCredentialIDParams
- func (o *GetRegionsByCredentialIDParams) WithHTTPClient(client *http.Client) *GetRegionsByCredentialIDParams
- func (o *GetRegionsByCredentialIDParams) WithTimeout(timeout time.Duration) *GetRegionsByCredentialIDParams
- func (o *GetRegionsByCredentialIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegionsByCredentialIDReader
- type GetVMTypesByCredentialIDOK
- type GetVMTypesByCredentialIDParams
- func NewGetVMTypesByCredentialIDParams() *GetVMTypesByCredentialIDParams
- func NewGetVMTypesByCredentialIDParamsWithContext(ctx context.Context) *GetVMTypesByCredentialIDParams
- func NewGetVMTypesByCredentialIDParamsWithHTTPClient(client *http.Client) *GetVMTypesByCredentialIDParams
- func NewGetVMTypesByCredentialIDParamsWithTimeout(timeout time.Duration) *GetVMTypesByCredentialIDParams
- func (o *GetVMTypesByCredentialIDParams) SetBody(body *models_cloudbreak.PlatformResourceRequestJSON)
- func (o *GetVMTypesByCredentialIDParams) SetContext(ctx context.Context)
- func (o *GetVMTypesByCredentialIDParams) SetHTTPClient(client *http.Client)
- func (o *GetVMTypesByCredentialIDParams) SetTimeout(timeout time.Duration)
- func (o *GetVMTypesByCredentialIDParams) WithBody(body *models_cloudbreak.PlatformResourceRequestJSON) *GetVMTypesByCredentialIDParams
- func (o *GetVMTypesByCredentialIDParams) WithContext(ctx context.Context) *GetVMTypesByCredentialIDParams
- func (o *GetVMTypesByCredentialIDParams) WithHTTPClient(client *http.Client) *GetVMTypesByCredentialIDParams
- func (o *GetVMTypesByCredentialIDParams) WithTimeout(timeout time.Duration) *GetVMTypesByCredentialIDParams
- func (o *GetVMTypesByCredentialIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVMTypesByCredentialIDReader
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 v2connectors API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v2connectors API client.
func (*Client) GetRegionsByCredentialID ¶
func (a *Client) GetRegionsByCredentialID(params *GetRegionsByCredentialIDParams) (*GetRegionsByCredentialIDOK, error)
GetRegionsByCredentialID retrives regions by type
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) GetVMTypesByCredentialID ¶
func (a *Client) GetVMTypesByCredentialID(params *GetVMTypesByCredentialIDParams) (*GetVMTypesByCredentialIDOK, error)
GetVMTypesByCredentialID retrives vmtype properties by credential
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetRegionsByCredentialIDOK ¶
type GetRegionsByCredentialIDOK struct {
Payload *models_cloudbreak.RegionResponse
}
GetRegionsByCredentialIDOK handles this case with default header values.
successful operation
func NewGetRegionsByCredentialIDOK ¶
func NewGetRegionsByCredentialIDOK() *GetRegionsByCredentialIDOK
NewGetRegionsByCredentialIDOK creates a GetRegionsByCredentialIDOK with default headers values
func (*GetRegionsByCredentialIDOK) Error ¶
func (o *GetRegionsByCredentialIDOK) Error() string
type GetRegionsByCredentialIDParams ¶
type GetRegionsByCredentialIDParams struct { /*Body*/ Body *models_cloudbreak.PlatformResourceRequestJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRegionsByCredentialIDParams contains all the parameters to send to the API endpoint for the get regions by credential Id operation typically these are written to a http.Request
func NewGetRegionsByCredentialIDParams ¶
func NewGetRegionsByCredentialIDParams() *GetRegionsByCredentialIDParams
NewGetRegionsByCredentialIDParams creates a new GetRegionsByCredentialIDParams object with the default values initialized.
func NewGetRegionsByCredentialIDParamsWithContext ¶
func NewGetRegionsByCredentialIDParamsWithContext(ctx context.Context) *GetRegionsByCredentialIDParams
NewGetRegionsByCredentialIDParamsWithContext creates a new GetRegionsByCredentialIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetRegionsByCredentialIDParamsWithHTTPClient ¶
func NewGetRegionsByCredentialIDParamsWithHTTPClient(client *http.Client) *GetRegionsByCredentialIDParams
NewGetRegionsByCredentialIDParamsWithHTTPClient creates a new GetRegionsByCredentialIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRegionsByCredentialIDParamsWithTimeout ¶
func NewGetRegionsByCredentialIDParamsWithTimeout(timeout time.Duration) *GetRegionsByCredentialIDParams
NewGetRegionsByCredentialIDParamsWithTimeout creates a new GetRegionsByCredentialIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRegionsByCredentialIDParams) SetBody ¶
func (o *GetRegionsByCredentialIDParams) SetBody(body *models_cloudbreak.PlatformResourceRequestJSON)
SetBody adds the body to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) SetContext ¶
func (o *GetRegionsByCredentialIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) SetHTTPClient ¶
func (o *GetRegionsByCredentialIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) SetTimeout ¶
func (o *GetRegionsByCredentialIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) WithBody ¶
func (o *GetRegionsByCredentialIDParams) WithBody(body *models_cloudbreak.PlatformResourceRequestJSON) *GetRegionsByCredentialIDParams
WithBody adds the body to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) WithContext ¶
func (o *GetRegionsByCredentialIDParams) WithContext(ctx context.Context) *GetRegionsByCredentialIDParams
WithContext adds the context to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) WithHTTPClient ¶
func (o *GetRegionsByCredentialIDParams) WithHTTPClient(client *http.Client) *GetRegionsByCredentialIDParams
WithHTTPClient adds the HTTPClient to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) WithTimeout ¶
func (o *GetRegionsByCredentialIDParams) WithTimeout(timeout time.Duration) *GetRegionsByCredentialIDParams
WithTimeout adds the timeout to the get regions by credential Id params
func (*GetRegionsByCredentialIDParams) WriteToRequest ¶
func (o *GetRegionsByCredentialIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRegionsByCredentialIDReader ¶
type GetRegionsByCredentialIDReader struct {
// contains filtered or unexported fields
}
GetRegionsByCredentialIDReader is a Reader for the GetRegionsByCredentialID structure.
func (*GetRegionsByCredentialIDReader) ReadResponse ¶
func (o *GetRegionsByCredentialIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVMTypesByCredentialIDOK ¶
type GetVMTypesByCredentialIDOK struct {
Payload *models_cloudbreak.PlatformVmtypesResponse
}
GetVMTypesByCredentialIDOK handles this case with default header values.
successful operation
func NewGetVMTypesByCredentialIDOK ¶
func NewGetVMTypesByCredentialIDOK() *GetVMTypesByCredentialIDOK
NewGetVMTypesByCredentialIDOK creates a GetVMTypesByCredentialIDOK with default headers values
func (*GetVMTypesByCredentialIDOK) Error ¶
func (o *GetVMTypesByCredentialIDOK) Error() string
type GetVMTypesByCredentialIDParams ¶
type GetVMTypesByCredentialIDParams struct { /*Body*/ Body *models_cloudbreak.PlatformResourceRequestJSON Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVMTypesByCredentialIDParams contains all the parameters to send to the API endpoint for the get Vm types by credential Id operation typically these are written to a http.Request
func NewGetVMTypesByCredentialIDParams ¶
func NewGetVMTypesByCredentialIDParams() *GetVMTypesByCredentialIDParams
NewGetVMTypesByCredentialIDParams creates a new GetVMTypesByCredentialIDParams object with the default values initialized.
func NewGetVMTypesByCredentialIDParamsWithContext ¶
func NewGetVMTypesByCredentialIDParamsWithContext(ctx context.Context) *GetVMTypesByCredentialIDParams
NewGetVMTypesByCredentialIDParamsWithContext creates a new GetVMTypesByCredentialIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetVMTypesByCredentialIDParamsWithHTTPClient ¶
func NewGetVMTypesByCredentialIDParamsWithHTTPClient(client *http.Client) *GetVMTypesByCredentialIDParams
NewGetVMTypesByCredentialIDParamsWithHTTPClient creates a new GetVMTypesByCredentialIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVMTypesByCredentialIDParamsWithTimeout ¶
func NewGetVMTypesByCredentialIDParamsWithTimeout(timeout time.Duration) *GetVMTypesByCredentialIDParams
NewGetVMTypesByCredentialIDParamsWithTimeout creates a new GetVMTypesByCredentialIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVMTypesByCredentialIDParams) SetBody ¶
func (o *GetVMTypesByCredentialIDParams) SetBody(body *models_cloudbreak.PlatformResourceRequestJSON)
SetBody adds the body to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) SetContext ¶
func (o *GetVMTypesByCredentialIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) SetHTTPClient ¶
func (o *GetVMTypesByCredentialIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) SetTimeout ¶
func (o *GetVMTypesByCredentialIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) WithBody ¶
func (o *GetVMTypesByCredentialIDParams) WithBody(body *models_cloudbreak.PlatformResourceRequestJSON) *GetVMTypesByCredentialIDParams
WithBody adds the body to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) WithContext ¶
func (o *GetVMTypesByCredentialIDParams) WithContext(ctx context.Context) *GetVMTypesByCredentialIDParams
WithContext adds the context to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) WithHTTPClient ¶
func (o *GetVMTypesByCredentialIDParams) WithHTTPClient(client *http.Client) *GetVMTypesByCredentialIDParams
WithHTTPClient adds the HTTPClient to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) WithTimeout ¶
func (o *GetVMTypesByCredentialIDParams) WithTimeout(timeout time.Duration) *GetVMTypesByCredentialIDParams
WithTimeout adds the timeout to the get Vm types by credential Id params
func (*GetVMTypesByCredentialIDParams) WriteToRequest ¶
func (o *GetVMTypesByCredentialIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVMTypesByCredentialIDReader ¶
type GetVMTypesByCredentialIDReader struct {
// contains filtered or unexported fields
}
GetVMTypesByCredentialIDReader is a Reader for the GetVMTypesByCredentialID structure.
func (*GetVMTypesByCredentialIDReader) ReadResponse ¶
func (o *GetVMTypesByCredentialIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.