Documentation ¶
Index ¶
- Variables
- func IsAliKernel() bool
- func IsDiskQuota() bool
- func IsDumbInitExist() bool
- func IsHubConnected() bool
- func IsLinux() bool
- func IsRuncVersionSupportRichContianer() bool
- func PruneAllContainers(apiClient client.ContainerAPIClient) error
- func PruneAllImages(apiClient client.ImageAPIClient) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PouchBinary is default binary PouchBinary = "/usr/local/bin/pouch" // PouchdAddress is default pouchd address PouchdAddress = "unix:///var/run/pouchd.sock" // PouchdUnixDomainSock is the default unix domain socket file used by pouchd. PouchdUnixDomainSock = "/var/run/pouchd.sock" // TLSConfig is default tls config TLSConfig = utils.TLSConfig{} )
Functions ¶
func IsAliKernel ¶
func IsAliKernel() bool
IsAliKernel checks if the kernel of test environment is AliKernel.
func IsDiskQuota ¶
func IsDiskQuota() bool
IsDiskQuota checks if it can use disk quota for container.
func IsDumbInitExist ¶
func IsDumbInitExist() bool
IsDumbInitExist checks if the dumb-init binary exists on host.
func IsHubConnected ¶
func IsHubConnected() bool
IsHubConnected checks if hub address can be connected.
func IsRuncVersionSupportRichContianer ¶
func IsRuncVersionSupportRichContianer() bool
IsRuncVersionSupportRichContianer checks if the version of runc supports rich container.
func PruneAllContainers ¶
func PruneAllContainers(apiClient client.ContainerAPIClient) error
PruneAllContainers deletes all containers from pouchd.
func PruneAllImages ¶
func PruneAllImages(apiClient client.ImageAPIClient) error
PruneAllImages deletes all images from pouchd.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.