deployments

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type CreateEnvironmentConflict struct {
	Payload *models.Error
}

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

type CreateEnvironmentNotFound

type CreateEnvironmentNotFound struct {
	Payload *models.Error
}

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

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

WithBody adds the body to the create environment params

func (*CreateEnvironmentParams) WithContext

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

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

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

type DeleteEnvironmentForRepositoryNotFound

type DeleteEnvironmentForRepositoryNotFound struct {
	Payload *models.Error
}

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 (*DeleteEnvironmentForRepositoryNotFound) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the delete environment for repository params

func (*DeleteEnvironmentForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the delete environment for repository params

func (*DeleteEnvironmentForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the delete environment for repository params

func (*DeleteEnvironmentForRepositoryParams) WithUsername

WithUsername adds the username to the delete environment for repository params

func (*DeleteEnvironmentForRepositoryParams) WriteToRequest

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

type GetDeploymentForRepositoryNotFound struct {
	Payload *models.Error
}

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 (*GetDeploymentForRepositoryNotFound) GetPayload

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 (*GetDeploymentForRepositoryOK) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the get deployment for repository params

func (*GetDeploymentForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get deployment for repository params

func (*GetDeploymentForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the get deployment for repository params

func (*GetDeploymentForRepositoryParams) WithUsername

WithUsername adds the username to the get deployment for repository params

func (*GetDeploymentForRepositoryParams) WriteToRequest

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 (*GetDeploymentsForRepositoryOK) GetPayload

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

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

WithContext adds the context to the get deployments for repository params

func (*GetDeploymentsForRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get deployments for repository params

func (*GetDeploymentsForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get deployments for repository params

func (*GetDeploymentsForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the get deployments for repository params

func (*GetDeploymentsForRepositoryParams) WithUsername

WithUsername adds the username to the get deployments for repository params

func (*GetDeploymentsForRepositoryParams) WriteToRequest

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

type GetEnvironmentForRepositoryNotFound struct {
	Payload *models.Error
}

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 (*GetEnvironmentForRepositoryNotFound) GetPayload

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 (*GetEnvironmentForRepositoryOK) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the get environment for repository params

func (*GetEnvironmentForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get environment for repository params

func (*GetEnvironmentForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the get environment for repository params

func (*GetEnvironmentForRepositoryParams) WithUsername

WithUsername adds the username to the get environment for repository params

func (*GetEnvironmentForRepositoryParams) WriteToRequest

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 (*GetEnvironmentsForRepositoryOK) GetPayload

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

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

WithContext adds the context to the get environments for repository params

func (*GetEnvironmentsForRepositoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environments for repository params

func (*GetEnvironmentsForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the get environments for repository params

func (*GetEnvironmentsForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the get environments for repository params

func (*GetEnvironmentsForRepositoryParams) WithUsername

WithUsername adds the username to the get environments for repository params

func (*GetEnvironmentsForRepositoryParams) WriteToRequest

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

type UpdateEnvironmentForRepositoryNotFound

type UpdateEnvironmentForRepositoryNotFound struct {
	Payload *models.Error
}

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 (*UpdateEnvironmentForRepositoryNotFound) GetPayload

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

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

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

WithHTTPClient adds the HTTPClient to the update environment for repository params

func (*UpdateEnvironmentForRepositoryParams) WithRepoSlug

WithRepoSlug adds the repoSlug to the update environment for repository params

func (*UpdateEnvironmentForRepositoryParams) WithTimeout

WithTimeout adds the timeout to the update environment for repository params

func (*UpdateEnvironmentForRepositoryParams) WithUsername

WithUsername adds the username to the update environment for repository params

func (*UpdateEnvironmentForRepositoryParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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