Documentation ¶
Index ¶
- type Client
- type PrototypeCloudAddPostOK
- type PrototypeCloudAddPostParams
- func NewPrototypeCloudAddPostParams() *PrototypeCloudAddPostParams
- func NewPrototypeCloudAddPostParamsWithContext(ctx context.Context) *PrototypeCloudAddPostParams
- func NewPrototypeCloudAddPostParamsWithHTTPClient(client *http.Client) *PrototypeCloudAddPostParams
- func NewPrototypeCloudAddPostParamsWithTimeout(timeout time.Duration) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) SetBody(body *models.AddAWSCloudAccountInstanceAssumeRoleRequest)
- func (o *PrototypeCloudAddPostParams) SetContentType(contentType string)
- func (o *PrototypeCloudAddPostParams) SetContext(ctx context.Context)
- func (o *PrototypeCloudAddPostParams) SetHTTPClient(client *http.Client)
- func (o *PrototypeCloudAddPostParams) SetTimeout(timeout time.Duration)
- func (o *PrototypeCloudAddPostParams) SetXAuthToken(xAuthToken string)
- func (o *PrototypeCloudAddPostParams) WithBody(body *models.AddAWSCloudAccountInstanceAssumeRoleRequest) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WithContentType(contentType string) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WithContext(ctx context.Context) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WithHTTPClient(client *http.Client) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WithTimeout(timeout time.Duration) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WithXAuthToken(xAuthToken string) *PrototypeCloudAddPostParams
- func (o *PrototypeCloudAddPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrototypeCloudAddPostReader
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 ¶
func (o *PrototypeCloudAddPostParams) SetBody(body *models.AddAWSCloudAccountInstanceAssumeRoleRequest)
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 ¶
func (o *PrototypeCloudAddPostParams) WithBody(body *models.AddAWSCloudAccountInstanceAssumeRoleRequest) *PrototypeCloudAddPostParams
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 ¶
func (o *PrototypeCloudAddPostParams) WithContext(ctx context.Context) *PrototypeCloudAddPostParams
WithContext adds the context to the prototype cloud add post params
func (*PrototypeCloudAddPostParams) WithHTTPClient ¶
func (o *PrototypeCloudAddPostParams) WithHTTPClient(client *http.Client) *PrototypeCloudAddPostParams
WithHTTPClient adds the HTTPClient to the prototype cloud add post params
func (*PrototypeCloudAddPostParams) WithTimeout ¶
func (o *PrototypeCloudAddPostParams) WithTimeout(timeout time.Duration) *PrototypeCloudAddPostParams
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 ¶
func (o *PrototypeCloudAddPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.