Documentation ¶
Index ¶
- type DeviceAttributes
- func (*DeviceAttributes) Descriptor() ([]byte, []int)
- func (m *DeviceAttributes) GetDeviceType() string
- func (m *DeviceAttributes) GetIncarnation() uint64
- func (m *DeviceAttributes) GetLocality() *DeviceLocality
- func (m *DeviceAttributes) GetMemoryLimit() int64
- func (m *DeviceAttributes) GetName() string
- func (m *DeviceAttributes) GetPhysicalDeviceDesc() string
- func (*DeviceAttributes) ProtoMessage()
- func (m *DeviceAttributes) Reset()
- func (m *DeviceAttributes) String() string
- func (m *DeviceAttributes) XXX_DiscardUnknown()
- func (m *DeviceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceAttributes) XXX_Merge(src proto.Message)
- func (m *DeviceAttributes) XXX_Size() int
- func (m *DeviceAttributes) XXX_Unmarshal(b []byte) error
- type DeviceLocality
- func (*DeviceLocality) Descriptor() ([]byte, []int)
- func (m *DeviceLocality) GetBusId() int32
- func (m *DeviceLocality) GetLinks() *LocalLinks
- func (m *DeviceLocality) GetNumaNode() int32
- func (*DeviceLocality) ProtoMessage()
- func (m *DeviceLocality) Reset()
- func (m *DeviceLocality) String() string
- func (m *DeviceLocality) XXX_DiscardUnknown()
- func (m *DeviceLocality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceLocality) XXX_Merge(src proto.Message)
- func (m *DeviceLocality) XXX_Size() int
- func (m *DeviceLocality) XXX_Unmarshal(b []byte) error
- type InterconnectLink
- func (*InterconnectLink) Descriptor() ([]byte, []int)
- func (m *InterconnectLink) GetDeviceId() int32
- func (m *InterconnectLink) GetStrength() int32
- func (m *InterconnectLink) GetType() string
- func (*InterconnectLink) ProtoMessage()
- func (m *InterconnectLink) Reset()
- func (m *InterconnectLink) String() string
- func (m *InterconnectLink) XXX_DiscardUnknown()
- func (m *InterconnectLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InterconnectLink) XXX_Merge(src proto.Message)
- func (m *InterconnectLink) XXX_Size() int
- func (m *InterconnectLink) XXX_Unmarshal(b []byte) error
- type LocalLinks
- func (*LocalLinks) Descriptor() ([]byte, []int)
- func (m *LocalLinks) GetLink() []*InterconnectLink
- func (*LocalLinks) ProtoMessage()
- func (m *LocalLinks) Reset()
- func (m *LocalLinks) String() string
- func (m *LocalLinks) XXX_DiscardUnknown()
- func (m *LocalLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalLinks) XXX_Merge(src proto.Message)
- func (m *LocalLinks) XXX_Size() int
- func (m *LocalLinks) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceAttributes ¶
type DeviceAttributes struct { // Fully specified name of the device within a cluster. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // String representation of device_type. DeviceType string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` // Memory capacity of device in bytes. MemoryLimit int64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"` // Platform-specific data about device that may be useful // for supporting efficient data transfers. Locality *DeviceLocality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"` // A device is assigned a global unique number each time it is // initialized. "incarnation" should never be 0. Incarnation uint64 `protobuf:"fixed64,6,opt,name=incarnation,proto3" json:"incarnation,omitempty"` // String representation of the physical device that this device maps to. PhysicalDeviceDesc string `protobuf:"bytes,7,opt,name=physical_device_desc,json=physicalDeviceDesc,proto3" json:"physical_device_desc,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceAttributes) Descriptor ¶
func (*DeviceAttributes) Descriptor() ([]byte, []int)
func (*DeviceAttributes) GetDeviceType ¶
func (m *DeviceAttributes) GetDeviceType() string
func (*DeviceAttributes) GetIncarnation ¶
func (m *DeviceAttributes) GetIncarnation() uint64
func (*DeviceAttributes) GetLocality ¶
func (m *DeviceAttributes) GetLocality() *DeviceLocality
func (*DeviceAttributes) GetMemoryLimit ¶
func (m *DeviceAttributes) GetMemoryLimit() int64
func (*DeviceAttributes) GetName ¶
func (m *DeviceAttributes) GetName() string
func (*DeviceAttributes) GetPhysicalDeviceDesc ¶
func (m *DeviceAttributes) GetPhysicalDeviceDesc() string
func (*DeviceAttributes) ProtoMessage ¶
func (*DeviceAttributes) ProtoMessage()
func (*DeviceAttributes) Reset ¶
func (m *DeviceAttributes) Reset()
func (*DeviceAttributes) String ¶
func (m *DeviceAttributes) String() string
func (*DeviceAttributes) XXX_DiscardUnknown ¶
func (m *DeviceAttributes) XXX_DiscardUnknown()
func (*DeviceAttributes) XXX_Marshal ¶
func (m *DeviceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceAttributes) XXX_Merge ¶
func (m *DeviceAttributes) XXX_Merge(src proto.Message)
func (*DeviceAttributes) XXX_Size ¶
func (m *DeviceAttributes) XXX_Size() int
func (*DeviceAttributes) XXX_Unmarshal ¶
func (m *DeviceAttributes) XXX_Unmarshal(b []byte) error
type DeviceLocality ¶
type DeviceLocality struct { // Optional bus locality of device. Default value of 0 means // no specific locality. Specific localities are indexed from 1. BusId int32 `protobuf:"varint,1,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"` // Optional NUMA locality of device. NumaNode int32 `protobuf:"varint,2,opt,name=numa_node,json=numaNode,proto3" json:"numa_node,omitempty"` // Optional local interconnect links to other devices. Links *LocalLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceLocality) Descriptor ¶
func (*DeviceLocality) Descriptor() ([]byte, []int)
func (*DeviceLocality) GetBusId ¶
func (m *DeviceLocality) GetBusId() int32
func (*DeviceLocality) GetLinks ¶
func (m *DeviceLocality) GetLinks() *LocalLinks
func (*DeviceLocality) GetNumaNode ¶
func (m *DeviceLocality) GetNumaNode() int32
func (*DeviceLocality) ProtoMessage ¶
func (*DeviceLocality) ProtoMessage()
func (*DeviceLocality) Reset ¶
func (m *DeviceLocality) Reset()
func (*DeviceLocality) String ¶
func (m *DeviceLocality) String() string
func (*DeviceLocality) XXX_DiscardUnknown ¶
func (m *DeviceLocality) XXX_DiscardUnknown()
func (*DeviceLocality) XXX_Marshal ¶
func (m *DeviceLocality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceLocality) XXX_Merge ¶
func (m *DeviceLocality) XXX_Merge(src proto.Message)
func (*DeviceLocality) XXX_Size ¶
func (m *DeviceLocality) XXX_Size() int
func (*DeviceLocality) XXX_Unmarshal ¶
func (m *DeviceLocality) XXX_Unmarshal(b []byte) error
type InterconnectLink ¶
type InterconnectLink struct { DeviceId int32 `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Strength int32 `protobuf:"varint,3,opt,name=strength,proto3" json:"strength,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InterconnectLink) Descriptor ¶
func (*InterconnectLink) Descriptor() ([]byte, []int)
func (*InterconnectLink) GetDeviceId ¶
func (m *InterconnectLink) GetDeviceId() int32
func (*InterconnectLink) GetStrength ¶
func (m *InterconnectLink) GetStrength() int32
func (*InterconnectLink) GetType ¶
func (m *InterconnectLink) GetType() string
func (*InterconnectLink) ProtoMessage ¶
func (*InterconnectLink) ProtoMessage()
func (*InterconnectLink) Reset ¶
func (m *InterconnectLink) Reset()
func (*InterconnectLink) String ¶
func (m *InterconnectLink) String() string
func (*InterconnectLink) XXX_DiscardUnknown ¶
func (m *InterconnectLink) XXX_DiscardUnknown()
func (*InterconnectLink) XXX_Marshal ¶
func (m *InterconnectLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InterconnectLink) XXX_Merge ¶
func (m *InterconnectLink) XXX_Merge(src proto.Message)
func (*InterconnectLink) XXX_Size ¶
func (m *InterconnectLink) XXX_Size() int
func (*InterconnectLink) XXX_Unmarshal ¶
func (m *InterconnectLink) XXX_Unmarshal(b []byte) error
type LocalLinks ¶
type LocalLinks struct { Link []*InterconnectLink `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalLinks) Descriptor ¶
func (*LocalLinks) Descriptor() ([]byte, []int)
func (*LocalLinks) GetLink ¶
func (m *LocalLinks) GetLink() []*InterconnectLink
func (*LocalLinks) ProtoMessage ¶
func (*LocalLinks) ProtoMessage()
func (*LocalLinks) Reset ¶
func (m *LocalLinks) Reset()
func (*LocalLinks) String ¶
func (m *LocalLinks) String() string
func (*LocalLinks) XXX_DiscardUnknown ¶
func (m *LocalLinks) XXX_DiscardUnknown()
func (*LocalLinks) XXX_Marshal ¶
func (m *LocalLinks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalLinks) XXX_Merge ¶
func (m *LocalLinks) XXX_Merge(src proto.Message)
func (*LocalLinks) XXX_Size ¶
func (m *LocalLinks) XXX_Size() int
func (*LocalLinks) XXX_Unmarshal ¶
func (m *LocalLinks) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.