Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDeployment(params *CreateDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentOK, error)
- func (a *Client) DeleteDeployment(params *DeleteDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentOK, error)
- func (a *Client) GetDeployment(params *GetDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentOK, error)
- func (a *Client) GetDeployments(params *GetDeploymentsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentsOK, error)
- func (a *Client) SetDeploymentStatus(params *SetDeploymentStatusParams, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeployment(params *UpdateDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeploymentOK, error)
- type CreateDeploymentBadRequest
- type CreateDeploymentMethodNotAllowed
- type CreateDeploymentOK
- 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) SetContext(ctx context.Context)
- func (o *CreateDeploymentParams) SetDeployment(deployment *models.Deployment)
- func (o *CreateDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
- func (o *CreateDeploymentParams) WithDeployment(deployment *models.Deployment) *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 DeleteDeploymentNotFound
- type DeleteDeploymentOK
- 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) SetContext(ctx context.Context)
- func (o *DeleteDeploymentParams) SetDeploymentID(deploymentID string)
- func (o *DeleteDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeploymentParams) WithContext(ctx context.Context) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithDeploymentID(deploymentID string) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithHTTPClient(client *http.Client) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WithTimeout(timeout time.Duration) *DeleteDeploymentParams
- func (o *DeleteDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeploymentReader
- type GetDeploymentNotFound
- type GetDeploymentOK
- type GetDeploymentParams
- func (o *GetDeploymentParams) SetContext(ctx context.Context)
- func (o *GetDeploymentParams) SetDeploymentID(deploymentID string)
- func (o *GetDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentParams) WithContext(ctx context.Context) *GetDeploymentParams
- func (o *GetDeploymentParams) WithDeploymentID(deploymentID string) *GetDeploymentParams
- func (o *GetDeploymentParams) WithHTTPClient(client *http.Client) *GetDeploymentParams
- func (o *GetDeploymentParams) WithTimeout(timeout time.Duration) *GetDeploymentParams
- func (o *GetDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentReader
- type GetDeploymentsBadRequest
- type GetDeploymentsDefault
- type GetDeploymentsDefaultBody
- 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) SetContext(ctx context.Context)
- func (o *GetDeploymentsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentsParams) SetPageNumber(pageNumber *int64)
- func (o *GetDeploymentsParams) SetPageSize(pageSize *int64)
- func (o *GetDeploymentsParams) SetQ(q *string)
- func (o *GetDeploymentsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentsParams) WithContext(ctx context.Context) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithHTTPClient(client *http.Client) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithPageNumber(pageNumber *int64) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithPageSize(pageSize *int64) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithQ(q *string) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WithTimeout(timeout time.Duration) *GetDeploymentsParams
- func (o *GetDeploymentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentsReader
- type SetDeploymentStatusBadRequest
- type SetDeploymentStatusMethodNotAllowed
- type SetDeploymentStatusNotFound
- type SetDeploymentStatusOK
- type SetDeploymentStatusParams
- func NewSetDeploymentStatusParams() *SetDeploymentStatusParams
- func NewSetDeploymentStatusParamsWithContext(ctx context.Context) *SetDeploymentStatusParams
- func NewSetDeploymentStatusParamsWithHTTPClient(client *http.Client) *SetDeploymentStatusParams
- func NewSetDeploymentStatusParamsWithTimeout(timeout time.Duration) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) SetContext(ctx context.Context)
- func (o *SetDeploymentStatusParams) SetDeploymentControl(deploymentControl *models.DeploymentControl)
- func (o *SetDeploymentStatusParams) SetDeploymentID(deploymentID string)
- func (o *SetDeploymentStatusParams) SetHTTPClient(client *http.Client)
- func (o *SetDeploymentStatusParams) SetTimeout(timeout time.Duration)
- func (o *SetDeploymentStatusParams) WithContext(ctx context.Context) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) WithDeploymentControl(deploymentControl *models.DeploymentControl) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) WithDeploymentID(deploymentID string) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) WithHTTPClient(client *http.Client) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) WithTimeout(timeout time.Duration) *SetDeploymentStatusParams
- func (o *SetDeploymentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDeploymentStatusReader
- type UpdateDeploymentNotFound
- type UpdateDeploymentOK
- type UpdateDeploymentParams
- func NewUpdateDeploymentParams() *UpdateDeploymentParams
- func NewUpdateDeploymentParamsWithContext(ctx context.Context) *UpdateDeploymentParams
- func NewUpdateDeploymentParamsWithHTTPClient(client *http.Client) *UpdateDeploymentParams
- func NewUpdateDeploymentParamsWithTimeout(timeout time.Duration) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) SetContext(ctx context.Context)
- func (o *UpdateDeploymentParams) SetDeployment(deployment *models.Deployment)
- func (o *UpdateDeploymentParams) SetDeploymentID(deploymentID string)
- func (o *UpdateDeploymentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeploymentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeploymentParams) WithContext(ctx context.Context) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) WithDeployment(deployment *models.Deployment) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) WithDeploymentID(deploymentID string) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) WithHTTPClient(client *http.Client) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) WithTimeout(timeout time.Duration) *UpdateDeploymentParams
- func (o *UpdateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeploymentReader
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 ¶
func (o *CreateDeploymentBadRequest) Error() string
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 ¶
func (o *CreateDeploymentMethodNotAllowed) Error() string
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 ¶
func (o *CreateDeploymentParams) WithContext(ctx context.Context) *CreateDeploymentParams
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 ¶
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 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 ¶
func (o *DeleteDeploymentParams) WithContext(ctx context.Context) *DeleteDeploymentParams
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 ¶
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 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 ¶
func (o *GetDeploymentParams) WithContext(ctx context.Context) *GetDeploymentParams
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 ¶
func (o *GetDeploymentsDefault) GetPayload() *GetDeploymentsDefaultBody
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
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 ¶
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) 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 ¶
func (o *GetDeploymentsParams) WithQ(q *string) *GetDeploymentsParams
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 ¶
func (o *SetDeploymentStatusBadRequest) Error() string
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 ¶
func (o *SetDeploymentStatusMethodNotAllowed) Error() string
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 ¶
func (o *SetDeploymentStatusNotFound) Error() string
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 ¶
func (o *SetDeploymentStatusParams) WithContext(ctx context.Context) *SetDeploymentStatusParams
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 ¶
func (o *SetDeploymentStatusParams) WithTimeout(timeout time.Duration) *SetDeploymentStatusParams
WithTimeout adds the timeout to the set deployment status params
func (*SetDeploymentStatusParams) WriteToRequest ¶
func (o *SetDeploymentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateDeploymentParams) WithContext(ctx context.Context) *UpdateDeploymentParams
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 ¶
func (o *UpdateDeploymentParams) WithTimeout(timeout time.Duration) *UpdateDeploymentParams
WithTimeout adds the timeout to the update deployment params
func (*UpdateDeploymentParams) WriteToRequest ¶
func (o *UpdateDeploymentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_deployment_parameters.go
- create_deployment_responses.go
- delete_deployment_parameters.go
- delete_deployment_responses.go
- deployment_client.go
- get_deployment_parameters.go
- get_deployment_responses.go
- get_deployments_parameters.go
- get_deployments_responses.go
- set_deployment_status_parameters.go
- set_deployment_status_responses.go
- update_deployment_parameters.go
- update_deployment_responses.go