v2connectors

package
v2.8.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 0

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 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

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

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

WithBody adds the body to the get regions by credential Id params

func (*GetRegionsByCredentialIDParams) WithContext

WithContext adds the context to the get regions by credential Id params

func (*GetRegionsByCredentialIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get regions by credential Id params

func (*GetRegionsByCredentialIDParams) WithTimeout

WithTimeout adds the timeout to the get regions by credential Id params

func (*GetRegionsByCredentialIDParams) WriteToRequest

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

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

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

WithBody adds the body to the get Vm types by credential Id params

func (*GetVMTypesByCredentialIDParams) WithContext

WithContext adds the context to the get Vm types by credential Id params

func (*GetVMTypesByCredentialIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get Vm types by credential Id params

func (*GetVMTypesByCredentialIDParams) WithTimeout

WithTimeout adds the timeout to the get Vm types by credential Id params

func (*GetVMTypesByCredentialIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL