Documentation ¶
Index ¶
- type DnsServer
- type NnsEventServer
- type NnsServer
- func (n *NnsServer) Delete(ctx context.Context, in *pb.DeleteNodeIPRequest) (*pb.DeleteNodeIPResponse, error)
- func (n *NnsServer) Get(c context.Context, req *pb.GetNodeIPRequest) (*pb.GetNodeIPResponse, error)
- func (n *NnsServer) GetMesh(c context.Context, req *pb.GetMeshIPRequest) (*pb.GetMeshIPResponse, error)
- func (n *NnsServer) GetNodeIPMapList(ctx context.Context, in *pb.NodeIPMapListRequest) (*pb.NodeIPMapListResponse, error)
- func (n *NnsServer) GetNodeOrgMapList(ctx context.Context, in *pb.NodeOrgMapListRequest) (*pb.NodeOrgMapListResponse, error)
- func (n *NnsServer) List(ctx context.Context, in *pb.ListNodeIPRequest) (*pb.ListNodeIPResponse, error)
- func (n *NnsServer) Set(c context.Context, req *pb.SetNodeIPRequest) (*pb.SetNodeIPResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsServer ¶
type DnsServer struct { pb.UnimplementedDnsServiceServer // contains filtered or unexported fields }
type NnsEventServer ¶
type NnsEventServer struct { Nns *NnsServer NodeClient creg.NodeClient Org string epb.UnimplementedEventNotificationServiceServer // contains filtered or unexported fields }
func NewNnsEventServer ¶
func NewNnsEventServer(orgName string, c creg.NodeClient, s *NnsServer, o string) *NnsEventServer
func (*NnsEventServer) EventNotification ¶
func (l *NnsEventServer) EventNotification(ctx context.Context, e *epb.Event) (*epb.EventResponse, error)
type NnsServer ¶
type NnsServer struct { pb.UnimplementedNnsServer // contains filtered or unexported fields }
func NewNnsServer ¶
func (*NnsServer) Delete ¶
func (n *NnsServer) Delete(ctx context.Context, in *pb.DeleteNodeIPRequest) (*pb.DeleteNodeIPResponse, error)
func (*NnsServer) Get ¶
func (n *NnsServer) Get(c context.Context, req *pb.GetNodeIPRequest) (*pb.GetNodeIPResponse, error)
func (*NnsServer) GetMesh ¶
func (n *NnsServer) GetMesh(c context.Context, req *pb.GetMeshIPRequest) (*pb.GetMeshIPResponse, error)
func (*NnsServer) GetNodeIPMapList ¶
func (n *NnsServer) GetNodeIPMapList(ctx context.Context, in *pb.NodeIPMapListRequest) (*pb.NodeIPMapListResponse, error)
func (*NnsServer) GetNodeOrgMapList ¶
func (n *NnsServer) GetNodeOrgMapList(ctx context.Context, in *pb.NodeOrgMapListRequest) (*pb.NodeOrgMapListResponse, error)
func (*NnsServer) List ¶
func (n *NnsServer) List(ctx context.Context, in *pb.ListNodeIPRequest) (*pb.ListNodeIPResponse, error)
func (*NnsServer) Set ¶
func (n *NnsServer) Set(c context.Context, req *pb.SetNodeIPRequest) (*pb.SetNodeIPResponse, error)
Click to show internal directories.
Click to hide internal directories.