Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStatus ¶
type ContainerStatus int
const ( CONTAINER_STATUS_STARTED ContainerStatus = 1 CONTAINER_STATUS_STOPPED ContainerStatus = 2 CONTAINER_STATUS_SHUTDOWN ContainerStatus = 3 )
type Contents ¶
type Contents struct { Container IGenericContainer Status ContainerStatus StatusListener IContainerStatusListener }
func (*Contents) WaitForStatusChanges ¶
func (contents *Contents) WaitForStatusChanges()
type IGenericContainer ¶
type IGenericContainer interface { GetName() string GetWg() *sync.WaitGroup AddItem(string, IGenericContents) error GetItem(string) (IGenericContents, error) IsItemActivated(string) bool GetContainerStatusChannels() (ShutdownChan, StartChan, StopChan) AddParameter(string, interface{}) GetParameter(string) (interface{}, error) IContainerStatusListener }
type IGenericContainerFactory ¶
type IGenericContainerFactory interface {
GetContainer(activated_items []string, name string) (IGenericContainer, error)
}
var GenericContainerFactory IGenericContainerFactory
type IGenericContainerGetter ¶
type IGenericContainerGetter interface {
GetGenericContainer() IGenericContainer
}
type IGenericContents ¶
type IGenericContents interface {
WaitForStatusChanges()
}
type PooledContents ¶
type PooledContents struct {
lib_gc_pool.Pooler
}
func (*PooledContents) WaitForStatusChanges ¶
func (pc *PooledContents) WaitForStatusChanges()
type ShutdownChan ¶
type ShutdownChan chan struct{}
Click to show internal directories.
Click to hide internal directories.