Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeployment(params *CreateDeploymentParams) (*CreateDeploymentCreated, error)
- func (a *Client) DeleteDeployment(params *DeleteDeploymentParams) (*DeleteDeploymentAccepted, error)
- func (a *Client) GetDeployments(params *GetDeploymentsParams) (*GetDeploymentsOK, error)
- func (a *Client) GetSingleDeployment(params *GetSingleDeploymentParams) (*GetSingleDeploymentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDeploymentBadRequest
- type CreateDeploymentCreated
- type CreateDeploymentForbidden
- type CreateDeploymentParams
- func NewCreateDeploymentParams() *CreateDeploymentParams
- func NewCreateDeploymentParamsWithContext(ctx context.Context) *CreateDeploymentParams
- func NewCreateDeploymentParamsWithHTTPClient(client *http.Client) *CreateDeploymentParams
- func NewCreateDeploymentParamsWithTimeout(timeout time.Duration) *CreateDeploymentParams
- func (o *CreateDeploymentParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateDeploymentParams) SetBody(body *models.DeploymentSpecification)
- func (o *CreateDeploymentParams) SetContext(ctx context.Context)
- func (o *CreateDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentParams) WithAPIVersion(aPIVersion *string) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithBody(body *models.DeploymentSpecification) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithHTTPClient(client *http.Client) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithTimeout(timeout time.Duration) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeploymentReader
- type DeleteDeploymentAccepted
- type DeleteDeploymentForbidden
- type DeleteDeploymentParams
- func NewDeleteDeploymentParams() *DeleteDeploymentParams
- func NewDeleteDeploymentParamsWithContext(ctx context.Context) *DeleteDeploymentParams
- func NewDeleteDeploymentParamsWithHTTPClient(client *http.Client) *DeleteDeploymentParams
- func NewDeleteDeploymentParamsWithTimeout(timeout time.Duration) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteDeploymentParams) SetContext(ctx context.Context)
- func (o *DeleteDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeploymentParams) SetID(id string)
- func (o *DeleteDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeploymentParams) WithAPIVersion(aPIVersion *string) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithContext(ctx context.Context) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithHTTPClient(client *http.Client) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithID(id string) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithTimeout(timeout time.Duration) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeploymentReader
- type GetDeploymentsForbidden
- type GetDeploymentsOK
- type GetDeploymentsParams
- func NewGetDeploymentsParams() *GetDeploymentsParams
- func NewGetDeploymentsParamsWithContext(ctx context.Context) *GetDeploymentsParams
- func NewGetDeploymentsParamsWithHTTPClient(client *http.Client) *GetDeploymentsParams
- func NewGetDeploymentsParamsWithTimeout(timeout time.Duration) *GetDeploymentsParams
- func (o *GetDeploymentsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetDeploymentsParams) SetContext(ctx context.Context)
- func (o *GetDeploymentsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentsParams) WithAPIVersion(aPIVersion *string) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithContext(ctx context.Context) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithHTTPClient(client *http.Client) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithTimeout(timeout time.Duration) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentsReader
- type GetSingleDeploymentForbidden
- type GetSingleDeploymentNotFound
- type GetSingleDeploymentOK
- type GetSingleDeploymentParams
- func NewGetSingleDeploymentParams() *GetSingleDeploymentParams
- func NewGetSingleDeploymentParamsWithContext(ctx context.Context) *GetSingleDeploymentParams
- func NewGetSingleDeploymentParamsWithHTTPClient(client *http.Client) *GetSingleDeploymentParams
- func NewGetSingleDeploymentParamsWithTimeout(timeout time.Duration) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) SetAPIVersion(aPIVersion *string)
- func (o *GetSingleDeploymentParams) SetContext(ctx context.Context)
- func (o *GetSingleDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *GetSingleDeploymentParams) SetID(id string)
- func (o *GetSingleDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *GetSingleDeploymentParams) WithAPIVersion(aPIVersion *string) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) WithContext(ctx context.Context) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) WithHTTPClient(client *http.Client) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) WithID(id string) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) WithTimeout(timeout time.Duration) *GetSingleDeploymentParams
- func (o *GetSingleDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSingleDeploymentReader
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 deployment API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new deployment API client.
func (*Client) CreateDeployment ¶
func (a *Client) CreateDeployment(params *CreateDeploymentParams) (*CreateDeploymentCreated, error)
CreateDeployment creates deployment
Create a new Deployment.
func (*Client) DeleteDeployment ¶
func (a *Client) DeleteDeployment(params *DeleteDeploymentParams) (*DeleteDeploymentAccepted, error)
DeleteDeployment deletes a deployment
Delete a deployment.
func (*Client) GetDeployments ¶
func (a *Client) GetDeployments(params *GetDeploymentsParams) (*GetDeploymentsOK, error)
GetDeployments gets deployments
Get all deployments.
func (*Client) GetSingleDeployment ¶
func (a *Client) GetSingleDeployment(params *GetSingleDeploymentParams) (*GetSingleDeploymentOK, error)
GetSingleDeployment gets a single deployment
Get a single deployment.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateDeploymentBadRequest ¶
type CreateDeploymentBadRequest struct { }
CreateDeploymentBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateDeploymentBadRequest ¶
func NewCreateDeploymentBadRequest() *CreateDeploymentBadRequest
NewCreateDeploymentBadRequest creates a CreateDeploymentBadRequest with default headers values
func (*CreateDeploymentBadRequest) Error ¶
func (o *CreateDeploymentBadRequest) Error() string
type CreateDeploymentCreated ¶
type CreateDeploymentCreated struct {
Payload *models.IaaSDeployment
}
CreateDeploymentCreated handles this case with default header values.
successful operation
func NewCreateDeploymentCreated ¶
func NewCreateDeploymentCreated() *CreateDeploymentCreated
NewCreateDeploymentCreated creates a CreateDeploymentCreated with default headers values
func (*CreateDeploymentCreated) Error ¶
func (o *CreateDeploymentCreated) Error() string
func (*CreateDeploymentCreated) GetPayload ¶
func (o *CreateDeploymentCreated) GetPayload() *models.IaaSDeployment
type CreateDeploymentForbidden ¶
type CreateDeploymentForbidden struct { }
CreateDeploymentForbidden handles this case with default header values.
Forbidden
func NewCreateDeploymentForbidden ¶
func NewCreateDeploymentForbidden() *CreateDeploymentForbidden
NewCreateDeploymentForbidden creates a CreateDeploymentForbidden with default headers values
func (*CreateDeploymentForbidden) Error ¶
func (o *CreateDeploymentForbidden) Error() string
type CreateDeploymentParams ¶
type CreateDeploymentParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*Body Deployment specification instance */ Body *models.DeploymentSpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeploymentParams contains all the parameters to send to the API endpoint for the create deployment operation typically these are written to a http.Request
func NewCreateDeploymentParams ¶
func NewCreateDeploymentParams() *CreateDeploymentParams
NewCreateDeploymentParams creates a new CreateDeploymentParams object with the default values initialized.
func NewCreateDeploymentParamsWithContext ¶
func NewCreateDeploymentParamsWithContext(ctx context.Context) *CreateDeploymentParams
NewCreateDeploymentParamsWithContext creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDeploymentParamsWithHTTPClient ¶
func NewCreateDeploymentParamsWithHTTPClient(client *http.Client) *CreateDeploymentParams
NewCreateDeploymentParamsWithHTTPClient creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDeploymentParamsWithTimeout ¶
func NewCreateDeploymentParamsWithTimeout(timeout time.Duration) *CreateDeploymentParams
NewCreateDeploymentParamsWithTimeout creates a new CreateDeploymentParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDeploymentParams) SetAPIVersion ¶
func (o *CreateDeploymentParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create deployment params
func (*CreateDeploymentParams) SetBody ¶
func (o *CreateDeploymentParams) SetBody(body *models.DeploymentSpecification)
SetBody adds the body to the create deployment params
func (*CreateDeploymentParams) SetContext ¶
func (o *CreateDeploymentParams) SetContext(ctx context.Context)
SetContext adds the context to the create deployment params
func (*CreateDeploymentParams) SetHTTPClient ¶
func (o *CreateDeploymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create deployment params
func (*CreateDeploymentParams) SetTimeout ¶
func (o *CreateDeploymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create deployment params
func (*CreateDeploymentParams) WithAPIVersion ¶
func (o *CreateDeploymentParams) WithAPIVersion(aPIVersion *string) *CreateDeploymentParams
WithAPIVersion adds the aPIVersion to the create deployment params
func (*CreateDeploymentParams) WithBody ¶
func (o *CreateDeploymentParams) WithBody(body *models.DeploymentSpecification) *CreateDeploymentParams
WithBody adds the body to the create deployment params
func (*CreateDeploymentParams) WithContext ¶
func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
WithContext adds the context to the create deployment params
func (*CreateDeploymentParams) WithHTTPClient ¶
func (o *CreateDeploymentParams) WithHTTPClient(client *http.Client) *CreateDeploymentParams
WithHTTPClient adds the HTTPClient to the create deployment params
func (*CreateDeploymentParams) WithTimeout ¶
func (o *CreateDeploymentParams) WithTimeout(timeout time.Duration) *CreateDeploymentParams
WithTimeout adds the timeout to the create deployment params
func (*CreateDeploymentParams) WriteToRequest ¶
func (o *CreateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeploymentReader ¶
type CreateDeploymentReader struct {
// contains filtered or unexported fields
}
CreateDeploymentReader is a Reader for the CreateDeployment structure.
func (*CreateDeploymentReader) ReadResponse ¶
func (o *CreateDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeploymentAccepted ¶
type DeleteDeploymentAccepted struct {
Payload *models.RequestTracker
}
DeleteDeploymentAccepted handles this case with default header values.
successful operation
func NewDeleteDeploymentAccepted ¶
func NewDeleteDeploymentAccepted() *DeleteDeploymentAccepted
NewDeleteDeploymentAccepted creates a DeleteDeploymentAccepted with default headers values
func (*DeleteDeploymentAccepted) Error ¶
func (o *DeleteDeploymentAccepted) Error() string
func (*DeleteDeploymentAccepted) GetPayload ¶
func (o *DeleteDeploymentAccepted) GetPayload() *models.RequestTracker
type DeleteDeploymentForbidden ¶
type DeleteDeploymentForbidden struct { }
DeleteDeploymentForbidden handles this case with default header values.
Forbidden
func NewDeleteDeploymentForbidden ¶
func NewDeleteDeploymentForbidden() *DeleteDeploymentForbidden
NewDeleteDeploymentForbidden creates a DeleteDeploymentForbidden with default headers values
func (*DeleteDeploymentForbidden) Error ¶
func (o *DeleteDeploymentForbidden) Error() string
type DeleteDeploymentParams ¶
type DeleteDeploymentParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the deployment. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeploymentParams contains all the parameters to send to the API endpoint for the delete deployment operation typically these are written to a http.Request
func NewDeleteDeploymentParams ¶
func NewDeleteDeploymentParams() *DeleteDeploymentParams
NewDeleteDeploymentParams creates a new DeleteDeploymentParams object with the default values initialized.
func NewDeleteDeploymentParamsWithContext ¶
func NewDeleteDeploymentParamsWithContext(ctx context.Context) *DeleteDeploymentParams
NewDeleteDeploymentParamsWithContext creates a new DeleteDeploymentParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDeploymentParamsWithHTTPClient ¶
func NewDeleteDeploymentParamsWithHTTPClient(client *http.Client) *DeleteDeploymentParams
NewDeleteDeploymentParamsWithHTTPClient creates a new DeleteDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDeploymentParamsWithTimeout ¶
func NewDeleteDeploymentParamsWithTimeout(timeout time.Duration) *DeleteDeploymentParams
NewDeleteDeploymentParamsWithTimeout creates a new DeleteDeploymentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDeploymentParams) SetAPIVersion ¶
func (o *DeleteDeploymentParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete deployment params
func (*DeleteDeploymentParams) SetContext ¶
func (o *DeleteDeploymentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete deployment params
func (*DeleteDeploymentParams) SetHTTPClient ¶
func (o *DeleteDeploymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete deployment params
func (*DeleteDeploymentParams) SetID ¶
func (o *DeleteDeploymentParams) SetID(id string)
SetID adds the id to the delete deployment params
func (*DeleteDeploymentParams) SetTimeout ¶
func (o *DeleteDeploymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete deployment params
func (*DeleteDeploymentParams) WithAPIVersion ¶
func (o *DeleteDeploymentParams) WithAPIVersion(aPIVersion *string) *DeleteDeploymentParams
WithAPIVersion adds the aPIVersion to the delete deployment params
func (*DeleteDeploymentParams) WithContext ¶
func (o *DeleteDeploymentParams) WithContext(ctx context.Context) *DeleteDeploymentParams
WithContext adds the context to the delete deployment params
func (*DeleteDeploymentParams) WithHTTPClient ¶
func (o *DeleteDeploymentParams) WithHTTPClient(client *http.Client) *DeleteDeploymentParams
WithHTTPClient adds the HTTPClient to the delete deployment params
func (*DeleteDeploymentParams) WithID ¶
func (o *DeleteDeploymentParams) WithID(id string) *DeleteDeploymentParams
WithID adds the id to the delete deployment params
func (*DeleteDeploymentParams) WithTimeout ¶
func (o *DeleteDeploymentParams) WithTimeout(timeout time.Duration) *DeleteDeploymentParams
WithTimeout adds the timeout to the delete deployment params
func (*DeleteDeploymentParams) WriteToRequest ¶
func (o *DeleteDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeploymentReader ¶
type DeleteDeploymentReader struct {
// contains filtered or unexported fields
}
DeleteDeploymentReader is a Reader for the DeleteDeployment structure.
func (*DeleteDeploymentReader) ReadResponse ¶
func (o *DeleteDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentsForbidden ¶
type GetDeploymentsForbidden struct { }
GetDeploymentsForbidden handles this case with default header values.
Forbidden
func NewGetDeploymentsForbidden ¶
func NewGetDeploymentsForbidden() *GetDeploymentsForbidden
NewGetDeploymentsForbidden creates a GetDeploymentsForbidden with default headers values
func (*GetDeploymentsForbidden) Error ¶
func (o *GetDeploymentsForbidden) Error() string
type GetDeploymentsOK ¶
type GetDeploymentsOK struct {
Payload []*models.IaaSDeployment
}
GetDeploymentsOK handles this case with default header values.
successful operation
func NewGetDeploymentsOK ¶
func NewGetDeploymentsOK() *GetDeploymentsOK
NewGetDeploymentsOK creates a GetDeploymentsOK with default headers values
func (*GetDeploymentsOK) Error ¶
func (o *GetDeploymentsOK) Error() string
func (*GetDeploymentsOK) GetPayload ¶
func (o *GetDeploymentsOK) GetPayload() []*models.IaaSDeployment
type GetDeploymentsParams ¶
type GetDeploymentsParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeploymentsParams contains all the parameters to send to the API endpoint for the get deployments operation typically these are written to a http.Request
func NewGetDeploymentsParams ¶
func NewGetDeploymentsParams() *GetDeploymentsParams
NewGetDeploymentsParams creates a new GetDeploymentsParams object with the default values initialized.
func NewGetDeploymentsParamsWithContext ¶
func NewGetDeploymentsParamsWithContext(ctx context.Context) *GetDeploymentsParams
NewGetDeploymentsParamsWithContext creates a new GetDeploymentsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentsParamsWithHTTPClient ¶
func NewGetDeploymentsParamsWithHTTPClient(client *http.Client) *GetDeploymentsParams
NewGetDeploymentsParamsWithHTTPClient creates a new GetDeploymentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentsParamsWithTimeout ¶
func NewGetDeploymentsParamsWithTimeout(timeout time.Duration) *GetDeploymentsParams
NewGetDeploymentsParamsWithTimeout creates a new GetDeploymentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentsParams) SetAPIVersion ¶
func (o *GetDeploymentsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get deployments params
func (*GetDeploymentsParams) SetContext ¶
func (o *GetDeploymentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployments params
func (*GetDeploymentsParams) SetHTTPClient ¶
func (o *GetDeploymentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployments params
func (*GetDeploymentsParams) SetTimeout ¶
func (o *GetDeploymentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployments params
func (*GetDeploymentsParams) WithAPIVersion ¶
func (o *GetDeploymentsParams) WithAPIVersion(aPIVersion *string) *GetDeploymentsParams
WithAPIVersion adds the aPIVersion to the get deployments params
func (*GetDeploymentsParams) WithContext ¶
func (o *GetDeploymentsParams) WithContext(ctx context.Context) *GetDeploymentsParams
WithContext adds the context to the get deployments params
func (*GetDeploymentsParams) WithHTTPClient ¶
func (o *GetDeploymentsParams) WithHTTPClient(client *http.Client) *GetDeploymentsParams
WithHTTPClient adds the HTTPClient to the get deployments params
func (*GetDeploymentsParams) WithTimeout ¶
func (o *GetDeploymentsParams) WithTimeout(timeout time.Duration) *GetDeploymentsParams
WithTimeout adds the timeout to the get deployments params
func (*GetDeploymentsParams) WriteToRequest ¶
func (o *GetDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentsReader ¶
type GetDeploymentsReader struct {
// contains filtered or unexported fields
}
GetDeploymentsReader is a Reader for the GetDeployments structure.
func (*GetDeploymentsReader) ReadResponse ¶
func (o *GetDeploymentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSingleDeploymentForbidden ¶
type GetSingleDeploymentForbidden struct { }
GetSingleDeploymentForbidden handles this case with default header values.
Forbidden
func NewGetSingleDeploymentForbidden ¶
func NewGetSingleDeploymentForbidden() *GetSingleDeploymentForbidden
NewGetSingleDeploymentForbidden creates a GetSingleDeploymentForbidden with default headers values
func (*GetSingleDeploymentForbidden) Error ¶
func (o *GetSingleDeploymentForbidden) Error() string
type GetSingleDeploymentNotFound ¶
type GetSingleDeploymentNotFound struct { }
GetSingleDeploymentNotFound handles this case with default header values.
Not Found
func NewGetSingleDeploymentNotFound ¶
func NewGetSingleDeploymentNotFound() *GetSingleDeploymentNotFound
NewGetSingleDeploymentNotFound creates a GetSingleDeploymentNotFound with default headers values
func (*GetSingleDeploymentNotFound) Error ¶
func (o *GetSingleDeploymentNotFound) Error() string
type GetSingleDeploymentOK ¶
type GetSingleDeploymentOK struct {
Payload *models.IaaSDeployment
}
GetSingleDeploymentOK handles this case with default header values.
successful operation
func NewGetSingleDeploymentOK ¶
func NewGetSingleDeploymentOK() *GetSingleDeploymentOK
NewGetSingleDeploymentOK creates a GetSingleDeploymentOK with default headers values
func (*GetSingleDeploymentOK) Error ¶
func (o *GetSingleDeploymentOK) Error() string
func (*GetSingleDeploymentOK) GetPayload ¶
func (o *GetSingleDeploymentOK) GetPayload() *models.IaaSDeployment
type GetSingleDeploymentParams ¶
type GetSingleDeploymentParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about */ APIVersion *string /*ID The id of the deployment. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSingleDeploymentParams contains all the parameters to send to the API endpoint for the get single deployment operation typically these are written to a http.Request
func NewGetSingleDeploymentParams ¶
func NewGetSingleDeploymentParams() *GetSingleDeploymentParams
NewGetSingleDeploymentParams creates a new GetSingleDeploymentParams object with the default values initialized.
func NewGetSingleDeploymentParamsWithContext ¶
func NewGetSingleDeploymentParamsWithContext(ctx context.Context) *GetSingleDeploymentParams
NewGetSingleDeploymentParamsWithContext creates a new GetSingleDeploymentParams object with the default values initialized, and the ability to set a context for a request
func NewGetSingleDeploymentParamsWithHTTPClient ¶
func NewGetSingleDeploymentParamsWithHTTPClient(client *http.Client) *GetSingleDeploymentParams
NewGetSingleDeploymentParamsWithHTTPClient creates a new GetSingleDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetSingleDeploymentParamsWithTimeout ¶
func NewGetSingleDeploymentParamsWithTimeout(timeout time.Duration) *GetSingleDeploymentParams
NewGetSingleDeploymentParamsWithTimeout creates a new GetSingleDeploymentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetSingleDeploymentParams) SetAPIVersion ¶
func (o *GetSingleDeploymentParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get single deployment params
func (*GetSingleDeploymentParams) SetContext ¶
func (o *GetSingleDeploymentParams) SetContext(ctx context.Context)
SetContext adds the context to the get single deployment params
func (*GetSingleDeploymentParams) SetHTTPClient ¶
func (o *GetSingleDeploymentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get single deployment params
func (*GetSingleDeploymentParams) SetID ¶
func (o *GetSingleDeploymentParams) SetID(id string)
SetID adds the id to the get single deployment params
func (*GetSingleDeploymentParams) SetTimeout ¶
func (o *GetSingleDeploymentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get single deployment params
func (*GetSingleDeploymentParams) WithAPIVersion ¶
func (o *GetSingleDeploymentParams) WithAPIVersion(aPIVersion *string) *GetSingleDeploymentParams
WithAPIVersion adds the aPIVersion to the get single deployment params
func (*GetSingleDeploymentParams) WithContext ¶
func (o *GetSingleDeploymentParams) WithContext(ctx context.Context) *GetSingleDeploymentParams
WithContext adds the context to the get single deployment params
func (*GetSingleDeploymentParams) WithHTTPClient ¶
func (o *GetSingleDeploymentParams) WithHTTPClient(client *http.Client) *GetSingleDeploymentParams
WithHTTPClient adds the HTTPClient to the get single deployment params
func (*GetSingleDeploymentParams) WithID ¶
func (o *GetSingleDeploymentParams) WithID(id string) *GetSingleDeploymentParams
WithID adds the id to the get single deployment params
func (*GetSingleDeploymentParams) WithTimeout ¶
func (o *GetSingleDeploymentParams) WithTimeout(timeout time.Duration) *GetSingleDeploymentParams
WithTimeout adds the timeout to the get single deployment params
func (*GetSingleDeploymentParams) WriteToRequest ¶
func (o *GetSingleDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSingleDeploymentReader ¶
type GetSingleDeploymentReader struct {
// contains filtered or unexported fields
}
GetSingleDeploymentReader is a Reader for the GetSingleDeployment structure.
func (*GetSingleDeploymentReader) ReadResponse ¶
func (o *GetSingleDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.