Documentation ¶
Index ¶
- type ContainerDaemon
- type ContainerDaemonImpl
- func (c ContainerDaemonImpl) BuildImage(imageName string, containerName string) string
- func (c ContainerDaemonImpl) DeleteContainer(containerId string)
- func (c ContainerDaemonImpl) FinishEmbeddedMysql(containerId string)
- func (c ContainerDaemonImpl) InitDocker() bool
- func (c ContainerDaemonImpl) New() ContainerDaemon
- func (c ContainerDaemonImpl) PullImage(imageName string) bool
- func (c ContainerDaemonImpl) SetupLogOfContainer(containerId string)
- func (c ContainerDaemonImpl) StartContainer(containerId string) bool
- func (c ContainerDaemonImpl) StartEmbeddedMysql() string
- func (c ContainerDaemonImpl) StopAllContainer()
- func (c ContainerDaemonImpl) StopContainer(containerId string) bool
- func (c ContainerDaemonImpl) WaitRun(containerId string)
- type ErrorContainer
- type MysqlConfig
- type MysqlConfigImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerDaemon ¶
type ContainerDaemon interface { InitDocker() bool PullImage(imageName string) bool BuildImage(imageName string, containerName string) string StartContainer(containerId string) bool StopContainer(containerId string) bool StopAllContainer() DeleteContainer(containerId string) SetupLogOfContainer(containerId string) WaitRun(containerId string) StartEmbeddedMysql() string FinishEmbeddedMysql(containerId string) }
type ContainerDaemonImpl ¶
type ContainerDaemonImpl struct {
// contains filtered or unexported fields
}
func (ContainerDaemonImpl) BuildImage ¶
func (c ContainerDaemonImpl) BuildImage(imageName string, containerName string) string
func (ContainerDaemonImpl) DeleteContainer ¶
func (c ContainerDaemonImpl) DeleteContainer(containerId string)
func (ContainerDaemonImpl) FinishEmbeddedMysql ¶
func (c ContainerDaemonImpl) FinishEmbeddedMysql(containerId string)
func (ContainerDaemonImpl) InitDocker ¶
func (c ContainerDaemonImpl) InitDocker() bool
func (ContainerDaemonImpl) New ¶
func (c ContainerDaemonImpl) New() ContainerDaemon
func (ContainerDaemonImpl) PullImage ¶
func (c ContainerDaemonImpl) PullImage(imageName string) bool
func (ContainerDaemonImpl) SetupLogOfContainer ¶
func (c ContainerDaemonImpl) SetupLogOfContainer(containerId string)
func (ContainerDaemonImpl) StartContainer ¶
func (c ContainerDaemonImpl) StartContainer(containerId string) bool
func (ContainerDaemonImpl) StartEmbeddedMysql ¶
func (c ContainerDaemonImpl) StartEmbeddedMysql() string
func (ContainerDaemonImpl) StopAllContainer ¶
func (c ContainerDaemonImpl) StopAllContainer()
func (ContainerDaemonImpl) StopContainer ¶
func (c ContainerDaemonImpl) StopContainer(containerId string) bool
func (ContainerDaemonImpl) WaitRun ¶
func (c ContainerDaemonImpl) WaitRun(containerId string)
type ErrorContainer ¶
type ErrorContainer struct {
// contains filtered or unexported fields
}
func (ErrorContainer) ErrorMessage ¶
func (e ErrorContainer) ErrorMessage()
type MysqlConfig ¶
type MysqlConfigImpl ¶
type MysqlConfigImpl struct {
// contains filtered or unexported fields
}
func (MysqlConfigImpl) AddSchema ¶
func (m MysqlConfigImpl) AddSchema(name string)
func (MysqlConfigImpl) CreateTable ¶
func (m MysqlConfigImpl) CreateTable(query string)
func (MysqlConfigImpl) New ¶
func (m MysqlConfigImpl) New() MysqlConfig
Click to show internal directories.
Click to hide internal directories.