Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateEnvironment(params *CreateEnvironmentParams) (*CreateEnvironmentCreated, error)
- func (a *Client) DeleteEnvironmentForRepository(params *DeleteEnvironmentForRepositoryParams) (*DeleteEnvironmentForRepositoryNoContent, error)
- func (a *Client) GetDeploymentForRepository(params *GetDeploymentForRepositoryParams) (*GetDeploymentForRepositoryOK, error)
- func (a *Client) GetDeploymentsForRepository(params *GetDeploymentsForRepositoryParams) (*GetDeploymentsForRepositoryOK, error)
- func (a *Client) GetEnvironmentForRepository(params *GetEnvironmentForRepositoryParams) (*GetEnvironmentForRepositoryOK, error)
- func (a *Client) GetEnvironmentsForRepository(params *GetEnvironmentsForRepositoryParams) (*GetEnvironmentsForRepositoryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateEnvironmentForRepository(params *UpdateEnvironmentForRepositoryParams) (*UpdateEnvironmentForRepositoryAccepted, error)
- type ClientService
- type CreateEnvironmentConflict
- type CreateEnvironmentCreated
- type CreateEnvironmentNotFound
- type CreateEnvironmentParams
- func NewCreateEnvironmentParams() *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) SetBody(body *models.DeploymentEnvironment)
- func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
- func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateEnvironmentParams) SetRepoSlug(repoSlug string)
- func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateEnvironmentParams) SetUsername(username string)
- func (o *CreateEnvironmentParams) WithBody(body *models.DeploymentEnvironment) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithRepoSlug(repoSlug string) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WithUsername(username string) *CreateEnvironmentParams
- func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateEnvironmentReader
- type DeleteEnvironmentForRepositoryNoContent
- type DeleteEnvironmentForRepositoryNotFound
- type DeleteEnvironmentForRepositoryParams
- func NewDeleteEnvironmentForRepositoryParams() *DeleteEnvironmentForRepositoryParams
- func NewDeleteEnvironmentForRepositoryParamsWithContext(ctx context.Context) *DeleteEnvironmentForRepositoryParams
- func NewDeleteEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentForRepositoryParams
- func NewDeleteEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) SetContext(ctx context.Context)
- func (o *DeleteEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
- func (o *DeleteEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *DeleteEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEnvironmentForRepositoryParams) SetUsername(username string)
- func (o *DeleteEnvironmentForRepositoryParams) WithContext(ctx context.Context) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WithUsername(username string) *DeleteEnvironmentForRepositoryParams
- func (o *DeleteEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEnvironmentForRepositoryReader
- type GetDeploymentForRepositoryNotFound
- type GetDeploymentForRepositoryOK
- type GetDeploymentForRepositoryParams
- func NewGetDeploymentForRepositoryParams() *GetDeploymentForRepositoryParams
- func NewGetDeploymentForRepositoryParamsWithContext(ctx context.Context) *GetDeploymentForRepositoryParams
- func NewGetDeploymentForRepositoryParamsWithHTTPClient(client *http.Client) *GetDeploymentForRepositoryParams
- func NewGetDeploymentForRepositoryParamsWithTimeout(timeout time.Duration) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) SetContext(ctx context.Context)
- func (o *GetDeploymentForRepositoryParams) SetDeploymentUUID(deploymentUUID string)
- func (o *GetDeploymentForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *GetDeploymentForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentForRepositoryParams) SetUsername(username string)
- func (o *GetDeploymentForRepositoryParams) WithContext(ctx context.Context) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WithDeploymentUUID(deploymentUUID string) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WithHTTPClient(client *http.Client) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WithRepoSlug(repoSlug string) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WithTimeout(timeout time.Duration) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WithUsername(username string) *GetDeploymentForRepositoryParams
- func (o *GetDeploymentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentForRepositoryReader
- type GetDeploymentsForRepositoryOK
- type GetDeploymentsForRepositoryParams
- func NewGetDeploymentsForRepositoryParams() *GetDeploymentsForRepositoryParams
- func NewGetDeploymentsForRepositoryParamsWithContext(ctx context.Context) *GetDeploymentsForRepositoryParams
- func NewGetDeploymentsForRepositoryParamsWithHTTPClient(client *http.Client) *GetDeploymentsForRepositoryParams
- func NewGetDeploymentsForRepositoryParamsWithTimeout(timeout time.Duration) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) SetContext(ctx context.Context)
- func (o *GetDeploymentsForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentsForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *GetDeploymentsForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentsForRepositoryParams) SetUsername(username string)
- func (o *GetDeploymentsForRepositoryParams) WithContext(ctx context.Context) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) WithHTTPClient(client *http.Client) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) WithRepoSlug(repoSlug string) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) WithTimeout(timeout time.Duration) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) WithUsername(username string) *GetDeploymentsForRepositoryParams
- func (o *GetDeploymentsForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentsForRepositoryReader
- type GetEnvironmentForRepositoryNotFound
- type GetEnvironmentForRepositoryOK
- type GetEnvironmentForRepositoryParams
- func NewGetEnvironmentForRepositoryParams() *GetEnvironmentForRepositoryParams
- func NewGetEnvironmentForRepositoryParamsWithContext(ctx context.Context) *GetEnvironmentForRepositoryParams
- func NewGetEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *GetEnvironmentForRepositoryParams
- func NewGetEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
- func (o *GetEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *GetEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentForRepositoryParams) SetUsername(username string)
- func (o *GetEnvironmentForRepositoryParams) WithContext(ctx context.Context) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WithUsername(username string) *GetEnvironmentForRepositoryParams
- func (o *GetEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentForRepositoryReader
- type GetEnvironmentsForRepositoryOK
- type GetEnvironmentsForRepositoryParams
- func NewGetEnvironmentsForRepositoryParams() *GetEnvironmentsForRepositoryParams
- func NewGetEnvironmentsForRepositoryParamsWithContext(ctx context.Context) *GetEnvironmentsForRepositoryParams
- func NewGetEnvironmentsForRepositoryParamsWithHTTPClient(client *http.Client) *GetEnvironmentsForRepositoryParams
- func NewGetEnvironmentsForRepositoryParamsWithTimeout(timeout time.Duration) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentsForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentsForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *GetEnvironmentsForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentsForRepositoryParams) SetUsername(username string)
- func (o *GetEnvironmentsForRepositoryParams) WithContext(ctx context.Context) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) WithHTTPClient(client *http.Client) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) WithRepoSlug(repoSlug string) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) WithTimeout(timeout time.Duration) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) WithUsername(username string) *GetEnvironmentsForRepositoryParams
- func (o *GetEnvironmentsForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentsForRepositoryReader
- type UpdateEnvironmentForRepositoryAccepted
- type UpdateEnvironmentForRepositoryNotFound
- type UpdateEnvironmentForRepositoryParams
- func NewUpdateEnvironmentForRepositoryParams() *UpdateEnvironmentForRepositoryParams
- func NewUpdateEnvironmentForRepositoryParamsWithContext(ctx context.Context) *UpdateEnvironmentForRepositoryParams
- func NewUpdateEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentForRepositoryParams
- func NewUpdateEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) SetContext(ctx context.Context)
- func (o *UpdateEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
- func (o *UpdateEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
- func (o *UpdateEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateEnvironmentForRepositoryParams) SetUsername(username string)
- func (o *UpdateEnvironmentForRepositoryParams) WithContext(ctx context.Context) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WithUsername(username string) *UpdateEnvironmentForRepositoryParams
- func (o *UpdateEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateEnvironmentForRepositoryReader
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 deployments API
func (*Client) CreateEnvironment ¶
func (a *Client) CreateEnvironment(params *CreateEnvironmentParams) (*CreateEnvironmentCreated, error)
CreateEnvironment Create an environment.
func (*Client) DeleteEnvironmentForRepository ¶
func (a *Client) DeleteEnvironmentForRepository(params *DeleteEnvironmentForRepositoryParams) (*DeleteEnvironmentForRepositoryNoContent, error)
DeleteEnvironmentForRepository Delete an environment
func (*Client) GetDeploymentForRepository ¶
func (a *Client) GetDeploymentForRepository(params *GetDeploymentForRepositoryParams) (*GetDeploymentForRepositoryOK, error)
GetDeploymentForRepository Retrieve a deployment
func (*Client) GetDeploymentsForRepository ¶
func (a *Client) GetDeploymentsForRepository(params *GetDeploymentsForRepositoryParams) (*GetDeploymentsForRepositoryOK, error)
GetDeploymentsForRepository Find deployments
func (*Client) GetEnvironmentForRepository ¶
func (a *Client) GetEnvironmentForRepository(params *GetEnvironmentForRepositoryParams) (*GetEnvironmentForRepositoryOK, error)
GetEnvironmentForRepository Retrieve an environment
func (*Client) GetEnvironmentsForRepository ¶
func (a *Client) GetEnvironmentsForRepository(params *GetEnvironmentsForRepositoryParams) (*GetEnvironmentsForRepositoryOK, error)
GetEnvironmentsForRepository Find environments
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateEnvironmentForRepository ¶
func (a *Client) UpdateEnvironmentForRepository(params *UpdateEnvironmentForRepositoryParams) (*UpdateEnvironmentForRepositoryAccepted, error)
UpdateEnvironmentForRepository Update an environment
type ClientService ¶
type ClientService interface {
CreateEnvironment(params *CreateEnvironmentParams) (*CreateEnvironmentCreated, error)
DeleteEnvironmentForRepository(params *DeleteEnvironmentForRepositoryParams) (*DeleteEnvironmentForRepositoryNoContent, error)
GetDeploymentForRepository(params *GetDeploymentForRepositoryParams) (*GetDeploymentForRepositoryOK, error)
GetDeploymentsForRepository(params *GetDeploymentsForRepositoryParams) (*GetDeploymentsForRepositoryOK, error)
GetEnvironmentForRepository(params *GetEnvironmentForRepositoryParams) (*GetEnvironmentForRepositoryOK, error)
GetEnvironmentsForRepository(params *GetEnvironmentsForRepositoryParams) (*GetEnvironmentsForRepositoryOK, error)
UpdateEnvironmentForRepository(params *UpdateEnvironmentForRepositoryParams) (*UpdateEnvironmentForRepositoryAccepted, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new deployments API client.
type CreateEnvironmentConflict ¶
CreateEnvironmentConflict handles this case with default header values.
An environment host with the provided name already exists.
func NewCreateEnvironmentConflict ¶
func NewCreateEnvironmentConflict() *CreateEnvironmentConflict
NewCreateEnvironmentConflict creates a CreateEnvironmentConflict with default headers values
func (*CreateEnvironmentConflict) Error ¶
func (o *CreateEnvironmentConflict) Error() string
func (*CreateEnvironmentConflict) GetPayload ¶
func (o *CreateEnvironmentConflict) GetPayload() *models.Error
type CreateEnvironmentCreated ¶
type CreateEnvironmentCreated struct {
/*The URL of the newly created environment.
*/
Location string
Payload *models.DeploymentEnvironment
}
CreateEnvironmentCreated handles this case with default header values.
The environment was created.
func NewCreateEnvironmentCreated ¶
func NewCreateEnvironmentCreated() *CreateEnvironmentCreated
NewCreateEnvironmentCreated creates a CreateEnvironmentCreated with default headers values
func (*CreateEnvironmentCreated) Error ¶
func (o *CreateEnvironmentCreated) Error() string
func (*CreateEnvironmentCreated) GetPayload ¶
func (o *CreateEnvironmentCreated) GetPayload() *models.DeploymentEnvironment
type CreateEnvironmentNotFound ¶
CreateEnvironmentNotFound handles this case with default header values.
The account or repository does not exist.
func NewCreateEnvironmentNotFound ¶
func NewCreateEnvironmentNotFound() *CreateEnvironmentNotFound
NewCreateEnvironmentNotFound creates a CreateEnvironmentNotFound with default headers values
func (*CreateEnvironmentNotFound) Error ¶
func (o *CreateEnvironmentNotFound) Error() string
func (*CreateEnvironmentNotFound) GetPayload ¶
func (o *CreateEnvironmentNotFound) GetPayload() *models.Error
type CreateEnvironmentParams ¶
type CreateEnvironmentParams struct {
/*Body
The environment to create.
*/
Body *models.DeploymentEnvironment
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateEnvironmentParams contains all the parameters to send to the API endpoint for the create environment operation typically these are written to a http.Request
func NewCreateEnvironmentParams ¶
func NewCreateEnvironmentParams() *CreateEnvironmentParams
NewCreateEnvironmentParams creates a new CreateEnvironmentParams object with the default values initialized.
func NewCreateEnvironmentParamsWithContext ¶
func NewCreateEnvironmentParamsWithContext(ctx context.Context) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithContext creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a context for a request
func NewCreateEnvironmentParamsWithHTTPClient ¶
func NewCreateEnvironmentParamsWithHTTPClient(client *http.Client) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithHTTPClient creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateEnvironmentParamsWithTimeout ¶
func NewCreateEnvironmentParamsWithTimeout(timeout time.Duration) *CreateEnvironmentParams
NewCreateEnvironmentParamsWithTimeout creates a new CreateEnvironmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateEnvironmentParams) SetBody ¶
func (o *CreateEnvironmentParams) SetBody(body *models.DeploymentEnvironment)
SetBody adds the body to the create environment params
func (*CreateEnvironmentParams) SetContext ¶
func (o *CreateEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the create environment params
func (*CreateEnvironmentParams) SetHTTPClient ¶
func (o *CreateEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create environment params
func (*CreateEnvironmentParams) SetRepoSlug ¶
func (o *CreateEnvironmentParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the create environment params
func (*CreateEnvironmentParams) SetTimeout ¶
func (o *CreateEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) SetUsername ¶
func (o *CreateEnvironmentParams) SetUsername(username string)
SetUsername adds the username to the create environment params
func (*CreateEnvironmentParams) WithBody ¶
func (o *CreateEnvironmentParams) WithBody(body *models.DeploymentEnvironment) *CreateEnvironmentParams
WithBody adds the body to the create environment params
func (*CreateEnvironmentParams) WithContext ¶
func (o *CreateEnvironmentParams) WithContext(ctx context.Context) *CreateEnvironmentParams
WithContext adds the context to the create environment params
func (*CreateEnvironmentParams) WithHTTPClient ¶
func (o *CreateEnvironmentParams) WithHTTPClient(client *http.Client) *CreateEnvironmentParams
WithHTTPClient adds the HTTPClient to the create environment params
func (*CreateEnvironmentParams) WithRepoSlug ¶
func (o *CreateEnvironmentParams) WithRepoSlug(repoSlug string) *CreateEnvironmentParams
WithRepoSlug adds the repoSlug to the create environment params
func (*CreateEnvironmentParams) WithTimeout ¶
func (o *CreateEnvironmentParams) WithTimeout(timeout time.Duration) *CreateEnvironmentParams
WithTimeout adds the timeout to the create environment params
func (*CreateEnvironmentParams) WithUsername ¶
func (o *CreateEnvironmentParams) WithUsername(username string) *CreateEnvironmentParams
WithUsername adds the username to the create environment params
func (*CreateEnvironmentParams) WriteToRequest ¶
func (o *CreateEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateEnvironmentReader ¶
type CreateEnvironmentReader struct {
// contains filtered or unexported fields
}
CreateEnvironmentReader is a Reader for the CreateEnvironment structure.
func (*CreateEnvironmentReader) ReadResponse ¶
func (o *CreateEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteEnvironmentForRepositoryNoContent ¶
type DeleteEnvironmentForRepositoryNoContent struct {
}
DeleteEnvironmentForRepositoryNoContent handles this case with default header values.
The environment was deleted.
func NewDeleteEnvironmentForRepositoryNoContent ¶
func NewDeleteEnvironmentForRepositoryNoContent() *DeleteEnvironmentForRepositoryNoContent
NewDeleteEnvironmentForRepositoryNoContent creates a DeleteEnvironmentForRepositoryNoContent with default headers values
func (*DeleteEnvironmentForRepositoryNoContent) Error ¶
func (o *DeleteEnvironmentForRepositoryNoContent) Error() string
type DeleteEnvironmentForRepositoryNotFound ¶
DeleteEnvironmentForRepositoryNotFound handles this case with default header values.
No account or repository with the UUID provided exists.
func NewDeleteEnvironmentForRepositoryNotFound ¶
func NewDeleteEnvironmentForRepositoryNotFound() *DeleteEnvironmentForRepositoryNotFound
NewDeleteEnvironmentForRepositoryNotFound creates a DeleteEnvironmentForRepositoryNotFound with default headers values
func (*DeleteEnvironmentForRepositoryNotFound) Error ¶
func (o *DeleteEnvironmentForRepositoryNotFound) Error() string
func (*DeleteEnvironmentForRepositoryNotFound) GetPayload ¶
func (o *DeleteEnvironmentForRepositoryNotFound) GetPayload() *models.Error
type DeleteEnvironmentForRepositoryParams ¶
type DeleteEnvironmentForRepositoryParams struct {
/*EnvironmentUUID
The environment UUID.
*/
EnvironmentUUID string
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteEnvironmentForRepositoryParams contains all the parameters to send to the API endpoint for the delete environment for repository operation typically these are written to a http.Request
func NewDeleteEnvironmentForRepositoryParams ¶
func NewDeleteEnvironmentForRepositoryParams() *DeleteEnvironmentForRepositoryParams
NewDeleteEnvironmentForRepositoryParams creates a new DeleteEnvironmentForRepositoryParams object with the default values initialized.
func NewDeleteEnvironmentForRepositoryParamsWithContext ¶
func NewDeleteEnvironmentForRepositoryParamsWithContext(ctx context.Context) *DeleteEnvironmentForRepositoryParams
NewDeleteEnvironmentForRepositoryParamsWithContext creates a new DeleteEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEnvironmentForRepositoryParamsWithHTTPClient ¶
func NewDeleteEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *DeleteEnvironmentForRepositoryParams
NewDeleteEnvironmentForRepositoryParamsWithHTTPClient creates a new DeleteEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEnvironmentForRepositoryParamsWithTimeout ¶
func NewDeleteEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *DeleteEnvironmentForRepositoryParams
NewDeleteEnvironmentForRepositoryParamsWithTimeout creates a new DeleteEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEnvironmentForRepositoryParams) SetContext ¶
func (o *DeleteEnvironmentForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) SetEnvironmentUUID ¶
func (o *DeleteEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
SetEnvironmentUUID adds the environmentUuid to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) SetHTTPClient ¶
func (o *DeleteEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) SetRepoSlug ¶
func (o *DeleteEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) SetTimeout ¶
func (o *DeleteEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) SetUsername ¶
func (o *DeleteEnvironmentForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithContext ¶
func (o *DeleteEnvironmentForRepositoryParams) WithContext(ctx context.Context) *DeleteEnvironmentForRepositoryParams
WithContext adds the context to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithEnvironmentUUID ¶
func (o *DeleteEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *DeleteEnvironmentForRepositoryParams
WithEnvironmentUUID adds the environmentUUID to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithHTTPClient ¶
func (o *DeleteEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *DeleteEnvironmentForRepositoryParams
WithHTTPClient adds the HTTPClient to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithRepoSlug ¶
func (o *DeleteEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *DeleteEnvironmentForRepositoryParams
WithRepoSlug adds the repoSlug to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithTimeout ¶
func (o *DeleteEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *DeleteEnvironmentForRepositoryParams
WithTimeout adds the timeout to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WithUsername ¶
func (o *DeleteEnvironmentForRepositoryParams) WithUsername(username string) *DeleteEnvironmentForRepositoryParams
WithUsername adds the username to the delete environment for repository params
func (*DeleteEnvironmentForRepositoryParams) WriteToRequest ¶
func (o *DeleteEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEnvironmentForRepositoryReader ¶
type DeleteEnvironmentForRepositoryReader struct {
// contains filtered or unexported fields
}
DeleteEnvironmentForRepositoryReader is a Reader for the DeleteEnvironmentForRepository structure.
func (*DeleteEnvironmentForRepositoryReader) ReadResponse ¶
func (o *DeleteEnvironmentForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentForRepositoryNotFound ¶
GetDeploymentForRepositoryNotFound handles this case with default header values.
No account, repository or deployment with the UUID provided exists.
func NewGetDeploymentForRepositoryNotFound ¶
func NewGetDeploymentForRepositoryNotFound() *GetDeploymentForRepositoryNotFound
NewGetDeploymentForRepositoryNotFound creates a GetDeploymentForRepositoryNotFound with default headers values
func (*GetDeploymentForRepositoryNotFound) Error ¶
func (o *GetDeploymentForRepositoryNotFound) Error() string
func (*GetDeploymentForRepositoryNotFound) GetPayload ¶
func (o *GetDeploymentForRepositoryNotFound) GetPayload() *models.Error
type GetDeploymentForRepositoryOK ¶
type GetDeploymentForRepositoryOK struct {
Payload *models.Deployment
}
GetDeploymentForRepositoryOK handles this case with default header values.
The deployment.
func NewGetDeploymentForRepositoryOK ¶
func NewGetDeploymentForRepositoryOK() *GetDeploymentForRepositoryOK
NewGetDeploymentForRepositoryOK creates a GetDeploymentForRepositoryOK with default headers values
func (*GetDeploymentForRepositoryOK) Error ¶
func (o *GetDeploymentForRepositoryOK) Error() string
func (*GetDeploymentForRepositoryOK) GetPayload ¶
func (o *GetDeploymentForRepositoryOK) GetPayload() *models.Deployment
type GetDeploymentForRepositoryParams ¶
type GetDeploymentForRepositoryParams struct {
/*DeploymentUUID
The deployment UUID.
*/
DeploymentUUID string
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDeploymentForRepositoryParams contains all the parameters to send to the API endpoint for the get deployment for repository operation typically these are written to a http.Request
func NewGetDeploymentForRepositoryParams ¶
func NewGetDeploymentForRepositoryParams() *GetDeploymentForRepositoryParams
NewGetDeploymentForRepositoryParams creates a new GetDeploymentForRepositoryParams object with the default values initialized.
func NewGetDeploymentForRepositoryParamsWithContext ¶
func NewGetDeploymentForRepositoryParamsWithContext(ctx context.Context) *GetDeploymentForRepositoryParams
NewGetDeploymentForRepositoryParamsWithContext creates a new GetDeploymentForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentForRepositoryParamsWithHTTPClient ¶
func NewGetDeploymentForRepositoryParamsWithHTTPClient(client *http.Client) *GetDeploymentForRepositoryParams
NewGetDeploymentForRepositoryParamsWithHTTPClient creates a new GetDeploymentForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentForRepositoryParamsWithTimeout ¶
func NewGetDeploymentForRepositoryParamsWithTimeout(timeout time.Duration) *GetDeploymentForRepositoryParams
NewGetDeploymentForRepositoryParamsWithTimeout creates a new GetDeploymentForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentForRepositoryParams) SetContext ¶
func (o *GetDeploymentForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) SetDeploymentUUID ¶
func (o *GetDeploymentForRepositoryParams) SetDeploymentUUID(deploymentUUID string)
SetDeploymentUUID adds the deploymentUuid to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) SetHTTPClient ¶
func (o *GetDeploymentForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) SetRepoSlug ¶
func (o *GetDeploymentForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) SetTimeout ¶
func (o *GetDeploymentForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) SetUsername ¶
func (o *GetDeploymentForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithContext ¶
func (o *GetDeploymentForRepositoryParams) WithContext(ctx context.Context) *GetDeploymentForRepositoryParams
WithContext adds the context to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithDeploymentUUID ¶
func (o *GetDeploymentForRepositoryParams) WithDeploymentUUID(deploymentUUID string) *GetDeploymentForRepositoryParams
WithDeploymentUUID adds the deploymentUUID to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithHTTPClient ¶
func (o *GetDeploymentForRepositoryParams) WithHTTPClient(client *http.Client) *GetDeploymentForRepositoryParams
WithHTTPClient adds the HTTPClient to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithRepoSlug ¶
func (o *GetDeploymentForRepositoryParams) WithRepoSlug(repoSlug string) *GetDeploymentForRepositoryParams
WithRepoSlug adds the repoSlug to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithTimeout ¶
func (o *GetDeploymentForRepositoryParams) WithTimeout(timeout time.Duration) *GetDeploymentForRepositoryParams
WithTimeout adds the timeout to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WithUsername ¶
func (o *GetDeploymentForRepositoryParams) WithUsername(username string) *GetDeploymentForRepositoryParams
WithUsername adds the username to the get deployment for repository params
func (*GetDeploymentForRepositoryParams) WriteToRequest ¶
func (o *GetDeploymentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentForRepositoryReader ¶
type GetDeploymentForRepositoryReader struct {
// contains filtered or unexported fields
}
GetDeploymentForRepositoryReader is a Reader for the GetDeploymentForRepository structure.
func (*GetDeploymentForRepositoryReader) ReadResponse ¶
func (o *GetDeploymentForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentsForRepositoryOK ¶
type GetDeploymentsForRepositoryOK struct {
Payload *models.PaginatedDeployments
}
GetDeploymentsForRepositoryOK handles this case with default header values.
The matching deployments.
func NewGetDeploymentsForRepositoryOK ¶
func NewGetDeploymentsForRepositoryOK() *GetDeploymentsForRepositoryOK
NewGetDeploymentsForRepositoryOK creates a GetDeploymentsForRepositoryOK with default headers values
func (*GetDeploymentsForRepositoryOK) Error ¶
func (o *GetDeploymentsForRepositoryOK) Error() string
func (*GetDeploymentsForRepositoryOK) GetPayload ¶
func (o *GetDeploymentsForRepositoryOK) GetPayload() *models.PaginatedDeployments
type GetDeploymentsForRepositoryParams ¶
type GetDeploymentsForRepositoryParams struct {
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDeploymentsForRepositoryParams contains all the parameters to send to the API endpoint for the get deployments for repository operation typically these are written to a http.Request
func NewGetDeploymentsForRepositoryParams ¶
func NewGetDeploymentsForRepositoryParams() *GetDeploymentsForRepositoryParams
NewGetDeploymentsForRepositoryParams creates a new GetDeploymentsForRepositoryParams object with the default values initialized.
func NewGetDeploymentsForRepositoryParamsWithContext ¶
func NewGetDeploymentsForRepositoryParamsWithContext(ctx context.Context) *GetDeploymentsForRepositoryParams
NewGetDeploymentsForRepositoryParamsWithContext creates a new GetDeploymentsForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentsForRepositoryParamsWithHTTPClient ¶
func NewGetDeploymentsForRepositoryParamsWithHTTPClient(client *http.Client) *GetDeploymentsForRepositoryParams
NewGetDeploymentsForRepositoryParamsWithHTTPClient creates a new GetDeploymentsForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentsForRepositoryParamsWithTimeout ¶
func NewGetDeploymentsForRepositoryParamsWithTimeout(timeout time.Duration) *GetDeploymentsForRepositoryParams
NewGetDeploymentsForRepositoryParamsWithTimeout creates a new GetDeploymentsForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentsForRepositoryParams) SetContext ¶
func (o *GetDeploymentsForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) SetHTTPClient ¶
func (o *GetDeploymentsForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) SetRepoSlug ¶
func (o *GetDeploymentsForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) SetTimeout ¶
func (o *GetDeploymentsForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) SetUsername ¶
func (o *GetDeploymentsForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WithContext ¶
func (o *GetDeploymentsForRepositoryParams) WithContext(ctx context.Context) *GetDeploymentsForRepositoryParams
WithContext adds the context to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WithHTTPClient ¶
func (o *GetDeploymentsForRepositoryParams) WithHTTPClient(client *http.Client) *GetDeploymentsForRepositoryParams
WithHTTPClient adds the HTTPClient to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WithRepoSlug ¶
func (o *GetDeploymentsForRepositoryParams) WithRepoSlug(repoSlug string) *GetDeploymentsForRepositoryParams
WithRepoSlug adds the repoSlug to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WithTimeout ¶
func (o *GetDeploymentsForRepositoryParams) WithTimeout(timeout time.Duration) *GetDeploymentsForRepositoryParams
WithTimeout adds the timeout to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WithUsername ¶
func (o *GetDeploymentsForRepositoryParams) WithUsername(username string) *GetDeploymentsForRepositoryParams
WithUsername adds the username to the get deployments for repository params
func (*GetDeploymentsForRepositoryParams) WriteToRequest ¶
func (o *GetDeploymentsForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentsForRepositoryReader ¶
type GetDeploymentsForRepositoryReader struct {
// contains filtered or unexported fields
}
GetDeploymentsForRepositoryReader is a Reader for the GetDeploymentsForRepository structure.
func (*GetDeploymentsForRepositoryReader) ReadResponse ¶
func (o *GetDeploymentsForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentForRepositoryNotFound ¶
GetEnvironmentForRepositoryNotFound handles this case with default header values.
No account, repository or environment with the UUID provided exists.
func NewGetEnvironmentForRepositoryNotFound ¶
func NewGetEnvironmentForRepositoryNotFound() *GetEnvironmentForRepositoryNotFound
NewGetEnvironmentForRepositoryNotFound creates a GetEnvironmentForRepositoryNotFound with default headers values
func (*GetEnvironmentForRepositoryNotFound) Error ¶
func (o *GetEnvironmentForRepositoryNotFound) Error() string
func (*GetEnvironmentForRepositoryNotFound) GetPayload ¶
func (o *GetEnvironmentForRepositoryNotFound) GetPayload() *models.Error
type GetEnvironmentForRepositoryOK ¶
type GetEnvironmentForRepositoryOK struct {
Payload *models.DeploymentEnvironment
}
GetEnvironmentForRepositoryOK handles this case with default header values.
The environment.
func NewGetEnvironmentForRepositoryOK ¶
func NewGetEnvironmentForRepositoryOK() *GetEnvironmentForRepositoryOK
NewGetEnvironmentForRepositoryOK creates a GetEnvironmentForRepositoryOK with default headers values
func (*GetEnvironmentForRepositoryOK) Error ¶
func (o *GetEnvironmentForRepositoryOK) Error() string
func (*GetEnvironmentForRepositoryOK) GetPayload ¶
func (o *GetEnvironmentForRepositoryOK) GetPayload() *models.DeploymentEnvironment
type GetEnvironmentForRepositoryParams ¶
type GetEnvironmentForRepositoryParams struct {
/*EnvironmentUUID
The environment UUID.
*/
EnvironmentUUID string
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetEnvironmentForRepositoryParams contains all the parameters to send to the API endpoint for the get environment for repository operation typically these are written to a http.Request
func NewGetEnvironmentForRepositoryParams ¶
func NewGetEnvironmentForRepositoryParams() *GetEnvironmentForRepositoryParams
NewGetEnvironmentForRepositoryParams creates a new GetEnvironmentForRepositoryParams object with the default values initialized.
func NewGetEnvironmentForRepositoryParamsWithContext ¶
func NewGetEnvironmentForRepositoryParamsWithContext(ctx context.Context) *GetEnvironmentForRepositoryParams
NewGetEnvironmentForRepositoryParamsWithContext creates a new GetEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetEnvironmentForRepositoryParamsWithHTTPClient ¶
func NewGetEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *GetEnvironmentForRepositoryParams
NewGetEnvironmentForRepositoryParamsWithHTTPClient creates a new GetEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEnvironmentForRepositoryParamsWithTimeout ¶
func NewGetEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *GetEnvironmentForRepositoryParams
NewGetEnvironmentForRepositoryParamsWithTimeout creates a new GetEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEnvironmentForRepositoryParams) SetContext ¶
func (o *GetEnvironmentForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) SetEnvironmentUUID ¶
func (o *GetEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
SetEnvironmentUUID adds the environmentUuid to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) SetHTTPClient ¶
func (o *GetEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) SetRepoSlug ¶
func (o *GetEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) SetTimeout ¶
func (o *GetEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) SetUsername ¶
func (o *GetEnvironmentForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithContext ¶
func (o *GetEnvironmentForRepositoryParams) WithContext(ctx context.Context) *GetEnvironmentForRepositoryParams
WithContext adds the context to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithEnvironmentUUID ¶
func (o *GetEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *GetEnvironmentForRepositoryParams
WithEnvironmentUUID adds the environmentUUID to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithHTTPClient ¶
func (o *GetEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *GetEnvironmentForRepositoryParams
WithHTTPClient adds the HTTPClient to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithRepoSlug ¶
func (o *GetEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *GetEnvironmentForRepositoryParams
WithRepoSlug adds the repoSlug to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithTimeout ¶
func (o *GetEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *GetEnvironmentForRepositoryParams
WithTimeout adds the timeout to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WithUsername ¶
func (o *GetEnvironmentForRepositoryParams) WithUsername(username string) *GetEnvironmentForRepositoryParams
WithUsername adds the username to the get environment for repository params
func (*GetEnvironmentForRepositoryParams) WriteToRequest ¶
func (o *GetEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnvironmentForRepositoryReader ¶
type GetEnvironmentForRepositoryReader struct {
// contains filtered or unexported fields
}
GetEnvironmentForRepositoryReader is a Reader for the GetEnvironmentForRepository structure.
func (*GetEnvironmentForRepositoryReader) ReadResponse ¶
func (o *GetEnvironmentForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentsForRepositoryOK ¶
type GetEnvironmentsForRepositoryOK struct {
Payload *models.PaginatedEnvironments
}
GetEnvironmentsForRepositoryOK handles this case with default header values.
The matching environments.
func NewGetEnvironmentsForRepositoryOK ¶
func NewGetEnvironmentsForRepositoryOK() *GetEnvironmentsForRepositoryOK
NewGetEnvironmentsForRepositoryOK creates a GetEnvironmentsForRepositoryOK with default headers values
func (*GetEnvironmentsForRepositoryOK) Error ¶
func (o *GetEnvironmentsForRepositoryOK) Error() string
func (*GetEnvironmentsForRepositoryOK) GetPayload ¶
func (o *GetEnvironmentsForRepositoryOK) GetPayload() *models.PaginatedEnvironments
type GetEnvironmentsForRepositoryParams ¶
type GetEnvironmentsForRepositoryParams struct {
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetEnvironmentsForRepositoryParams contains all the parameters to send to the API endpoint for the get environments for repository operation typically these are written to a http.Request
func NewGetEnvironmentsForRepositoryParams ¶
func NewGetEnvironmentsForRepositoryParams() *GetEnvironmentsForRepositoryParams
NewGetEnvironmentsForRepositoryParams creates a new GetEnvironmentsForRepositoryParams object with the default values initialized.
func NewGetEnvironmentsForRepositoryParamsWithContext ¶
func NewGetEnvironmentsForRepositoryParamsWithContext(ctx context.Context) *GetEnvironmentsForRepositoryParams
NewGetEnvironmentsForRepositoryParamsWithContext creates a new GetEnvironmentsForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewGetEnvironmentsForRepositoryParamsWithHTTPClient ¶
func NewGetEnvironmentsForRepositoryParamsWithHTTPClient(client *http.Client) *GetEnvironmentsForRepositoryParams
NewGetEnvironmentsForRepositoryParamsWithHTTPClient creates a new GetEnvironmentsForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEnvironmentsForRepositoryParamsWithTimeout ¶
func NewGetEnvironmentsForRepositoryParamsWithTimeout(timeout time.Duration) *GetEnvironmentsForRepositoryParams
NewGetEnvironmentsForRepositoryParamsWithTimeout creates a new GetEnvironmentsForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEnvironmentsForRepositoryParams) SetContext ¶
func (o *GetEnvironmentsForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) SetHTTPClient ¶
func (o *GetEnvironmentsForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) SetRepoSlug ¶
func (o *GetEnvironmentsForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) SetTimeout ¶
func (o *GetEnvironmentsForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) SetUsername ¶
func (o *GetEnvironmentsForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WithContext ¶
func (o *GetEnvironmentsForRepositoryParams) WithContext(ctx context.Context) *GetEnvironmentsForRepositoryParams
WithContext adds the context to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WithHTTPClient ¶
func (o *GetEnvironmentsForRepositoryParams) WithHTTPClient(client *http.Client) *GetEnvironmentsForRepositoryParams
WithHTTPClient adds the HTTPClient to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WithRepoSlug ¶
func (o *GetEnvironmentsForRepositoryParams) WithRepoSlug(repoSlug string) *GetEnvironmentsForRepositoryParams
WithRepoSlug adds the repoSlug to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WithTimeout ¶
func (o *GetEnvironmentsForRepositoryParams) WithTimeout(timeout time.Duration) *GetEnvironmentsForRepositoryParams
WithTimeout adds the timeout to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WithUsername ¶
func (o *GetEnvironmentsForRepositoryParams) WithUsername(username string) *GetEnvironmentsForRepositoryParams
WithUsername adds the username to the get environments for repository params
func (*GetEnvironmentsForRepositoryParams) WriteToRequest ¶
func (o *GetEnvironmentsForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnvironmentsForRepositoryReader ¶
type GetEnvironmentsForRepositoryReader struct {
// contains filtered or unexported fields
}
GetEnvironmentsForRepositoryReader is a Reader for the GetEnvironmentsForRepository structure.
func (*GetEnvironmentsForRepositoryReader) ReadResponse ¶
func (o *GetEnvironmentsForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateEnvironmentForRepositoryAccepted ¶
type UpdateEnvironmentForRepositoryAccepted struct {
}
UpdateEnvironmentForRepositoryAccepted handles this case with default header values.
The environment update request was accepted.
func NewUpdateEnvironmentForRepositoryAccepted ¶
func NewUpdateEnvironmentForRepositoryAccepted() *UpdateEnvironmentForRepositoryAccepted
NewUpdateEnvironmentForRepositoryAccepted creates a UpdateEnvironmentForRepositoryAccepted with default headers values
func (*UpdateEnvironmentForRepositoryAccepted) Error ¶
func (o *UpdateEnvironmentForRepositoryAccepted) Error() string
type UpdateEnvironmentForRepositoryNotFound ¶
UpdateEnvironmentForRepositoryNotFound handles this case with default header values.
No account, repository or environment with the UUID provided exists.
func NewUpdateEnvironmentForRepositoryNotFound ¶
func NewUpdateEnvironmentForRepositoryNotFound() *UpdateEnvironmentForRepositoryNotFound
NewUpdateEnvironmentForRepositoryNotFound creates a UpdateEnvironmentForRepositoryNotFound with default headers values
func (*UpdateEnvironmentForRepositoryNotFound) Error ¶
func (o *UpdateEnvironmentForRepositoryNotFound) Error() string
func (*UpdateEnvironmentForRepositoryNotFound) GetPayload ¶
func (o *UpdateEnvironmentForRepositoryNotFound) GetPayload() *models.Error
type UpdateEnvironmentForRepositoryParams ¶
type UpdateEnvironmentForRepositoryParams struct {
/*EnvironmentUUID
The environment UUID.
*/
EnvironmentUUID string
/*RepoSlug
The repository.
*/
RepoSlug string
/*Username
The account.
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateEnvironmentForRepositoryParams contains all the parameters to send to the API endpoint for the update environment for repository operation typically these are written to a http.Request
func NewUpdateEnvironmentForRepositoryParams ¶
func NewUpdateEnvironmentForRepositoryParams() *UpdateEnvironmentForRepositoryParams
NewUpdateEnvironmentForRepositoryParams creates a new UpdateEnvironmentForRepositoryParams object with the default values initialized.
func NewUpdateEnvironmentForRepositoryParamsWithContext ¶
func NewUpdateEnvironmentForRepositoryParamsWithContext(ctx context.Context) *UpdateEnvironmentForRepositoryParams
NewUpdateEnvironmentForRepositoryParamsWithContext creates a new UpdateEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateEnvironmentForRepositoryParamsWithHTTPClient ¶
func NewUpdateEnvironmentForRepositoryParamsWithHTTPClient(client *http.Client) *UpdateEnvironmentForRepositoryParams
NewUpdateEnvironmentForRepositoryParamsWithHTTPClient creates a new UpdateEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateEnvironmentForRepositoryParamsWithTimeout ¶
func NewUpdateEnvironmentForRepositoryParamsWithTimeout(timeout time.Duration) *UpdateEnvironmentForRepositoryParams
NewUpdateEnvironmentForRepositoryParamsWithTimeout creates a new UpdateEnvironmentForRepositoryParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateEnvironmentForRepositoryParams) SetContext ¶
func (o *UpdateEnvironmentForRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) SetEnvironmentUUID ¶
func (o *UpdateEnvironmentForRepositoryParams) SetEnvironmentUUID(environmentUUID string)
SetEnvironmentUUID adds the environmentUuid to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) SetHTTPClient ¶
func (o *UpdateEnvironmentForRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) SetRepoSlug ¶
func (o *UpdateEnvironmentForRepositoryParams) SetRepoSlug(repoSlug string)
SetRepoSlug adds the repoSlug to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) SetTimeout ¶
func (o *UpdateEnvironmentForRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) SetUsername ¶
func (o *UpdateEnvironmentForRepositoryParams) SetUsername(username string)
SetUsername adds the username to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithContext ¶
func (o *UpdateEnvironmentForRepositoryParams) WithContext(ctx context.Context) *UpdateEnvironmentForRepositoryParams
WithContext adds the context to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithEnvironmentUUID ¶
func (o *UpdateEnvironmentForRepositoryParams) WithEnvironmentUUID(environmentUUID string) *UpdateEnvironmentForRepositoryParams
WithEnvironmentUUID adds the environmentUUID to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithHTTPClient ¶
func (o *UpdateEnvironmentForRepositoryParams) WithHTTPClient(client *http.Client) *UpdateEnvironmentForRepositoryParams
WithHTTPClient adds the HTTPClient to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithRepoSlug ¶
func (o *UpdateEnvironmentForRepositoryParams) WithRepoSlug(repoSlug string) *UpdateEnvironmentForRepositoryParams
WithRepoSlug adds the repoSlug to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithTimeout ¶
func (o *UpdateEnvironmentForRepositoryParams) WithTimeout(timeout time.Duration) *UpdateEnvironmentForRepositoryParams
WithTimeout adds the timeout to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WithUsername ¶
func (o *UpdateEnvironmentForRepositoryParams) WithUsername(username string) *UpdateEnvironmentForRepositoryParams
WithUsername adds the username to the update environment for repository params
func (*UpdateEnvironmentForRepositoryParams) WriteToRequest ¶
func (o *UpdateEnvironmentForRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateEnvironmentForRepositoryReader ¶
type UpdateEnvironmentForRepositoryReader struct {
// contains filtered or unexported fields
}
UpdateEnvironmentForRepositoryReader is a Reader for the UpdateEnvironmentForRepository structure.
func (*UpdateEnvironmentForRepositoryReader) ReadResponse ¶
func (o *UpdateEnvironmentForRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_environment_parameters.go
- create_environment_responses.go
- delete_environment_for_repository_parameters.go
- delete_environment_for_repository_responses.go
- deployments_client.go
- get_deployment_for_repository_parameters.go
- get_deployment_for_repository_responses.go
- get_deployments_for_repository_parameters.go
- get_deployments_for_repository_responses.go
- get_environment_for_repository_parameters.go
- get_environment_for_repository_responses.go
- get_environments_for_repository_parameters.go
- get_environments_for_repository_responses.go
- update_environment_for_repository_parameters.go
- update_environment_for_repository_responses.go