Versions in this module Expand all Collapse all v1 v1.3.0 Jan 28, 2021 v1.2.0 Dec 16, 2020 Changes in this version + type AbstractService struct + func NewAbstractService(name string, services map[string]Service) *AbstractService + func (t *AbstractService) Close() + func (t *AbstractService) ConfigureRouter(r *gin.RouterGroup) + func (t *AbstractService) GetLogger() *logrus.Entry + func (t *AbstractService) GetMode() string + func (t *AbstractService) GetName() string + func (t *AbstractService) GetService(name string) Service + func (t *AbstractService) IsDisabled() bool + func (t *AbstractService) SetDisabled(value bool) + func (t *AbstractService) SetMode(value string) + type ClientFactory struct + func NewClientFactory() (*ClientFactory, error) + func (t *ClientFactory) GetSharedInstance() *docker.Client + func (t *ClientFactory) NewInstance() (*docker.Client, error) + type DockerClientFactory interface + GetSharedInstance func() *docker.Client + NewInstance func() (*docker.Client, error) + type DockerEventListener interface + OnEvent func(type_ string) + type DockerTemplate struct + type Service interface + ConfigureRouter func(r *gin.RouterGroup) + FollowLogs func(since string, tail string) (<-chan string, func(), error) + GetContainerId func() string + GetLogs func(since string, tail string) ([]string, error) + GetMode func() string + GetName func() string + GetStatus func(ctx context.Context) string + IsDisabled func() bool + SetDisabled func(value bool) + SetMode func(value string) + type SingleContainerService struct + func NewSingleContainerService(name string, services map[string]Service, containerName string, ...) *SingleContainerService + func (t *SingleContainerService) Exec1(command []string) (string, error) + func (t *SingleContainerService) ExecInteractive(command []string) (string, io.Reader, io.Writer, error) + func (t *SingleContainerService) FollowLogs(since string, tail string) (<-chan string, func(), error) + func (t *SingleContainerService) FollowLogs2() (<-chan string, func(), error) + func (t *SingleContainerService) GetContainer() (*types.ContainerJSON, error) + func (t *SingleContainerService) GetContainerId() string + func (t *SingleContainerService) GetContainerStatus() (string, error) + func (t *SingleContainerService) GetLogs(since string, tail string) ([]string, error) + func (t *SingleContainerService) GetStatus(ctx context.Context) string + func (t *SingleContainerService) Getenv(key string) (string, error) + func (t *SingleContainerService) OnEvent(kind string) + func (t *SingleContainerService) WaitContainer() *types.ContainerJSON + func (t *SingleContainerService) WaitContainerRunning() *types.ContainerJSON