Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache[T any] struct { // contains filtered or unexported fields }
func (*Cache[T]) LoadOrStore ¶
LoadOrStore stores the value associated with the given key.
type NetworkInterfaceID ¶
type NetworkInterfaceID string
type NodeStatus ¶
type NodeStatus struct {
NetworkCards []*Card
// contains filtered or unexported fields
}
func NewNodeStatus ¶
func NewNodeStatus(cardCount int) *NodeStatus
func (*NodeStatus) DetachNetworkIndex ¶
func (n *NodeStatus) DetachNetworkIndex(eniID string)
func (*NodeStatus) RequestNetworkIndex ¶
func (n *NodeStatus) RequestNetworkIndex(eniID string, preferIndex *int, numa *int) *int
RequestNetworkIndex prefer use negative for auto allocate
Click to show internal directories.
Click to hide internal directories.