node

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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) Descriptor() ([]byte, []int)

func (*NodeInfo) GetId

func (m *NodeInfo) GetId() uint32

func (*NodeInfo) GetIpAddress

func (m *NodeInfo) GetIpAddress() string

func (*NodeInfo) GetManagementIpAddress

func (m *NodeInfo) GetManagementIpAddress() string

func (*NodeInfo) GetName

func (m *NodeInfo) GetName() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL