Documentation
¶
Overview ¶
Package node is a generated protocol buffer package.
It is generated from these files:
node.proto
It has these top-level messages:
NodeInfo
Index ¶
- Constants
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)
- func (m *NodeInfo) GetId() uint32
- func (m *NodeInfo) GetIpAddress() string
- func (m *NodeInfo) GetManagementIpAddress() string
- func (m *NodeInfo) GetName() string
- func (*NodeInfo) ProtoMessage()
- func (m *NodeInfo) Reset()
- func (m *NodeInfo) String() string
Constants ¶
const AllocatedIDsKeyPrefix = "allocatedIDs/"
AllocatedIDsKeyPrefix is a key prefix used in ETCD to store information about node ID and its IP addresses.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeInfo ¶
type NodeInfo struct {
Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
ManagementIpAddress string `protobuf:"bytes,4,opt,name=management_ip_address,json=managementIpAddress" json:"management_ip_address,omitempty"`
}
NodeInfo represents a node in the k8s cluster. It records an unique node ID to identify the node within the cluster. ID determines IPAM for the given node.
func (*NodeInfo) Descriptor ¶
func (*NodeInfo) GetIpAddress ¶
func (*NodeInfo) GetManagementIpAddress ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()