Documentation ¶
Index ¶
- func RegisterClusterInfoServer(s *grpc.Server, srv ClusterInfoServer)
- type ClusterInfoClient
- type ClusterInfoServer
- type NodeIPConfiguration
- func (*NodeIPConfiguration) Descriptor() ([]byte, []int)
- func (m *NodeIPConfiguration) GetExternalIP() string
- func (m *NodeIPConfiguration) GetInternalIP() string
- func (m *NodeIPConfiguration) GetNodeName() string
- func (*NodeIPConfiguration) ProtoMessage()
- func (m *NodeIPConfiguration) Reset()
- func (m *NodeIPConfiguration) String() string
- func (m *NodeIPConfiguration) XXX_DiscardUnknown()
- func (m *NodeIPConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeIPConfiguration) XXX_Merge(src proto.Message)
- func (m *NodeIPConfiguration) XXX_Size() int
- func (m *NodeIPConfiguration) XXX_Unmarshal(b []byte) error
- type UnimplementedClusterInfoServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterClusterInfoServer ¶
func RegisterClusterInfoServer(s *grpc.Server, srv ClusterInfoServer)
Types ¶
type ClusterInfoClient ¶
type ClusterInfoClient interface {
GetNodeIPConfiguration(ctx context.Context, in *NodeIPConfiguration, opts ...grpc.CallOption) (*NodeIPConfiguration, error)
}
ClusterInfoClient is the client API for ClusterInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterInfoClient ¶
func NewClusterInfoClient(cc grpc.ClientConnInterface) ClusterInfoClient
type ClusterInfoServer ¶
type ClusterInfoServer interface {
GetNodeIPConfiguration(context.Context, *NodeIPConfiguration) (*NodeIPConfiguration, error)
}
ClusterInfoServer is the server API for ClusterInfo service.
type NodeIPConfiguration ¶
type NodeIPConfiguration struct { NodeName string `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName,omitempty"` InternalIP string `protobuf:"bytes,2,opt,name=internalIP,proto3" json:"internalIP,omitempty"` ExternalIP string `protobuf:"bytes,3,opt,name=externalIP,proto3" json:"externalIP,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeIPConfiguration) Descriptor ¶
func (*NodeIPConfiguration) Descriptor() ([]byte, []int)
func (*NodeIPConfiguration) GetExternalIP ¶
func (m *NodeIPConfiguration) GetExternalIP() string
func (*NodeIPConfiguration) GetInternalIP ¶
func (m *NodeIPConfiguration) GetInternalIP() string
func (*NodeIPConfiguration) GetNodeName ¶
func (m *NodeIPConfiguration) GetNodeName() string
func (*NodeIPConfiguration) ProtoMessage ¶
func (*NodeIPConfiguration) ProtoMessage()
func (*NodeIPConfiguration) Reset ¶
func (m *NodeIPConfiguration) Reset()
func (*NodeIPConfiguration) String ¶
func (m *NodeIPConfiguration) String() string
func (*NodeIPConfiguration) XXX_DiscardUnknown ¶
func (m *NodeIPConfiguration) XXX_DiscardUnknown()
func (*NodeIPConfiguration) XXX_Marshal ¶
func (m *NodeIPConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeIPConfiguration) XXX_Merge ¶
func (m *NodeIPConfiguration) XXX_Merge(src proto.Message)
func (*NodeIPConfiguration) XXX_Size ¶
func (m *NodeIPConfiguration) XXX_Size() int
func (*NodeIPConfiguration) XXX_Unmarshal ¶
func (m *NodeIPConfiguration) XXX_Unmarshal(b []byte) error
type UnimplementedClusterInfoServer ¶
type UnimplementedClusterInfoServer struct { }
UnimplementedClusterInfoServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterInfoServer) GetNodeIPConfiguration ¶
func (*UnimplementedClusterInfoServer) GetNodeIPConfiguration(ctx context.Context, req *NodeIPConfiguration) (*NodeIPConfiguration, error)
Click to show internal directories.
Click to hide internal directories.