Documentation
¶
Index ¶
- Variables
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetControlAddr() string
- func (x *Entry) GetIsdAs() uint64
- func (x *Entry) GetRendezvousAddr() string
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type LinkReply
- type LinkRequest
- func (*LinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRequest) GetIfId() uint32
- func (x *LinkRequest) GetLocalAddr() string
- func (*LinkRequest) ProtoMessage()
- func (x *LinkRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRequest) Reset()
- func (x *LinkRequest) String() string
- type ListRequest
- type ListResponse
- type PublishRequest
- type PublishResponse
Constants ¶
This section is empty.
Variables ¶
var File_proto_node_v1_directory_proto protoreflect.FileDescriptor
var File_proto_node_v1_link_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// isd_as is the publisher's ISD-AS. The directory records the ISD-AS the
// authenticated publisher's certificate names, never the claimed one.
IsdAs uint64 `protobuf:"varint,1,opt,name=isd_as,json=isdAs,proto3" json:"isd_as,omitempty"`
// control_addr is the underlay "host:port" address of the publisher's
// control service, the endpoint port on the published host.
ControlAddr string `protobuf:"bytes,2,opt,name=control_addr,json=controlAddr,proto3" json:"control_addr,omitempty"`
// rendezvous_addr is the underlay "host:port" address the publisher's
// rendezvous acceptor listens on for first contact, the fixed rendezvous
// port on the published host.
RendezvousAddr string `protobuf:"bytes,3,opt,name=rendezvous_addr,json=rendezvousAddr,proto3" json:"rendezvous_addr,omitempty"`
// contains filtered or unexported fields
}
Entry is one node's publication: everything the selection loop needs to probe the node as a candidate neighbor.
func (*Entry) Descriptor
deprecated
func (*Entry) GetControlAddr ¶
func (*Entry) GetRendezvousAddr ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type LinkReply ¶
type LinkReply struct {
// local_addr is the acceptor's link local underlay address, "host:port".
LocalAddr string `protobuf:"bytes,1,opt,name=local_addr,json=localAddr,proto3" json:"local_addr,omitempty"`
// if_id is the acceptor's interface ID of the link.
IfId uint32 `protobuf:"varint,2,opt,name=if_id,json=ifId,proto3" json:"if_id,omitempty"`
// contains filtered or unexported fields
}
LinkReply carries the acceptor's side of the link: the address and interface ID the requester sends to.
func (*LinkReply) Descriptor
deprecated
func (*LinkReply) GetLocalAddr ¶
func (*LinkReply) ProtoMessage ¶
func (*LinkReply) ProtoMessage()
func (*LinkReply) ProtoReflect ¶
func (x *LinkReply) ProtoReflect() protoreflect.Message
type LinkRequest ¶
type LinkRequest struct {
// local_addr is the requester's link local underlay address, "host:port".
LocalAddr string `protobuf:"bytes,1,opt,name=local_addr,json=localAddr,proto3" json:"local_addr,omitempty"`
// if_id is the requester's interface ID of the link.
IfId uint32 `protobuf:"varint,2,opt,name=if_id,json=ifId,proto3" json:"if_id,omitempty"`
// contains filtered or unexported fields
}
LinkRequest asks the peer to admit a direct link between the two nodes, riding the control endpoint's authenticated channel: the requester is named by its verified certificate chain, never by a claim.
func (*LinkRequest) Descriptor
deprecated
func (*LinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRequest.ProtoReflect.Descriptor instead.
func (*LinkRequest) GetIfId ¶
func (x *LinkRequest) GetIfId() uint32
func (*LinkRequest) GetLocalAddr ¶
func (x *LinkRequest) GetLocalAddr() string
func (*LinkRequest) ProtoMessage ¶
func (*LinkRequest) ProtoMessage()
func (*LinkRequest) ProtoReflect ¶
func (x *LinkRequest) ProtoReflect() protoreflect.Message
func (*LinkRequest) Reset ¶
func (x *LinkRequest) Reset()
func (*LinkRequest) String ¶
func (x *LinkRequest) String() string
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct {
// entries holds one entry per publishing node.
Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetEntries ¶
func (x *ListResponse) GetEntries() []*Entry
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type PublishRequest ¶
type PublishRequest struct {
// entry is the publisher's claimed entry; the ISD-AS comes from the
// authenticated certificate chain, the rest from the entry.
Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
// contains filtered or unexported fields
}
func (*PublishRequest) Descriptor
deprecated
func (*PublishRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.
func (*PublishRequest) GetEntry ¶
func (x *PublishRequest) GetEntry() *Entry
func (*PublishRequest) ProtoMessage ¶
func (*PublishRequest) ProtoMessage()
func (*PublishRequest) ProtoReflect ¶
func (x *PublishRequest) ProtoReflect() protoreflect.Message
func (*PublishRequest) Reset ¶
func (x *PublishRequest) Reset()
func (*PublishRequest) String ¶
func (x *PublishRequest) String() string
type PublishResponse ¶
type PublishResponse struct {
// contains filtered or unexported fields
}
func (*PublishResponse) Descriptor
deprecated
func (*PublishResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.
func (*PublishResponse) ProtoMessage ¶
func (*PublishResponse) ProtoMessage()
func (*PublishResponse) ProtoReflect ¶
func (x *PublishResponse) ProtoReflect() protoreflect.Message
func (*PublishResponse) Reset ¶
func (x *PublishResponse) Reset()
func (*PublishResponse) String ¶
func (x *PublishResponse) String() string