Documentation ¶
Index ¶
- func NewContainerHandler(params ContainerHandlerParams) port.ContainerHandler
- func NewContainersHandler(ctx *apptypes.Context, containerService port.ContainerService) port.ContainersHandler
- func NewDockerKernelHandler(dockerKernelService port.DockerService) port.DockerKernelHandler
- func NewServiceHandler(serviceService port.ServiceService, containerService port.ContainerService) port.ServiceHandler
- func NewServicesHandler(serviceService port.ServiceService) port.ServicesHandler
- type ContainerHandler
- func (h *ContainerHandler) Delete(c *router.Context)
- func (h *ContainerHandler) Events(c *router.Context)
- func (h *ContainerHandler) Get(c *router.Context)
- func (h *ContainerHandler) GetDocker(c *router.Context)
- func (h *ContainerHandler) GetLogs(c *router.Context)
- func (h *ContainerHandler) GetVersions(c *router.Context)
- func (h *ContainerHandler) Patch(c *router.Context)
- func (h *ContainerHandler) PatchEnvironment(c *router.Context)
- func (h *ContainerHandler) RecreateDocker(c *router.Context)
- func (h *ContainerHandler) Start(c *router.Context)
- func (h *ContainerHandler) Stop(c *router.Context)
- func (h *ContainerHandler) UpdateService(c *router.Context)
- func (h *ContainerHandler) Wait(c *router.Context)
- type ContainerHandlerParams
- type ContainersHandler
- type DockerContainerInfo
- type DockerKernelHandler
- func (h *DockerKernelHandler) BuildImage(c *router.Context)
- func (h *DockerKernelHandler) CreateContainer(c *router.Context)
- func (h *DockerKernelHandler) DeleteContainer(c *router.Context)
- func (h *DockerKernelHandler) DeleteMounts(c *router.Context)
- func (h *DockerKernelHandler) GetContainers(c *router.Context)
- func (h *DockerKernelHandler) InfoContainer(c *router.Context)
- func (h *DockerKernelHandler) InfoImage(c *router.Context)
- func (h *DockerKernelHandler) LogsStderrContainer(c *router.Context)
- func (h *DockerKernelHandler) LogsStdoutContainer(c *router.Context)
- func (h *DockerKernelHandler) PullImage(c *router.Context)
- func (h *DockerKernelHandler) StartContainer(c *router.Context)
- func (h *DockerKernelHandler) StopContainer(c *router.Context)
- func (h *DockerKernelHandler) WaitContainer(c *router.Context)
- type PatchBody
- type PatchBodyDatabase
- type PatchEnvironmentBody
- type ServiceHandler
- type ServicesHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContainerHandler ¶
func NewContainerHandler(params ContainerHandlerParams) port.ContainerHandler
func NewContainersHandler ¶
func NewContainersHandler(ctx *apptypes.Context, containerService port.ContainerService) port.ContainersHandler
func NewDockerKernelHandler ¶
func NewDockerKernelHandler(dockerKernelService port.DockerService) port.DockerKernelHandler
func NewServiceHandler ¶
func NewServiceHandler(serviceService port.ServiceService, containerService port.ContainerService) port.ServiceHandler
func NewServicesHandler ¶
func NewServicesHandler(serviceService port.ServiceService) port.ServicesHandler
Types ¶
type ContainerHandler ¶
type ContainerHandler struct {
// contains filtered or unexported fields
}
func (*ContainerHandler) Delete ¶
func (h *ContainerHandler) Delete(c *router.Context)
func (*ContainerHandler) Events ¶
func (h *ContainerHandler) Events(c *router.Context)
func (*ContainerHandler) Get ¶
func (h *ContainerHandler) Get(c *router.Context)
func (*ContainerHandler) GetDocker ¶
func (h *ContainerHandler) GetDocker(c *router.Context)
func (*ContainerHandler) GetLogs ¶
func (h *ContainerHandler) GetLogs(c *router.Context)
func (*ContainerHandler) GetVersions ¶
func (h *ContainerHandler) GetVersions(c *router.Context)
func (*ContainerHandler) Patch ¶
func (h *ContainerHandler) Patch(c *router.Context)
func (*ContainerHandler) PatchEnvironment ¶
func (h *ContainerHandler) PatchEnvironment(c *router.Context)
func (*ContainerHandler) RecreateDocker ¶
func (h *ContainerHandler) RecreateDocker(c *router.Context)
func (*ContainerHandler) Start ¶
func (h *ContainerHandler) Start(c *router.Context)
func (*ContainerHandler) Stop ¶
func (h *ContainerHandler) Stop(c *router.Context)
func (*ContainerHandler) UpdateService ¶
func (h *ContainerHandler) UpdateService(c *router.Context)
func (*ContainerHandler) Wait ¶
func (h *ContainerHandler) Wait(c *router.Context)
type ContainerHandlerParams ¶
type ContainerHandlerParams struct { Ctx *apptypes.Context ContainerService port.ContainerService ContainerSettingsService port.ContainerSettingsService ContainerRunnerService port.ContainerRunnerService ContainerEnvService port.ContainerEnvService ContainerServiceService port.ContainerServiceService ContainerLogsService port.ContainerLogsService ServiceService port.ServiceService }
type ContainersHandler ¶
type ContainersHandler struct {
// contains filtered or unexported fields
}
func (*ContainersHandler) CheckForUpdates ¶
func (h *ContainersHandler) CheckForUpdates(c *router.Context)
func (*ContainersHandler) Events ¶
func (h *ContainersHandler) Events(c *router.Context)
func (*ContainersHandler) Get ¶
func (h *ContainersHandler) Get(c *router.Context)
func (*ContainersHandler) GetTags ¶
func (h *ContainersHandler) GetTags(c *router.Context)
func (*ContainersHandler) Search ¶
func (h *ContainersHandler) Search(c *router.Context)
type DockerContainerInfo ¶ added in v0.14.0
type DockerKernelHandler ¶
type DockerKernelHandler struct {
// contains filtered or unexported fields
}
func (*DockerKernelHandler) BuildImage ¶
func (h *DockerKernelHandler) BuildImage(c *router.Context)
func (*DockerKernelHandler) CreateContainer ¶
func (h *DockerKernelHandler) CreateContainer(c *router.Context)
func (*DockerKernelHandler) DeleteContainer ¶
func (h *DockerKernelHandler) DeleteContainer(c *router.Context)
func (*DockerKernelHandler) DeleteMounts ¶ added in v0.15.0
func (h *DockerKernelHandler) DeleteMounts(c *router.Context)
func (*DockerKernelHandler) GetContainers ¶
func (h *DockerKernelHandler) GetContainers(c *router.Context)
func (*DockerKernelHandler) InfoContainer ¶
func (h *DockerKernelHandler) InfoContainer(c *router.Context)
func (*DockerKernelHandler) InfoImage ¶
func (h *DockerKernelHandler) InfoImage(c *router.Context)
func (*DockerKernelHandler) LogsStderrContainer ¶
func (h *DockerKernelHandler) LogsStderrContainer(c *router.Context)
func (*DockerKernelHandler) LogsStdoutContainer ¶
func (h *DockerKernelHandler) LogsStdoutContainer(c *router.Context)
func (*DockerKernelHandler) PullImage ¶
func (h *DockerKernelHandler) PullImage(c *router.Context)
func (*DockerKernelHandler) StartContainer ¶
func (h *DockerKernelHandler) StartContainer(c *router.Context)
func (*DockerKernelHandler) StopContainer ¶
func (h *DockerKernelHandler) StopContainer(c *router.Context)
func (*DockerKernelHandler) WaitContainer ¶
func (h *DockerKernelHandler) WaitContainer(c *router.Context)
type PatchBodyDatabase ¶
type PatchBodyDatabase struct { ContainerID uuid.UUID `json:"container_id"` DatabaseName *string `json:"db_name"` }
User can also add alternate username,password
type PatchEnvironmentBody ¶ added in v0.14.0
type ServiceHandler ¶
type ServiceHandler struct {
// contains filtered or unexported fields
}
func (*ServiceHandler) Get ¶
func (h *ServiceHandler) Get(c *router.Context)
func (*ServiceHandler) Install ¶
func (h *ServiceHandler) Install(c *router.Context)
type ServicesHandler ¶
type ServicesHandler struct {
// contains filtered or unexported fields
}
func (*ServicesHandler) Get ¶
func (h *ServicesHandler) Get(c *router.Context)
Click to show internal directories.
Click to hide internal directories.