Documentation ¶
Index ¶
- type DeploymentService
- func (ds *DeploymentService) Delete(name string) error
- func (ds *DeploymentService) DeleteContainer(id string) error
- func (ds *DeploymentService) Get(name string) (*domain.Deployment, error)
- func (ds *DeploymentService) GetContainer(id string) (types.Container, error)
- func (ds *DeploymentService) RunContainer(c domain.ContainerProps) (container.ContainerCreateCreatedBody, error)
- func (ds *DeploymentService) Save(d domain.Deployment) error
- func (ds *DeploymentService) StopContainer(id string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentService ¶
type DeploymentService struct {
// contains filtered or unexported fields
}
func NewDeploymentService ¶
func NewDeploymentService(repo *domain.DeploymentsRepositoryDB, runtime *domain.DeploymentsRuntimeDocker) DeploymentService
func (*DeploymentService) Delete ¶
func (ds *DeploymentService) Delete(name string) error
func (*DeploymentService) DeleteContainer ¶
func (ds *DeploymentService) DeleteContainer(id string) error
func (*DeploymentService) Get ¶
func (ds *DeploymentService) Get(name string) (*domain.Deployment, error)
func (*DeploymentService) GetContainer ¶
func (ds *DeploymentService) GetContainer(id string) (types.Container, error)
func (*DeploymentService) RunContainer ¶
func (ds *DeploymentService) RunContainer(c domain.ContainerProps) (container.ContainerCreateCreatedBody, error)
func (*DeploymentService) Save ¶
func (ds *DeploymentService) Save(d domain.Deployment) error
func (*DeploymentService) StopContainer ¶
func (ds *DeploymentService) StopContainer(id string, timeout time.Duration) error
Click to show internal directories.
Click to hide internal directories.