Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExplorer ¶
func NewExplorer(root string, containerdroot string, manifest string, snapshot string, sc *explorers.SupportContainer) (explorers.ContainerExplorer, error)
NewExplorer returns a ContainerExplorer interface to explorer docker managed containers.
Types ¶
type Bridge ¶
type Bridge struct { IPAMConfig interface{} Links interface{} Aliases interface{} NetworkID string EndpointID string Gateway string IPAddresses string IPPrefixLen int IPv6Gateway string GlobalIPv6Address string GlobalIPPrefixLen int MacAddresses string IPAMOperational bool }
Bridge represents docker networks bridge structure
type Config ¶
type Config struct { ExposedPorts map[string]interface{} Hostname string Domainname string User string AttachStdin bool AttachStdout bool AttachStderr bool Tty bool OpenStdin bool StdinOnce bool Env []string Cmd []string Image string Volumes interface{} WorkingDir interface{} EntryPoint interface{} OnBuild interface{} Labels map[string]string }
Config holds docker runtime config
type ConfigFile ¶
type ConfigFile struct { StreamConfig map[string]interface{} State State ID string Created time.Time Managed bool Path string Args []string ContainerConfig map[string]interface{} Config Config Image string NetworkSettings NetworkSettings LogPath string Name string Driver string MountLabel string ProcessLabel string RestartCount int64 HasBeenRestartedBefore bool HasBeenManuallyStopped bool MountPoints map[string]interface{} SecretReferences interface{} AppArmorProfile string HostnamePath string HostsPath string ShmPath string ResolvConfPath string SeccompProfile string NoNewPrivileges bool }
ConfigFile represents docker config.v2.json structure
type ImageRepository ¶
type NetworkSettings ¶
type NetworkSettings struct { Bridge string SandboxID string HairpinMode bool LinkLocalIPv6Address string LinkLocalIPv6PrefixLen int Networks map[string]interface{} Service map[string]interface{} Ports map[string]interface{} SandboxKey string SecondaryIPAddresses interface{} SecondaryIPv6Addresses interface{} IsAnonymousEndpoint bool HasSwarmEndpoint bool }
NetworkSettings represents docker network settings
Click to show internal directories.
Click to hide internal directories.