deployment

package
v0.0.0-...-7077701 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 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 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, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentOK, error)

CreateDeployment creates a new deployment

create a new deployment

func (*Client) DeleteDeployment

func (a *Client) DeleteDeployment(params *DeleteDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentOK, error)

DeleteDeployment deletes specified deployment

func (*Client) GetDeployment

func (a *Client) GetDeployment(params *GetDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentOK, error)

GetDeployment gets specified deployment

func (*Client) GetDeployments

func (a *Client) GetDeployments(params *GetDeploymentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentsOK, error)

GetDeployments gets all deployments

func (*Client) SetDeploymentStatus

func (a *Client) SetDeploymentStatus(params *SetDeploymentStatusParams, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentStatusOK, error)

SetDeploymentStatus updates specified deployment

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDeployment

func (a *Client) UpdateDeployment(params *UpdateDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeploymentOK, error)

UpdateDeployment updates specified deployment

type CreateDeploymentBadRequest

type CreateDeploymentBadRequest struct {
}

CreateDeploymentBadRequest handles this case with default header values.

Bad request

func NewCreateDeploymentBadRequest

func NewCreateDeploymentBadRequest() *CreateDeploymentBadRequest

NewCreateDeploymentBadRequest creates a CreateDeploymentBadRequest with default headers values

func (*CreateDeploymentBadRequest) Error

type CreateDeploymentMethodNotAllowed

type CreateDeploymentMethodNotAllowed struct {
}

CreateDeploymentMethodNotAllowed handles this case with default header values.

Invalid condition

func NewCreateDeploymentMethodNotAllowed

func NewCreateDeploymentMethodNotAllowed() *CreateDeploymentMethodNotAllowed

NewCreateDeploymentMethodNotAllowed creates a CreateDeploymentMethodNotAllowed with default headers values

func (*CreateDeploymentMethodNotAllowed) Error

type CreateDeploymentOK

type CreateDeploymentOK struct {
	Payload *models.Deployment
}

CreateDeploymentOK handles this case with default header values.

Successfully operation

func NewCreateDeploymentOK

func NewCreateDeploymentOK() *CreateDeploymentOK

NewCreateDeploymentOK creates a CreateDeploymentOK with default headers values

func (*CreateDeploymentOK) Error

func (o *CreateDeploymentOK) Error() string

func (*CreateDeploymentOK) GetPayload

func (o *CreateDeploymentOK) GetPayload() *models.Deployment

type CreateDeploymentParams

type CreateDeploymentParams struct {

	/*Deployment
	  deployment information

	*/
	Deployment *models.Deployment

	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) SetContext

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

SetContext adds the context to the create deployment params

func (*CreateDeploymentParams) SetDeployment

func (o *CreateDeploymentParams) SetDeployment(deployment *models.Deployment)

SetDeployment adds the deployment 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) WithContext

WithContext adds the context to the create deployment params

func (*CreateDeploymentParams) WithDeployment

func (o *CreateDeploymentParams) WithDeployment(deployment *models.Deployment) *CreateDeploymentParams

WithDeployment adds the deployment 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 DeleteDeploymentNotFound

type DeleteDeploymentNotFound struct {
}

DeleteDeploymentNotFound handles this case with default header values.

deployment not found

func NewDeleteDeploymentNotFound

func NewDeleteDeploymentNotFound() *DeleteDeploymentNotFound

NewDeleteDeploymentNotFound creates a DeleteDeploymentNotFound with default headers values

func (*DeleteDeploymentNotFound) Error

func (o *DeleteDeploymentNotFound) Error() string

type DeleteDeploymentOK

type DeleteDeploymentOK struct {
}

DeleteDeploymentOK handles this case with default header values.

successfully operation

func NewDeleteDeploymentOK

func NewDeleteDeploymentOK() *DeleteDeploymentOK

NewDeleteDeploymentOK creates a DeleteDeploymentOK with default headers values

func (*DeleteDeploymentOK) Error

