Documentation ¶
Index ¶
- func GetAppList() map[string][]m.ContainerInfo
- type ContainerUpdate
- type DataStore
- func (ds *DataStore) AddEntries(uuid string, containers []m.ContainerInfo)
- func (ds *DataStore) CleanupOutdatedEntries(maxAgeInMinutes int)
- func (ds *DataStore) DeleteAllEntries(uuid string)
- func (ds *DataStore) GetContainerList() []m.ContainerInfo
- func (ds *DataStore) GetLastUpdated(uuid string) (time.Time, bool)
- func (ds *DataStore) GetSidecarList() []string
- func (ds *DataStore) ReplaceEntries(uuid string, containers []m.ContainerInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppList ¶
func GetAppList() map[string][]m.ContainerInfo
Types ¶
type ContainerUpdate ¶
type ContainerUpdate struct { Uuid string `json:"uuid"` Containers []m.ContainerInfo `json:"containers"` }
type DataStore ¶
type DataStore struct { LastUpdated map[string]time.Time Containers map[string][]m.ContainerInfo // contains filtered or unexported fields }
func (*DataStore) AddEntries ¶
func (ds *DataStore) AddEntries(uuid string, containers []m.ContainerInfo)
func (*DataStore) CleanupOutdatedEntries ¶
func (*DataStore) DeleteAllEntries ¶
func (*DataStore) GetContainerList ¶
func (ds *DataStore) GetContainerList() []m.ContainerInfo
func (*DataStore) GetLastUpdated ¶
func (*DataStore) GetSidecarList ¶
func (*DataStore) ReplaceEntries ¶
func (ds *DataStore) ReplaceEntries(uuid string, containers []m.ContainerInfo)
Click to show internal directories.
Click to hide internal directories.