package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Dec 27, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Probe struct {
Detected bool `json:"detected"`
Name string `json:"name"`
Results map[string]bool `json:"results"`
}
Probe struct for containres. Used to store the results of the probe and the
name of the container discovered.
New initializes new probe struct and probes the system.
Docker detects if a system is on the Docker.
JSON representation of the struct.
LXC detects if a system is on the LXC.
Podman detects if a system is on the Podman.
String representation of the struct.
WSL detects if a system is on the WSL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.