Affected by GO-2022-0390
and 1 other vulnerabilities
GO-2022-0390 : Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914 : Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
Discover Packages
github.com/moby/moby
pkg
testutil
tempfile
package
Version:
v1.13.0-rc1
Opens a new window with list of versions in this module.
Published: Nov 11, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type TempFile struct {
File *os .File
}
TempFile is a temporary file that can be used with unit tests. TempFile
reduces the boilerplate setup required in each test case by handling
setup errors.
NewTempFile returns a new temp file with contents
Name returns the filename
Source Files
¶
Click to show internal directories.
Click to hide internal directories.