add_cloud_account

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: 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 add cloud account API

func New

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

New creates a new add cloud account API client.

func (*Client) PrototypeCloudAddPost

func (a *Client) PrototypeCloudAddPost(params *PrototypeCloudAddPostParams) (*PrototypeCloudAddPostOK, error)

PrototypeCloudAddPost adds AWS cloud account

Adding an AWS cloud account to DivvyCloud using AWS access key and AWS secret key.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PrototypeCloudAddPostOK

type PrototypeCloudAddPostOK struct {
	AccessControlAllowHeaders string

	AccessControlAllowMethods string

	AccessControlAllowOrigin string

	ContentLength string

	Date string

	Server string

	Payload *models.AddAWSCloudAccount
}

PrototypeCloudAddPostOK handles this case with default header values.

PrototypeCloudAddPostOK prototype cloud add post o k

func NewPrototypeCloudAddPostOK

func NewPrototypeCloudAddPostOK() *PrototypeCloudAddPostOK

NewPrototypeCloudAddPostOK creates a PrototypeCloudAddPostOK with default headers values

func (*PrototypeCloudAddPostOK) Error

func (o *PrototypeCloudAddPostOK) Error() string

type PrototypeCloudAddPostParams

type PrototypeCloudAddPostParams struct {

	/*Body*/
	Body *models.AddAWSCloudAccountInstanceAssumeRoleRequest
	/*ContentType*/
	ContentType string
	/*XAuthToken*/
	XAuthToken string

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

PrototypeCloudAddPostParams contains all the parameters to send to the API endpoint for the prototype cloud add post operation typically these are written to a http.Request

func NewPrototypeCloudAddPostParams

func NewPrototypeCloudAddPostParams() *PrototypeCloudAddPostParams

NewPrototypeCloudAddPostParams creates a new PrototypeCloudAddPostParams object with the default values initialized.

func NewPrototypeCloudAddPostParamsWithContext

func NewPrototypeCloudAddPostParamsWithContext(ctx context.Context) *PrototypeCloudAddPostParams

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

func NewPrototypeCloudAddPostParamsWithHTTPClient

func NewPrototypeCloudAddPostParamsWithHTTPClient(client *http.Client) *PrototypeCloudAddPostParams

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

func NewPrototypeCloudAddPostParamsWithTimeout

func NewPrototypeCloudAddPostParamsWithTimeout(timeout time.Duration) *PrototypeCloudAddPostParams

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

func (*PrototypeCloudAddPostParams) SetBody

SetBody adds the body to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) SetContentType

func (o *PrototypeCloudAddPostParams) SetContentType(contentType string)

SetContentType adds the contentType to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) SetContext

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

SetContext adds the context to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) SetTimeout

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

SetTimeout adds the timeout to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) SetXAuthToken

func (o *PrototypeCloudAddPostParams) SetXAuthToken(xAuthToken string)

SetXAuthToken adds the xAuthToken to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithBody

WithBody adds the body to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithContentType

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

WithContentType adds the contentType to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithContext

WithContext adds the context to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithTimeout

WithTimeout adds the timeout to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WithXAuthToken

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

WithXAuthToken adds the xAuthToken to the prototype cloud add post params

func (*PrototypeCloudAddPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PrototypeCloudAddPostReader

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

PrototypeCloudAddPostReader is a Reader for the PrototypeCloudAddPost structure.

func (*PrototypeCloudAddPostReader) ReadResponse

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