Documentation
¶
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
- func (m *NodeInfo) XXX_DiscardUnknown()
- func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *NodeInfo) XXX_Merge(src proto.Message)
- func (m *NodeInfo) XXX_Size() int
- func (m *NodeInfo) XXX_Unmarshal(b []byte) error
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,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
ManagementIpAddress string `protobuf:"bytes,4,opt,name=management_ip_address,json=managementIpAddress,proto3" json:"management_ip_address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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()
func (*NodeInfo) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *NodeInfo) XXX_DiscardUnknown()