Documentation ¶
Index ¶
- type AddrArguments
- type BridgeArguments
- type BridgeInfArguments
- type CPUStats
- type FSChmodArgs
- type FSChownArgs
- type FSEntry
- type FSFileDescriptorArgs
- type FSMoveArgs
- type FSOpenArgs
- type FSPathArgs
- type FSWriteArgs
- type Link
- type LinkArguments
- type LinkMTUArguments
- type LinkNameArguments
- type NicInfo
- type Port
- type Process
- type Route
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddrArguments ¶ added in v1.2.0
type AddrArguments struct { LinkArguments IP string `json:"ip"` }
type BridgeArguments ¶ added in v1.2.0
type BridgeArguments struct { LinkArguments HwAddress string `json:"hwaddr"` }
type BridgeInfArguments ¶ added in v1.2.0
type BridgeInfArguments struct { LinkArguments Inf string `json:"inf"` }
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 FSFileDescriptorArgs ¶
type FSFileDescriptorArgs struct {
FD string `json:"fd"`
}
type FSMoveArgs ¶
type FSMoveArgs struct { FSPathArgs Destination string `json:"destination"` }
type FSOpenArgs ¶
type FSPathArgs ¶
type FSPathArgs struct {
Path string `json:"path"`
}
type FSWriteArgs ¶
type FSWriteArgs struct { FSFileDescriptorArgs Block string `json:"block"` }
type LinkArguments ¶ added in v1.2.0
type LinkArguments struct {
Name string `json:"name"`
}
type LinkMTUArguments ¶ added in v1.3.0
type LinkMTUArguments struct { LinkArguments MTU int `json:"mtu"` }
type LinkNameArguments ¶ added in v1.2.0
type LinkNameArguments struct { LinkArguments New string `json:"new"` }
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"` RLimit []process.RlimitStat `json:"rlimit"` OFD int32 `json:"ofd"` }
Click to show internal directories.
Click to hide internal directories.