nodev1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

View Source
var File_proto_node_v1_directory_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetControlAddr

func (x *Entry) GetControlAddr() string

func (*Entry) GetIsdAs

func (x *Entry) GetIsdAs() uint64

func (*Entry) GetRendezvousAddr

func (x *Entry) GetRendezvousAddr() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

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

Deprecated: Use LinkReply.ProtoReflect.Descriptor instead.

func (*LinkReply) GetIfId

func (x *LinkReply) GetIfId() uint32

func (*LinkReply) GetLocalAddr

func (x *LinkReply) GetLocalAddr() string

func (*LinkReply) ProtoMessage

func (*LinkReply) ProtoMessage()

func (*LinkReply) ProtoReflect

func (x *LinkReply) ProtoReflect() protoreflect.Message

func (*LinkReply) Reset

func (x *LinkReply) Reset()

func (*LinkReply) String

func (x *LinkReply) String() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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