builtin

package
v1.1.0-alpha-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUStats added in v1.2.0

type CPUStats struct {
	GuestNice float64 `json:"guestnice"`
	Idle      float64 `json:"idle"`
	IoWait    float64 `json:"iowait"`
	Irq       float64 `json:"irq"`
	Nice      float64 `json:"nice"`
	SoftIrq   float64 `json:"softirq"`
	Steal     float64 `json:"steal"`
	Stolen    float64 `json:"stolen"`
	System    float64 `json:"system"`
	User      float64 `json:"user"`
}

type FSChmodArgs

type FSChmodArgs struct {
	FSPathArgs
	Mode      os.FileMode `json:"mode"`
	Recursive bool        `json:"recursive"`
}

type FSChownArgs

type FSChownArgs struct {
	FSPathArgs
	User      string `json:"user"`
	Group     string `json:"group"`
	Recursive bool   `json:"recursive"`
}

type FSEntry

type FSEntry struct {
	Name  string      `json:"name"`   // base name of the file
	Size  int64       `json:"size"`   // length in bytes for regular files; system-dependent for others
	Mode  os.FileMode `json:"mode"`   // file mode bits
	IsDir bool        `json:"is_dir"` // abbreviation for Mode().IsDir()
}

type FSFileDescriptorArgs

type FSFileDescriptorArgs struct {
	FD string `json:"fd"`
}

type FSMoveArgs

type FSMoveArgs struct {
	FSPathArgs
	Destination string `json:"destination"`
}

type FSOpenArgs

type FSOpenArgs struct {
	File string `json:"file"`
	Mode string `json:"mode"`
	Perm uint32 `json:"perm"`
}

type FSPathArgs

type FSPathArgs struct {
	Path string `json:"path"`
}

type FSWriteArgs

type FSWriteArgs struct {
	FSFileDescriptorArgs
	Block string `json:"block"`
}

type NicInfo added in v1.2.0

type NicInfo struct {
	net.InterfaceStat
	Speed uint32 `json:"speed"`
}

type Process added in v1.2.0

type Process struct {
	PID        int32    `json:"pid"`
	PPID       int32    `json:"ppid"`
	Cmdline    string   `json:"cmdline"`
	Name       string   `json:"name"`
	CreateTime int64    `json:"createtime"`
	Cpu        CPUStats `json:"cpu"`
	RSS        uint64   `json:"rss"`
	VMS        uint64   `json:"vms"`
	Swap       uint64   `json:"swap"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL