clouds

package
v0.0.0-...-dff6c84 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 11 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 clouds API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new clouds API client.

func (*Client) PrototypeCloudUpdateByCloudIDPost

func (a *Client) PrototypeCloudUpdateByCloudIDPost(params *PrototypeCloudUpdateByCloudIDPostParams) (*PrototypeCloudUpdateByCloudIDPostCreated, error)

PrototypeCloudUpdateByCloudIDPost deletes cloud

Updates a cloud account. This updates the properties of an existing cloud account.

func (*Client) PublicCloudDeleteByCloudResourceIDPost

func (a *Client) PublicCloudDeleteByCloudResourceIDPost(params *PublicCloudDeleteByCloudResourceIDPostParams) (*PublicCloudDeleteByCloudResourceIDPostOK, error)

PublicCloudDeleteByCloudResourceIDPost deletes cloud

Delete a cloud account. This flips the cloud account status to delete and schedules a job to clean up all resources, properties, etc.

func (*Client) PublicCloudsListGet

func (a *Client) PublicCloudsListGet(params *PublicCloudsListGetParams) (*PublicCloudsListGetOK, error)

PublicCloudsListGet lists clouds

List available configured clouds.

func (*Client) PublicCloudtypesListGet

func (a *Client) PublicCloudtypesListGet(params *PublicCloudtypesListGetParams) (*PublicCloudtypesListGetOK, error)

PublicCloudtypesListGet lists cloud types

List supported clouds with their type (public/private)

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type PrototypeCloudUpdateByCloudIDPostCreated

type PrototypeCloudUpdateByCloudIDPostCreated struct {
}

PrototypeCloudUpdateByCloudIDPostCreated handles this case with default header values.

PrototypeCloudUpdateByCloudIDPostCreated prototype cloud update by cloud Id post created

func NewPrototypeCloudUpdateByCloudIDPostCreated

func NewPrototypeCloudUpdateByCloudIDPostCreated() *PrototypeCloudUpdateByCloudIDPostCreated

NewPrototypeCloudUpdateByCloudIDPostCreated creates a PrototypeCloudUpdateByCloudIDPostCreated with default headers values

func (*PrototypeCloudUpdateByCloudIDPostCreated) Error

type PrototypeCloudUpdateByCloudIDPostParams

type PrototypeCloudUpdateByCloudIDPostParams struct {

	/*Body*/
	Body *models.CreationParams1
	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string
	/*CloudID*/
	CloudID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PrototypeCloudUpdateByCloudIDPostParams contains all the parameters to send to the API endpoint for the prototype cloud update by cloud Id post operation typically these are written to a http.Request

func NewPrototypeCloudUpdateByCloudIDPostParams

func NewPrototypeCloudUpdateByCloudIDPostParams() *PrototypeCloudUpdateByCloudIDPostParams

NewPrototypeCloudUpdateByCloudIDPostParams creates a new PrototypeCloudUpdateByCloudIDPostParams object with the default values initialized.

func NewPrototypeCloudUpdateByCloudIDPostParamsWithContext

func NewPrototypeCloudUpdateByCloudIDPostParamsWithContext(ctx context.Context) *PrototypeCloudUpdateByCloudIDPostParams

NewPrototypeCloudUpdateByCloudIDPostParamsWithContext creates a new PrototypeCloudUpdateByCloudIDPostParams object with the default values initialized, and the ability to set a context for a request

func NewPrototypeCloudUpdateByCloudIDPostParamsWithHTTPClient

func NewPrototypeCloudUpdateByCloudIDPostParamsWithHTTPClient(client *http.Client) *PrototypeCloudUpdateByCloudIDPostParams

NewPrototypeCloudUpdateByCloudIDPostParamsWithHTTPClient creates a new PrototypeCloudUpdateByCloudIDPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPrototypeCloudUpdateByCloudIDPostParamsWithTimeout

func NewPrototypeCloudUpdateByCloudIDPostParamsWithTimeout(timeout time.Duration) *PrototypeCloudUpdateByCloudIDPostParams

NewPrototypeCloudUpdateByCloudIDPostParamsWithTimeout creates a new PrototypeCloudUpdateByCloudIDPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PrototypeCloudUpdateByCloudIDPostParams) SetBody

