Documentation
¶
Index ¶
- Variables
- func RegisterManagementServiceServer(s grpc.ServiceRegistrar, srv ManagementServiceServer)
- type Checks
- type CustomZone
- func (*CustomZone) Descriptor() ([]byte, []int)deprecated
- func (x *CustomZone) GetDomain() string
- func (x *CustomZone) GetRecords() []*SimpleRecord
- func (*CustomZone) ProtoMessage()
- func (x *CustomZone) ProtoReflect() protoreflect.Message
- func (x *CustomZone) Reset()
- func (x *CustomZone) String() string
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DNSConfig) GetCustomZones() []*CustomZone
- func (x *DNSConfig) GetNameServerGroups() []*NameServerGroup
- func (x *DNSConfig) GetServiceEnable() bool
- func (*DNSConfig) ProtoMessage()
- func (x *DNSConfig) ProtoReflect() protoreflect.Message
- func (x *DNSConfig) Reset()
- func (x *DNSConfig) String() string
- type DeviceAuthorizationFlow
- func (*DeviceAuthorizationFlow) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceAuthorizationFlow) GetProvider() DeviceAuthorizationFlowProvider
- func (x *DeviceAuthorizationFlow) GetProviderConfig() *ProviderConfig
- func (*DeviceAuthorizationFlow) ProtoMessage()
- func (x *DeviceAuthorizationFlow) ProtoReflect() protoreflect.Message
- func (x *DeviceAuthorizationFlow) Reset()
- func (x *DeviceAuthorizationFlow) String() string
- type DeviceAuthorizationFlowProvider
- func (DeviceAuthorizationFlowProvider) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceAuthorizationFlowProvider) Enum() *DeviceAuthorizationFlowProvider
- func (DeviceAuthorizationFlowProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceAuthorizationFlowProvider) Number() protoreflect.EnumNumber
- func (x DeviceAuthorizationFlowProvider) String() string
- func (DeviceAuthorizationFlowProvider) Type() protoreflect.EnumType
- type DeviceAuthorizationFlowRequest
- func (*DeviceAuthorizationFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (*DeviceAuthorizationFlowRequest) ProtoMessage()
- func (x *DeviceAuthorizationFlowRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceAuthorizationFlowRequest) Reset()
- func (x *DeviceAuthorizationFlowRequest) String() string
- type Empty
- type EncryptedMessage
- func (*EncryptedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedMessage) GetBody() []byte
- func (x *EncryptedMessage) GetVersion() int32
- func (x *EncryptedMessage) GetWgPubKey() string
- func (*EncryptedMessage) ProtoMessage()
- func (x *EncryptedMessage) ProtoReflect() protoreflect.Message
- func (x *EncryptedMessage) Reset()
- func (x *EncryptedMessage) String() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetCloud() string
- func (x *Environment) GetPlatform() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type File
- type FirewallRule
- func (*FirewallRule) Descriptor() ([]byte, []int)deprecated
- func (x *FirewallRule) GetAction() RuleAction
- func (x *FirewallRule) GetDirection() RuleDirection
- func (x *FirewallRule) GetPeerIP() string
- func (x *FirewallRule) GetPort() string
- func (x *FirewallRule) GetPortInfo() *PortInfo
- func (x *FirewallRule) GetProtocol() RuleProtocol
- func (*FirewallRule) ProtoMessage()
- func (x *FirewallRule) ProtoReflect() protoreflect.Message
- func (x *FirewallRule) Reset()
- func (x *FirewallRule) String() string
- type Flags
- func (*Flags) Descriptor() ([]byte, []int)deprecated
- func (x *Flags) GetDisableClientRoutes() bool
- func (x *Flags) GetDisableDNS() bool
- func (x *Flags) GetDisableFirewall() bool
- func (x *Flags) GetDisableServerRoutes() bool
- func (x *Flags) GetRosenpassEnabled() bool
- func (x *Flags) GetRosenpassPermissive() bool
- func (x *Flags) GetServerSSHAllowed() bool
- func (*Flags) ProtoMessage()
- func (x *Flags) ProtoReflect() protoreflect.Message
- func (x *Flags) Reset()
- func (x *Flags) String() string
- type HostConfig
- func (*HostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HostConfig) GetProtocol() HostConfig_Protocol
- func (x *HostConfig) GetUri() string
- func (*HostConfig) ProtoMessage()
- func (x *HostConfig) ProtoReflect() protoreflect.Message
- func (x *HostConfig) Reset()
- func (x *HostConfig) String() string
- type HostConfig_Protocol
- func (HostConfig_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x HostConfig_Protocol) Enum() *HostConfig_Protocol
- func (HostConfig_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x HostConfig_Protocol) Number() protoreflect.EnumNumber
- func (x HostConfig_Protocol) String() string
- func (HostConfig_Protocol) Type() protoreflect.EnumType
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetDnsLabels() []string
- func (x *LoginRequest) GetJwtToken() string
- func (x *LoginRequest) GetMeta() *PeerSystemMeta
- func (x *LoginRequest) GetPeerKeys() *PeerKeys
- func (x *LoginRequest) GetSetupKey() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetChecks() []*Checks
- func (x *LoginResponse) GetNetbirdConfig() *NetbirdConfig
- func (x *LoginResponse) GetPeerConfig() *PeerConfig
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type ManagementServiceClient
- type ManagementServiceServer
- type ManagementService_SyncClient
- type ManagementService_SyncServer
- type NameServer
- func (*NameServer) Descriptor() ([]byte, []int)deprecated
- func (x *NameServer) GetIP() string
- func (x *NameServer) GetNSType() int64
- func (x *NameServer) GetPort() int64
- func (*NameServer) ProtoMessage()
- func (x *NameServer) ProtoReflect() protoreflect.Message
- func (x *NameServer) Reset()
- func (x *NameServer) String() string
- type NameServerGroup
- func (*NameServerGroup) Descriptor() ([]byte, []int)deprecated
- func (x *NameServerGroup) GetDomains() []string
- func (x *NameServerGroup) GetNameServers() []*NameServer
- func (x *NameServerGroup) GetPrimary() bool
- func (x *NameServerGroup) GetSearchDomainsEnabled() bool
- func (*NameServerGroup) ProtoMessage()
- func (x *NameServerGroup) ProtoReflect() protoreflect.Message
- func (x *NameServerGroup) Reset()
- func (x *NameServerGroup) String() string
- type NetbirdConfig
- func (*NetbirdConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetbirdConfig) GetRelay() *RelayConfig
- func (x *NetbirdConfig) GetSignal() *HostConfig
- func (x *NetbirdConfig) GetStuns() []*HostConfig
- func (x *NetbirdConfig) GetTurns() []*ProtectedHostConfig
- func (*NetbirdConfig) ProtoMessage()
- func (x *NetbirdConfig) ProtoReflect() protoreflect.Message
- func (x *NetbirdConfig) Reset()
- func (x *NetbirdConfig) String() string
- type NetworkAddress
- func (*NetworkAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkAddress) GetMac() string
- func (x *NetworkAddress) GetNetIP() string
- func (*NetworkAddress) ProtoMessage()
- func (x *NetworkAddress) ProtoReflect() protoreflect.Message
- func (x *NetworkAddress) Reset()
- func (x *NetworkAddress) String() string
- type NetworkMap
- func (*NetworkMap) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkMap) GetDNSConfig() *DNSConfig
- func (x *NetworkMap) GetFirewallRules() []*FirewallRule
- func (x *NetworkMap) GetFirewallRulesIsEmpty() bool
- func (x *NetworkMap) GetOfflinePeers() []*RemotePeerConfig
- func (x *NetworkMap) GetPeerConfig() *PeerConfig
- func (x *NetworkMap) GetRemotePeers() []*RemotePeerConfig
- func (x *NetworkMap) GetRemotePeersIsEmpty() bool
- func (x *NetworkMap) GetRoutes() []*Route
- func (x *NetworkMap) GetRoutesFirewallRules() []*RouteFirewallRule
- func (x *NetworkMap) GetRoutesFirewallRulesIsEmpty() bool
- func (x *NetworkMap) GetSerial() uint64
- func (*NetworkMap) ProtoMessage()
- func (x *NetworkMap) ProtoReflect() protoreflect.Message
- func (x *NetworkMap) Reset()
- func (x *NetworkMap) String() string
- type PKCEAuthorizationFlow
- func (*PKCEAuthorizationFlow) Descriptor() ([]byte, []int)deprecated
- func (x *PKCEAuthorizationFlow) GetProviderConfig() *ProviderConfig
- func (*PKCEAuthorizationFlow) ProtoMessage()
- func (x *PKCEAuthorizationFlow) ProtoReflect() protoreflect.Message
- func (x *PKCEAuthorizationFlow) Reset()
- func (x *PKCEAuthorizationFlow) String() string
- type PKCEAuthorizationFlowRequest
- func (*PKCEAuthorizationFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (*PKCEAuthorizationFlowRequest) ProtoMessage()
- func (x *PKCEAuthorizationFlowRequest) ProtoReflect() protoreflect.Message
- func (x *PKCEAuthorizationFlowRequest) Reset()
- func (x *PKCEAuthorizationFlowRequest) String() string
- type PeerConfig
- func (*PeerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeerConfig) GetAddress() string
- func (x *PeerConfig) GetDns() string
- func (x *PeerConfig) GetFqdn() string
- func (x *PeerConfig) GetRoutingPeerDnsResolutionEnabled() bool
- func (x *PeerConfig) GetSshConfig() *SSHConfig
- func (*PeerConfig) ProtoMessage()
- func (x *PeerConfig) ProtoReflect() protoreflect.Message
- func (x *PeerConfig) Reset()
- func (x *PeerConfig) String() string
- type PeerKeys
- type PeerSystemMeta
- func (*PeerSystemMeta) Descriptor() ([]byte, []int)deprecated
- func (x *PeerSystemMeta) GetCore() string
- func (x *PeerSystemMeta) GetEnvironment() *Environment
- func (x *PeerSystemMeta) GetFiles() []*File
- func (x *PeerSystemMeta) GetFlags() *Flags
- func (x *PeerSystemMeta) GetGoOS() string
- func (x *PeerSystemMeta) GetHostname() string
- func (x *PeerSystemMeta) GetKernel() string
- func (x *PeerSystemMeta) GetKernelVersion() string
- func (x *PeerSystemMeta) GetNetbirdVersion() string
- func (x *PeerSystemMeta) GetNetworkAddresses() []*NetworkAddress
- func (x *PeerSystemMeta) GetOS() string
- func (x *PeerSystemMeta) GetOSVersion() string
- func (x *PeerSystemMeta) GetPlatform() string
- func (x *PeerSystemMeta) GetSysManufacturer() string
- func (x *PeerSystemMeta) GetSysProductName() string
- func (x *PeerSystemMeta) GetSysSerialNumber() string
- func (x *PeerSystemMeta) GetUiVersion() string
- func (*PeerSystemMeta) ProtoMessage()
- func (x *PeerSystemMeta) ProtoReflect() protoreflect.Message
- func (x *PeerSystemMeta) Reset()
- func (x *PeerSystemMeta) String() string
- type PortInfo
- func (*PortInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PortInfo) GetPort() uint32
- func (m *PortInfo) GetPortSelection() isPortInfo_PortSelection
- func (x *PortInfo) GetRange() *PortInfo_Range
- func (*PortInfo) ProtoMessage()
- func (x *PortInfo) ProtoReflect() protoreflect.Message
- func (x *PortInfo) Reset()
- func (x *PortInfo) String() string
- type PortInfo_Port
- type PortInfo_Range
- func (*PortInfo_Range) Descriptor() ([]byte, []int)deprecated
- func (x *PortInfo_Range) GetEnd() uint32
- func (x *PortInfo_Range) GetStart() uint32
- func (*PortInfo_Range) ProtoMessage()
- func (x *PortInfo_Range) ProtoReflect() protoreflect.Message
- func (x *PortInfo_Range) Reset()
- func (x *PortInfo_Range) String() string
- type PortInfo_Range_
- type ProtectedHostConfig
- func (*ProtectedHostConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProtectedHostConfig) GetHostConfig() *HostConfig
- func (x *ProtectedHostConfig) GetPassword() string
- func (x *ProtectedHostConfig) GetUser() string
- func (*ProtectedHostConfig) ProtoMessage()
- func (x *ProtectedHostConfig) ProtoReflect() protoreflect.Message
- func (x *ProtectedHostConfig) Reset()
- func (x *ProtectedHostConfig) String() string
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderConfig) GetAudience() string
- func (x *ProviderConfig) GetAuthorizationEndpoint() string
- func (x *ProviderConfig) GetClientID() string
- func (x *ProviderConfig) GetClientSecret() string
- func (x *ProviderConfig) GetDeviceAuthEndpoint() string
- func (x *ProviderConfig) GetDomain() string
- func (x *ProviderConfig) GetRedirectURLs() []string
- func (x *ProviderConfig) GetScope() string
- func (x *ProviderConfig) GetTokenEndpoint() string
- func (x *ProviderConfig) GetUseIDToken() bool
- func (*ProviderConfig) ProtoMessage()
- func (x *ProviderConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderConfig) Reset()
- func (x *ProviderConfig) String() string
- type RelayConfig
- func (*RelayConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RelayConfig) GetTokenPayload() string
- func (x *RelayConfig) GetTokenSignature() string
- func (x *RelayConfig) GetUrls() []string
- func (*RelayConfig) ProtoMessage()
- func (x *RelayConfig) ProtoReflect() protoreflect.Message
- func (x *RelayConfig) Reset()
- func (x *RelayConfig) String() string
- type RemotePeerConfig
- func (*RemotePeerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RemotePeerConfig) GetAllowedIps() []string
- func (x *RemotePeerConfig) GetFqdn() string
- func (x *RemotePeerConfig) GetSshConfig() *SSHConfig
- func (x *RemotePeerConfig) GetWgPubKey() string
- func (*RemotePeerConfig) ProtoMessage()
- func (x *RemotePeerConfig) ProtoReflect() protoreflect.Message
- func (x *RemotePeerConfig) Reset()
- func (x *RemotePeerConfig) String() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetDomains() []string
- func (x *Route) GetID() string
- func (x *Route) GetKeepRoute() bool
- func (x *Route) GetMasquerade() bool
- func (x *Route) GetMetric() int64
- func (x *Route) GetNetID() string
- func (x *Route) GetNetwork() string
- func (x *Route) GetNetworkType() int64
- func (x *Route) GetPeer() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type RouteFirewallRule
- func (*RouteFirewallRule) Descriptor() ([]byte, []int)deprecated
- func (x *RouteFirewallRule) GetAction() RuleAction
- func (x *RouteFirewallRule) GetCustomProtocol() uint32
- func (x *RouteFirewallRule) GetDestination() string
- func (x *RouteFirewallRule) GetDomains() []string
- func (x *RouteFirewallRule) GetIsDynamic() bool
- func (x *RouteFirewallRule) GetPortInfo() *PortInfo
- func (x *RouteFirewallRule) GetProtocol() RuleProtocol
- func (x *RouteFirewallRule) GetSourceRanges() []string
- func (*RouteFirewallRule) ProtoMessage()
- func (x *RouteFirewallRule) ProtoReflect() protoreflect.Message
- func (x *RouteFirewallRule) Reset()
- func (x *RouteFirewallRule) String() string
- type RuleAction
- type RuleDirection
- func (RuleDirection) Descriptor() protoreflect.EnumDescriptor
- func (x RuleDirection) Enum() *RuleDirection
- func (RuleDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleDirection) Number() protoreflect.EnumNumber
- func (x RuleDirection) String() string
- func (RuleDirection) Type() protoreflect.EnumType
- type RuleProtocol
- func (RuleProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x RuleProtocol) Enum() *RuleProtocol
- func (RuleProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x RuleProtocol) Number() protoreflect.EnumNumber
- func (x RuleProtocol) String() string
- func (RuleProtocol) Type() protoreflect.EnumType
- type SSHConfig
- type ServerKeyResponse
- func (*ServerKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerKeyResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *ServerKeyResponse) GetKey() string
- func (x *ServerKeyResponse) GetVersion() int32
- func (*ServerKeyResponse) ProtoMessage()
- func (x *ServerKeyResponse) ProtoReflect() protoreflect.Message
- func (x *ServerKeyResponse) Reset()
- func (x *ServerKeyResponse) String() string
- type SimpleRecord
- func (*SimpleRecord) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleRecord) GetClass() string
- func (x *SimpleRecord) GetName() string
- func (x *SimpleRecord) GetRData() string
- func (x *SimpleRecord) GetTTL() int64
- func (x *SimpleRecord) GetType() int64
- func (*SimpleRecord) ProtoMessage()
- func (x *SimpleRecord) ProtoReflect() protoreflect.Message
- func (x *SimpleRecord) Reset()
- func (x *SimpleRecord) String() string
- type SyncMetaRequest
- type SyncRequest
- type SyncResponse
- func (*SyncResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncResponse) GetChecks() []*Checks
- func (x *SyncResponse) GetNetbirdConfig() *NetbirdConfig
- func (x *SyncResponse) GetNetworkMap() *NetworkMap
- func (x *SyncResponse) GetPeerConfig() *PeerConfig
- func (x *SyncResponse) GetRemotePeers() []*RemotePeerConfig
- func (x *SyncResponse) GetRemotePeersIsEmpty() bool
- func (*SyncResponse) ProtoMessage()
- func (x *SyncResponse) ProtoReflect() protoreflect.Message
- func (x *SyncResponse) Reset()
- func (x *SyncResponse) String() string
- type UnimplementedManagementServiceServer
- func (UnimplementedManagementServiceServer) GetDeviceAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
- func (UnimplementedManagementServiceServer) GetPKCEAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
- func (UnimplementedManagementServiceServer) GetServerKey(context.Context, *Empty) (*ServerKeyResponse, error)
- func (UnimplementedManagementServiceServer) IsHealthy(context.Context, *Empty) (*Empty, error)
- func (UnimplementedManagementServiceServer) Login(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
- func (UnimplementedManagementServiceServer) Sync(*EncryptedMessage, ManagementService_SyncServer) error
- func (UnimplementedManagementServiceServer) SyncMeta(context.Context, *EncryptedMessage) (*Empty, error)
- type UnsafeManagementServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( RuleProtocol_name = map[int32]string{ 0: "UNKNOWN", 1: "ALL", 2: "TCP", 3: "UDP", 4: "ICMP", 5: "CUSTOM", } RuleProtocol_value = map[string]int32{ "UNKNOWN": 0, "ALL": 1, "TCP": 2, "UDP": 3, "ICMP": 4, "CUSTOM": 5, } )
Enum value maps for RuleProtocol.
var ( RuleDirection_name = map[int32]string{ 0: "IN", 1: "OUT", } RuleDirection_value = map[string]int32{ "IN": 0, "OUT": 1, } )
Enum value maps for RuleDirection.
var ( RuleAction_name = map[int32]string{ 0: "ACCEPT", 1: "DROP", } RuleAction_value = map[string]int32{ "ACCEPT": 0, "DROP": 1, } )
Enum value maps for RuleAction.
var ( HostConfig_Protocol_name = map[int32]string{ 0: "UDP", 1: "TCP", 2: "HTTP", 3: "HTTPS", 4: "DTLS", } HostConfig_Protocol_value = map[string]int32{ "UDP": 0, "TCP": 1, "HTTP": 2, "HTTPS": 3, "DTLS": 4, } )
Enum value maps for HostConfig_Protocol.
var ( DeviceAuthorizationFlowProvider_name = map[int32]string{ 0: "HOSTED", } DeviceAuthorizationFlowProvider_value = map[string]int32{ "HOSTED": 0, } )
Enum value maps for DeviceAuthorizationFlowProvider.
var File_management_proto protoreflect.FileDescriptor
var ManagementService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "management.ManagementService", HandlerType: (*ManagementServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _ManagementService_Login_Handler, }, { MethodName: "GetServerKey", Handler: _ManagementService_GetServerKey_Handler, }, { MethodName: "isHealthy", Handler: _ManagementService_IsHealthy_Handler, }, { MethodName: "GetDeviceAuthorizationFlow", Handler: _ManagementService_GetDeviceAuthorizationFlow_Handler, }, { MethodName: "GetPKCEAuthorizationFlow", Handler: _ManagementService_GetPKCEAuthorizationFlow_Handler, }, { MethodName: "SyncMeta", Handler: _ManagementService_SyncMeta_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Sync", Handler: _ManagementService_Sync_Handler, ServerStreams: true, }, }, Metadata: "management.proto", }
ManagementService_ServiceDesc is the grpc.ServiceDesc for ManagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterManagementServiceServer ¶
func RegisterManagementServiceServer(s grpc.ServiceRegistrar, srv ManagementServiceServer)
Types ¶
type Checks ¶ added in v0.28.0
type Checks struct { Files []string `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files,omitempty"` // contains filtered or unexported fields }
func (*Checks) Descriptor
deprecated
added in
v0.28.0
func (*Checks) ProtoMessage ¶ added in v0.28.0
func (*Checks) ProtoMessage()
func (*Checks) ProtoReflect ¶ added in v0.28.0
func (x *Checks) ProtoReflect() protoreflect.Message
type CustomZone ¶ added in v0.10.7
type CustomZone struct { Domain string `protobuf:"bytes,1,opt,name=Domain,proto3" json:"Domain,omitempty"` Records []*SimpleRecord `protobuf:"bytes,2,rep,name=Records,proto3" json:"Records,omitempty"` // contains filtered or unexported fields }
CustomZone represents a dns.CustomZone
func (*CustomZone) Descriptor
deprecated
added in
v0.10.7
func (*CustomZone) Descriptor() ([]byte, []int)
Deprecated: Use CustomZone.ProtoReflect.Descriptor instead.
func (*CustomZone) GetDomain ¶ added in v0.10.7
func (x *CustomZone) GetDomain() string
func (*CustomZone) GetRecords ¶ added in v0.10.7
func (x *CustomZone) GetRecords() []*SimpleRecord
func (*CustomZone) ProtoMessage ¶ added in v0.10.7
func (*CustomZone) ProtoMessage()
func (*CustomZone) ProtoReflect ¶ added in v0.10.7
func (x *CustomZone) ProtoReflect() protoreflect.Message
func (*CustomZone) Reset ¶ added in v0.10.7
func (x *CustomZone) Reset()
func (*CustomZone) String ¶ added in v0.10.7
func (x *CustomZone) String() string
type DNSConfig ¶ added in v0.10.7
type DNSConfig struct { ServiceEnable bool `protobuf:"varint,1,opt,name=ServiceEnable,proto3" json:"ServiceEnable,omitempty"` NameServerGroups []*NameServerGroup `protobuf:"bytes,2,rep,name=NameServerGroups,proto3" json:"NameServerGroups,omitempty"` CustomZones []*CustomZone `protobuf:"bytes,3,rep,name=CustomZones,proto3" json:"CustomZones,omitempty"` // contains filtered or unexported fields }
DNSConfig represents a dns.Update
func (*DNSConfig) Descriptor
deprecated
added in
v0.10.7
func (*DNSConfig) GetCustomZones ¶ added in v0.10.7
func (x *DNSConfig) GetCustomZones() []*CustomZone
func (*DNSConfig) GetNameServerGroups ¶ added in v0.10.7
func (x *DNSConfig) GetNameServerGroups() []*NameServerGroup
func (*DNSConfig) GetServiceEnable ¶ added in v0.10.7
func (*DNSConfig) ProtoMessage ¶ added in v0.10.7
func (*DNSConfig) ProtoMessage()
func (*DNSConfig) ProtoReflect ¶ added in v0.10.7
func (x *DNSConfig) ProtoReflect() protoreflect.Message
type DeviceAuthorizationFlow ¶
type DeviceAuthorizationFlow struct { // An IDP provider , (eg. Auth0) Provider DeviceAuthorizationFlowProvider `protobuf:"varint,1,opt,name=Provider,proto3,enum=management.DeviceAuthorizationFlowProvider" json:"Provider,omitempty"` ProviderConfig *ProviderConfig `protobuf:"bytes,2,opt,name=ProviderConfig,proto3" json:"ProviderConfig,omitempty"` // contains filtered or unexported fields }
DeviceAuthorizationFlow represents Device Authorization Flow information that can be used by the client to login initiate a Oauth 2.0 device authorization grant flow see https://datatracker.ietf.org/doc/html/rfc8628
func (*DeviceAuthorizationFlow) Descriptor
deprecated
func (*DeviceAuthorizationFlow) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAuthorizationFlow.ProtoReflect.Descriptor instead.
func (*DeviceAuthorizationFlow) GetProvider ¶
func (x *DeviceAuthorizationFlow) GetProvider() DeviceAuthorizationFlowProvider
func (*DeviceAuthorizationFlow) GetProviderConfig ¶
func (x *DeviceAuthorizationFlow) GetProviderConfig() *ProviderConfig
func (*DeviceAuthorizationFlow) ProtoMessage ¶
func (*DeviceAuthorizationFlow) ProtoMessage()
func (*DeviceAuthorizationFlow) ProtoReflect ¶
func (x *DeviceAuthorizationFlow) ProtoReflect() protoreflect.Message
func (*DeviceAuthorizationFlow) Reset ¶
func (x *DeviceAuthorizationFlow) Reset()
func (*DeviceAuthorizationFlow) String ¶
func (x *DeviceAuthorizationFlow) String() string
type DeviceAuthorizationFlowProvider ¶
type DeviceAuthorizationFlowProvider int32
const (
DeviceAuthorizationFlow_HOSTED DeviceAuthorizationFlowProvider = 0
)
func (DeviceAuthorizationFlowProvider) Descriptor ¶
func (DeviceAuthorizationFlowProvider) Descriptor() protoreflect.EnumDescriptor
func (DeviceAuthorizationFlowProvider) Enum ¶
func (x DeviceAuthorizationFlowProvider) Enum() *DeviceAuthorizationFlowProvider
func (DeviceAuthorizationFlowProvider) EnumDescriptor
deprecated
func (DeviceAuthorizationFlowProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceAuthorizationFlowProvider.Descriptor instead.
func (DeviceAuthorizationFlowProvider) Number ¶
func (x DeviceAuthorizationFlowProvider) Number() protoreflect.EnumNumber
func (DeviceAuthorizationFlowProvider) String ¶
func (x DeviceAuthorizationFlowProvider) String() string
func (DeviceAuthorizationFlowProvider) Type ¶
func (DeviceAuthorizationFlowProvider) Type() protoreflect.EnumType
type DeviceAuthorizationFlowRequest ¶
type DeviceAuthorizationFlowRequest struct {
// contains filtered or unexported fields
}
DeviceAuthorizationFlowRequest empty struct for future expansion
func (*DeviceAuthorizationFlowRequest) Descriptor
deprecated
func (*DeviceAuthorizationFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceAuthorizationFlowRequest.ProtoReflect.Descriptor instead.
func (*DeviceAuthorizationFlowRequest) ProtoMessage ¶
func (*DeviceAuthorizationFlowRequest) ProtoMessage()
func (*DeviceAuthorizationFlowRequest) ProtoReflect ¶
func (x *DeviceAuthorizationFlowRequest) ProtoReflect() protoreflect.Message
func (*DeviceAuthorizationFlowRequest) Reset ¶
func (x *DeviceAuthorizationFlowRequest) Reset()
func (*DeviceAuthorizationFlowRequest) String ¶
func (x *DeviceAuthorizationFlowRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EncryptedMessage ¶
type EncryptedMessage struct { // Wireguard public key WgPubKey string `protobuf:"bytes,1,opt,name=wgPubKey,proto3" json:"wgPubKey,omitempty"` // encrypted message Body Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // Version of the Netbird Management Service protocol Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*EncryptedMessage) Descriptor
deprecated
func (*EncryptedMessage) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedMessage.ProtoReflect.Descriptor instead.
func (*EncryptedMessage) GetBody ¶
func (x *EncryptedMessage) GetBody() []byte
func (*EncryptedMessage) GetVersion ¶
func (x *EncryptedMessage) GetVersion() int32
func (*EncryptedMessage) GetWgPubKey ¶
func (x *EncryptedMessage) GetWgPubKey() string
func (*EncryptedMessage) ProtoMessage ¶
func (*EncryptedMessage) ProtoMessage()
func (*EncryptedMessage) ProtoReflect ¶
func (x *EncryptedMessage) ProtoReflect() protoreflect.Message
func (*EncryptedMessage) Reset ¶
func (x *EncryptedMessage) Reset()
func (*EncryptedMessage) String ¶
func (x *EncryptedMessage) String() string
type Environment ¶ added in v0.26.3
type Environment struct { // cloud is the cloud provider the agent is running in if applicable. Cloud string `protobuf:"bytes,1,opt,name=cloud,proto3" json:"cloud,omitempty"` // platform is the platform the agent is running on if applicable. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
Environment is part of the PeerSystemMeta and describes the environment the agent is running in.
func (*Environment) Descriptor
deprecated
added in
v0.26.3
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetCloud ¶ added in v0.26.3
func (x *Environment) GetCloud() string
func (*Environment) GetPlatform ¶ added in v0.26.3
func (x *Environment) GetPlatform() string
func (*Environment) ProtoMessage ¶ added in v0.26.3
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶ added in v0.26.3
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶ added in v0.26.3
func (x *Environment) Reset()
func (*Environment) String ¶ added in v0.26.3
func (x *Environment) String() string
type File ¶ added in v0.28.0
type File struct { // path is the path to the file. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // exist indicate whether the file exists. Exist bool `protobuf:"varint,2,opt,name=exist,proto3" json:"exist,omitempty"` // processIsRunning indicates whether the file is a running process or not. ProcessIsRunning bool `protobuf:"varint,3,opt,name=processIsRunning,proto3" json:"processIsRunning,omitempty"` // contains filtered or unexported fields }
File represents a file on the system.
func (*File) Descriptor
deprecated
added in
v0.28.0
func (*File) GetProcessIsRunning ¶ added in v0.28.0
func (*File) ProtoMessage ¶ added in v0.28.0
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶ added in v0.28.0
func (x *File) ProtoReflect() protoreflect.Message
type FirewallRule ¶ added in v0.21.0
type FirewallRule struct { PeerIP string `protobuf:"bytes,1,opt,name=PeerIP,proto3" json:"PeerIP,omitempty"` Direction RuleDirection `protobuf:"varint,2,opt,name=Direction,proto3,enum=management.RuleDirection" json:"Direction,omitempty"` Action RuleAction `protobuf:"varint,3,opt,name=Action,proto3,enum=management.RuleAction" json:"Action,omitempty"` Protocol RuleProtocol `protobuf:"varint,4,opt,name=Protocol,proto3,enum=management.RuleProtocol" json:"Protocol,omitempty"` Port string `protobuf:"bytes,5,opt,name=Port,proto3" json:"Port,omitempty"` PortInfo *PortInfo `protobuf:"bytes,6,opt,name=PortInfo,proto3" json:"PortInfo,omitempty"` // contains filtered or unexported fields }
FirewallRule represents a firewall rule
func (*FirewallRule) Descriptor
deprecated
added in
v0.21.0
func (*FirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.
func (*FirewallRule) GetAction ¶ added in v0.21.0
func (x *FirewallRule) GetAction() RuleAction
func (*FirewallRule) GetDirection ¶ added in v0.21.0
func (x *FirewallRule) GetDirection() RuleDirection
func (*FirewallRule) GetPeerIP ¶ added in v0.21.0
func (x *FirewallRule) GetPeerIP() string
func (*FirewallRule) GetPort ¶ added in v0.21.0
func (x *FirewallRule) GetPort() string
func (*FirewallRule) GetPortInfo ¶ added in v0.36.4
func (x *FirewallRule) GetPortInfo() *PortInfo
func (*FirewallRule) GetProtocol ¶ added in v0.21.0
func (x *FirewallRule) GetProtocol() RuleProtocol
func (*FirewallRule) ProtoMessage ¶ added in v0.21.0
func (*FirewallRule) ProtoMessage()
func (*FirewallRule) ProtoReflect ¶ added in v0.21.0
func (x *FirewallRule) ProtoReflect() protoreflect.Message
func (*FirewallRule) Reset ¶ added in v0.21.0
func (x *FirewallRule) Reset()
func (*FirewallRule) String ¶ added in v0.21.0
func (x *FirewallRule) String() string
type Flags ¶ added in v0.36.0
type Flags struct { RosenpassEnabled bool `protobuf:"varint,1,opt,name=rosenpassEnabled,proto3" json:"rosenpassEnabled,omitempty"` RosenpassPermissive bool `protobuf:"varint,2,opt,name=rosenpassPermissive,proto3" json:"rosenpassPermissive,omitempty"` ServerSSHAllowed bool `protobuf:"varint,3,opt,name=serverSSHAllowed,proto3" json:"serverSSHAllowed,omitempty"` DisableClientRoutes bool `protobuf:"varint,4,opt,name=disableClientRoutes,proto3" json:"disableClientRoutes,omitempty"` DisableServerRoutes bool `protobuf:"varint,5,opt,name=disableServerRoutes,proto3" json:"disableServerRoutes,omitempty"` DisableDNS bool `protobuf:"varint,6,opt,name=disableDNS,proto3" json:"disableDNS,omitempty"` DisableFirewall bool `protobuf:"varint,7,opt,name=disableFirewall,proto3" json:"disableFirewall,omitempty"` // contains filtered or unexported fields }
func (*Flags) Descriptor
deprecated
added in
v0.36.0
func (*Flags) GetDisableClientRoutes ¶ added in v0.36.0
func (*Flags) GetDisableDNS ¶ added in v0.36.0
func (*Flags) GetDisableFirewall ¶ added in v0.36.0
func (*Flags) GetDisableServerRoutes ¶ added in v0.36.0
func (*Flags) GetRosenpassEnabled ¶ added in v0.36.0
func (*Flags) GetRosenpassPermissive ¶ added in v0.36.0
func (*Flags) GetServerSSHAllowed ¶ added in v0.36.0
func (*Flags) ProtoMessage ¶ added in v0.36.0
func (*Flags) ProtoMessage()
func (*Flags) ProtoReflect ¶ added in v0.36.0
func (x *Flags) ProtoReflect() protoreflect.Message
type HostConfig ¶
type HostConfig struct { // URI of the resource e.g. turns://stun.netbird.io:4430 or signal.netbird.io:10000 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Protocol HostConfig_Protocol `protobuf:"varint,2,opt,name=protocol,proto3,enum=management.HostConfig_Protocol" json:"protocol,omitempty"` // contains filtered or unexported fields }
HostConfig describes connection properties of some server (e.g. STUN, Signal, Management)
func (*HostConfig) Descriptor
deprecated
func (*HostConfig) Descriptor() ([]byte, []int)
Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.
func (*HostConfig) GetProtocol ¶
func (x *HostConfig) GetProtocol() HostConfig_Protocol
func (*HostConfig) GetUri ¶
func (x *HostConfig) GetUri() string
func (*HostConfig) ProtoMessage ¶
func (*HostConfig) ProtoMessage()
func (*HostConfig) ProtoReflect ¶
func (x *HostConfig) ProtoReflect() protoreflect.Message
func (*HostConfig) Reset ¶
func (x *HostConfig) Reset()
func (*HostConfig) String ¶
func (x *HostConfig) String() string
type HostConfig_Protocol ¶
type HostConfig_Protocol int32
const ( HostConfig_UDP HostConfig_Protocol = 0 HostConfig_TCP HostConfig_Protocol = 1 HostConfig_HTTP HostConfig_Protocol = 2 HostConfig_HTTPS HostConfig_Protocol = 3 HostConfig_DTLS HostConfig_Protocol = 4 )
func (HostConfig_Protocol) Descriptor ¶
func (HostConfig_Protocol) Descriptor() protoreflect.EnumDescriptor
func (HostConfig_Protocol) Enum ¶
func (x HostConfig_Protocol) Enum() *HostConfig_Protocol
func (HostConfig_Protocol) EnumDescriptor
deprecated
func (HostConfig_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use HostConfig_Protocol.Descriptor instead.
func (HostConfig_Protocol) Number ¶
func (x HostConfig_Protocol) Number() protoreflect.EnumNumber
func (HostConfig_Protocol) String ¶
func (x HostConfig_Protocol) String() string
func (HostConfig_Protocol) Type ¶
func (HostConfig_Protocol) Type() protoreflect.EnumType
type LoginRequest ¶
type LoginRequest struct { // Pre-authorized setup key (can be empty) SetupKey string `protobuf:"bytes,1,opt,name=setupKey,proto3" json:"setupKey,omitempty"` // Meta data of the peer (e.g. name, os_name, os_version, Meta *PeerSystemMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // SSO token (can be empty) JwtToken string `protobuf:"bytes,3,opt,name=jwtToken,proto3" json:"jwtToken,omitempty"` // Can be absent for now. PeerKeys *PeerKeys `protobuf:"bytes,4,opt,name=peerKeys,proto3" json:"peerKeys,omitempty"` DnsLabels []string `protobuf:"bytes,5,rep,name=dnsLabels,proto3" json:"dnsLabels,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetDnsLabels ¶ added in v0.37.0
func (x *LoginRequest) GetDnsLabels() []string
func (*LoginRequest) GetJwtToken ¶
func (x *LoginRequest) GetJwtToken() string
func (*LoginRequest) GetMeta ¶
func (x *LoginRequest) GetMeta() *PeerSystemMeta
func (*LoginRequest) GetPeerKeys ¶ added in v0.8.0
func (x *LoginRequest) GetPeerKeys() *PeerKeys
func (*LoginRequest) GetSetupKey ¶
func (x *LoginRequest) GetSetupKey() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { // Global config NetbirdConfig *NetbirdConfig `protobuf:"bytes,1,opt,name=netbirdConfig,proto3" json:"netbirdConfig,omitempty"` // Peer local config PeerConfig *PeerConfig `protobuf:"bytes,2,opt,name=peerConfig,proto3" json:"peerConfig,omitempty"` // Posture checks to be evaluated by client Checks []*Checks `protobuf:"bytes,3,rep,name=Checks,proto3" json:"Checks,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetChecks ¶ added in v0.28.0
func (x *LoginResponse) GetChecks() []*Checks
func (*LoginResponse) GetNetbirdConfig ¶ added in v0.36.6
func (x *LoginResponse) GetNetbirdConfig() *NetbirdConfig
func (*LoginResponse) GetPeerConfig ¶
func (x *LoginResponse) GetPeerConfig() *PeerConfig
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type ManagementServiceClient ¶
type ManagementServiceClient interface { // Login logs in peer. In case server returns codes.PermissionDenied this endpoint can be used to register Peer providing LoginRequest.setupKey // Returns encrypted LoginResponse in EncryptedMessage.Body Login(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (*EncryptedMessage, error) // Sync enables peer synchronization. Each peer that is connected to this stream will receive updates from the server. // For example, if a new peer has been added to an account all other connected peers will receive this peer's Wireguard public key as an update // The initial SyncResponse contains all of the available peers so the local state can be refreshed // Returns encrypted SyncResponse in EncryptedMessage.Body Sync(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (ManagementService_SyncClient, error) // Exposes a Wireguard public key of the Management service. // This key is used to support message encryption between client and server GetServerKey(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ServerKeyResponse, error) // health check endpoint IsHealthy(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // Exposes a device authorization flow information // This is used for initiating a Oauth 2 device authorization grant flow // which will be used by our clients to Login. // EncryptedMessage of the request has a body of DeviceAuthorizationFlowRequest. // EncryptedMessage of the response has a body of DeviceAuthorizationFlow. GetDeviceAuthorizationFlow(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (*EncryptedMessage, error) // Exposes a PKCE authorization code flow information // This is used for initiating a Oauth 2 authorization grant flow // with Proof Key for Code Exchange (PKCE) which will be used by our clients to Login. // EncryptedMessage of the request has a body of PKCEAuthorizationFlowRequest. // EncryptedMessage of the response has a body of PKCEAuthorizationFlow. GetPKCEAuthorizationFlow(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (*EncryptedMessage, error) // SyncMeta is used to sync metadata of the peer. // After sync the peer if there is a change in peer posture check which needs to be evaluated by the client, // sync meta will evaluate the checks and update the peer meta with the result. // EncryptedMessage of the request has a body of Empty. SyncMeta(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (*Empty, error) }
ManagementServiceClient is the client API for ManagementService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewManagementServiceClient ¶
func NewManagementServiceClient(cc grpc.ClientConnInterface) ManagementServiceClient
type ManagementServiceServer ¶
type ManagementServiceServer interface { // Login logs in peer. In case server returns codes.PermissionDenied this endpoint can be used to register Peer providing LoginRequest.setupKey // Returns encrypted LoginResponse in EncryptedMessage.Body Login(context.Context, *EncryptedMessage) (*EncryptedMessage, error) // Sync enables peer synchronization. Each peer that is connected to this stream will receive updates from the server. // For example, if a new peer has been added to an account all other connected peers will receive this peer's Wireguard public key as an update // The initial SyncResponse contains all of the available peers so the local state can be refreshed // Returns encrypted SyncResponse in EncryptedMessage.Body Sync(*EncryptedMessage, ManagementService_SyncServer) error // Exposes a Wireguard public key of the Management service. // This key is used to support message encryption between client and server GetServerKey(context.Context, *Empty) (*ServerKeyResponse, error) // health check endpoint IsHealthy(context.Context, *Empty) (*Empty, error) // Exposes a device authorization flow information // This is used for initiating a Oauth 2 device authorization grant flow // which will be used by our clients to Login. // EncryptedMessage of the request has a body of DeviceAuthorizationFlowRequest. // EncryptedMessage of the response has a body of DeviceAuthorizationFlow. GetDeviceAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error) // Exposes a PKCE authorization code flow information // This is used for initiating a Oauth 2 authorization grant flow // with Proof Key for Code Exchange (PKCE) which will be used by our clients to Login. // EncryptedMessage of the request has a body of PKCEAuthorizationFlowRequest. // EncryptedMessage of the response has a body of PKCEAuthorizationFlow. GetPKCEAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error) // SyncMeta is used to sync metadata of the peer. // After sync the peer if there is a change in peer posture check which needs to be evaluated by the client, // sync meta will evaluate the checks and update the peer meta with the result. // EncryptedMessage of the request has a body of Empty. SyncMeta(context.Context, *EncryptedMessage) (*Empty, error) // contains filtered or unexported methods }
ManagementServiceServer is the server API for ManagementService service. All implementations must embed UnimplementedManagementServiceServer for forward compatibility
type ManagementService_SyncClient ¶
type ManagementService_SyncClient interface { Recv() (*EncryptedMessage, error) grpc.ClientStream }
type ManagementService_SyncServer ¶
type ManagementService_SyncServer interface { Send(*EncryptedMessage) error grpc.ServerStream }
type NameServer ¶ added in v0.10.7
type NameServer struct { IP string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"` NSType int64 `protobuf:"varint,2,opt,name=NSType,proto3" json:"NSType,omitempty"` Port int64 `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
NameServer represents a dns.NameServer
func (*NameServer) Descriptor
deprecated
added in
v0.10.7
func (*NameServer) Descriptor() ([]byte, []int)
Deprecated: Use NameServer.ProtoReflect.Descriptor instead.
func (*NameServer) GetIP ¶ added in v0.10.7
func (x *NameServer) GetIP() string
func (*NameServer) GetNSType ¶ added in v0.10.7
func (x *NameServer) GetNSType() int64
func (*NameServer) GetPort ¶ added in v0.10.7
func (x *NameServer) GetPort() int64
func (*NameServer) ProtoMessage ¶ added in v0.10.7
func (*NameServer) ProtoMessage()
func (*NameServer) ProtoReflect ¶ added in v0.10.7
func (x *NameServer) ProtoReflect() protoreflect.Message
func (*NameServer) Reset ¶ added in v0.10.7
func (x *NameServer) Reset()
func (*NameServer) String ¶ added in v0.10.7
func (x *NameServer) String() string
type NameServerGroup ¶ added in v0.10.7
type NameServerGroup struct { NameServers []*NameServer `protobuf:"bytes,1,rep,name=NameServers,proto3" json:"NameServers,omitempty"` Primary bool `protobuf:"varint,2,opt,name=Primary,proto3" json:"Primary,omitempty"` Domains []string `protobuf:"bytes,3,rep,name=Domains,proto3" json:"Domains,omitempty"` SearchDomainsEnabled bool `protobuf:"varint,4,opt,name=SearchDomainsEnabled,proto3" json:"SearchDomainsEnabled,omitempty"` // contains filtered or unexported fields }
NameServerGroup represents a dns.NameServerGroup
func (*NameServerGroup) Descriptor
deprecated
added in
v0.10.7
func (*NameServerGroup) Descriptor() ([]byte, []int)
Deprecated: Use NameServerGroup.ProtoReflect.Descriptor instead.
func (*NameServerGroup) GetDomains ¶ added in v0.10.7
func (x *NameServerGroup) GetDomains() []string
func (*NameServerGroup) GetNameServers ¶ added in v0.10.7
func (x *NameServerGroup) GetNameServers() []*NameServer
func (*NameServerGroup) GetPrimary ¶ added in v0.10.7
func (x *NameServerGroup) GetPrimary() bool
func (*NameServerGroup) GetSearchDomainsEnabled ¶ added in v0.24.0
func (x *NameServerGroup) GetSearchDomainsEnabled() bool
func (*NameServerGroup) ProtoMessage ¶ added in v0.10.7
func (*NameServerGroup) ProtoMessage()
func (*NameServerGroup) ProtoReflect ¶ added in v0.10.7
func (x *NameServerGroup) ProtoReflect() protoreflect.Message
func (*NameServerGroup) Reset ¶ added in v0.10.7
func (x *NameServerGroup) Reset()
func (*NameServerGroup) String ¶ added in v0.10.7
func (x *NameServerGroup) String() string
type NetbirdConfig ¶ added in v0.36.6
type NetbirdConfig struct { // a list of STUN servers Stuns []*HostConfig `protobuf:"bytes,1,rep,name=stuns,proto3" json:"stuns,omitempty"` // a list of TURN servers Turns []*ProtectedHostConfig `protobuf:"bytes,2,rep,name=turns,proto3" json:"turns,omitempty"` // a Signal server config Signal *HostConfig `protobuf:"bytes,3,opt,name=signal,proto3" json:"signal,omitempty"` Relay *RelayConfig `protobuf:"bytes,4,opt,name=relay,proto3" json:"relay,omitempty"` // contains filtered or unexported fields }
NetbirdConfig is a common configuration of any Netbird peer. It contains STUN, TURN, Signal and Management servers configurations
func (*NetbirdConfig) Descriptor
deprecated
added in
v0.36.6
func (*NetbirdConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetbirdConfig.ProtoReflect.Descriptor instead.
func (*NetbirdConfig) GetRelay ¶ added in v0.36.6
func (x *NetbirdConfig) GetRelay() *RelayConfig
func (*NetbirdConfig) GetSignal ¶ added in v0.36.6
func (x *NetbirdConfig) GetSignal() *HostConfig
func (*NetbirdConfig) GetStuns ¶ added in v0.36.6
func (x *NetbirdConfig) GetStuns() []*HostConfig
func (*NetbirdConfig) GetTurns ¶ added in v0.36.6
func (x *NetbirdConfig) GetTurns() []*ProtectedHostConfig
func (*NetbirdConfig) ProtoMessage ¶ added in v0.36.6
func (*NetbirdConfig) ProtoMessage()
func (*NetbirdConfig) ProtoReflect ¶ added in v0.36.6
func (x *NetbirdConfig) ProtoReflect() protoreflect.Message
func (*NetbirdConfig) Reset ¶ added in v0.36.6
func (x *NetbirdConfig) Reset()
func (*NetbirdConfig) String ¶ added in v0.36.6
func (x *NetbirdConfig) String() string
type NetworkAddress ¶ added in v0.26.0
type NetworkAddress struct { NetIP string `protobuf:"bytes,1,opt,name=netIP,proto3" json:"netIP,omitempty"` Mac string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"` // contains filtered or unexported fields }
func (*NetworkAddress) Descriptor
deprecated
added in
v0.26.0
func (*NetworkAddress) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAddress.ProtoReflect.Descriptor instead.
func (*NetworkAddress) GetMac ¶ added in v0.26.0
func (x *NetworkAddress) GetMac() string
func (*NetworkAddress) GetNetIP ¶ added in v0.26.0
func (x *NetworkAddress) GetNetIP() string
func (*NetworkAddress) ProtoMessage ¶ added in v0.26.0
func (*NetworkAddress) ProtoMessage()
func (*NetworkAddress) ProtoReflect ¶ added in v0.26.0
func (x *NetworkAddress) ProtoReflect() protoreflect.Message
func (*NetworkAddress) Reset ¶ added in v0.26.0
func (x *NetworkAddress) Reset()
func (*NetworkAddress) String ¶ added in v0.26.0
func (x *NetworkAddress) String() string
type NetworkMap ¶
type NetworkMap struct { // Serial is an ID of the network state to be used by clients to order updates. // The larger the Serial the newer the configuration. // E.g. the client app should keep track of this id locally and discard all the configurations with a lower value Serial uint64 `protobuf:"varint,1,opt,name=Serial,proto3" json:"Serial,omitempty"` // PeerConfig represents configuration of a peer PeerConfig *PeerConfig `protobuf:"bytes,2,opt,name=peerConfig,proto3" json:"peerConfig,omitempty"` // RemotePeerConfig represents a list of remote peers that the receiver can connect to RemotePeers []*RemotePeerConfig `protobuf:"bytes,3,rep,name=remotePeers,proto3" json:"remotePeers,omitempty"` // Indicates whether remotePeers array is empty or not to bypass protobuf null and empty array equality. RemotePeersIsEmpty bool `protobuf:"varint,4,opt,name=remotePeersIsEmpty,proto3" json:"remotePeersIsEmpty,omitempty"` // List of routes to be applied Routes []*Route `protobuf:"bytes,5,rep,name=Routes,proto3" json:"Routes,omitempty"` // DNS config to be applied DNSConfig *DNSConfig `protobuf:"bytes,6,opt,name=DNSConfig,proto3" json:"DNSConfig,omitempty"` // RemotePeerConfig represents a list of remote peers that the receiver can connect to OfflinePeers []*RemotePeerConfig `protobuf:"bytes,7,rep,name=offlinePeers,proto3" json:"offlinePeers,omitempty"` // FirewallRule represents a list of firewall rules to be applied to peer FirewallRules []*FirewallRule `protobuf:"bytes,8,rep,name=FirewallRules,proto3" json:"FirewallRules,omitempty"` // firewallRulesIsEmpty indicates whether FirewallRule array is empty or not to bypass protobuf null and empty array equality. FirewallRulesIsEmpty bool `protobuf:"varint,9,opt,name=firewallRulesIsEmpty,proto3" json:"firewallRulesIsEmpty,omitempty"` // RoutesFirewallRules represents a list of routes firewall rules to be applied to peer RoutesFirewallRules []*RouteFirewallRule `protobuf:"bytes,10,rep,name=routesFirewallRules,proto3" json:"routesFirewallRules,omitempty"` // RoutesFirewallRulesIsEmpty indicates whether RouteFirewallRule array is empty or not to bypass protobuf null and empty array equality. RoutesFirewallRulesIsEmpty bool `protobuf:"varint,11,opt,name=routesFirewallRulesIsEmpty,proto3" json:"routesFirewallRulesIsEmpty,omitempty"` // contains filtered or unexported fields }
NetworkMap represents a network state of the peer with the corresponding configuration parameters to establish peer-to-peer connections
func (*NetworkMap) Descriptor
deprecated
func (*NetworkMap) Descriptor() ([]byte, []int)
Deprecated: Use NetworkMap.ProtoReflect.Descriptor instead.
func (*NetworkMap) GetDNSConfig ¶ added in v0.10.7
func (x *NetworkMap) GetDNSConfig() *DNSConfig
func (*NetworkMap) GetFirewallRules ¶ added in v0.21.0
func (x *NetworkMap) GetFirewallRules() []*FirewallRule
func (*NetworkMap) GetFirewallRulesIsEmpty ¶ added in v0.21.0
func (x *NetworkMap) GetFirewallRulesIsEmpty() bool
func (*NetworkMap) GetOfflinePeers ¶ added in v0.14.3
func (x *NetworkMap) GetOfflinePeers() []*RemotePeerConfig
func (*NetworkMap) GetPeerConfig ¶
func (x *NetworkMap) GetPeerConfig() *PeerConfig
func (*NetworkMap) GetRemotePeers ¶
func (x *NetworkMap) GetRemotePeers() []*RemotePeerConfig
func (*NetworkMap) GetRemotePeersIsEmpty ¶
func (x *NetworkMap) GetRemotePeersIsEmpty() bool
func (*NetworkMap) GetRoutes ¶ added in v0.8.9
func (x *NetworkMap) GetRoutes() []*Route
func (*NetworkMap) GetRoutesFirewallRules ¶ added in v0.30.0
func (x *NetworkMap) GetRoutesFirewallRules() []*RouteFirewallRule
func (*NetworkMap) GetRoutesFirewallRulesIsEmpty ¶ added in v0.30.0
func (x *NetworkMap) GetRoutesFirewallRulesIsEmpty() bool
func (*NetworkMap) GetSerial ¶
func (x *NetworkMap) GetSerial() uint64
func (*NetworkMap) ProtoMessage ¶
func (*NetworkMap) ProtoMessage()
func (*NetworkMap) ProtoReflect ¶
func (x *NetworkMap) ProtoReflect() protoreflect.Message
func (*NetworkMap) Reset ¶
func (x *NetworkMap) Reset()
func (*NetworkMap) String ¶
func (x *NetworkMap) String() string
type PKCEAuthorizationFlow ¶ added in v0.22.0
type PKCEAuthorizationFlow struct { ProviderConfig *ProviderConfig `protobuf:"bytes,1,opt,name=ProviderConfig,proto3" json:"ProviderConfig,omitempty"` // contains filtered or unexported fields }
PKCEAuthorizationFlow represents Authorization Code Flow information that can be used by the client to login initiate a Oauth 2.0 authorization code grant flow with Proof Key for Code Exchange (PKCE). See https://datatracker.ietf.org/doc/html/rfc7636
func (*PKCEAuthorizationFlow) Descriptor
deprecated
added in
v0.22.0
func (*PKCEAuthorizationFlow) Descriptor() ([]byte, []int)
Deprecated: Use PKCEAuthorizationFlow.ProtoReflect.Descriptor instead.
func (*PKCEAuthorizationFlow) GetProviderConfig ¶ added in v0.22.0
func (x *PKCEAuthorizationFlow) GetProviderConfig() *ProviderConfig
func (*PKCEAuthorizationFlow) ProtoMessage ¶ added in v0.22.0
func (*PKCEAuthorizationFlow) ProtoMessage()
func (*PKCEAuthorizationFlow) ProtoReflect ¶ added in v0.22.0
func (x *PKCEAuthorizationFlow) ProtoReflect() protoreflect.Message
func (*PKCEAuthorizationFlow) Reset ¶ added in v0.22.0
func (x *PKCEAuthorizationFlow) Reset()
func (*PKCEAuthorizationFlow) String ¶ added in v0.22.0
func (x *PKCEAuthorizationFlow) String() string
type PKCEAuthorizationFlowRequest ¶ added in v0.22.0
type PKCEAuthorizationFlowRequest struct {
// contains filtered or unexported fields
}
PKCEAuthorizationFlowRequest empty struct for future expansion
func (*PKCEAuthorizationFlowRequest) Descriptor
deprecated
added in
v0.22.0
func (*PKCEAuthorizationFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use PKCEAuthorizationFlowRequest.ProtoReflect.Descriptor instead.
func (*PKCEAuthorizationFlowRequest) ProtoMessage ¶ added in v0.22.0
func (*PKCEAuthorizationFlowRequest) ProtoMessage()
func (*PKCEAuthorizationFlowRequest) ProtoReflect ¶ added in v0.22.0
func (x *PKCEAuthorizationFlowRequest) ProtoReflect() protoreflect.Message
func (*PKCEAuthorizationFlowRequest) Reset ¶ added in v0.22.0
func (x *PKCEAuthorizationFlowRequest) Reset()
func (*PKCEAuthorizationFlowRequest) String ¶ added in v0.22.0
func (x *PKCEAuthorizationFlowRequest) String() string
type PeerConfig ¶
type PeerConfig struct { // Peer's virtual IP address within the Netbird VPN (a Wireguard address config) Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Netbird DNS server (a Wireguard DNS config) Dns string `protobuf:"bytes,2,opt,name=dns,proto3" json:"dns,omitempty"` // SSHConfig of the peer. SshConfig *SSHConfig `protobuf:"bytes,3,opt,name=sshConfig,proto3" json:"sshConfig,omitempty"` // Peer fully qualified domain name Fqdn string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"` RoutingPeerDnsResolutionEnabled bool `protobuf:"varint,5,opt,name=RoutingPeerDnsResolutionEnabled,proto3" json:"RoutingPeerDnsResolutionEnabled,omitempty"` // contains filtered or unexported fields }
PeerConfig represents a configuration of a "our" peer. The properties are used to configure local Wireguard
func (*PeerConfig) Descriptor
deprecated
func (*PeerConfig) Descriptor() ([]byte, []int)
Deprecated: Use PeerConfig.ProtoReflect.Descriptor instead.
func (*PeerConfig) GetAddress ¶
func (x *PeerConfig) GetAddress() string
func (*PeerConfig) GetDns ¶
func (x *PeerConfig) GetDns() string
func (*PeerConfig) GetFqdn ¶ added in v0.11.2
func (x *PeerConfig) GetFqdn() string
func (*PeerConfig) GetRoutingPeerDnsResolutionEnabled ¶ added in v0.35.0
func (x *PeerConfig) GetRoutingPeerDnsResolutionEnabled() bool
func (*PeerConfig) GetSshConfig ¶ added in v0.8.0
func (x *PeerConfig) GetSshConfig() *SSHConfig
func (*PeerConfig) ProtoMessage ¶
func (*PeerConfig) ProtoMessage()
func (*PeerConfig) ProtoReflect ¶
func (x *PeerConfig) ProtoReflect() protoreflect.Message
func (*PeerConfig) Reset ¶
func (x *PeerConfig) Reset()
func (*PeerConfig) String ¶
func (x *PeerConfig) String() string
type PeerKeys ¶ added in v0.8.0
type PeerKeys struct { // sshPubKey represents a public SSH key of the peer. Can be absent. SshPubKey []byte `protobuf:"bytes,1,opt,name=sshPubKey,proto3" json:"sshPubKey,omitempty"` // wgPubKey represents a public WireGuard key of the peer. Can be absent. WgPubKey []byte `protobuf:"bytes,2,opt,name=wgPubKey,proto3" json:"wgPubKey,omitempty"` // contains filtered or unexported fields }
PeerKeys is additional peer info like SSH pub key and WireGuard public key. This message is sent on Login or register requests, or when a key rotation has to happen.
func (*PeerKeys) Descriptor
deprecated
added in
v0.8.0
func (*PeerKeys) GetSshPubKey ¶ added in v0.8.0
func (*PeerKeys) GetWgPubKey ¶ added in v0.8.0
func (*PeerKeys) ProtoMessage ¶ added in v0.8.0
func (*PeerKeys) ProtoMessage()
func (*PeerKeys) ProtoReflect ¶ added in v0.8.0
func (x *PeerKeys) ProtoReflect() protoreflect.Message
type PeerSystemMeta ¶
type PeerSystemMeta struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` GoOS string `protobuf:"bytes,2,opt,name=goOS,proto3" json:"goOS,omitempty"` Kernel string `protobuf:"bytes,3,opt,name=kernel,proto3" json:"kernel,omitempty"` Core string `protobuf:"bytes,4,opt,name=core,proto3" json:"core,omitempty"` Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform,omitempty"` OS string `protobuf:"bytes,6,opt,name=OS,proto3" json:"OS,omitempty"` NetbirdVersion string `protobuf:"bytes,7,opt,name=netbirdVersion,proto3" json:"netbirdVersion,omitempty"` UiVersion string `protobuf:"bytes,8,opt,name=uiVersion,proto3" json:"uiVersion,omitempty"` KernelVersion string `protobuf:"bytes,9,opt,name=kernelVersion,proto3" json:"kernelVersion,omitempty"` OSVersion string `protobuf:"bytes,10,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"` NetworkAddresses []*NetworkAddress `protobuf:"bytes,11,rep,name=networkAddresses,proto3" json:"networkAddresses,omitempty"` SysSerialNumber string `protobuf:"bytes,12,opt,name=sysSerialNumber,proto3" json:"sysSerialNumber,omitempty"` SysProductName string `protobuf:"bytes,13,opt,name=sysProductName,proto3" json:"sysProductName,omitempty"` SysManufacturer string `protobuf:"bytes,14,opt,name=sysManufacturer,proto3" json:"sysManufacturer,omitempty"` Environment *Environment `protobuf:"bytes,15,opt,name=environment,proto3" json:"environment,omitempty"` Files []*File `protobuf:"bytes,16,rep,name=files,proto3" json:"files,omitempty"` Flags *Flags `protobuf:"bytes,17,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
PeerSystemMeta is machine meta data like OS and version.
func (*PeerSystemMeta) Descriptor
deprecated
func (*PeerSystemMeta) Descriptor() ([]byte, []int)
Deprecated: Use PeerSystemMeta.ProtoReflect.Descriptor instead.
func (*PeerSystemMeta) GetCore ¶
func (x *PeerSystemMeta) GetCore() string
func (*PeerSystemMeta) GetEnvironment ¶ added in v0.26.3
func (x *PeerSystemMeta) GetEnvironment() *Environment
func (*PeerSystemMeta) GetFiles ¶ added in v0.28.0
func (x *PeerSystemMeta) GetFiles() []*File
func (*PeerSystemMeta) GetFlags ¶ added in v0.36.0
func (x *PeerSystemMeta) GetFlags() *Flags
func (*PeerSystemMeta) GetGoOS ¶
func (x *PeerSystemMeta) GetGoOS() string
func (*PeerSystemMeta) GetHostname ¶
func (x *PeerSystemMeta) GetHostname() string
func (*PeerSystemMeta) GetKernel ¶
func (x *PeerSystemMeta) GetKernel() string
func (*PeerSystemMeta) GetKernelVersion ¶ added in v0.26.0
func (x *PeerSystemMeta) GetKernelVersion() string
func (*PeerSystemMeta) GetNetbirdVersion ¶ added in v0.36.6
func (x *PeerSystemMeta) GetNetbirdVersion() string
func (*PeerSystemMeta) GetNetworkAddresses ¶ added in v0.26.0
func (x *PeerSystemMeta) GetNetworkAddresses() []*NetworkAddress
func (*PeerSystemMeta) GetOS ¶
func (x *PeerSystemMeta) GetOS() string
func (*PeerSystemMeta) GetOSVersion ¶ added in v0.26.0
func (x *PeerSystemMeta) GetOSVersion() string
func (*PeerSystemMeta) GetPlatform ¶
func (x *PeerSystemMeta) GetPlatform() string
func (*PeerSystemMeta) GetSysManufacturer ¶ added in v0.26.0
func (x *PeerSystemMeta) GetSysManufacturer() string
func (*PeerSystemMeta) GetSysProductName ¶ added in v0.26.0
func (x *PeerSystemMeta) GetSysProductName() string
func (*PeerSystemMeta) GetSysSerialNumber ¶ added in v0.26.0
func (x *PeerSystemMeta) GetSysSerialNumber() string
func (*PeerSystemMeta) GetUiVersion ¶ added in v0.6.0
func (x *PeerSystemMeta) GetUiVersion() string
func (*PeerSystemMeta) ProtoMessage ¶
func (*PeerSystemMeta) ProtoMessage()
func (*PeerSystemMeta) ProtoReflect ¶
func (x *PeerSystemMeta) ProtoReflect() protoreflect.Message
func (*PeerSystemMeta) Reset ¶
func (x *PeerSystemMeta) Reset()
func (*PeerSystemMeta) String ¶
func (x *PeerSystemMeta) String() string
type PortInfo ¶ added in v0.30.0
type PortInfo struct { // Types that are assignable to PortSelection: // // *PortInfo_Port // *PortInfo_Range_ PortSelection isPortInfo_PortSelection `protobuf_oneof:"portSelection"` // contains filtered or unexported fields }
func (*PortInfo) Descriptor
deprecated
added in
v0.30.0
func (*PortInfo) GetPortSelection ¶ added in v0.30.0
func (m *PortInfo) GetPortSelection() isPortInfo_PortSelection
func (*PortInfo) GetRange ¶ added in v0.30.0
func (x *PortInfo) GetRange() *PortInfo_Range
func (*PortInfo) ProtoMessage ¶ added in v0.30.0
func (*PortInfo) ProtoMessage()
func (*PortInfo) ProtoReflect ¶ added in v0.30.0
func (x *PortInfo) ProtoReflect() protoreflect.Message
type PortInfo_Port ¶ added in v0.30.0
type PortInfo_Port struct {
Port uint32 `protobuf:"varint,1,opt,name=port,proto3,oneof"`
}
type PortInfo_Range ¶ added in v0.30.0
type PortInfo_Range struct { Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*PortInfo_Range) Descriptor
deprecated
added in
v0.30.0
func (*PortInfo_Range) Descriptor() ([]byte, []int)
Deprecated: Use PortInfo_Range.ProtoReflect.Descriptor instead.
func (*PortInfo_Range) GetEnd ¶ added in v0.30.0
func (x *PortInfo_Range) GetEnd() uint32
func (*PortInfo_Range) GetStart ¶ added in v0.30.0
func (x *PortInfo_Range) GetStart() uint32
func (*PortInfo_Range) ProtoMessage ¶ added in v0.30.0
func (*PortInfo_Range) ProtoMessage()
func (*PortInfo_Range) ProtoReflect ¶ added in v0.30.0
func (x *PortInfo_Range) ProtoReflect() protoreflect.Message
func (*PortInfo_Range) Reset ¶ added in v0.30.0
func (x *PortInfo_Range) Reset()
func (*PortInfo_Range) String ¶ added in v0.30.0
func (x *PortInfo_Range) String() string
type PortInfo_Range_ ¶ added in v0.30.0
type PortInfo_Range_ struct {
Range *PortInfo_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type ProtectedHostConfig ¶
type ProtectedHostConfig struct { HostConfig *HostConfig `protobuf:"bytes,1,opt,name=hostConfig,proto3" json:"hostConfig,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
ProtectedHostConfig is similar to HostConfig but has additional user and password Mostly used for TURN servers
func (*ProtectedHostConfig) Descriptor
deprecated
func (*ProtectedHostConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProtectedHostConfig.ProtoReflect.Descriptor instead.
func (*ProtectedHostConfig) GetHostConfig ¶
func (x *ProtectedHostConfig) GetHostConfig() *HostConfig
func (*ProtectedHostConfig) GetPassword ¶
func (x *ProtectedHostConfig) GetPassword() string
func (*ProtectedHostConfig) GetUser ¶
func (x *ProtectedHostConfig) GetUser() string
func (*ProtectedHostConfig) ProtoMessage ¶
func (*ProtectedHostConfig) ProtoMessage()
func (*ProtectedHostConfig) ProtoReflect ¶
func (x *ProtectedHostConfig) ProtoReflect() protoreflect.Message
func (*ProtectedHostConfig) Reset ¶
func (x *ProtectedHostConfig) Reset()
func (*ProtectedHostConfig) String ¶
func (x *ProtectedHostConfig) String() string
type ProviderConfig ¶
type ProviderConfig struct { // An IDP application client id ClientID string `protobuf:"bytes,1,opt,name=ClientID,proto3" json:"ClientID,omitempty"` // An IDP application client secret ClientSecret string `protobuf:"bytes,2,opt,name=ClientSecret,proto3" json:"ClientSecret,omitempty"` // An IDP API domain // Deprecated. Use a DeviceAuthEndpoint and TokenEndpoint Domain string `protobuf:"bytes,3,opt,name=Domain,proto3" json:"Domain,omitempty"` // An Audience for validation Audience string `protobuf:"bytes,4,opt,name=Audience,proto3" json:"Audience,omitempty"` // DeviceAuthEndpoint is an endpoint to request device authentication code. DeviceAuthEndpoint string `protobuf:"bytes,5,opt,name=DeviceAuthEndpoint,proto3" json:"DeviceAuthEndpoint,omitempty"` // TokenEndpoint is an endpoint to request auth token. TokenEndpoint string `protobuf:"bytes,6,opt,name=TokenEndpoint,proto3" json:"TokenEndpoint,omitempty"` // Scopes provides the scopes to be included in the token request Scope string `protobuf:"bytes,7,opt,name=Scope,proto3" json:"Scope,omitempty"` // UseIDToken indicates if the id token should be used for authentication UseIDToken bool `protobuf:"varint,8,opt,name=UseIDToken,proto3" json:"UseIDToken,omitempty"` // AuthorizationEndpoint is the endpoint of an IDP manager where clients can obtain authorization code. AuthorizationEndpoint string `protobuf:"bytes,9,opt,name=AuthorizationEndpoint,proto3" json:"AuthorizationEndpoint,omitempty"` // RedirectURLs handles authorization code from IDP manager RedirectURLs []string `protobuf:"bytes,10,rep,name=RedirectURLs,proto3" json:"RedirectURLs,omitempty"` // contains filtered or unexported fields }
ProviderConfig has all attributes needed to initiate a device/pkce authorization flow
func (*ProviderConfig) Descriptor
deprecated
func (*ProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
func (*ProviderConfig) GetAudience ¶
func (x *ProviderConfig) GetAudience() string
func (*ProviderConfig) GetAuthorizationEndpoint ¶ added in v0.22.0
func (x *ProviderConfig) GetAuthorizationEndpoint() string
func (*ProviderConfig) GetClientID ¶
func (x *ProviderConfig) GetClientID() string
func (*ProviderConfig) GetClientSecret ¶
func (x *ProviderConfig) GetClientSecret() string
func (*ProviderConfig) GetDeviceAuthEndpoint ¶ added in v0.8.10
func (x *ProviderConfig) GetDeviceAuthEndpoint() string
func (*ProviderConfig) GetDomain ¶
func (x *ProviderConfig) GetDomain() string
func (*ProviderConfig) GetRedirectURLs ¶ added in v0.22.0
func (x *ProviderConfig) GetRedirectURLs() []string
func (*ProviderConfig) GetScope ¶ added in v0.15.1
func (x *ProviderConfig) GetScope() string
func (*ProviderConfig) GetTokenEndpoint ¶ added in v0.8.10
func (x *ProviderConfig) GetTokenEndpoint() string
func (*ProviderConfig) GetUseIDToken ¶ added in v0.15.1
func (x *ProviderConfig) GetUseIDToken() bool
func (*ProviderConfig) ProtoMessage ¶
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) ProtoReflect ¶
func (x *ProviderConfig) ProtoReflect() protoreflect.Message
func (*ProviderConfig) Reset ¶
func (x *ProviderConfig) Reset()
func (*ProviderConfig) String ¶
func (x *ProviderConfig) String() string
type RelayConfig ¶ added in v0.29.0
type RelayConfig struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` TokenPayload string `protobuf:"bytes,2,opt,name=tokenPayload,proto3" json:"tokenPayload,omitempty"` TokenSignature string `protobuf:"bytes,3,opt,name=tokenSignature,proto3" json:"tokenSignature,omitempty"` // contains filtered or unexported fields }
func (*RelayConfig) Descriptor
deprecated
added in
v0.29.0
func (*RelayConfig) Descriptor() ([]byte, []int)
Deprecated: Use RelayConfig.ProtoReflect.Descriptor instead.
func (*RelayConfig) GetTokenPayload ¶ added in v0.29.0
func (x *RelayConfig) GetTokenPayload() string
func (*RelayConfig) GetTokenSignature ¶ added in v0.29.0
func (x *RelayConfig) GetTokenSignature() string
func (*RelayConfig) GetUrls ¶ added in v0.29.0
func (x *RelayConfig) GetUrls() []string
func (*RelayConfig) ProtoMessage ¶ added in v0.29.0
func (*RelayConfig) ProtoMessage()
func (*RelayConfig) ProtoReflect ¶ added in v0.29.0
func (x *RelayConfig) ProtoReflect() protoreflect.Message
func (*RelayConfig) Reset ¶ added in v0.29.0
func (x *RelayConfig) Reset()
func (*RelayConfig) String ¶ added in v0.29.0
func (x *RelayConfig) String() string
type RemotePeerConfig ¶
type RemotePeerConfig struct { // A WireGuard public key of a remote peer WgPubKey string `protobuf:"bytes,1,opt,name=wgPubKey,proto3" json:"wgPubKey,omitempty"` // WireGuard allowed IPs of a remote peer e.g. [10.30.30.1/32] AllowedIps []string `protobuf:"bytes,2,rep,name=allowedIps,proto3" json:"allowedIps,omitempty"` // SSHConfig is a SSH config of the remote peer. SSHConfig.sshPubKey should be ignored because peer knows it's SSH key. SshConfig *SSHConfig `protobuf:"bytes,3,opt,name=sshConfig,proto3" json:"sshConfig,omitempty"` // Peer fully qualified domain name Fqdn string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // contains filtered or unexported fields }
RemotePeerConfig represents a configuration of a remote peer. The properties are used to configure WireGuard Peers sections
func (*RemotePeerConfig) Descriptor
deprecated
func (*RemotePeerConfig) Descriptor() ([]byte, []int)
Deprecated: Use RemotePeerConfig.ProtoReflect.Descriptor instead.
func (*RemotePeerConfig) GetAllowedIps ¶
func (x *RemotePeerConfig) GetAllowedIps() []string
func (*RemotePeerConfig) GetFqdn ¶ added in v0.11.2
func (x *RemotePeerConfig) GetFqdn() string
func (*RemotePeerConfig) GetSshConfig ¶ added in v0.8.0
func (x *RemotePeerConfig) GetSshConfig() *SSHConfig
func (*RemotePeerConfig) GetWgPubKey ¶
func (x *RemotePeerConfig) GetWgPubKey() string
func (*RemotePeerConfig) ProtoMessage ¶
func (*RemotePeerConfig) ProtoMessage()
func (*RemotePeerConfig) ProtoReflect ¶
func (x *RemotePeerConfig) ProtoReflect() protoreflect.Message
func (*RemotePeerConfig) Reset ¶
func (x *RemotePeerConfig) Reset()
func (*RemotePeerConfig) String ¶
func (x *RemotePeerConfig) String() string
type Route ¶ added in v0.8.9
type Route struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Network string `protobuf:"bytes,2,opt,name=Network,proto3" json:"Network,omitempty"` NetworkType int64 `protobuf:"varint,3,opt,name=NetworkType,proto3" json:"NetworkType,omitempty"` Peer string `protobuf:"bytes,4,opt,name=Peer,proto3" json:"Peer,omitempty"` Metric int64 `protobuf:"varint,5,opt,name=Metric,proto3" json:"Metric,omitempty"` Masquerade bool `protobuf:"varint,6,opt,name=Masquerade,proto3" json:"Masquerade,omitempty"` NetID string `protobuf:"bytes,7,opt,name=NetID,proto3" json:"NetID,omitempty"` Domains []string `protobuf:"bytes,8,rep,name=Domains,proto3" json:"Domains,omitempty"` KeepRoute bool `protobuf:"varint,9,opt,name=keepRoute,proto3" json:"keepRoute,omitempty"` // contains filtered or unexported fields }
Route represents a route.Route object
func (*Route) Descriptor
deprecated
added in
v0.8.9
func (*Route) GetDomains ¶ added in v0.28.0
func (*Route) GetKeepRoute ¶ added in v0.28.0
func (*Route) GetMasquerade ¶ added in v0.8.9
func (*Route) GetNetwork ¶ added in v0.8.9
func (*Route) GetNetworkType ¶ added in v0.8.9
func (*Route) ProtoMessage ¶ added in v0.8.9
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v0.8.9
func (x *Route) ProtoReflect() protoreflect.Message
type RouteFirewallRule ¶ added in v0.30.0
type RouteFirewallRule struct { // sourceRanges IP ranges of the routing peers. SourceRanges []string `protobuf:"bytes,1,rep,name=sourceRanges,proto3" json:"sourceRanges,omitempty"` // Action to be taken by the firewall when the rule is applicable. Action RuleAction `protobuf:"varint,2,opt,name=action,proto3,enum=management.RuleAction" json:"action,omitempty"` // Network prefix for the routed network. Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // Protocol of the routed network. Protocol RuleProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=management.RuleProtocol" json:"protocol,omitempty"` // Details about the port. PortInfo *PortInfo `protobuf:"bytes,5,opt,name=portInfo,proto3" json:"portInfo,omitempty"` // IsDynamic indicates if the route is a DNS route. IsDynamic bool `protobuf:"varint,6,opt,name=isDynamic,proto3" json:"isDynamic,omitempty"` // Domains is a list of domains for which the rule is applicable. Domains []string `protobuf:"bytes,7,rep,name=domains,proto3" json:"domains,omitempty"` // CustomProtocol is a custom protocol ID. CustomProtocol uint32 `protobuf:"varint,8,opt,name=customProtocol,proto3" json:"customProtocol,omitempty"` // contains filtered or unexported fields }
RouteFirewallRule signifies a firewall rule applicable for a routed network.
func (*RouteFirewallRule) Descriptor
deprecated
added in
v0.30.0
func (*RouteFirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use RouteFirewallRule.ProtoReflect.Descriptor instead.
func (*RouteFirewallRule) GetAction ¶ added in v0.30.0
func (x *RouteFirewallRule) GetAction() RuleAction
func (*RouteFirewallRule) GetCustomProtocol ¶ added in v0.35.0
func (x *RouteFirewallRule) GetCustomProtocol() uint32
func (*RouteFirewallRule) GetDestination ¶ added in v0.30.0
func (x *RouteFirewallRule) GetDestination() string
func (*RouteFirewallRule) GetDomains ¶ added in v0.35.0
func (x *RouteFirewallRule) GetDomains() []string
func (*RouteFirewallRule) GetIsDynamic ¶ added in v0.30.0
func (x *RouteFirewallRule) GetIsDynamic() bool
func (*RouteFirewallRule) GetPortInfo ¶ added in v0.30.0
func (x *RouteFirewallRule) GetPortInfo() *PortInfo
func (*RouteFirewallRule) GetProtocol ¶ added in v0.30.0
func (x *RouteFirewallRule) GetProtocol() RuleProtocol
func (*RouteFirewallRule) GetSourceRanges ¶ added in v0.30.0
func (x *RouteFirewallRule) GetSourceRanges() []string
func (*RouteFirewallRule) ProtoMessage ¶ added in v0.30.0
func (*RouteFirewallRule) ProtoMessage()
func (*RouteFirewallRule) ProtoReflect ¶ added in v0.30.0
func (x *RouteFirewallRule) ProtoReflect() protoreflect.Message
func (*RouteFirewallRule) Reset ¶ added in v0.30.0
func (x *RouteFirewallRule) Reset()
func (*RouteFirewallRule) String ¶ added in v0.30.0
func (x *RouteFirewallRule) String() string
type RuleAction ¶ added in v0.30.0
type RuleAction int32
const ( RuleAction_ACCEPT RuleAction = 0 RuleAction_DROP RuleAction = 1 )
func (RuleAction) Descriptor ¶ added in v0.30.0
func (RuleAction) Descriptor() protoreflect.EnumDescriptor
func (RuleAction) Enum ¶ added in v0.30.0
func (x RuleAction) Enum() *RuleAction
func (RuleAction) EnumDescriptor
deprecated
added in
v0.30.0
func (RuleAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleAction.Descriptor instead.
func (RuleAction) Number ¶ added in v0.30.0
func (x RuleAction) Number() protoreflect.EnumNumber
func (RuleAction) String ¶ added in v0.30.0
func (x RuleAction) String() string
func (RuleAction) Type ¶ added in v0.30.0
func (RuleAction) Type() protoreflect.EnumType
type RuleDirection ¶ added in v0.30.0
type RuleDirection int32
const ( RuleDirection_IN RuleDirection = 0 RuleDirection_OUT RuleDirection = 1 )
func (RuleDirection) Descriptor ¶ added in v0.30.0
func (RuleDirection) Descriptor() protoreflect.EnumDescriptor
func (RuleDirection) Enum ¶ added in v0.30.0
func (x RuleDirection) Enum() *RuleDirection
func (RuleDirection) EnumDescriptor
deprecated
added in
v0.30.0
func (RuleDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleDirection.Descriptor instead.
func (RuleDirection) Number ¶ added in v0.30.0
func (x RuleDirection) Number() protoreflect.EnumNumber
func (RuleDirection) String ¶ added in v0.30.0
func (x RuleDirection) String() string
func (RuleDirection) Type ¶ added in v0.30.0
func (RuleDirection) Type() protoreflect.EnumType
type RuleProtocol ¶ added in v0.30.0
type RuleProtocol int32
const ( RuleProtocol_UNKNOWN RuleProtocol = 0 RuleProtocol_ALL RuleProtocol = 1 RuleProtocol_TCP RuleProtocol = 2 RuleProtocol_UDP RuleProtocol = 3 RuleProtocol_ICMP RuleProtocol = 4 RuleProtocol_CUSTOM RuleProtocol = 5 )
func (RuleProtocol) Descriptor ¶ added in v0.30.0
func (RuleProtocol) Descriptor() protoreflect.EnumDescriptor
func (RuleProtocol) Enum ¶ added in v0.30.0
func (x RuleProtocol) Enum() *RuleProtocol
func (RuleProtocol) EnumDescriptor
deprecated
added in
v0.30.0
func (RuleProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleProtocol.Descriptor instead.
func (RuleProtocol) Number ¶ added in v0.30.0
func (x RuleProtocol) Number() protoreflect.EnumNumber
func (RuleProtocol) String ¶ added in v0.30.0
func (x RuleProtocol) String() string
func (RuleProtocol) Type ¶ added in v0.30.0
func (RuleProtocol) Type() protoreflect.EnumType
type SSHConfig ¶ added in v0.8.0
type SSHConfig struct { // sshEnabled indicates whether a SSH server is enabled on this peer SshEnabled bool `protobuf:"varint,1,opt,name=sshEnabled,proto3" json:"sshEnabled,omitempty"` // sshPubKey is a SSH public key of a peer to be added to authorized_hosts. // This property should be ignore if SSHConfig comes from PeerConfig. SshPubKey []byte `protobuf:"bytes,2,opt,name=sshPubKey,proto3" json:"sshPubKey,omitempty"` // contains filtered or unexported fields }
SSHConfig represents SSH configurations of a peer.
func (*SSHConfig) Descriptor
deprecated
added in
v0.8.0
func (*SSHConfig) GetSshEnabled ¶ added in v0.8.0
func (*SSHConfig) GetSshPubKey ¶ added in v0.8.0
func (*SSHConfig) ProtoMessage ¶ added in v0.8.0
func (*SSHConfig) ProtoMessage()
func (*SSHConfig) ProtoReflect ¶ added in v0.8.0
func (x *SSHConfig) ProtoReflect() protoreflect.Message
type ServerKeyResponse ¶
type ServerKeyResponse struct { // Server's Wireguard public key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Key expiration timestamp after which the key should be fetched again by the client ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"` // Version of the Netbird Management Service protocol Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ServerKeyResponse) Descriptor
deprecated
func (*ServerKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerKeyResponse.ProtoReflect.Descriptor instead.
func (*ServerKeyResponse) GetExpiresAt ¶
func (x *ServerKeyResponse) GetExpiresAt() *timestamppb.Timestamp
func (*ServerKeyResponse) GetKey ¶
func (x *ServerKeyResponse) GetKey() string
func (*ServerKeyResponse) GetVersion ¶
func (x *ServerKeyResponse) GetVersion() int32
func (*ServerKeyResponse) ProtoMessage ¶
func (*ServerKeyResponse) ProtoMessage()
func (*ServerKeyResponse) ProtoReflect ¶
func (x *ServerKeyResponse) ProtoReflect() protoreflect.Message
func (*ServerKeyResponse) Reset ¶
func (x *ServerKeyResponse) Reset()
func (*ServerKeyResponse) String ¶
func (x *ServerKeyResponse) String() string
type SimpleRecord ¶ added in v0.10.7
type SimpleRecord struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Type int64 `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"` Class string `protobuf:"bytes,3,opt,name=Class,proto3" json:"Class,omitempty"` TTL int64 `protobuf:"varint,4,opt,name=TTL,proto3" json:"TTL,omitempty"` RData string `protobuf:"bytes,5,opt,name=RData,proto3" json:"RData,omitempty"` // contains filtered or unexported fields }
SimpleRecord represents a dns.SimpleRecord
func (*SimpleRecord) Descriptor
deprecated
added in
v0.10.7
func (*SimpleRecord) Descriptor() ([]byte, []int)
Deprecated: Use SimpleRecord.ProtoReflect.Descriptor instead.
func (*SimpleRecord) GetClass ¶ added in v0.10.7
func (x *SimpleRecord) GetClass() string
func (*SimpleRecord) GetName ¶ added in v0.10.7
func (x *SimpleRecord) GetName() string
func (*SimpleRecord) GetRData ¶ added in v0.10.7
func (x *SimpleRecord) GetRData() string
func (*SimpleRecord) GetTTL ¶ added in v0.10.7
func (x *SimpleRecord) GetTTL() int64
func (*SimpleRecord) GetType ¶ added in v0.10.7
func (x *SimpleRecord) GetType() int64
func (*SimpleRecord) ProtoMessage ¶ added in v0.10.7
func (*SimpleRecord) ProtoMessage()
func (*SimpleRecord) ProtoReflect ¶ added in v0.10.7
func (x *SimpleRecord) ProtoReflect() protoreflect.Message
func (*SimpleRecord) Reset ¶ added in v0.10.7
func (x *SimpleRecord) Reset()
func (*SimpleRecord) String ¶ added in v0.10.7
func (x *SimpleRecord) String() string
type SyncMetaRequest ¶ added in v0.28.0
type SyncMetaRequest struct { // Meta data of the peer Meta *PeerSystemMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SyncMetaRequest) Descriptor
deprecated
added in
v0.28.0
func (*SyncMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncMetaRequest.ProtoReflect.Descriptor instead.
func (*SyncMetaRequest) GetMeta ¶ added in v0.28.0
func (x *SyncMetaRequest) GetMeta() *PeerSystemMeta
func (*SyncMetaRequest) ProtoMessage ¶ added in v0.28.0
func (*SyncMetaRequest) ProtoMessage()
func (*SyncMetaRequest) ProtoReflect ¶ added in v0.28.0
func (x *SyncMetaRequest) ProtoReflect() protoreflect.Message
func (*SyncMetaRequest) Reset ¶ added in v0.28.0
func (x *SyncMetaRequest) Reset()
func (*SyncMetaRequest) String ¶ added in v0.28.0
func (x *SyncMetaRequest) String() string
type SyncRequest ¶
type SyncRequest struct { // Meta data of the peer Meta *PeerSystemMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) GetMeta ¶ added in v0.28.0
func (x *SyncRequest) GetMeta() *PeerSystemMeta
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) ProtoReflect ¶
func (x *SyncRequest) ProtoReflect() protoreflect.Message
func (*SyncRequest) Reset ¶
func (x *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (x *SyncRequest) String() string
type SyncResponse ¶
type SyncResponse struct { // Global config NetbirdConfig *NetbirdConfig `protobuf:"bytes,1,opt,name=netbirdConfig,proto3" json:"netbirdConfig,omitempty"` // Deprecated. Use NetworkMap.PeerConfig PeerConfig *PeerConfig `protobuf:"bytes,2,opt,name=peerConfig,proto3" json:"peerConfig,omitempty"` // Deprecated. Use NetworkMap.RemotePeerConfig RemotePeers []*RemotePeerConfig `protobuf:"bytes,3,rep,name=remotePeers,proto3" json:"remotePeers,omitempty"` // Indicates whether remotePeers array is empty or not to bypass protobuf null and empty array equality. // Deprecated. Use NetworkMap.remotePeersIsEmpty RemotePeersIsEmpty bool `protobuf:"varint,4,opt,name=remotePeersIsEmpty,proto3" json:"remotePeersIsEmpty,omitempty"` NetworkMap *NetworkMap `protobuf:"bytes,5,opt,name=NetworkMap,proto3" json:"NetworkMap,omitempty"` // Posture checks to be evaluated by client Checks []*Checks `protobuf:"bytes,6,rep,name=Checks,proto3" json:"Checks,omitempty"` // contains filtered or unexported fields }
SyncResponse represents a state that should be applied to the local peer (e.g. Netbird servers config as well as local peer and remote peers configs)
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) GetChecks ¶ added in v0.28.0
func (x *SyncResponse) GetChecks() []*Checks
func (*SyncResponse) GetNetbirdConfig ¶ added in v0.36.6
func (x *SyncResponse) GetNetbirdConfig() *NetbirdConfig
func (*SyncResponse) GetNetworkMap ¶
func (x *SyncResponse) GetNetworkMap() *NetworkMap
func (*SyncResponse) GetPeerConfig ¶
func (x *SyncResponse) GetPeerConfig() *PeerConfig
func (*SyncResponse) GetRemotePeers ¶
func (x *SyncResponse) GetRemotePeers() []*RemotePeerConfig
func (*SyncResponse) GetRemotePeersIsEmpty ¶
func (x *SyncResponse) GetRemotePeersIsEmpty() bool
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) ProtoReflect ¶
func (x *SyncResponse) ProtoReflect() protoreflect.Message
func (*SyncResponse) Reset ¶
func (x *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (x *SyncResponse) String() string
type UnimplementedManagementServiceServer ¶
type UnimplementedManagementServiceServer struct { }
UnimplementedManagementServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedManagementServiceServer) GetDeviceAuthorizationFlow ¶
func (UnimplementedManagementServiceServer) GetDeviceAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
func (UnimplementedManagementServiceServer) GetPKCEAuthorizationFlow ¶ added in v0.22.0
func (UnimplementedManagementServiceServer) GetPKCEAuthorizationFlow(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
func (UnimplementedManagementServiceServer) GetServerKey ¶
func (UnimplementedManagementServiceServer) GetServerKey(context.Context, *Empty) (*ServerKeyResponse, error)
func (UnimplementedManagementServiceServer) Login ¶
func (UnimplementedManagementServiceServer) Login(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
func (UnimplementedManagementServiceServer) SyncMeta ¶ added in v0.28.0
func (UnimplementedManagementServiceServer) SyncMeta(context.Context, *EncryptedMessage) (*Empty, error)
type UnsafeManagementServiceServer ¶
type UnsafeManagementServiceServer interface {
// contains filtered or unexported methods
}
UnsafeManagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagementServiceServer will result in compilation errors.