Documentation
¶
Index ¶
Constants ¶
View Source
const ( INTERFACE_TYPE_HOST = "host" INTERFACE_TYPE_SRIOV = "sr-iov" INTERFACE_TYPE_UNKNOWN = "unknown" INTERFACE_TYPE_INVALID = "invalid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUResponse ¶
type CPUResponse struct {
CPUSet string `json:"cpuset,omitempty"`
}
type HugepagesData ¶
type HugepagesResponse ¶
type HugepagesResponse struct { MyContainerName string Hugepages []*HugepagesData }
type InterfaceData ¶
type InterfaceData struct { // DeviceType is similar to NetworkStatus.DeviceInfo.Type except: // - Don't need to check for "NetworkStatus.DeviceInfo != nil" before using // - Internally could be "unknown" or "invalid" while data is being processed // - Not all DPs/CNIs support Device-Info-Spec, so NetworkStatus.DeviceInfo may be nil // - For NetworkStatus.DeviceInfo.Type of "pci", DeviceType may be "host" or "sriov" DeviceType string `json:"device-type,omitempty"` NetworkStatus nettypes.NetworkStatus `json:"network-status,omitempty"` }
type InterfaceResponse ¶
type InterfaceResponse struct {
Interface []*InterfaceData
}
Click to show internal directories.
Click to hide internal directories.