package system
import "github.com/dotcloud/docker/pkg/system"
Index ¶
- Constants
- Variables
- func CreateEvent(eventAttributes *syscall.SecurityAttributes, manualReset bool, initialState bool, name string) (handle syscall.Handle, err error)
- func LUtimesNano(path string, ts []syscall.Timespec) error
- func Lgetxattr(path string, attr string) ([]byte, error)
- func Lsetxattr(path string, attr string, data []byte, flags int) error
- func Mkdev(major int64, minor int64) uint32
- func MkdirAll(path string, perm os.FileMode) error
- func Mknod(path string, mode uint32, dev int) error
- func OpenEvent(desiredAccess uint32, inheritHandle bool, name string) (handle syscall.Handle, err error)
- func PulseEvent(handle syscall.Handle) (err error)
- func ResetEvent(handle syscall.Handle) (err error)
- func SetEvent(handle syscall.Handle) (err error)
- func Umask(newmask int) (oldmask int, err error)
- func UtimesNano(path string, ts []syscall.Timespec) error
- type MemInfo
- type Stat_t
Constants ¶
const ( EVENT_ALL_ACCESS = 0x1F0003 EVENT_MODIFY_STATUS = 0x0002 )
Variables ¶
Functions ¶
func CreateEvent ¶
func CreateEvent(eventAttributes *syscall.SecurityAttributes, manualReset bool, initialState bool, name string) (handle syscall.Handle, err error)
func LUtimesNano ¶
func Lgetxattr ¶
func Lsetxattr ¶
func Mkdev ¶
func MkdirAll ¶
MkdirAll implementation that is volume path aware for Windows.
func Mknod ¶
func OpenEvent ¶
func OpenEvent(desiredAccess uint32, inheritHandle bool, name string) (handle syscall.Handle, err error)
func PulseEvent ¶
func ResetEvent ¶
func SetEvent ¶
func Umask ¶
func UtimesNano ¶
Types ¶
type MemInfo ¶
type MemInfo struct { // Total usable RAM (i.e. physical RAM minus a few reserved bits and the // kernel binary code). MemTotal int64 // Amount of free memory. MemFree int64 // Total amount of swap space available. SwapTotal int64 // Amount of swap space that is currently unused. SwapFree int64 }
MemInfo contains memory statistics of the host system.
func ReadMemInfo ¶
ReadMemInfo retrieves memory statistics of the host system and returns a
MemInfo type.
type Stat_t ¶
type Stat_t struct {
// contains filtered or unexported fields
}
func Lstat ¶
func (Stat_t) IsDir ¶
func (Stat_t) ModTime ¶
func (Stat_t) Mode ¶
func (Stat_t) Name ¶
func (Stat_t) Size ¶
Source Files ¶
errors.go events_windows.go filesys_windows.go lstat_windows.go meminfo.go meminfo_windows.go mknod_windows.go stat_windows.go umask_windows.go utimes_unsupported.go xattrs_unsupported.go
- Version
- v1.8.0-rc1
- Published
- Jul 25, 2015
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 21 minutes ago –
Tools for package owners.