func (o *DeleteDeploymentOK) Error() string

type DeleteDeploymentParams

type DeleteDeploymentParams struct {

	/*DeploymentID
	  deployment identifier

	*/
	DeploymentID 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) SetContext

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

SetContext adds the context to the delete deployment params

func (*DeleteDeploymentParams) SetDeploymentID

func (o *DeleteDeploymentParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId 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) SetTimeout

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

SetTimeout adds the timeout to the delete deployment params

func (*DeleteDeploymentParams) WithContext

WithContext adds the context to the delete deployment params

func (*DeleteDeploymentParams) WithDeploymentID

func (o *DeleteDeploymentParams) WithDeploymentID(deploymentID string) *DeleteDeploymentParams

WithDeploymentID adds the deploymentID 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) 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 GetDeploymentNotFound

type GetDeploymentNotFound struct {
}

GetDeploymentNotFound handles this case with default header values.

deployment not found

func NewGetDeploymentNotFound

func NewGetDeploymentNotFound() *GetDeploymentNotFound

NewGetDeploymentNotFound creates a GetDeploymentNotFound with default headers values

func (*GetDeploymentNotFound) Error

func (o *GetDeploymentNotFound) Error() string

type GetDeploymentOK

type GetDeploymentOK struct {
	Payload *models.Deployment
}

GetDeploymentOK handles this case with default header values.

successfully operation

func NewGetDeploymentOK

func NewGetDeploymentOK() *GetDeploymentOK

NewGetDeploymentOK creates a GetDeploymentOK with default headers values

func (*GetDeploymentOK) Error

func (o *GetDeploymentOK) Error() string

func (*GetDeploymentOK) GetPayload

func (o *GetDeploymentOK) GetPayload() *models.Deployment

type GetDeploymentParams

