Documentation ¶
Index ¶
- func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
- type RegisterControllerReply
- func (*RegisterControllerReply) Descriptor() ([]byte, []int)
- func (*RegisterControllerReply) ProtoMessage()
- func (m *RegisterControllerReply) Reset()
- func (m *RegisterControllerReply) String() string
- func (m *RegisterControllerReply) XXX_DiscardUnknown()
- func (m *RegisterControllerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterControllerReply) XXX_Merge(src proto.Message)
- func (m *RegisterControllerReply) XXX_Size() int
- func (m *RegisterControllerReply) XXX_Unmarshal(b []byte) error
- type RegisterControllerRequest
- func (*RegisterControllerRequest) Descriptor() ([]byte, []int)
- func (m *RegisterControllerRequest) GetEndpoint() string
- func (m *RegisterControllerRequest) GetNodeId() string
- func (*RegisterControllerRequest) ProtoMessage()
- func (m *RegisterControllerRequest) Reset()
- func (m *RegisterControllerRequest) String() string
- func (m *RegisterControllerRequest) XXX_DiscardUnknown()
- func (m *RegisterControllerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterControllerRequest) XXX_Merge(src proto.Message)
- func (m *RegisterControllerRequest) XXX_Size() int
- func (m *RegisterControllerRequest) XXX_Unmarshal(b []byte) error
- type RegistryClient
- type RegistryServer
- type UnregisterControllerReply
- func (*UnregisterControllerReply) Descriptor() ([]byte, []int)
- func (*UnregisterControllerReply) ProtoMessage()
- func (m *UnregisterControllerReply) Reset()
- func (m *UnregisterControllerReply) String() string
- func (m *UnregisterControllerReply) XXX_DiscardUnknown()
- func (m *UnregisterControllerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterControllerReply) XXX_Merge(src proto.Message)
- func (m *UnregisterControllerReply) XXX_Size() int
- func (m *UnregisterControllerReply) XXX_Unmarshal(b []byte) error
- type UnregisterControllerRequest
- func (*UnregisterControllerRequest) Descriptor() ([]byte, []int)
- func (m *UnregisterControllerRequest) GetNodeId() string
- func (*UnregisterControllerRequest) ProtoMessage()
- func (m *UnregisterControllerRequest) Reset()
- func (m *UnregisterControllerRequest) String() string
- func (m *UnregisterControllerRequest) XXX_DiscardUnknown()
- func (m *UnregisterControllerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterControllerRequest) XXX_Merge(src proto.Message)
- func (m *UnregisterControllerRequest) XXX_Size() int
- func (m *UnregisterControllerRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRegistryServer ¶
func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
Types ¶
type RegisterControllerReply ¶
type RegisterControllerReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterControllerReply) Descriptor ¶
func (*RegisterControllerReply) Descriptor() ([]byte, []int)
func (*RegisterControllerReply) ProtoMessage ¶
func (*RegisterControllerReply) ProtoMessage()
func (*RegisterControllerReply) Reset ¶
func (m *RegisterControllerReply) Reset()
func (*RegisterControllerReply) String ¶
func (m *RegisterControllerReply) String() string
func (*RegisterControllerReply) XXX_DiscardUnknown ¶
func (m *RegisterControllerReply) XXX_DiscardUnknown()
func (*RegisterControllerReply) XXX_Marshal ¶
func (m *RegisterControllerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterControllerReply) XXX_Merge ¶
func (m *RegisterControllerReply) XXX_Merge(src proto.Message)
func (*RegisterControllerReply) XXX_Size ¶
func (m *RegisterControllerReply) XXX_Size() int
func (*RegisterControllerReply) XXX_Unmarshal ¶
func (m *RegisterControllerReply) XXX_Unmarshal(b []byte) error
type RegisterControllerRequest ¶
type RegisterControllerRequest struct { // unique node id, usually id of the compute node in the cluster // which has the nvdimm installed NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Node controller's address that can be used for grpc.Dial to // connect to the controller Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterControllerRequest) Descriptor ¶
func (*RegisterControllerRequest) Descriptor() ([]byte, []int)
func (*RegisterControllerRequest) GetEndpoint ¶
func (m *RegisterControllerRequest) GetEndpoint() string
func (*RegisterControllerRequest) GetNodeId ¶
func (m *RegisterControllerRequest) GetNodeId() string
func (*RegisterControllerRequest) ProtoMessage ¶
func (*RegisterControllerRequest) ProtoMessage()
func (*RegisterControllerRequest) Reset ¶
func (m *RegisterControllerRequest) Reset()
func (*RegisterControllerRequest) String ¶
func (m *RegisterControllerRequest) String() string
func (*RegisterControllerRequest) XXX_DiscardUnknown ¶
func (m *RegisterControllerRequest) XXX_DiscardUnknown()
func (*RegisterControllerRequest) XXX_Marshal ¶
func (m *RegisterControllerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterControllerRequest) XXX_Merge ¶
func (m *RegisterControllerRequest) XXX_Merge(src proto.Message)
func (*RegisterControllerRequest) XXX_Size ¶
func (m *RegisterControllerRequest) XXX_Size() int
func (*RegisterControllerRequest) XXX_Unmarshal ¶
func (m *RegisterControllerRequest) XXX_Unmarshal(b []byte) error
type RegistryClient ¶
type RegistryClient interface { RegisterController(ctx context.Context, in *RegisterControllerRequest, opts ...grpc.CallOption) (*RegisterControllerReply, error) UnregisterController(ctx context.Context, in *UnregisterControllerRequest, opts ...grpc.CallOption) (*UnregisterControllerReply, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc *grpc.ClientConn) RegistryClient
type RegistryServer ¶
type RegistryServer interface { RegisterController(context.Context, *RegisterControllerRequest) (*RegisterControllerReply, error) UnregisterController(context.Context, *UnregisterControllerRequest) (*UnregisterControllerReply, error) }
RegistryServer is the server API for Registry service.
type UnregisterControllerReply ¶
type UnregisterControllerReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterControllerReply) Descriptor ¶
func (*UnregisterControllerReply) Descriptor() ([]byte, []int)
func (*UnregisterControllerReply) ProtoMessage ¶
func (*UnregisterControllerReply) ProtoMessage()
func (*UnregisterControllerReply) Reset ¶
func (m *UnregisterControllerReply) Reset()
func (*UnregisterControllerReply) String ¶
func (m *UnregisterControllerReply) String() string
func (*UnregisterControllerReply) XXX_DiscardUnknown ¶
func (m *UnregisterControllerReply) XXX_DiscardUnknown()
func (*UnregisterControllerReply) XXX_Marshal ¶
func (m *UnregisterControllerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterControllerReply) XXX_Merge ¶
func (m *UnregisterControllerReply) XXX_Merge(src proto.Message)
func (*UnregisterControllerReply) XXX_Size ¶
func (m *UnregisterControllerReply) XXX_Size() int
func (*UnregisterControllerReply) XXX_Unmarshal ¶
func (m *UnregisterControllerReply) XXX_Unmarshal(b []byte) error
type UnregisterControllerRequest ¶
type UnregisterControllerRequest struct { // Id of the node controller to unregister from ControllerRegistry NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterControllerRequest) Descriptor ¶
func (*UnregisterControllerRequest) Descriptor() ([]byte, []int)
func (*UnregisterControllerRequest) GetNodeId ¶
func (m *UnregisterControllerRequest) GetNodeId() string
func (*UnregisterControllerRequest) ProtoMessage ¶
func (*UnregisterControllerRequest) ProtoMessage()
func (*UnregisterControllerRequest) Reset ¶
func (m *UnregisterControllerRequest) Reset()
func (*UnregisterControllerRequest) String ¶
func (m *UnregisterControllerRequest) String() string
func (*UnregisterControllerRequest) XXX_DiscardUnknown ¶
func (m *UnregisterControllerRequest) XXX_DiscardUnknown()
func (*UnregisterControllerRequest) XXX_Marshal ¶
func (m *UnregisterControllerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterControllerRequest) XXX_Merge ¶
func (m *UnregisterControllerRequest) XXX_Merge(src proto.Message)
func (*UnregisterControllerRequest) XXX_Size ¶
func (m *UnregisterControllerRequest) XXX_Size() int
func (*UnregisterControllerRequest) XXX_Unmarshal ¶
func (m *UnregisterControllerRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.