Versions in this module Expand all Collapse all v0 v0.0.1 Aug 3, 2023 Changes in this version + const DockerNamespace + const PodmanNamespace + var HousekeepingConfigFlags = HouskeepingConfig + var HousekeepingInterval = flag.Duration("housekeeping_interval", 1 * time.Second, ...) + type HouskeepingConfig = struct + AllowDynamic *bool + Interval *time.Duration + type Manager interface + AllDockerContainers func(query *info.ContainerInfoRequest) (map[string]info.ContainerInfo, error) + AllPodmanContainers func(c *info.ContainerInfoRequest) (map[string]info.ContainerInfo, error) + CloseEventChannel func(watchID int) + DebugInfo func() map[string][]string + DockerContainer func(dockerName string, query *info.ContainerInfoRequest) (info.ContainerInfo, error) + Exists func(containerName string) bool + GetContainerInfo func(containerName string, query *info.ContainerInfoRequest) (*info.ContainerInfo, error) + GetContainerInfoV2 func(containerName string, options v2.RequestOptions) (map[string]v2.ContainerInfo, error) + GetContainerSpec func(containerName string, options v2.RequestOptions) (map[string]v2.ContainerSpec, error) + GetDerivedStats func(containerName string, options v2.RequestOptions) (map[string]v2.DerivedStats, error) + GetDirFsInfo func(dir string) (v2.FsInfo, error) + GetFsInfo func(label string) ([]v2.FsInfo, error) + GetFsInfoByFsUUID func(uuid string) (v2.FsInfo, error) + GetMachineInfo func() (*info.MachineInfo, error) + GetPastEvents func(request *events.Request) ([]*info.Event, error) + GetProcessList func(containerName string, options v2.RequestOptions) ([]v2.ProcessInfo, error) + GetRequestedContainersInfo func(containerName string, options v2.RequestOptions) (map[string]*info.ContainerInfo, error) + GetVersionInfo func() (*info.VersionInfo, error) + PodmanContainer func(containerName string, query *info.ContainerInfoRequest) (info.ContainerInfo, error) + Start func() error + Stop func() error + SubcontainersInfo func(containerName string, query *info.ContainerInfoRequest) ([]*info.ContainerInfo, error) + WatchForEvents func(request *events.Request) (*events.EventChannel, error) + func New(memoryCache *memory.InMemoryCache, sysfs sysfs.SysFs, ...) (Manager, error)