SetBody adds the body to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetCloudID

func (o *PrototypeCloudUpdateByCloudIDPostParams) SetCloudID(cloudID int64)

SetCloudID adds the cloudId to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetContentType

func (o *PrototypeCloudUpdateByCloudIDPostParams) SetContentType(contentType string)

SetContentType adds the contentType to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetContext

SetContext adds the context to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetHTTPClient

func (o *PrototypeCloudUpdateByCloudIDPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetTimeout

func (o *PrototypeCloudUpdateByCloudIDPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) SetXAuthToken

func (o *PrototypeCloudUpdateByCloudIDPostParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithBody

WithBody adds the body to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithCloudID

WithCloudID adds the cloudID to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithContentType

WithContentType adds the contentType to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithContext

WithContext adds the context to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithTimeout

WithTimeout adds the timeout to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the prototype cloud update by cloud Id post params

func (*PrototypeCloudUpdateByCloudIDPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PrototypeCloudUpdateByCloudIDPostReader

type PrototypeCloudUpdateByCloudIDPostReader struct {
	// contains filtered or unexported fields
}

PrototypeCloudUpdateByCloudIDPostReader is a Reader for the PrototypeCloudUpdateByCloudIDPost structure.

func (*PrototypeCloudUpdateByCloudIDPostReader) ReadResponse

func (o *PrototypeCloudUpdateByCloudIDPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicCloudDeleteByCloudResourceIDPostOK

type PublicCloudDeleteByCloudResourceIDPostOK struct {
}

PublicCloudDeleteByCloudResourceIDPostOK handles this case with default header values.

PublicCloudDeleteByCloudResourceIDPostOK public cloud delete by cloud resource Id post o k

func NewPublicCloudDeleteByCloudResourceIDPostOK

func NewPublicCloudDeleteByCloudResourceIDPostOK() *PublicCloudDeleteByCloudResourceIDPostOK

NewPublicCloudDeleteByCloudResourceIDPostOK creates a PublicCloudDeleteByCloudResourceIDPostOK with default headers values

func (*PublicCloudDeleteByCloudResourceIDPostOK) Error

type PublicCloudDeleteByCloudResourceIDPostParams

type PublicCloudDeleteByCloudResourceIDPostParams struct {

	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string
	/*CloudResourceID*/
	CloudResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicCloudDeleteByCloudResourceIDPostParams contains all the parameters to send to the API endpoint for the public cloud delete by cloud resource Id post operation typically these are written to a http.Request

func NewPublicCloudDeleteByCloudResourceIDPostParams

func NewPublicCloudDeleteByCloudResourceIDPostParams() *PublicCloudDeleteByCloudResourceIDPostParams

NewPublicCloudDeleteByCloudResourceIDPostParams creates a new PublicCloudDeleteByCloudResourceIDPostParams object with the default values initialized.

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithContext

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithContext(ctx context.Context) *PublicCloudDeleteByCloudResourceIDPostParams

NewPublicCloudDeleteByCloudResourceIDPostParamsWithContext creates a new PublicCloudDeleteByCloudResourceIDPostParams object with the default values initialized, and the ability to set a context for a request

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithHTTPClient

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithHTTPClient(client *http.Client) *PublicCloudDeleteByCloudResourceIDPostParams

NewPublicCloudDeleteByCloudResourceIDPostParamsWithHTTPClient creates a new PublicCloudDeleteByCloudResourceIDPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithTimeout

func NewPublicCloudDeleteByCloudResourceIDPostParamsWithTimeout(timeout time.Duration) *PublicCloudDeleteByCloudResourceIDPostParams

NewPublicCloudDeleteByCloudResourceIDPostParamsWithTimeout creates a new PublicCloudDeleteByCloudResourceIDPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetCloudResourceID

func (o *PublicCloudDeleteByCloudResourceIDPostParams) SetCloudResourceID(cloudResourceID string)

SetCloudResourceID adds the cloudResourceId to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetContentType

func (o *PublicCloudDeleteByCloudResourceIDPostParams) SetContentType(contentType string)

SetContentType adds the contentType to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetContext

SetContext adds the context to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetHTTPClient

func (o *PublicCloudDeleteByCloudResourceIDPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetTimeout

SetTimeout adds the timeout to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) SetXAuthToken

func (o *PublicCloudDeleteByCloudResourceIDPostParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithCloudResourceID

WithCloudResourceID adds the cloudResourceID to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithContentType

WithContentType adds the contentType to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithContext

WithContext adds the context to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithTimeout

WithTimeout adds the timeout to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the public cloud delete by cloud resource Id post params

func (*PublicCloudDeleteByCloudResourceIDPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCloudDeleteByCloudResourceIDPostReader

type PublicCloudDeleteByCloudResourceIDPostReader struct {
	// contains filtered or unexported fields
}

PublicCloudDeleteByCloudResourceIDPostReader is a Reader for the PublicCloudDeleteByCloudResourceIDPost structure.

func (*PublicCloudDeleteByCloudResourceIDPostReader) ReadResponse

func (o *PublicCloudDeleteByCloudResourceIDPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicCloudsListGetOK

type PublicCloudsListGetOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	ContentLength string

	ContentType string

	Date string

	Server string

	Payload *models.ListClouds
}

PublicCloudsListGetOK handles this case with default header values.

PublicCloudsListGetOK public clouds list get o k

func NewPublicCloudsListGetOK

func NewPublicCloudsListGetOK() *PublicCloudsListGetOK

NewPublicCloudsListGetOK creates a PublicCloudsListGetOK with default headers values

func (*PublicCloudsListGetOK) Error

func (o *PublicCloudsListGetOK) Error() string

type PublicCloudsListGetParams

type PublicCloudsListGetParams struct {

	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string
	/*CloudTypeID*/
	CloudTypeID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicCloudsListGetParams contains all the parameters to send to the API endpoint for the public clouds list get operation typically these are written to a http.Request

func NewPublicCloudsListGetParams

func NewPublicCloudsListGetParams() *PublicCloudsListGetParams

NewPublicCloudsListGetParams creates a new PublicCloudsListGetParams object with the default values initialized.

func NewPublicCloudsListGetParamsWithContext

func NewPublicCloudsListGetParamsWithContext(ctx context.Context) *PublicCloudsListGetParams

NewPublicCloudsListGetParamsWithContext creates a new PublicCloudsListGetParams object with the default values initialized, and the ability to set a context for a request

func NewPublicCloudsListGetParamsWithHTTPClient

func NewPublicCloudsListGetParamsWithHTTPClient(client *http.Client) *PublicCloudsListGetParams

NewPublicCloudsListGetParamsWithHTTPClient creates a new PublicCloudsListGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicCloudsListGetParamsWithTimeout

func NewPublicCloudsListGetParamsWithTimeout(timeout time.Duration) *PublicCloudsListGetParams

NewPublicCloudsListGetParamsWithTimeout creates a new PublicCloudsListGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicCloudsListGetParams) SetCloudTypeID

func (o *PublicCloudsListGetParams) SetCloudTypeID(cloudTypeID string)

SetCloudTypeID adds the cloudTypeId to the public clouds list get params

func (*PublicCloudsListGetParams) SetContentType

func (o *PublicCloudsListGetParams) SetContentType(contentType string)

SetContentType adds the contentType to the public clouds list get params

func (*PublicCloudsListGetParams) SetContext

func (o *PublicCloudsListGetParams) SetContext(ctx context.Context)

SetContext adds the context to the public clouds list get params

func (*PublicCloudsListGetParams) SetHTTPClient

func (o *PublicCloudsListGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public clouds list get params

func (*PublicCloudsListGetParams) SetTimeout

func (o *PublicCloudsListGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public clouds list get params

func (*PublicCloudsListGetParams) SetXAuthToken

func (o *PublicCloudsListGetParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the public clouds list get params

func (*PublicCloudsListGetParams) WithCloudTypeID

func (o *PublicCloudsListGetParams) WithCloudTypeID(cloudTypeID string) *PublicCloudsListGetParams

WithCloudTypeID adds the cloudTypeID to the public clouds list get params

func (*PublicCloudsListGetParams) WithContentType

func (o *PublicCloudsListGetParams) WithContentType(contentType string) *PublicCloudsListGetParams

WithContentType adds the contentType to the public clouds list get params

func (*PublicCloudsListGetParams) WithContext

WithContext adds the context to the public clouds list get params

func (*PublicCloudsListGetParams) WithHTTPClient

func (o *PublicCloudsListGetParams) WithHTTPClient(client *http.Client) *PublicCloudsListGetParams

WithHTTPClient adds the HTTPClient to the public clouds list get params

func (*PublicCloudsListGetParams) WithTimeout

WithTimeout adds the timeout to the public clouds list get params

func (*PublicCloudsListGetParams) WithXAuthToken

func (o *PublicCloudsListGetParams) WithXAuthToken(xAuthToken string) *PublicCloudsListGetParams

WithXAuthToken adds the xAuthToken to the public clouds list get params

func (*PublicCloudsListGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCloudsListGetReader

type PublicCloudsListGetReader struct {
	// contains filtered or unexported fields
}

PublicCloudsListGetReader is a Reader for the PublicCloudsListGet structure.

func (*PublicCloudsListGetReader) ReadResponse

func (o *PublicCloudsListGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicCloudtypesListGetOK

type PublicCloudtypesListGetOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	CacheControl string

	ContentEncoding string

	ContentLength string

	ContentType string

	Date string

	LastModified string

	Server string

	Vary string

	Payload *models.ListCloudTypes
}

PublicCloudtypesListGetOK handles this case with default header values.

PublicCloudtypesListGetOK public cloudtypes list get o k

func NewPublicCloudtypesListGetOK

func NewPublicCloudtypesListGetOK() *PublicCloudtypesListGetOK

NewPublicCloudtypesListGetOK creates a PublicCloudtypesListGetOK with default headers values

func (*PublicCloudtypesListGetOK) Error

func (o *PublicCloudtypesListGetOK) Error() string

type PublicCloudtypesListGetParams

type PublicCloudtypesListGetParams struct {

	/*Content*/
	Content string
	/*XAuthToken*/
	XAuthToken string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PublicCloudtypesListGetParams contains all the parameters to send to the API endpoint for the public cloudtypes list get operation typically these are written to a http.Request

func NewPublicCloudtypesListGetParams

func NewPublicCloudtypesListGetParams() *PublicCloudtypesListGetParams

NewPublicCloudtypesListGetParams creates a new PublicCloudtypesListGetParams object with the default values initialized.

func NewPublicCloudtypesListGetParamsWithContext

func NewPublicCloudtypesListGetParamsWithContext(ctx context.Context) *PublicCloudtypesListGetParams

NewPublicCloudtypesListGetParamsWithContext creates a new PublicCloudtypesListGetParams object with the default values initialized, and the ability to set a context for a request

func NewPublicCloudtypesListGetParamsWithHTTPClient

func NewPublicCloudtypesListGetParamsWithHTTPClient(client *http.Client) *PublicCloudtypesListGetParams

NewPublicCloudtypesListGetParamsWithHTTPClient creates a new PublicCloudtypesListGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicCloudtypesListGetParamsWithTimeout

func NewPublicCloudtypesListGetParamsWithTimeout(timeout time.Duration) *PublicCloudtypesListGetParams

NewPublicCloudtypesListGetParamsWithTimeout creates a new PublicCloudtypesListGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicCloudtypesListGetParams) SetContent

func (o *PublicCloudtypesListGetParams) SetContent(content string)

SetContent adds the content to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) SetContext

func (o *PublicCloudtypesListGetParams) SetContext(ctx context.Context)

SetContext adds the context to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) SetHTTPClient

func (o *PublicCloudtypesListGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) SetTimeout

func (o *PublicCloudtypesListGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) SetXAuthToken

func (o *PublicCloudtypesListGetParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WithContent

WithContent adds the content to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WithContext

WithContext adds the context to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WithTimeout

WithTimeout adds the timeout to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WithXAuthToken

WithXAuthToken adds the xAuthToken to the public cloudtypes list get params

func (*PublicCloudtypesListGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCloudtypesListGetReader

type PublicCloudtypesListGetReader struct {
	// contains filtered or unexported fields
}

PublicCloudtypesListGetReader is a Reader for the PublicCloudtypesListGet structure.

func (*PublicCloudtypesListGetReader) ReadResponse

func (o *PublicCloudtypesListGetReader) 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