Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containers ¶
type Containers struct { Definition v1.ContainersDefinition Syncing bool Tracking bool ContainersQueue chan string `json:"-"` User *authentication.User `json:"-"` Ctx context.Context `json:"-"` Cancel context.CancelFunc `json:"-"` Ticker *time.Ticker `json:"-"` Logger *zap.Logger }
type ContainersWatcher ¶
type ContainersWatcher struct {
Containers map[string]*Containers
}
func (*ContainersWatcher) AddOrUpdate ¶
func (ContainersWatcher *ContainersWatcher) AddOrUpdate(groupidentifier string, container *Containers)
func (*ContainersWatcher) Find ¶
func (ContainersWatcher *ContainersWatcher) Find(groupidentifier string) *Containers
func (*ContainersWatcher) Remove ¶
func (ContainersWatcher *ContainersWatcher) Remove(groupidentifier string) bool
Click to show internal directories.
Click to hide internal directories.