type GetDeploymentParams struct {

	/*DeploymentID
	  deployment identifier

	*/
	DeploymentID string

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

GetDeploymentParams contains all the parameters to send to the API endpoint for the get deployment operation typically these are written to a http.Request

func NewGetDeploymentParams

func NewGetDeploymentParams() *GetDeploymentParams

NewGetDeploymentParams creates a new GetDeploymentParams object with the default values initialized.

func NewGetDeploymentParamsWithContext

func NewGetDeploymentParamsWithContext(ctx context.Context) *GetDeploymentParams

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

func NewGetDeploymentParamsWithHTTPClient

func NewGetDeploymentParamsWithHTTPClient(client *http.Client) *GetDeploymentParams

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

func NewGetDeploymentParamsWithTimeout

func NewGetDeploymentParamsWithTimeout(timeout time.Duration) *GetDeploymentParams

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

func (*GetDeploymentParams) SetContext

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

SetContext adds the context to the get deployment params

func (*GetDeploymentParams) SetDeploymentID

func (o *GetDeploymentParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the get deployment params

func (*GetDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployment params

func (*GetDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the get deployment params

func (*GetDeploymentParams) WithContext

WithContext adds the context to the get deployment params

func (*GetDeploymentParams) WithDeploymentID

func (o *GetDeploymentParams) WithDeploymentID(deploymentID string) *GetDeploymentParams

WithDeploymentID adds the deploymentID to the get deployment params

func (*GetDeploymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deployment params

func (*GetDeploymentParams) WithTimeout

func (o *GetDeploymentParams) WithTimeout(timeout time.Duration) *GetDeploymentParams

WithTimeout adds the timeout to the get deployment params

func (*GetDeploymentParams) WriteToRequest

func (o *GetDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDeploymentReader

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

GetDeploymentReader is a Reader for the GetDeployment structure.

func (*GetDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentsBadRequest

type GetDeploymentsBadRequest struct {
}

GetDeploymentsBadRequest handles this case with default header values.

Internal server rooro

func NewGetDeploymentsBadRequest

func NewGetDeploymentsBadRequest() *GetDeploymentsBadRequest

NewGetDeploymentsBadRequest creates a GetDeploymentsBadRequest with default headers values

func (*GetDeploymentsBadRequest) Error

func (o *GetDeploymentsBadRequest) Error() string

type GetDeploymentsDefault

type GetDeploymentsDefault struct {
	Payload *GetDeploymentsDefaultBody
	// contains filtered or unexported fields
}

GetDeploymentsDefault handles this case with default header values.

failed operation

func NewGetDeploymentsDefault

func NewGetDeploymentsDefault(code int) *GetDeploymentsDefault

NewGetDeploymentsDefault creates a GetDeploymentsDefault with default headers values

func (*GetDeploymentsDefault) Code

func (o *GetDeploymentsDefault) Code() int

Code gets the status code for the get deployments default response

func (*GetDeploymentsDefault) Error

func (o *GetDeploymentsDefault) Error() string

func (*GetDeploymentsDefault) GetPayload

type GetDeploymentsDefaultBody

type GetDeploymentsDefaultBody struct {

	// message
	Message string `json:"message,omitempty"`
}

GetDeploymentsDefaultBody get deployments default body swagger:model GetDeploymentsDefaultBody

func (*GetDeploymentsDefaultBody) MarshalBinary

func (o *GetDeploymentsDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeploymentsDefaultBody) UnmarshalBinary

func (o *GetDeploymentsDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeploymentsDefaultBody) Validate

func (o *GetDeploymentsDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this get deployments default body

type GetDeploymentsOK

type GetDeploymentsOK struct {
	Payload []*models.Deployment
}

GetDeploymentsOK handles this case with default header values.

successfully 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.Deployment

type GetDeploymentsParams

type GetDeploymentsParams struct {

	/*PageNumber
	  Page number

	*/
	PageNumber *int64
	/*PageSize
	  Number of persons returned

	*/
	PageSize *int64
	/*Q
	  query object for.You can get query key from rulechain object. This is a json string. For example:
	  * 模糊检索name,description,category
	  {"name": "product"}
	  {"description": "abcd"}
	  {"category": "abcd"}
	  * 多条件模糊检索(and)
	  {"name": "product", "description": "abcd"}
	  * (deprecated) 模糊检索created_at,updated_at
	  {"created_at": "2018-10-11T09:13:26Z"}
	  {"updated_at": "2018-10-11T09:13:26Z"}
	  * 精确检索user_id,id,template_id,key,secret,status,data_format
	  {"user_id": "bevh8dkvr53g2n6u9l70"}
	  {"id": "bevh8dkvr53g2n6u9l70"}
	  {"template_id": "bevh8dkvr53g2n6u9l70"}
	  {"key": "bevh8dkvr53g2n6u9l70"}
	  {"secret": "bevh8dkvr53g2n6u9l70"}
	  {"data_format": "JSON"}
	  {"data_format": "XML"}


	*/
	Q *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) 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) SetPageNumber

func (o *GetDeploymentsParams) SetPageNumber(pageNumber *int64)

SetPageNumber adds the pageNumber to the get deployments params

func (*GetDeploymentsParams) SetPageSize

func (o *GetDeploymentsParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the get deployments params

func (*GetDeploymentsParams) SetQ

func (o *GetDeploymentsParams) SetQ(q *string)

SetQ adds the q 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) 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) WithPageNumber

func (o *GetDeploymentsParams) WithPageNumber(pageNumber *int64) *GetDeploymentsParams

WithPageNumber adds the pageNumber to the get deployments params

func (*GetDeploymentsParams) WithPageSize

func (o *GetDeploymentsParams) WithPageSize(pageSize *int64) *GetDeploymentsParams

WithPageSize adds the pageSize to the get deployments params

func (*GetDeploymentsParams) WithQ

WithQ adds the q 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 SetDeploymentStatusBadRequest

type SetDeploymentStatusBadRequest struct {
}

SetDeploymentStatusBadRequest handles this case with default header values.

Invalid deployment Id

func NewSetDeploymentStatusBadRequest

func NewSetDeploymentStatusBadRequest() *SetDeploymentStatusBadRequest

NewSetDeploymentStatusBadRequest creates a SetDeploymentStatusBadRequest with default headers values

func (*SetDeploymentStatusBadRequest) Error

type SetDeploymentStatusMethodNotAllowed

type SetDeploymentStatusMethodNotAllowed struct {
}

SetDeploymentStatusMethodNotAllowed handles this case with default header values.

Deployment exception

func NewSetDeploymentStatusMethodNotAllowed

func NewSetDeploymentStatusMethodNotAllowed() *SetDeploymentStatusMethodNotAllowed

NewSetDeploymentStatusMethodNotAllowed creates a SetDeploymentStatusMethodNotAllowed with default headers values

func (*SetDeploymentStatusMethodNotAllowed) Error

type SetDeploymentStatusNotFound

type SetDeploymentStatusNotFound struct {
}

SetDeploymentStatusNotFound handles this case with default header values.

Deployment not found

func NewSetDeploymentStatusNotFound

func NewSetDeploymentStatusNotFound() *SetDeploymentStatusNotFound

NewSetDeploymentStatusNotFound creates a SetDeploymentStatusNotFound with default headers values

func (*SetDeploymentStatusNotFound) Error

type SetDeploymentStatusOK

type SetDeploymentStatusOK struct {
}

SetDeploymentStatusOK handles this case with default header values.

Successfully operation

func NewSetDeploymentStatusOK

func NewSetDeploymentStatusOK() *SetDeploymentStatusOK

NewSetDeploymentStatusOK creates a SetDeploymentStatusOK with default headers values

func (*SetDeploymentStatusOK) Error

func (o *SetDeploymentStatusOK) Error() string

type SetDeploymentStatusParams

type SetDeploymentStatusParams struct {

	/*DeploymentControl
	  start or stop deployment

	*/
	DeploymentControl *models.DeploymentControl
	/*DeploymentID
	  deployment identifier

	*/
	DeploymentID string

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

SetDeploymentStatusParams contains all the parameters to send to the API endpoint for the set deployment status operation typically these are written to a http.Request

func NewSetDeploymentStatusParams

func NewSetDeploymentStatusParams() *SetDeploymentStatusParams

NewSetDeploymentStatusParams creates a new SetDeploymentStatusParams object with the default values initialized.

func NewSetDeploymentStatusParamsWithContext

func NewSetDeploymentStatusParamsWithContext(ctx context.Context) *SetDeploymentStatusParams

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

func NewSetDeploymentStatusParamsWithHTTPClient

func NewSetDeploymentStatusParamsWithHTTPClient(client *http.Client) *SetDeploymentStatusParams

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

func NewSetDeploymentStatusParamsWithTimeout

func NewSetDeploymentStatusParamsWithTimeout(timeout time.Duration) *SetDeploymentStatusParams

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

func (*SetDeploymentStatusParams) SetContext

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

SetContext adds the context to the set deployment status params

func (*SetDeploymentStatusParams) SetDeploymentControl

func (o *SetDeploymentStatusParams) SetDeploymentControl(deploymentControl *models.DeploymentControl)

SetDeploymentControl adds the deploymentControl to the set deployment status params

func (*SetDeploymentStatusParams) SetDeploymentID

func (o *SetDeploymentStatusParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the set deployment status params

func (*SetDeploymentStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set deployment status params

func (*SetDeploymentStatusParams) SetTimeout

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

SetTimeout adds the timeout to the set deployment status params

func (*SetDeploymentStatusParams) WithContext

WithContext adds the context to the set deployment status params

func (*SetDeploymentStatusParams) WithDeploymentControl

func (o *SetDeploymentStatusParams) WithDeploymentControl(deploymentControl *models.DeploymentControl) *SetDeploymentStatusParams

WithDeploymentControl adds the deploymentControl to the set deployment status params

func (*SetDeploymentStatusParams) WithDeploymentID

func (o *SetDeploymentStatusParams) WithDeploymentID(deploymentID string) *SetDeploymentStatusParams

WithDeploymentID adds the deploymentID to the set deployment status params

func (*SetDeploymentStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set deployment status params

func (*SetDeploymentStatusParams) WithTimeout

WithTimeout adds the timeout to the set deployment status params

func (*SetDeploymentStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetDeploymentStatusReader

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

SetDeploymentStatusReader is a Reader for the SetDeploymentStatus structure.

func (*SetDeploymentStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDeploymentNotFound

type UpdateDeploymentNotFound struct {
}

UpdateDeploymentNotFound handles this case with default header values.

deployment not found

func NewUpdateDeploymentNotFound

func NewUpdateDeploymentNotFound() *UpdateDeploymentNotFound

NewUpdateDeploymentNotFound creates a UpdateDeploymentNotFound with default headers values

func (*UpdateDeploymentNotFound) Error

func (o *UpdateDeploymentNotFound) Error() string

type UpdateDeploymentOK

type UpdateDeploymentOK struct {
}

UpdateDeploymentOK handles this case with default header values.

successfully operation

func NewUpdateDeploymentOK

func NewUpdateDeploymentOK() *UpdateDeploymentOK

NewUpdateDeploymentOK creates a UpdateDeploymentOK with default headers values

func (*UpdateDeploymentOK) Error

func (o *UpdateDeploymentOK) Error() string

type UpdateDeploymentParams

type UpdateDeploymentParams struct {

	/*Deployment
	  updated deployment

	*/
	Deployment *models.Deployment
	/*DeploymentID
	  deployment identifier

	*/
	DeploymentID string

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

UpdateDeploymentParams contains all the parameters to send to the API endpoint for the update deployment operation typically these are written to a http.Request

func NewUpdateDeploymentParams

func NewUpdateDeploymentParams() *UpdateDeploymentParams

NewUpdateDeploymentParams creates a new UpdateDeploymentParams object with the default values initialized.

func NewUpdateDeploymentParamsWithContext

func NewUpdateDeploymentParamsWithContext(ctx context.Context) *UpdateDeploymentParams

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

func NewUpdateDeploymentParamsWithHTTPClient

func NewUpdateDeploymentParamsWithHTTPClient(client *http.Client) *UpdateDeploymentParams

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

func NewUpdateDeploymentParamsWithTimeout

func NewUpdateDeploymentParamsWithTimeout(timeout time.Duration) *UpdateDeploymentParams

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

func (*UpdateDeploymentParams) SetContext

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

SetContext adds the context to the update deployment params

func (*UpdateDeploymentParams) SetDeployment

func (o *UpdateDeploymentParams) SetDeployment(deployment *models.Deployment)

SetDeployment adds the deployment to the update deployment params

func (*UpdateDeploymentParams) SetDeploymentID

func (o *UpdateDeploymentParams) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the update deployment params

func (*UpdateDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update deployment params

func (*UpdateDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the update deployment params

func (*UpdateDeploymentParams) WithContext

WithContext adds the context to the update deployment params

func (*UpdateDeploymentParams) WithDeployment

func (o *UpdateDeploymentParams) WithDeployment(deployment *models.Deployment) *UpdateDeploymentParams

WithDeployment adds the deployment to the update deployment params

func (*UpdateDeploymentParams) WithDeploymentID

func (o *UpdateDeploymentParams) WithDeploymentID(deploymentID string) *UpdateDeploymentParams

WithDeploymentID adds the deploymentID to the update deployment params

func (*UpdateDeploymentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update deployment params

func (*UpdateDeploymentParams) WithTimeout

WithTimeout adds the timeout to the update deployment params

func (*UpdateDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeploymentReader

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

UpdateDeploymentReader is a Reader for the UpdateDeployment structure.

func (*UpdateDeploymentReader) ReadResponse

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