common

package
v1.0.73 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PeerType_name = map[int32]string{
		0: "PEER_TYPE_UNKNOWN",
		1: "PEER_TYPE_DEVICE",
		2: "PEER_TYPE_CONNECTOR",
	}
	PeerType_value = map[string]int32{
		"PEER_TYPE_UNKNOWN":   0,
		"PEER_TYPE_DEVICE":    1,
		"PEER_TYPE_CONNECTOR": 2,
	}
)

Enum value maps for PeerType.

View Source
var (
	DisconnectionReason_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVER_SHUTDOWN",
		2: "NEWER_CONNECTION",
	}
	DisconnectionReason_value = map[string]int32{
		"UNKNOWN":          0,
		"SERVER_SHUTDOWN":  1,
		"NEWER_CONNECTION": 2,
	}
)

Enum value maps for DisconnectionReason.

View Source
var File_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DisconnectMessage

type DisconnectMessage struct {
	Reason DisconnectionReason `protobuf:"varint,1,opt,name=reason,proto3,enum=border0.common.v1.DisconnectionReason" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectMessage) Descriptor deprecated

func (*DisconnectMessage) Descriptor() ([]byte, []int)

Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead.

func (*DisconnectMessage) GetReason

func (x *DisconnectMessage) GetReason() DisconnectionReason

func (*DisconnectMessage) ProtoMessage

func (*DisconnectMessage) ProtoMessage()

func (*DisconnectMessage) ProtoReflect

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

func (*DisconnectMessage) Reset

func (x *DisconnectMessage) Reset()

func (*DisconnectMessage) String

func (x *DisconnectMessage) String() string

type DisconnectionReason

type DisconnectionReason int32
const (
	DisconnectionReason_UNKNOWN          DisconnectionReason = 0
	DisconnectionReason_SERVER_SHUTDOWN  DisconnectionReason = 1
	DisconnectionReason_NEWER_CONNECTION DisconnectionReason = 2
)

func (DisconnectionReason) Descriptor

func (DisconnectionReason) Enum

func (DisconnectionReason) EnumDescriptor deprecated

func (DisconnectionReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use DisconnectionReason.Descriptor instead.

func (DisconnectionReason) Number

func (DisconnectionReason) String

func (x DisconnectionReason) String() string

func (DisconnectionReason) Type

type DiscoveryDetailsMessage

type DiscoveryDetailsMessage struct {
	Discoverable       bool   `protobuf:"varint,1,opt,name=discoverable,proto3" json:"discoverable,omitempty"`                                        // whether the peer should be returned along with the networks it's in
	EndpointPublicUdp4 string `protobuf:"bytes,2,opt,name=endpoint_public_udp4,json=endpointPublicUdp4,proto3" json:"endpoint_public_udp4,omitempty"` // the endpoint (IPv4 + port) to send packets to for the peer
	EndpointPublicUdp6 string `protobuf:"bytes,3,opt,name=endpoint_public_udp6,json=endpointPublicUdp6,proto3" json:"endpoint_public_udp6,omitempty"` // the endpoint (IPv6 + port) to send packets to for the peer
	PublicKey          string `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`                              // the public key of the peer, only used in connector
	// contains filtered or unexported fields
}

func (*DiscoveryDetailsMessage) Descriptor deprecated

func (*DiscoveryDetailsMessage) Descriptor() ([]byte, []int)

Deprecated: Use DiscoveryDetailsMessage.ProtoReflect.Descriptor instead.

func (*DiscoveryDetailsMessage) GetDiscoverable

func (x *DiscoveryDetailsMessage) GetDiscoverable() bool

func (*DiscoveryDetailsMessage) GetEndpointPublicUdp4

func (x *DiscoveryDetailsMessage) GetEndpointPublicUdp4() string

func (*DiscoveryDetailsMessage) GetEndpointPublicUdp6

func (x *DiscoveryDetailsMessage) GetEndpointPublicUdp6() string

func (*DiscoveryDetailsMessage) GetPublicKey

func (x *DiscoveryDetailsMessage) GetPublicKey() string

func (*DiscoveryDetailsMessage) ProtoMessage

func (*DiscoveryDetailsMessage) ProtoMessage()

func (*DiscoveryDetailsMessage) ProtoReflect

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

func (*DiscoveryDetailsMessage) Reset

func (x *DiscoveryDetailsMessage) Reset()

func (*DiscoveryDetailsMessage) String

func (x *DiscoveryDetailsMessage) String() string

type HeartbeatMessage

type HeartbeatMessage struct {
	// contains filtered or unexported fields
}

func (*HeartbeatMessage) Descriptor deprecated

func (*HeartbeatMessage) Descriptor() ([]byte, []int)

Deprecated: Use HeartbeatMessage.ProtoReflect.Descriptor instead.

func (*HeartbeatMessage) ProtoMessage

func (*HeartbeatMessage) ProtoMessage()

func (*HeartbeatMessage) ProtoReflect

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

func (*HeartbeatMessage) Reset

func (x *HeartbeatMessage) Reset()

func (*HeartbeatMessage) String

func (x *HeartbeatMessage) String() string

type NetworkDeviceStatsMessage added in v1.0.66

type NetworkDeviceStatsMessage struct {
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BytesIn    uint64                 `protobuf:"varint,2,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`
	BytesOut   uint64                 `protobuf:"varint,3,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"`
	PacketsIn  uint64                 `protobuf:"varint,4,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"`
	PacketsOut uint64                 `protobuf:"varint,5,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkDeviceStatsMessage) Descriptor deprecated added in v1.0.66

func (*NetworkDeviceStatsMessage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkDeviceStatsMessage.ProtoReflect.Descriptor instead.

func (*NetworkDeviceStatsMessage) GetBytesIn added in v1.0.66

func (x *NetworkDeviceStatsMessage) GetBytesIn() uint64

func (*NetworkDeviceStatsMessage) GetBytesOut added in v1.0.66

func (x *NetworkDeviceStatsMessage) GetBytesOut() uint64

func (*NetworkDeviceStatsMessage) GetPacketsIn added in v1.0.66

func (x *NetworkDeviceStatsMessage) GetPacketsIn() uint64

func (*NetworkDeviceStatsMessage) GetPacketsOut added in v1.0.66

func (x *NetworkDeviceStatsMessage) GetPacketsOut() uint64

func (*NetworkDeviceStatsMessage) GetTimestamp added in v1.0.66

func (x *NetworkDeviceStatsMessage) GetTimestamp() *timestamppb.Timestamp

func (*NetworkDeviceStatsMessage) ProtoMessage added in v1.0.66

func (*NetworkDeviceStatsMessage) ProtoMessage()

func (*NetworkDeviceStatsMessage) ProtoReflect added in v1.0.66

func (*NetworkDeviceStatsMessage) Reset added in v1.0.66

func (x *NetworkDeviceStatsMessage) Reset()

func (*NetworkDeviceStatsMessage) String added in v1.0.66

func (x *NetworkDeviceStatsMessage) String() string

type NetworkStateMessage

type NetworkStateMessage struct {
	NetworkId              string           `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	NetworkCidrV4          string           `protobuf:"bytes,2,opt,name=network_cidr_v4,json=networkCidrV4,proto3" json:"network_cidr_v4,omitempty"`
	NetworkCidrV6          string           `protobuf:"bytes,3,opt,name=network_cidr_v6,json=networkCidrV6,proto3" json:"network_cidr_v6,omitempty"`
	SelfIpv4               string           `protobuf:"bytes,4,opt,name=self_ipv4,json=selfIpv4,proto3" json:"self_ipv4,omitempty"`
	SelfIpv6               string           `protobuf:"bytes,5,opt,name=self_ipv6,json=selfIpv6,proto3" json:"self_ipv6,omitempty"`
	OnlinePeers            []*WireGuardPeer `protobuf:"bytes,6,rep,name=online_peers,json=onlinePeers,proto3" json:"online_peers,omitempty"`
	NetworkResourcesCidrV4 string           `` /* 131-byte string literal not displayed */
	NetworkResourcesCidrV6 string           `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NetworkStateMessage) Descriptor deprecated

func (*NetworkStateMessage) Descriptor() ([]byte, []int)

Deprecated: Use NetworkStateMessage.ProtoReflect.Descriptor instead.

func (*NetworkStateMessage) GetNetworkCidrV4

func (x *NetworkStateMessage) GetNetworkCidrV4() string

func (*NetworkStateMessage) GetNetworkCidrV6

func (x *NetworkStateMessage) GetNetworkCidrV6() string

func (*NetworkStateMessage) GetNetworkId

func (x *NetworkStateMessage) GetNetworkId() string

func (*NetworkStateMessage) GetNetworkResourcesCidrV4 added in v1.0.53

func (x *NetworkStateMessage) GetNetworkResourcesCidrV4() string

func (*NetworkStateMessage) GetNetworkResourcesCidrV6 added in v1.0.53

func (x *NetworkStateMessage) GetNetworkResourcesCidrV6() string

func (*NetworkStateMessage) GetOnlinePeers

func (x *NetworkStateMessage) GetOnlinePeers() []*WireGuardPeer

func (*NetworkStateMessage) GetSelfIpv4

func (x *NetworkStateMessage) GetSelfIpv4() string

func (*NetworkStateMessage) GetSelfIpv6

func (x *NetworkStateMessage) GetSelfIpv6() string

func (*NetworkStateMessage) ProtoMessage

func (*NetworkStateMessage) ProtoMessage()

func (*NetworkStateMessage) ProtoReflect

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

func (*NetworkStateMessage) Reset

func (x *NetworkStateMessage) Reset()

func (*NetworkStateMessage) String

func (x *NetworkStateMessage) String() string

type PeerOfflineMessage

type PeerOfflineMessage struct {
	NetworkId     string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	PeerPublicKey string `protobuf:"bytes,2,opt,name=peer_public_key,json=peerPublicKey,proto3" json:"peer_public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerOfflineMessage) Descriptor deprecated

func (*PeerOfflineMessage) Descriptor() ([]byte, []int)

Deprecated: Use PeerOfflineMessage.ProtoReflect.Descriptor instead.

func (*PeerOfflineMessage) GetNetworkId

func (x *PeerOfflineMessage) GetNetworkId() string

func (*PeerOfflineMessage) GetPeerPublicKey

func (x *PeerOfflineMessage) GetPeerPublicKey() string

func (*PeerOfflineMessage) ProtoMessage

func (*PeerOfflineMessage) ProtoMessage()

func (*PeerOfflineMessage) ProtoReflect

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

func (*PeerOfflineMessage) Reset

func (x *PeerOfflineMessage) Reset()

func (*PeerOfflineMessage) String

func (x *PeerOfflineMessage) String() string

type PeerOnlineMessage

type PeerOnlineMessage struct {
	NetworkId string         `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	Peer      *WireGuardPeer `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerOnlineMessage) Descriptor deprecated

func (*PeerOnlineMessage) Descriptor() ([]byte, []int)

Deprecated: Use PeerOnlineMessage.ProtoReflect.Descriptor instead.

func (*PeerOnlineMessage) GetNetworkId

func (x *PeerOnlineMessage) GetNetworkId() string

func (*PeerOnlineMessage) GetPeer

func (x *PeerOnlineMessage) GetPeer() *WireGuardPeer

func (*PeerOnlineMessage) ProtoMessage

func (*PeerOnlineMessage) ProtoMessage()

func (*PeerOnlineMessage) ProtoReflect

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

func (*PeerOnlineMessage) Reset

func (x *PeerOnlineMessage) Reset()

func (*PeerOnlineMessage) String

func (x *PeerOnlineMessage) String() string

type PeerType added in v1.0.54

type PeerType int32
const (
	PeerType_PEER_TYPE_UNKNOWN   PeerType = 0
	PeerType_PEER_TYPE_DEVICE    PeerType = 1
	PeerType_PEER_TYPE_CONNECTOR PeerType = 2
)

func (PeerType) Descriptor added in v1.0.54

func (PeerType) Descriptor() protoreflect.EnumDescriptor

func (PeerType) Enum added in v1.0.54

func (x PeerType) Enum() *PeerType

func (PeerType) EnumDescriptor deprecated added in v1.0.54

func (PeerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PeerType.Descriptor instead.

func (PeerType) Number added in v1.0.54

func (x PeerType) Number() protoreflect.EnumNumber

func (PeerType) String added in v1.0.54

func (x PeerType) String() string

func (PeerType) Type added in v1.0.54

type Service added in v1.0.54

type Service struct {
	Name                string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type                string            `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Ipv4                string            `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	Ipv6                string            `protobuf:"bytes,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	SubnetRoutes        []string          `protobuf:"bytes,5,rep,name=subnet_routes,json=subnetRoutes,proto3" json:"subnet_routes,omitempty"` // applicable only to services of type SUBNET_ROUTES
	DnsName             string            `protobuf:"bytes,6,opt,name=dns_name,json=dnsName,proto3" json:"dns_name,omitempty"`
	UpstreamType        string            `protobuf:"bytes,7,opt,name=upstream_type,json=upstreamType,proto3" json:"upstream_type,omitempty"`
	UpstreamPort        uint32            `protobuf:"varint,8,opt,name=upstream_port,json=upstreamPort,proto3" json:"upstream_port,omitempty"`
	HasUpstreamUsername bool              `protobuf:"varint,9,opt,name=has_upstream_username,json=hasUpstreamUsername,proto3" json:"has_upstream_username,omitempty"`
	UpstreamSshType     string            `protobuf:"bytes,10,opt,name=upstream_ssh_type,json=upstreamSshType,proto3" json:"upstream_ssh_type,omitempty"`
	Tags                map[string]string `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated added in v1.0.54

func (*Service) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetDnsName added in v1.0.69

func (x *Service) GetDnsName() string

func (*Service) GetHasUpstreamUsername added in v1.0.73

func (x *Service) GetHasUpstreamUsername() bool

func (*Service) GetIpv4 added in v1.0.54

func (x *Service) GetIpv4() string

func (*Service) GetIpv6 added in v1.0.54

func (x *Service) GetIpv6() string

func (*Service) GetName added in v1.0.54

func (x *Service) GetName() string

func (*Service) GetSubnetRoutes added in v1.0.54

func (x *Service) GetSubnetRoutes() []string

func (*Service) GetTags added in v1.0.73

func (x *Service) GetTags() map[string]string

func (*Service) GetType added in v1.0.54

func (x *Service) GetType() string

func (*Service) GetUpstreamPort added in v1.0.73

func (x *Service) GetUpstreamPort() uint32

func (*Service) GetUpstreamSshType added in v1.0.73

func (x *Service) GetUpstreamSshType() string

func (*Service) GetUpstreamType added in v1.0.69

func (x *Service) GetUpstreamType() string

func (*Service) ProtoMessage added in v1.0.54

func (*Service) ProtoMessage()

func (*Service) ProtoReflect added in v1.0.54

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

func (*Service) Reset added in v1.0.54

func (x *Service) Reset()

func (*Service) String added in v1.0.54

func (x *Service) String() string

type SocketStatsMessage added in v1.0.72

type SocketStatsMessage struct {
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	BytesIn    uint64                 `protobuf:"varint,2,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`
	BytesOut   uint64                 `protobuf:"varint,3,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"`
	PacketsIn  uint64                 `protobuf:"varint,4,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"`
	PacketsOut uint64                 `protobuf:"varint,5,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"`
	SocketId   string                 `protobuf:"bytes,6,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SocketStatsMessage) Descriptor deprecated added in v1.0.72

func (*SocketStatsMessage) Descriptor() ([]byte, []int)

Deprecated: Use SocketStatsMessage.ProtoReflect.Descriptor instead.

func (*SocketStatsMessage) GetBytesIn added in v1.0.72

func (x *SocketStatsMessage) GetBytesIn() uint64

func (*SocketStatsMessage) GetBytesOut added in v1.0.72

func (x *SocketStatsMessage) GetBytesOut() uint64

func (*SocketStatsMessage) GetPacketsIn added in v1.0.72

func (x *SocketStatsMessage) GetPacketsIn() uint64

func (*SocketStatsMessage) GetPacketsOut added in v1.0.72

func (x *SocketStatsMessage) GetPacketsOut() uint64

func (*SocketStatsMessage) GetSocketId added in v1.0.72

func (x *SocketStatsMessage) GetSocketId() string

func (*SocketStatsMessage) GetTimestamp added in v1.0.72

func (x *SocketStatsMessage) GetTimestamp() *timestamppb.Timestamp

func (*SocketStatsMessage) ProtoMessage added in v1.0.72

func (*SocketStatsMessage) ProtoMessage()

func (*SocketStatsMessage) ProtoReflect added in v1.0.72

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

func (*SocketStatsMessage) Reset added in v1.0.72

func (x *SocketStatsMessage) Reset()

func (*SocketStatsMessage) String added in v1.0.72

func (x *SocketStatsMessage) String() string

type SocketsStatsMessage added in v1.0.72

type SocketsStatsMessage struct {
	SocketStats []*SocketStatsMessage `protobuf:"bytes,1,rep,name=socket_stats,json=socketStats,proto3" json:"socket_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*SocketsStatsMessage) Descriptor deprecated added in v1.0.72

func (*SocketsStatsMessage) Descriptor() ([]byte, []int)

Deprecated: Use SocketsStatsMessage.ProtoReflect.Descriptor instead.

func (*SocketsStatsMessage) GetSocketStats added in v1.0.72

func (x *SocketsStatsMessage) GetSocketStats() []*SocketStatsMessage

func (*SocketsStatsMessage) ProtoMessage added in v1.0.72

func (*SocketsStatsMessage) ProtoMessage()

func (*SocketsStatsMessage) ProtoReflect added in v1.0.72

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

func (*SocketsStatsMessage) Reset added in v1.0.72

func (x *SocketsStatsMessage) Reset()

func (*SocketsStatsMessage) String added in v1.0.72

func (x *SocketsStatsMessage) String() string

type StatsMessage added in v1.0.66

type StatsMessage struct {

	// Types that are assignable to StatsMessageType:
	//
	//	*StatsMessage_NetworkDeviceStats
	//	*StatsMessage_SocketsStats
	StatsMessageType isStatsMessage_StatsMessageType `protobuf_oneof:"StatsMessageType"`
	// contains filtered or unexported fields
}

func (*StatsMessage) Descriptor deprecated added in v1.0.66

func (*StatsMessage) Descriptor() ([]byte, []int)

Deprecated: Use StatsMessage.ProtoReflect.Descriptor instead.

func (*StatsMessage) GetNetworkDeviceStats added in v1.0.66

func (x *StatsMessage) GetNetworkDeviceStats() *NetworkDeviceStatsMessage

func (*StatsMessage) GetSocketsStats added in v1.0.72

func (x *StatsMessage) GetSocketsStats() *SocketsStatsMessage

func (*StatsMessage) GetStatsMessageType added in v1.0.67

func (m *StatsMessage) GetStatsMessageType() isStatsMessage_StatsMessageType

func (*StatsMessage) ProtoMessage added in v1.0.66

func (*StatsMessage) ProtoMessage()

func (*StatsMessage) ProtoReflect added in v1.0.66

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

func (*StatsMessage) Reset added in v1.0.66

func (x *StatsMessage) Reset()

func (*StatsMessage) String added in v1.0.66

func (x *StatsMessage) String() string

type StatsMessage_NetworkDeviceStats added in v1.0.66

type StatsMessage_NetworkDeviceStats struct {
	NetworkDeviceStats *NetworkDeviceStatsMessage `protobuf:"bytes,1,opt,name=network_device_stats,json=networkDeviceStats,proto3,oneof"`
}

type StatsMessage_SocketsStats added in v1.0.72

type StatsMessage_SocketsStats struct {
	SocketsStats *SocketsStatsMessage `protobuf:"bytes,2,opt,name=sockets_stats,json=socketsStats,proto3,oneof"`
}

type WireGuardPeer

type WireGuardPeer struct {
	PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // the public key of the peer, used for identification and encryption
	Ipv4      string `protobuf:"bytes,2,opt,name=ipv4,proto3" json:"ipv4,omitempty"`                            // the peer's (private) IPv4 address in the WireGuard network
	Ipv6      string `protobuf:"bytes,3,opt,name=ipv6,proto3" json:"ipv6,omitempty"`                            // the peer's (private) IPv6 address in the WireGuard network
	// Deprecated: Marked as deprecated in messages.proto.
	AllowedIps                         []string `protobuf:"bytes,4,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"` // list of routes (CIDRs) to be routed through this peer (most peers will just have their own IP/32). (this field is now deprecated in favor of building the allowed_ips list from ipv4 + ipv6 + service ips + subnet routes)
	PersistentKeepaliveIntervalSeconds uint32   ``                                                                                            // the interval for sending keepalive packets (0 means disabled)
	/* 168-byte string literal not displayed */
	PublicUdp4Endpoint string     `protobuf:"bytes,6,opt,name=public_udp4_endpoint,json=publicUdp4Endpoint,proto3" json:"public_udp4_endpoint,omitempty"` // endpoint for UDP peer-to-peer communication over IPv4 (public IPv4 + port as seen from the Internet)
	PublicUdp6Endpoint string     `protobuf:"bytes,7,opt,name=public_udp6_endpoint,json=publicUdp6Endpoint,proto3" json:"public_udp6_endpoint,omitempty"` // endpoint for UDP peer-to-peer communication over IPv6 (public IPv6 + port as seen from the Internet)
	Type               PeerType   `protobuf:"varint,8,opt,name=type,proto3,enum=border0.common.v1.PeerType" json:"type,omitempty"`                        // client or connector
	Services           []*Service `protobuf:"bytes,9,rep,name=services,proto3" json:"services,omitempty"`                                                 // applicable only when PeerType == PEER_TYPE_CONNECTOR
	Name               string     `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`                                                        // device (client or connector) name
	// contains filtered or unexported fields
}

func (*WireGuardPeer) Descriptor deprecated

func (*WireGuardPeer) Descriptor() ([]byte, []int)

Deprecated: Use WireGuardPeer.ProtoReflect.Descriptor instead.

func (*WireGuardPeer) GetAllowedIps deprecated

func (x *WireGuardPeer) GetAllowedIps() []string

Deprecated: Marked as deprecated in messages.proto.

func (*WireGuardPeer) GetIpv4

func (x *WireGuardPeer) GetIpv4() string

func (*WireGuardPeer) GetIpv6

func (x *WireGuardPeer) GetIpv6() string

func (*WireGuardPeer) GetName added in v1.0.57

func (x *WireGuardPeer) GetName() string

func (*WireGuardPeer) GetPersistentKeepaliveIntervalSeconds

func (x *WireGuardPeer) GetPersistentKeepaliveIntervalSeconds() uint32

func (*WireGuardPeer) GetPublicKey

func (x *WireGuardPeer) GetPublicKey() string

func (*WireGuardPeer) GetPublicUdp4Endpoint

func (x *WireGuardPeer) GetPublicUdp4Endpoint() string

func (*WireGuardPeer) GetPublicUdp6Endpoint

func (x *WireGuardPeer) GetPublicUdp6Endpoint() string

func (*WireGuardPeer) GetServices added in v1.0.54

func (x *WireGuardPeer) GetServices() []*Service

func (*WireGuardPeer) GetType added in v1.0.54

func (x *WireGuardPeer) GetType() PeerType

func (*WireGuardPeer) ProtoMessage

func (*WireGuardPeer) ProtoMessage()

func (*WireGuardPeer) ProtoReflect

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

func (*WireGuardPeer) Reset

func (x *WireGuardPeer) Reset()

func (*WireGuardPeer) String

func (x *WireGuardPeer) String() string

Jump to

Keyboard shortcuts

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