deployment

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 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 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

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

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

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

WithBody adds the body to the create deployment params

func (*CreateDeploymentParams) WithContext

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

WithTimeout adds the timeout to the create deployment params

func (*CreateDeploymentParams) WriteToRequest

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

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

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

WithID adds the id to the delete deployment params

func (*DeleteDeploymentParams) WithTimeout

WithTimeout adds the timeout to the delete deployment params

func (*DeleteDeploymentParams) WriteToRequest

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

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

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

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

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

WithID adds the id to the get single deployment params

func (*GetSingleDeploymentParams) WithTimeout

WithTimeout adds the timeout to the get single deployment params

func (*GetSingleDeploymentParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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