Documentation
¶
Index ¶
- Variables
- func RegisterManagementServiceServer(s grpc.ServiceRegistrar, srv ManagementServiceServer)
- func RegisterProxyServiceServer(s grpc.ServiceRegistrar, srv ProxyServiceServer)
- type AccessLog
- func (*AccessLog) Descriptor() ([]byte, []int)deprecated
- func (x *AccessLog) GetAccountId() string
- func (x *AccessLog) GetAuthMechanism() string
- func (x *AccessLog) GetAuthSuccess() bool
- func (x *AccessLog) GetDurationMs() int64
- func (x *AccessLog) GetHost() string
- func (x *AccessLog) GetLogId() string
- func (x *AccessLog) GetMethod() string
- func (x *AccessLog) GetPath() string
- func (x *AccessLog) GetResponseCode() int32
- func (x *AccessLog) GetServiceId() string
- func (x *AccessLog) GetSourceIp() string
- func (x *AccessLog) GetTimestamp() *timestamppb.Timestamp
- func (x *AccessLog) GetUserId() string
- func (*AccessLog) ProtoMessage()
- func (x *AccessLog) ProtoReflect() protoreflect.Message
- func (x *AccessLog) Reset()
- func (x *AccessLog) String() string
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetAccountId() string
- func (x *AuthenticateRequest) GetId() string
- func (x *AuthenticateRequest) GetPassword() *PasswordRequest
- func (x *AuthenticateRequest) GetPin() *PinRequest
- func (m *AuthenticateRequest) GetRequest() isAuthenticateRequest_Request
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type AuthenticateRequest_Password
- type AuthenticateRequest_Pin
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetSessionToken() string
- func (x *AuthenticateResponse) GetSuccess() bool
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- type Authentication
- func (*Authentication) Descriptor() ([]byte, []int)deprecated
- func (x *Authentication) GetMaxSessionAgeSeconds() int64
- func (x *Authentication) GetOidc() bool
- func (x *Authentication) GetPassword() bool
- func (x *Authentication) GetPin() bool
- func (x *Authentication) GetSessionKey() string
- func (*Authentication) ProtoMessage()
- func (x *Authentication) ProtoReflect() protoreflect.Message
- func (x *Authentication) Reset()
- func (x *Authentication) String() string
- type AutoUpdateSettings
- func (*AutoUpdateSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AutoUpdateSettings) GetAlwaysUpdate() bool
- func (x *AutoUpdateSettings) GetVersion() string
- func (*AutoUpdateSettings) ProtoMessage()
- func (x *AutoUpdateSettings) ProtoReflect() protoreflect.Message
- func (x *AutoUpdateSettings) Reset()
- func (x *AutoUpdateSettings) String() string
- type BundleParameters
- func (*BundleParameters) Descriptor() ([]byte, []int)deprecated
- func (x *BundleParameters) GetAnonymize() bool
- func (x *BundleParameters) GetBundleFor() bool
- func (x *BundleParameters) GetBundleForTime() int64
- func (x *BundleParameters) GetLogFileCount() int32
- func (*BundleParameters) ProtoMessage()
- func (x *BundleParameters) ProtoReflect() protoreflect.Message
- func (x *BundleParameters) Reset()
- func (x *BundleParameters) String() string
- type BundleResult
- type Checks
- type CreateProxyPeerRequest
- func (*CreateProxyPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProxyPeerRequest) GetAccountId() string
- func (x *CreateProxyPeerRequest) GetCluster() string
- func (x *CreateProxyPeerRequest) GetServiceId() string
- func (x *CreateProxyPeerRequest) GetToken() string
- func (x *CreateProxyPeerRequest) GetWireguardPublicKey() string
- func (*CreateProxyPeerRequest) ProtoMessage()
- func (x *CreateProxyPeerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProxyPeerRequest) Reset()
- func (x *CreateProxyPeerRequest) String() string
- type CreateProxyPeerResponse
- func (*CreateProxyPeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProxyPeerResponse) GetErrorMessage() string
- func (x *CreateProxyPeerResponse) GetSuccess() bool
- func (*CreateProxyPeerResponse) ProtoMessage()
- func (x *CreateProxyPeerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProxyPeerResponse) Reset()
- func (x *CreateProxyPeerResponse) String() string
- type CustomZone
- func (*CustomZone) Descriptor() ([]byte, []int)deprecated
- func (x *CustomZone) GetDomain() string
- func (x *CustomZone) GetNonAuthoritative() bool
- func (x *CustomZone) GetRecords() []*SimpleRecord
- func (x *CustomZone) GetSearchDomainDisabled() bool
- 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) GetForwarderPort() int64deprecated
- 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) GetPolicyID() []byte
- 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) GetBlockInbound() bool
- func (x *Flags) GetBlockLANAccess() bool
- func (x *Flags) GetDisableClientRoutes() bool
- func (x *Flags) GetDisableDNS() bool
- func (x *Flags) GetDisableFirewall() bool
- func (x *Flags) GetDisableSSHAuth() bool
- func (x *Flags) GetDisableServerRoutes() bool
- func (x *Flags) GetEnableSSHLocalPortForwarding() bool
- func (x *Flags) GetEnableSSHRemotePortForwarding() bool
- func (x *Flags) GetEnableSSHRoot() bool
- func (x *Flags) GetEnableSSHSFTP() bool
- func (x *Flags) GetLazyConnectionEnabled() 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 FlowConfig
- func (*FlowConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FlowConfig) GetCounters() bool
- func (x *FlowConfig) GetDnsCollection() bool
- func (x *FlowConfig) GetEnabled() bool
- func (x *FlowConfig) GetExitNodeCollection() bool
- func (x *FlowConfig) GetInterval() *durationpb.Duration
- func (x *FlowConfig) GetTokenPayload() string
- func (x *FlowConfig) GetTokenSignature() string
- func (x *FlowConfig) GetUrl() string
- func (*FlowConfig) ProtoMessage()
- func (x *FlowConfig) ProtoReflect() protoreflect.Message
- func (x *FlowConfig) Reset()
- func (x *FlowConfig) String() string
- type ForwardingRule
- func (*ForwardingRule) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardingRule) GetDestinationPort() *PortInfo
- func (x *ForwardingRule) GetProtocol() RuleProtocol
- func (x *ForwardingRule) GetTranslatedAddress() []byte
- func (x *ForwardingRule) GetTranslatedPort() *PortInfo
- func (*ForwardingRule) ProtoMessage()
- func (x *ForwardingRule) ProtoReflect() protoreflect.Message
- func (x *ForwardingRule) Reset()
- func (x *ForwardingRule) String() string
- type GetMappingUpdateRequest
- func (*GetMappingUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingUpdateRequest) GetAddress() string
- func (x *GetMappingUpdateRequest) GetProxyId() string
- func (x *GetMappingUpdateRequest) GetStartedAt() *timestamppb.Timestamp
- func (x *GetMappingUpdateRequest) GetVersion() string
- func (*GetMappingUpdateRequest) ProtoMessage()
- func (x *GetMappingUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *GetMappingUpdateRequest) Reset()
- func (x *GetMappingUpdateRequest) String() string
- type GetMappingUpdateResponse
- func (*GetMappingUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMappingUpdateResponse) GetInitialSyncComplete() bool
- func (x *GetMappingUpdateResponse) GetMapping() []*ProxyMapping
- func (*GetMappingUpdateResponse) ProtoMessage()
- func (x *GetMappingUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *GetMappingUpdateResponse) Reset()
- func (x *GetMappingUpdateResponse) String() string
- type GetOIDCURLRequest
- func (*GetOIDCURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCURLRequest) GetAccountId() string
- func (x *GetOIDCURLRequest) GetId() string
- func (x *GetOIDCURLRequest) GetRedirectUrl() string
- func (*GetOIDCURLRequest) ProtoMessage()
- func (x *GetOIDCURLRequest) ProtoReflect() protoreflect.Message
- func (x *GetOIDCURLRequest) Reset()
- func (x *GetOIDCURLRequest) String() string
- type GetOIDCURLResponse
- 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 JWTConfig
- func (*JWTConfig) Descriptor() ([]byte, []int)deprecated
- func (x *JWTConfig) GetAudience() string
- func (x *JWTConfig) GetAudiences() []string
- func (x *JWTConfig) GetIssuer() string
- func (x *JWTConfig) GetKeysLocation() string
- func (x *JWTConfig) GetMaxTokenAge() int64
- func (*JWTConfig) ProtoMessage()
- func (x *JWTConfig) ProtoReflect() protoreflect.Message
- func (x *JWTConfig) Reset()
- func (x *JWTConfig) String() string
- type JobRequest
- func (*JobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JobRequest) GetBundle() *BundleParameters
- func (x *JobRequest) GetID() []byte
- func (m *JobRequest) GetWorkloadParameters() isJobRequest_WorkloadParameters
- func (*JobRequest) ProtoMessage()
- func (x *JobRequest) ProtoReflect() protoreflect.Message
- func (x *JobRequest) Reset()
- func (x *JobRequest) String() string
- type JobRequest_Bundle
- type JobResponse
- func (*JobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JobResponse) GetBundle() *BundleResult
- func (x *JobResponse) GetID() []byte
- func (x *JobResponse) GetReason() []byte
- func (x *JobResponse) GetStatus() JobStatus
- func (m *JobResponse) GetWorkloadResults() isJobResponse_WorkloadResults
- func (*JobResponse) ProtoMessage()
- func (x *JobResponse) ProtoReflect() protoreflect.Message
- func (x *JobResponse) Reset()
- func (x *JobResponse) String() string
- type JobResponse_Bundle
- type JobStatus
- 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 MachineUserIndexes
- func (*MachineUserIndexes) Descriptor() ([]byte, []int)deprecated
- func (x *MachineUserIndexes) GetIndexes() []uint32
- func (*MachineUserIndexes) ProtoMessage()
- func (x *MachineUserIndexes) ProtoReflect() protoreflect.Message
- func (x *MachineUserIndexes) Reset()
- func (x *MachineUserIndexes) String() string
- type ManagementServiceClient
- type ManagementServiceServer
- type ManagementService_JobClient
- type ManagementService_JobServer
- 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) GetFlow() *FlowConfig
- 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) GetForwardingRules() []*ForwardingRule
- 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 (x *NetworkMap) GetSshAuth() *SSHAuth
- 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 PasswordRequest
- type PathMapping
- type PeerConfig
- func (*PeerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeerConfig) GetAddress() string
- func (x *PeerConfig) GetAutoUpdate() *AutoUpdateSettings
- func (x *PeerConfig) GetDns() string
- func (x *PeerConfig) GetFqdn() string
- func (x *PeerConfig) GetLazyConnectionEnabled() bool
- func (x *PeerConfig) GetMtu() int32
- 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 PinRequest
- 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) GetDisablePromptLogin() bool
- func (x *ProviderConfig) GetDomain() string
- func (x *ProviderConfig) GetLoginFlag() uint32
- 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 ProxyMapping
- func (*ProxyMapping) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyMapping) GetAccountId() string
- func (x *ProxyMapping) GetAuth() *Authentication
- func (x *ProxyMapping) GetAuthToken() string
- func (x *ProxyMapping) GetDomain() string
- func (x *ProxyMapping) GetId() string
- func (x *ProxyMapping) GetPassHostHeader() bool
- func (x *ProxyMapping) GetPath() []*PathMapping
- func (x *ProxyMapping) GetRewriteRedirects() bool
- func (x *ProxyMapping) GetType() ProxyMappingUpdateType
- func (*ProxyMapping) ProtoMessage()
- func (x *ProxyMapping) ProtoReflect() protoreflect.Message
- func (x *ProxyMapping) Reset()
- func (x *ProxyMapping) String() string
- type ProxyMappingUpdateType
- func (ProxyMappingUpdateType) Descriptor() protoreflect.EnumDescriptor
- func (x ProxyMappingUpdateType) Enum() *ProxyMappingUpdateType
- func (ProxyMappingUpdateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProxyMappingUpdateType) Number() protoreflect.EnumNumber
- func (x ProxyMappingUpdateType) String() string
- func (ProxyMappingUpdateType) Type() protoreflect.EnumType
- type ProxyServiceClient
- type ProxyServiceServer
- type ProxyService_GetMappingUpdateClient
- type ProxyService_GetMappingUpdateServer
- type ProxyStatus
- func (ProxyStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProxyStatus) Enum() *ProxyStatus
- func (ProxyStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProxyStatus) Number() protoreflect.EnumNumber
- func (x ProxyStatus) String() string
- func (ProxyStatus) Type() protoreflect.EnumType
- 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) GetAgentVersion() string
- 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 (x *Route) GetSkipAutoApply() bool
- 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) GetPolicyID() []byte
- func (x *RouteFirewallRule) GetPortInfo() *PortInfo
- func (x *RouteFirewallRule) GetProtocol() RuleProtocol
- func (x *RouteFirewallRule) GetRouteID() string
- 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 SSHAuth
- func (*SSHAuth) Descriptor() ([]byte, []int)deprecated
- func (x *SSHAuth) GetAuthorizedUsers() [][]byte
- func (x *SSHAuth) GetMachineUsers() map[string]*MachineUserIndexes
- func (x *SSHAuth) GetUserIDClaim() string
- func (*SSHAuth) ProtoMessage()
- func (x *SSHAuth) ProtoReflect() protoreflect.Message
- func (x *SSHAuth) Reset()
- func (x *SSHAuth) String() string
- type SSHConfig
- func (*SSHConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SSHConfig) GetJwtConfig() *JWTConfig
- func (x *SSHConfig) GetSshEnabled() bool
- func (x *SSHConfig) GetSshPubKey() []byte
- func (*SSHConfig) ProtoMessage()
- func (x *SSHConfig) ProtoReflect() protoreflect.Message
- func (x *SSHConfig) Reset()
- func (x *SSHConfig) String() string
- type SendAccessLogRequest
- func (*SendAccessLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendAccessLogRequest) GetLog() *AccessLog
- func (*SendAccessLogRequest) ProtoMessage()
- func (x *SendAccessLogRequest) ProtoReflect() protoreflect.Message
- func (x *SendAccessLogRequest) Reset()
- func (x *SendAccessLogRequest) String() string
- type SendAccessLogResponse
- type SendStatusUpdateRequest
- func (*SendStatusUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendStatusUpdateRequest) GetAccountId() string
- func (x *SendStatusUpdateRequest) GetCertificateIssued() bool
- func (x *SendStatusUpdateRequest) GetErrorMessage() string
- func (x *SendStatusUpdateRequest) GetServiceId() string
- func (x *SendStatusUpdateRequest) GetStatus() ProxyStatus
- func (*SendStatusUpdateRequest) ProtoMessage()
- func (x *SendStatusUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SendStatusUpdateRequest) Reset()
- func (x *SendStatusUpdateRequest) String() string
- type SendStatusUpdateResponse
- 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) Job(ManagementService_JobServer) error
- func (UnimplementedManagementServiceServer) Login(context.Context, *EncryptedMessage) (*EncryptedMessage, error)
- func (UnimplementedManagementServiceServer) Logout(context.Context, *EncryptedMessage) (*Empty, error)
- func (UnimplementedManagementServiceServer) Sync(*EncryptedMessage, ManagementService_SyncServer) error
- func (UnimplementedManagementServiceServer) SyncMeta(context.Context, *EncryptedMessage) (*Empty, error)
- type UnimplementedProxyServiceServer
- func (UnimplementedProxyServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (UnimplementedProxyServiceServer) CreateProxyPeer(context.Context, *CreateProxyPeerRequest) (*CreateProxyPeerResponse, error)
- func (UnimplementedProxyServiceServer) GetMappingUpdate(*GetMappingUpdateRequest, ProxyService_GetMappingUpdateServer) error
- func (UnimplementedProxyServiceServer) GetOIDCURL(context.Context, *GetOIDCURLRequest) (*GetOIDCURLResponse, error)
- func (UnimplementedProxyServiceServer) SendAccessLog(context.Context, *SendAccessLogRequest) (*SendAccessLogResponse, error)
- func (UnimplementedProxyServiceServer) SendStatusUpdate(context.Context, *SendStatusUpdateRequest) (*SendStatusUpdateResponse, error)
- func (UnimplementedProxyServiceServer) ValidateSession(context.Context, *ValidateSessionRequest) (*ValidateSessionResponse, error)
- type UnsafeManagementServiceServer
- type UnsafeProxyServiceServer
- type ValidateSessionRequest
- func (*ValidateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSessionRequest) GetDomain() string
- func (x *ValidateSessionRequest) GetSessionToken() string
- func (*ValidateSessionRequest) ProtoMessage()
- func (x *ValidateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateSessionRequest) Reset()
- func (x *ValidateSessionRequest) String() string
- type ValidateSessionResponse
- func (*ValidateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateSessionResponse) GetDeniedReason() string
- func (x *ValidateSessionResponse) GetUserEmail() string
- func (x *ValidateSessionResponse) GetUserId() string
- func (x *ValidateSessionResponse) GetValid() bool
- func (*ValidateSessionResponse) ProtoMessage()
- func (x *ValidateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateSessionResponse) Reset()
- func (x *ValidateSessionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( JobStatus_name = map[int32]string{ 0: "unknown_status", 1: "succeeded", 2: "failed", } JobStatus_value = map[string]int32{ "unknown_status": 0, "succeeded": 1, "failed": 2, } )
Enum value maps for JobStatus.
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 ( ProxyMappingUpdateType_name = map[int32]string{ 0: "UPDATE_TYPE_CREATED", 1: "UPDATE_TYPE_MODIFIED", 2: "UPDATE_TYPE_REMOVED", } ProxyMappingUpdateType_value = map[string]int32{ "UPDATE_TYPE_CREATED": 0, "UPDATE_TYPE_MODIFIED": 1, "UPDATE_TYPE_REMOVED": 2, } )
Enum value maps for ProxyMappingUpdateType.
var ( ProxyStatus_name = map[int32]string{ 0: "PROXY_STATUS_PENDING", 1: "PROXY_STATUS_ACTIVE", 2: "PROXY_STATUS_TUNNEL_NOT_CREATED", 3: "PROXY_STATUS_CERTIFICATE_PENDING", 4: "PROXY_STATUS_CERTIFICATE_FAILED", 5: "PROXY_STATUS_ERROR", } ProxyStatus_value = map[string]int32{ "PROXY_STATUS_PENDING": 0, "PROXY_STATUS_ACTIVE": 1, "PROXY_STATUS_TUNNEL_NOT_CREATED": 2, "PROXY_STATUS_CERTIFICATE_PENDING": 3, "PROXY_STATUS_CERTIFICATE_FAILED": 4, "PROXY_STATUS_ERROR": 5, } )
Enum value maps for ProxyStatus.
var File_management_proto protoreflect.FileDescriptor
var File_proxy_service_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, }, { MethodName: "Logout", Handler: _ManagementService_Logout_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Sync", Handler: _ManagementService_Sync_Handler, ServerStreams: true, }, { StreamName: "Job", Handler: _ManagementService_Job_Handler, ServerStreams: true, ClientStreams: 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)
var ProxyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "management.ProxyService", HandlerType: (*ProxyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendAccessLog", Handler: _ProxyService_SendAccessLog_Handler, }, { MethodName: "Authenticate", Handler: _ProxyService_Authenticate_Handler, }, { MethodName: "SendStatusUpdate", Handler: _ProxyService_SendStatusUpdate_Handler, }, { MethodName: "CreateProxyPeer", Handler: _ProxyService_CreateProxyPeer_Handler, }, { MethodName: "GetOIDCURL", Handler: _ProxyService_GetOIDCURL_Handler, }, { MethodName: "ValidateSession", Handler: _ProxyService_ValidateSession_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetMappingUpdate", Handler: _ProxyService_GetMappingUpdate_Handler, ServerStreams: true, }, }, Metadata: "proxy_service.proto", }
ProxyService_ServiceDesc is the grpc.ServiceDesc for ProxyService 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)
func RegisterProxyServiceServer ¶ added in v0.65.0
func RegisterProxyServiceServer(s grpc.ServiceRegistrar, srv ProxyServiceServer)
Types ¶
type AccessLog ¶ added in v0.65.0
type AccessLog struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
LogId string `protobuf:"bytes,2,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"`
AccountId string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
ServiceId string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
DurationMs int64 `protobuf:"varint,7,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
Method string `protobuf:"bytes,8,opt,name=method,proto3" json:"method,omitempty"`
ResponseCode int32 `protobuf:"varint,9,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
SourceIp string `protobuf:"bytes,10,opt,name=source_ip,json=sourceIp,proto3" json:"source_ip,omitempty"`
AuthMechanism string `protobuf:"bytes,11,opt,name=auth_mechanism,json=authMechanism,proto3" json:"auth_mechanism,omitempty"`
UserId string `protobuf:"bytes,12,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
AuthSuccess bool `protobuf:"varint,13,opt,name=auth_success,json=authSuccess,proto3" json:"auth_success,omitempty"`
// contains filtered or unexported fields
}
func (*AccessLog) Descriptor
deprecated
added in
v0.65.0
func (*AccessLog) GetAccountId ¶ added in v0.65.0
func (*AccessLog) GetAuthMechanism ¶ added in v0.65.0
func (*AccessLog) GetAuthSuccess ¶ added in v0.65.0
func (*AccessLog) GetDurationMs ¶ added in v0.65.0
func (*AccessLog) GetResponseCode ¶ added in v0.65.0
func (*AccessLog) GetServiceId ¶ added in v0.65.0
func (*AccessLog) GetSourceIp ¶ added in v0.65.0
func (*AccessLog) GetTimestamp ¶ added in v0.65.0
func (x *AccessLog) GetTimestamp() *timestamppb.Timestamp
func (*AccessLog) ProtoMessage ¶ added in v0.65.0
func (*AccessLog) ProtoMessage()
func (*AccessLog) ProtoReflect ¶ added in v0.65.0
func (x *AccessLog) ProtoReflect() protoreflect.Message
type AuthenticateRequest ¶ added in v0.65.0
type AuthenticateRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
// Types that are assignable to Request:
//
// *AuthenticateRequest_Password
// *AuthenticateRequest_Pin
Request isAuthenticateRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
func (*AuthenticateRequest) Descriptor
deprecated
added in
v0.65.0
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetAccountId ¶ added in v0.65.0
func (x *AuthenticateRequest) GetAccountId() string
func (*AuthenticateRequest) GetId ¶ added in v0.65.0
func (x *AuthenticateRequest) GetId() string
func (*AuthenticateRequest) GetPassword ¶ added in v0.65.0
func (x *AuthenticateRequest) GetPassword() *PasswordRequest
func (*AuthenticateRequest) GetPin ¶ added in v0.65.0
func (x *AuthenticateRequest) GetPin() *PinRequest
func (*AuthenticateRequest) GetRequest ¶ added in v0.65.0
func (m *AuthenticateRequest) GetRequest() isAuthenticateRequest_Request
func (*AuthenticateRequest) ProtoMessage ¶ added in v0.65.0
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶ added in v0.65.0
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶ added in v0.65.0
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶ added in v0.65.0
func (x *AuthenticateRequest) String() string
type AuthenticateRequest_Password ¶ added in v0.65.0
type AuthenticateRequest_Password struct {
Password *PasswordRequest `protobuf:"bytes,3,opt,name=password,proto3,oneof"`
}
type AuthenticateRequest_Pin ¶ added in v0.65.0
type AuthenticateRequest_Pin struct {
Pin *PinRequest `protobuf:"bytes,4,opt,name=pin,proto3,oneof"`
}
type AuthenticateResponse ¶ added in v0.65.0
type AuthenticateResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*AuthenticateResponse) Descriptor
deprecated
added in
v0.65.0
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetSessionToken ¶ added in v0.65.0
func (x *AuthenticateResponse) GetSessionToken() string
func (*AuthenticateResponse) GetSuccess ¶ added in v0.65.0
func (x *AuthenticateResponse) GetSuccess() bool
func (*AuthenticateResponse) ProtoMessage ¶ added in v0.65.0
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶ added in v0.65.0
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶ added in v0.65.0
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶ added in v0.65.0
func (x *AuthenticateResponse) String() string
type Authentication ¶ added in v0.65.0
type Authentication struct {
SessionKey string `protobuf:"bytes,1,opt,name=session_key,json=sessionKey,proto3" json:"session_key,omitempty"`
MaxSessionAgeSeconds int64 `` /* 126-byte string literal not displayed */
Password bool `protobuf:"varint,3,opt,name=password,proto3" json:"password,omitempty"`
Pin bool `protobuf:"varint,4,opt,name=pin,proto3" json:"pin,omitempty"`
Oidc bool `protobuf:"varint,5,opt,name=oidc,proto3" json:"oidc,omitempty"`
// contains filtered or unexported fields
}
func (*Authentication) Descriptor
deprecated
added in
v0.65.0
func (*Authentication) Descriptor() ([]byte, []int)
Deprecated: Use Authentication.ProtoReflect.Descriptor instead.
func (*Authentication) GetMaxSessionAgeSeconds ¶ added in v0.65.0
func (x *Authentication) GetMaxSessionAgeSeconds() int64
func (*Authentication) GetOidc ¶ added in v0.65.0
func (x *Authentication) GetOidc() bool
func (*Authentication) GetPassword ¶ added in v0.65.0
func (x *Authentication) GetPassword() bool
func (*Authentication) GetPin ¶ added in v0.65.0
func (x *Authentication) GetPin() bool
func (*Authentication) GetSessionKey ¶ added in v0.65.0
func (x *Authentication) GetSessionKey() string
func (*Authentication) ProtoMessage ¶ added in v0.65.0
func (*Authentication) ProtoMessage()
func (*Authentication) ProtoReflect ¶ added in v0.65.0
func (x *Authentication) ProtoReflect() protoreflect.Message
func (*Authentication) Reset ¶ added in v0.65.0
func (x *Authentication) Reset()
func (*Authentication) String ¶ added in v0.65.0
func (x *Authentication) String() string
type AutoUpdateSettings ¶ added in v0.61.0
type AutoUpdateSettings struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// alwaysUpdate = true → Updates happen automatically in the background
// alwaysUpdate = false → Updates only happen when triggered by a peer connection
AlwaysUpdate bool `protobuf:"varint,2,opt,name=alwaysUpdate,proto3" json:"alwaysUpdate,omitempty"`
// contains filtered or unexported fields
}
func (*AutoUpdateSettings) Descriptor
deprecated
added in
v0.61.0
func (*AutoUpdateSettings) Descriptor() ([]byte, []int)
Deprecated: Use AutoUpdateSettings.ProtoReflect.Descriptor instead.
func (*AutoUpdateSettings) GetAlwaysUpdate ¶ added in v0.61.0
func (x *AutoUpdateSettings) GetAlwaysUpdate() bool
func (*AutoUpdateSettings) GetVersion ¶ added in v0.61.0
func (x *AutoUpdateSettings) GetVersion() string
func (*AutoUpdateSettings) ProtoMessage ¶ added in v0.61.0
func (*AutoUpdateSettings) ProtoMessage()
func (*AutoUpdateSettings) ProtoReflect ¶ added in v0.61.0
func (x *AutoUpdateSettings) ProtoReflect() protoreflect.Message
func (*AutoUpdateSettings) Reset ¶ added in v0.61.0
func (x *AutoUpdateSettings) Reset()
func (*AutoUpdateSettings) String ¶ added in v0.61.0
func (x *AutoUpdateSettings) String() string
type BundleParameters ¶ added in v0.64.0
type BundleParameters struct {
BundleFor bool `protobuf:"varint,1,opt,name=bundle_for,json=bundleFor,proto3" json:"bundle_for,omitempty"`
BundleForTime int64 `protobuf:"varint,2,opt,name=bundle_for_time,json=bundleForTime,proto3" json:"bundle_for_time,omitempty"`
LogFileCount int32 `protobuf:"varint,3,opt,name=log_file_count,json=logFileCount,proto3" json:"log_file_count,omitempty"`
Anonymize bool `protobuf:"varint,4,opt,name=anonymize,proto3" json:"anonymize,omitempty"`
// contains filtered or unexported fields
}
func (*BundleParameters) Descriptor
deprecated
added in
v0.64.0
func (*BundleParameters) Descriptor() ([]byte, []int)
Deprecated: Use BundleParameters.ProtoReflect.Descriptor instead.
func (*BundleParameters) GetAnonymize ¶ added in v0.64.0
func (x *BundleParameters) GetAnonymize() bool
func (*BundleParameters) GetBundleFor ¶ added in v0.64.0
func (x *BundleParameters) GetBundleFor() bool
func (*BundleParameters) GetBundleForTime ¶ added in v0.64.0
func (x *BundleParameters) GetBundleForTime() int64
func (*BundleParameters) GetLogFileCount ¶ added in v0.64.0
func (x *BundleParameters) GetLogFileCount() int32
func (*BundleParameters) ProtoMessage ¶ added in v0.64.0
func (*BundleParameters) ProtoMessage()
func (*BundleParameters) ProtoReflect ¶ added in v0.64.0
func (x *BundleParameters) ProtoReflect() protoreflect.Message
func (*BundleParameters) Reset ¶ added in v0.64.0
func (x *BundleParameters) Reset()
func (*BundleParameters) String ¶ added in v0.64.0
func (x *BundleParameters) String() string
type BundleResult ¶ added in v0.64.0
type BundleResult struct {
UploadKey string `protobuf:"bytes,1,opt,name=upload_key,json=uploadKey,proto3" json:"upload_key,omitempty"`
// contains filtered or unexported fields
}
func (*BundleResult) Descriptor
deprecated
added in
v0.64.0
func (*BundleResult) Descriptor() ([]byte, []int)
Deprecated: Use BundleResult.ProtoReflect.Descriptor instead.
func (*BundleResult) GetUploadKey ¶ added in v0.64.0
func (x *BundleResult) GetUploadKey() string
func (*BundleResult) ProtoMessage ¶ added in v0.64.0
func (*BundleResult) ProtoMessage()
func (*BundleResult) ProtoReflect ¶ added in v0.64.0
func (x *BundleResult) ProtoReflect() protoreflect.Message
func (*BundleResult) Reset ¶ added in v0.64.0
func (x *BundleResult) Reset()
func (*BundleResult) String ¶ added in v0.64.0
func (x *BundleResult) String() string
type Checks ¶
type Checks struct {
Files []string `protobuf:"bytes,1,rep,name=Files,proto3" json:"Files,omitempty"`
// contains filtered or unexported fields
}
func (*Checks) Descriptor
deprecated
func (*Checks) ProtoMessage ¶
func (*Checks) ProtoMessage()
func (*Checks) ProtoReflect ¶
func (x *Checks) ProtoReflect() protoreflect.Message
type CreateProxyPeerRequest ¶ added in v0.65.0
type CreateProxyPeerRequest struct {
ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
WireguardPublicKey string `protobuf:"bytes,4,opt,name=wireguard_public_key,json=wireguardPublicKey,proto3" json:"wireguard_public_key,omitempty"`
Cluster string `protobuf:"bytes,5,opt,name=cluster,proto3" json:"cluster,omitempty"`
// contains filtered or unexported fields
}
CreateProxyPeerRequest is sent by the proxy to create a peer connection The token is a one-time authentication token sent via ProxyMapping
func (*CreateProxyPeerRequest) Descriptor
deprecated
added in
v0.65.0
func (*CreateProxyPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProxyPeerRequest.ProtoReflect.Descriptor instead.
func (*CreateProxyPeerRequest) GetAccountId ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) GetAccountId() string
func (*CreateProxyPeerRequest) GetCluster ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) GetCluster() string
func (*CreateProxyPeerRequest) GetServiceId ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) GetServiceId() string
func (*CreateProxyPeerRequest) GetToken ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) GetToken() string
func (*CreateProxyPeerRequest) GetWireguardPublicKey ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) GetWireguardPublicKey() string
func (*CreateProxyPeerRequest) ProtoMessage ¶ added in v0.65.0
func (*CreateProxyPeerRequest) ProtoMessage()
func (*CreateProxyPeerRequest) ProtoReflect ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) ProtoReflect() protoreflect.Message
func (*CreateProxyPeerRequest) Reset ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) Reset()
func (*CreateProxyPeerRequest) String ¶ added in v0.65.0
func (x *CreateProxyPeerRequest) String() string
type CreateProxyPeerResponse ¶ added in v0.65.0
type CreateProxyPeerResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
ErrorMessage *string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
CreateProxyPeerResponse contains the result of peer creation
func (*CreateProxyPeerResponse) Descriptor
deprecated
added in
v0.65.0
func (*CreateProxyPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProxyPeerResponse.ProtoReflect.Descriptor instead.
func (*CreateProxyPeerResponse) GetErrorMessage ¶ added in v0.65.0
func (x *CreateProxyPeerResponse) GetErrorMessage() string
func (*CreateProxyPeerResponse) GetSuccess ¶ added in v0.65.0
func (x *CreateProxyPeerResponse) GetSuccess() bool
func (*CreateProxyPeerResponse) ProtoMessage ¶ added in v0.65.0
func (*CreateProxyPeerResponse) ProtoMessage()
func (*CreateProxyPeerResponse) ProtoReflect ¶ added in v0.65.0
func (x *CreateProxyPeerResponse) ProtoReflect() protoreflect.Message
func (*CreateProxyPeerResponse) Reset ¶ added in v0.65.0
func (x *CreateProxyPeerResponse) Reset()
func (*CreateProxyPeerResponse) String ¶ added in v0.65.0
func (x *CreateProxyPeerResponse) String() string
type CustomZone ¶
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"`
SearchDomainDisabled bool `protobuf:"varint,3,opt,name=SearchDomainDisabled,proto3" json:"SearchDomainDisabled,omitempty"`
// NonAuthoritative indicates this is a user-created zone (not the built-in peer DNS zone).
// Non-authoritative zones will fallthrough to lower-priority handlers on NXDOMAIN and skip PTR processing.
NonAuthoritative bool `protobuf:"varint,4,opt,name=NonAuthoritative,proto3" json:"NonAuthoritative,omitempty"`
// contains filtered or unexported fields
}
CustomZone represents a dns.CustomZone
func (*CustomZone) Descriptor
deprecated
func (*CustomZone) Descriptor() ([]byte, []int)
Deprecated: Use CustomZone.ProtoReflect.Descriptor instead.
func (*CustomZone) GetDomain ¶
func (x *CustomZone) GetDomain() string
func (*CustomZone) GetNonAuthoritative ¶ added in v0.63.0
func (x *CustomZone) GetNonAuthoritative() bool
func (*CustomZone) GetRecords ¶
func (x *CustomZone) GetRecords() []*SimpleRecord
func (*CustomZone) GetSearchDomainDisabled ¶ added in v0.60.3
func (x *CustomZone) GetSearchDomainDisabled() bool
func (*CustomZone) ProtoMessage ¶
func (*CustomZone) ProtoMessage()
func (*CustomZone) ProtoReflect ¶
func (x *CustomZone) ProtoReflect() protoreflect.Message
func (*CustomZone) Reset ¶
func (x *CustomZone) Reset()
func (*CustomZone) String ¶
func (x *CustomZone) String() string
type DNSConfig ¶
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"`
// Deprecated: Do not use.
ForwarderPort int64 `protobuf:"varint,4,opt,name=ForwarderPort,proto3" json:"ForwarderPort,omitempty"`
// contains filtered or unexported fields
}
DNSConfig represents a dns.Update
func (*DNSConfig) Descriptor
deprecated
func (*DNSConfig) GetCustomZones ¶
func (x *DNSConfig) GetCustomZones() []*CustomZone
func (*DNSConfig) GetForwarderPort
deprecated
added in
v0.59.0
func (*DNSConfig) GetNameServerGroups ¶
func (x *DNSConfig) GetNameServerGroups() []*NameServerGroup
func (*DNSConfig) GetServiceEnable ¶
func (*DNSConfig) ProtoMessage ¶
func (*DNSConfig) ProtoMessage()
func (*DNSConfig) ProtoReflect ¶
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 ¶
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
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetCloud ¶
func (x *Environment) GetCloud() string
func (*Environment) GetPlatform ¶
func (x *Environment) GetPlatform() string
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type File ¶
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
func (*File) GetProcessIsRunning ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FirewallRule ¶
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"`
// PolicyID is the ID of the policy that this rule belongs to
PolicyID []byte `protobuf:"bytes,7,opt,name=PolicyID,proto3" json:"PolicyID,omitempty"`
// contains filtered or unexported fields
}
FirewallRule represents a firewall rule
func (*FirewallRule) Descriptor
deprecated
func (*FirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.
func (*FirewallRule) GetAction ¶
func (x *FirewallRule) GetAction() RuleAction
func (*FirewallRule) GetDirection ¶
func (x *FirewallRule) GetDirection() RuleDirection
func (*FirewallRule) GetPeerIP ¶
func (x *FirewallRule) GetPeerIP() string
func (*FirewallRule) GetPolicyID ¶
func (x *FirewallRule) GetPolicyID() []byte
func (*FirewallRule) GetPort ¶
func (x *FirewallRule) GetPort() string
func (*FirewallRule) GetPortInfo ¶
func (x *FirewallRule) GetPortInfo() *PortInfo
func (*FirewallRule) GetProtocol ¶
func (x *FirewallRule) GetProtocol() RuleProtocol
func (*FirewallRule) ProtoMessage ¶
func (*FirewallRule) ProtoMessage()
func (*FirewallRule) ProtoReflect ¶
func (x *FirewallRule) ProtoReflect() protoreflect.Message
func (*FirewallRule) Reset ¶
func (x *FirewallRule) Reset()
func (*FirewallRule) String ¶
func (x *FirewallRule) String() string
type Flags ¶
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"`
BlockLANAccess bool `protobuf:"varint,8,opt,name=blockLANAccess,proto3" json:"blockLANAccess,omitempty"`
BlockInbound bool `protobuf:"varint,9,opt,name=blockInbound,proto3" json:"blockInbound,omitempty"`
LazyConnectionEnabled bool `protobuf:"varint,10,opt,name=lazyConnectionEnabled,proto3" json:"lazyConnectionEnabled,omitempty"`
EnableSSHRoot bool `protobuf:"varint,11,opt,name=enableSSHRoot,proto3" json:"enableSSHRoot,omitempty"`
EnableSSHSFTP bool `protobuf:"varint,12,opt,name=enableSSHSFTP,proto3" json:"enableSSHSFTP,omitempty"`
EnableSSHLocalPortForwarding bool `protobuf:"varint,13,opt,name=enableSSHLocalPortForwarding,proto3" json:"enableSSHLocalPortForwarding,omitempty"`
EnableSSHRemotePortForwarding bool `protobuf:"varint,14,opt,name=enableSSHRemotePortForwarding,proto3" json:"enableSSHRemotePortForwarding,omitempty"`
DisableSSHAuth bool `protobuf:"varint,15,opt,name=disableSSHAuth,proto3" json:"disableSSHAuth,omitempty"`
// contains filtered or unexported fields
}
func (*Flags) Descriptor
deprecated
func (*Flags) GetBlockInbound ¶
func (*Flags) GetBlockLANAccess ¶
func (*Flags) GetDisableClientRoutes ¶
func (*Flags) GetDisableDNS ¶
func (*Flags) GetDisableFirewall ¶
func (*Flags) GetDisableSSHAuth ¶ added in v0.60.0
func (*Flags) GetDisableServerRoutes ¶
func (*Flags) GetEnableSSHLocalPortForwarding ¶ added in v0.60.0
func (*Flags) GetEnableSSHRemotePortForwarding ¶ added in v0.60.0
func (*Flags) GetEnableSSHRoot ¶ added in v0.60.0
func (*Flags) GetEnableSSHSFTP ¶ added in v0.60.0
func (*Flags) GetLazyConnectionEnabled ¶
func (*Flags) GetRosenpassEnabled ¶
func (*Flags) GetRosenpassPermissive ¶
func (*Flags) GetServerSSHAllowed ¶
func (*Flags) ProtoMessage ¶
func (*Flags) ProtoMessage()
func (*Flags) ProtoReflect ¶
func (x *Flags) ProtoReflect() protoreflect.Message
type FlowConfig ¶
type FlowConfig struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,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"`
Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
// counters determines if flow packets and bytes counters should be sent
Counters bool `protobuf:"varint,6,opt,name=counters,proto3" json:"counters,omitempty"`
// exitNodeCollection determines if event collection on exit nodes should be enabled
ExitNodeCollection bool `protobuf:"varint,7,opt,name=exitNodeCollection,proto3" json:"exitNodeCollection,omitempty"`
// dnsCollection determines if DNS event collection should be enabled
DnsCollection bool `protobuf:"varint,8,opt,name=dnsCollection,proto3" json:"dnsCollection,omitempty"`
// contains filtered or unexported fields
}
func (*FlowConfig) Descriptor
deprecated
func (*FlowConfig) Descriptor() ([]byte, []int)
Deprecated: Use FlowConfig.ProtoReflect.Descriptor instead.
func (*FlowConfig) GetCounters ¶
func (x *FlowConfig) GetCounters() bool
func (*FlowConfig) GetDnsCollection ¶
func (x *FlowConfig) GetDnsCollection() bool
func (*FlowConfig) GetEnabled ¶
func (x *FlowConfig) GetEnabled() bool
func (*FlowConfig) GetExitNodeCollection ¶
func (x *FlowConfig) GetExitNodeCollection() bool
func (*FlowConfig) GetInterval ¶
func (x *FlowConfig) GetInterval() *durationpb.Duration
func (*FlowConfig) GetTokenPayload ¶
func (x *FlowConfig) GetTokenPayload() string
func (*FlowConfig) GetTokenSignature ¶
func (x *FlowConfig) GetTokenSignature() string
func (*FlowConfig) GetUrl ¶
func (x *FlowConfig) GetUrl() string
func (*FlowConfig) ProtoMessage ¶
func (*FlowConfig) ProtoMessage()
func (*FlowConfig) ProtoReflect ¶
func (x *FlowConfig) ProtoReflect() protoreflect.Message
func (*FlowConfig) Reset ¶
func (x *FlowConfig) Reset()
func (*FlowConfig) String ¶
func (x *FlowConfig) String() string
type ForwardingRule ¶
type ForwardingRule struct {
// Protocol of the forwarding rule
Protocol RuleProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=management.RuleProtocol" json:"protocol,omitempty"`
// portInfo is the ingress destination port information, where the traffic arrives in the gateway node
DestinationPort *PortInfo `protobuf:"bytes,2,opt,name=destinationPort,proto3" json:"destinationPort,omitempty"`
// IP address of the translated address (remote peer) to send traffic to
TranslatedAddress []byte `protobuf:"bytes,3,opt,name=translatedAddress,proto3" json:"translatedAddress,omitempty"`
// Translated port information, where the traffic should be forwarded to
TranslatedPort *PortInfo `protobuf:"bytes,4,opt,name=translatedPort,proto3" json:"translatedPort,omitempty"`
// contains filtered or unexported fields
}
func (*ForwardingRule) Descriptor
deprecated
func (*ForwardingRule) Descriptor() ([]byte, []int)
Deprecated: Use ForwardingRule.ProtoReflect.Descriptor instead.
func (*ForwardingRule) GetDestinationPort ¶
func (x *ForwardingRule) GetDestinationPort() *PortInfo
func (*ForwardingRule) GetProtocol ¶
func (x *ForwardingRule) GetProtocol() RuleProtocol
func (*ForwardingRule) GetTranslatedAddress ¶
func (x *ForwardingRule) GetTranslatedAddress() []byte
func (*ForwardingRule) GetTranslatedPort ¶
func (x *ForwardingRule) GetTranslatedPort() *PortInfo
func (*ForwardingRule) ProtoMessage ¶
func (*ForwardingRule) ProtoMessage()
func (*ForwardingRule) ProtoReflect ¶
func (x *ForwardingRule) ProtoReflect() protoreflect.Message
func (*ForwardingRule) Reset ¶
func (x *ForwardingRule) Reset()
func (*ForwardingRule) String ¶
func (x *ForwardingRule) String() string
type GetMappingUpdateRequest ¶ added in v0.65.0
type GetMappingUpdateRequest struct {
ProxyId string `protobuf:"bytes,1,opt,name=proxy_id,json=proxyId,proto3" json:"proxy_id,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
StartedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
GetMappingUpdateRequest is sent to initialise a mapping stream.
func (*GetMappingUpdateRequest) Descriptor
deprecated
added in
v0.65.0
func (*GetMappingUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingUpdateRequest.ProtoReflect.Descriptor instead.
func (*GetMappingUpdateRequest) GetAddress ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) GetAddress() string
func (*GetMappingUpdateRequest) GetProxyId ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) GetProxyId() string
func (*GetMappingUpdateRequest) GetStartedAt ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) GetStartedAt() *timestamppb.Timestamp
func (*GetMappingUpdateRequest) GetVersion ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) GetVersion() string
func (*GetMappingUpdateRequest) ProtoMessage ¶ added in v0.65.0
func (*GetMappingUpdateRequest) ProtoMessage()
func (*GetMappingUpdateRequest) ProtoReflect ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) ProtoReflect() protoreflect.Message
func (*GetMappingUpdateRequest) Reset ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) Reset()
func (*GetMappingUpdateRequest) String ¶ added in v0.65.0
func (x *GetMappingUpdateRequest) String() string
type GetMappingUpdateResponse ¶ added in v0.65.0
type GetMappingUpdateResponse struct {
Mapping []*ProxyMapping `protobuf:"bytes,1,rep,name=mapping,proto3" json:"mapping,omitempty"`
// initial_sync_complete is set on the last message of the initial snapshot.
// The proxy uses this to signal that startup is complete.
InitialSyncComplete bool `protobuf:"varint,2,opt,name=initial_sync_complete,json=initialSyncComplete,proto3" json:"initial_sync_complete,omitempty"`
// contains filtered or unexported fields
}
GetMappingUpdateResponse contains zero or more ProxyMappings. No mappings may be sent to test the liveness of the Proxy. Mappings that are sent should be interpreted by the Proxy appropriately.
func (*GetMappingUpdateResponse) Descriptor
deprecated
added in
v0.65.0
func (*GetMappingUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMappingUpdateResponse.ProtoReflect.Descriptor instead.
func (*GetMappingUpdateResponse) GetInitialSyncComplete ¶ added in v0.65.0
func (x *GetMappingUpdateResponse) GetInitialSyncComplete() bool
func (*GetMappingUpdateResponse) GetMapping ¶ added in v0.65.0
func (x *GetMappingUpdateResponse) GetMapping() []*ProxyMapping
func (*GetMappingUpdateResponse) ProtoMessage ¶ added in v0.65.0
func (*GetMappingUpdateResponse) ProtoMessage()
func (*GetMappingUpdateResponse) ProtoReflect ¶ added in v0.65.0
func (x *GetMappingUpdateResponse) ProtoReflect() protoreflect.Message
func (*GetMappingUpdateResponse) Reset ¶ added in v0.65.0
func (x *GetMappingUpdateResponse) Reset()
func (*GetMappingUpdateResponse) String ¶ added in v0.65.0
func (x *GetMappingUpdateResponse) String() string
type GetOIDCURLRequest ¶ added in v0.65.0
type GetOIDCURLRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
RedirectUrl string `protobuf:"bytes,3,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
// contains filtered or unexported fields
}
func (*GetOIDCURLRequest) Descriptor
deprecated
added in
v0.65.0
func (*GetOIDCURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCURLRequest.ProtoReflect.Descriptor instead.
func (*GetOIDCURLRequest) GetAccountId ¶ added in v0.65.0
func (x *GetOIDCURLRequest) GetAccountId() string
func (*GetOIDCURLRequest) GetId ¶ added in v0.65.0
func (x *GetOIDCURLRequest) GetId() string
func (*GetOIDCURLRequest) GetRedirectUrl ¶ added in v0.65.0
func (x *GetOIDCURLRequest) GetRedirectUrl() string
func (*GetOIDCURLRequest) ProtoMessage ¶ added in v0.65.0
func (*GetOIDCURLRequest) ProtoMessage()
func (*GetOIDCURLRequest) ProtoReflect ¶ added in v0.65.0
func (x *GetOIDCURLRequest) ProtoReflect() protoreflect.Message
func (*GetOIDCURLRequest) Reset ¶ added in v0.65.0
func (x *GetOIDCURLRequest) Reset()
func (*GetOIDCURLRequest) String ¶ added in v0.65.0
func (x *GetOIDCURLRequest) String() string
type GetOIDCURLResponse ¶ added in v0.65.0
type GetOIDCURLResponse struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*GetOIDCURLResponse) Descriptor
deprecated
added in
v0.65.0
func (*GetOIDCURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCURLResponse.ProtoReflect.Descriptor instead.
func (*GetOIDCURLResponse) GetUrl ¶ added in v0.65.0
func (x *GetOIDCURLResponse) GetUrl() string
func (*GetOIDCURLResponse) ProtoMessage ¶ added in v0.65.0
func (*GetOIDCURLResponse) ProtoMessage()
func (*GetOIDCURLResponse) ProtoReflect ¶ added in v0.65.0
func (x *GetOIDCURLResponse) ProtoReflect() protoreflect.Message
func (*GetOIDCURLResponse) Reset ¶ added in v0.65.0
func (x *GetOIDCURLResponse) Reset()
func (*GetOIDCURLResponse) String ¶ added in v0.65.0
func (x *GetOIDCURLResponse) String() string
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 JWTConfig ¶ added in v0.60.0
type JWTConfig struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
// Deprecated: audience is kept for backwards compatibility only. Use audiences instead in the client code but populate this field.
Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
KeysLocation string `protobuf:"bytes,3,opt,name=keysLocation,proto3" json:"keysLocation,omitempty"`
MaxTokenAge int64 `protobuf:"varint,4,opt,name=maxTokenAge,proto3" json:"maxTokenAge,omitempty"`
// audiences contains the list of valid audiences for JWT validation.
// Tokens matching any audience in this list are considered valid.
Audiences []string `protobuf:"bytes,5,rep,name=audiences,proto3" json:"audiences,omitempty"`
// contains filtered or unexported fields
}
JWTConfig represents JWT authentication configuration for validating tokens.
func (*JWTConfig) Descriptor
deprecated
added in
v0.60.0
func (*JWTConfig) GetAudience ¶ added in v0.60.0
func (*JWTConfig) GetAudiences ¶ added in v0.63.0
func (*JWTConfig) GetKeysLocation ¶ added in v0.60.0
func (*JWTConfig) GetMaxTokenAge ¶ added in v0.60.0
func (*JWTConfig) ProtoMessage ¶ added in v0.60.0
func (*JWTConfig) ProtoMessage()
func (*JWTConfig) ProtoReflect ¶ added in v0.60.0
func (x *JWTConfig) ProtoReflect() protoreflect.Message
type JobRequest ¶ added in v0.64.0
type JobRequest struct {
ID []byte `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
// Types that are assignable to WorkloadParameters:
//
// *JobRequest_Bundle
WorkloadParameters isJobRequest_WorkloadParameters `protobuf_oneof:"workload_parameters"`
// contains filtered or unexported fields
}
func (*JobRequest) Descriptor
deprecated
added in
v0.64.0
func (*JobRequest) Descriptor() ([]byte, []int)
Deprecated: Use JobRequest.ProtoReflect.Descriptor instead.
func (*JobRequest) GetBundle ¶ added in v0.64.0
func (x *JobRequest) GetBundle() *BundleParameters
func (*JobRequest) GetID ¶ added in v0.64.0
func (x *JobRequest) GetID() []byte
func (*JobRequest) GetWorkloadParameters ¶ added in v0.64.0
func (m *JobRequest) GetWorkloadParameters() isJobRequest_WorkloadParameters
func (*JobRequest) ProtoMessage ¶ added in v0.64.0
func (*JobRequest) ProtoMessage()
func (*JobRequest) ProtoReflect ¶ added in v0.64.0
func (x *JobRequest) ProtoReflect() protoreflect.Message
func (*JobRequest) Reset ¶ added in v0.64.0
func (x *JobRequest) Reset()
func (*JobRequest) String ¶ added in v0.64.0
func (x *JobRequest) String() string
type JobRequest_Bundle ¶ added in v0.64.0
type JobRequest_Bundle struct {
Bundle *BundleParameters `protobuf:"bytes,10,opt,name=bundle,proto3,oneof"` //OtherParameters other = 11;
}
type JobResponse ¶ added in v0.64.0
type JobResponse struct {
ID []byte `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Status JobStatus `protobuf:"varint,2,opt,name=status,proto3,enum=management.JobStatus" json:"status,omitempty"`
Reason []byte `protobuf:"bytes,3,opt,name=Reason,proto3" json:"Reason,omitempty"`
// Types that are assignable to WorkloadResults:
//
// *JobResponse_Bundle
WorkloadResults isJobResponse_WorkloadResults `protobuf_oneof:"workload_results"`
// contains filtered or unexported fields
}
func (*JobResponse) Descriptor
deprecated
added in
v0.64.0
func (*JobResponse) Descriptor() ([]byte, []int)
Deprecated: Use JobResponse.ProtoReflect.Descriptor instead.
func (*JobResponse) GetBundle ¶ added in v0.64.0
func (x *JobResponse) GetBundle() *BundleResult
func (*JobResponse) GetID ¶ added in v0.64.0
func (x *JobResponse) GetID() []byte
func (*JobResponse) GetReason ¶ added in v0.64.0
func (x *JobResponse) GetReason() []byte
func (*JobResponse) GetStatus ¶ added in v0.64.0
func (x *JobResponse) GetStatus() JobStatus
func (*JobResponse) GetWorkloadResults ¶ added in v0.64.0
func (m *JobResponse) GetWorkloadResults() isJobResponse_WorkloadResults
func (*JobResponse) ProtoMessage ¶ added in v0.64.0
func (*JobResponse) ProtoMessage()
func (*JobResponse) ProtoReflect ¶ added in v0.64.0
func (x *JobResponse) ProtoReflect() protoreflect.Message
func (*JobResponse) Reset ¶ added in v0.64.0
func (x *JobResponse) Reset()
func (*JobResponse) String ¶ added in v0.64.0
func (x *JobResponse) String() string
type JobResponse_Bundle ¶ added in v0.64.0
type JobResponse_Bundle struct {
Bundle *BundleResult `protobuf:"bytes,10,opt,name=bundle,proto3,oneof"` //OtherResult other = 11;
}
type JobStatus ¶ added in v0.64.0
type JobStatus int32
func (JobStatus) Descriptor ¶ added in v0.64.0
func (JobStatus) Descriptor() protoreflect.EnumDescriptor
func (JobStatus) EnumDescriptor
deprecated
added in
v0.64.0
func (JobStatus) Number ¶ added in v0.64.0
func (x JobStatus) Number() protoreflect.EnumNumber
func (JobStatus) Type ¶ added in v0.64.0
func (JobStatus) 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 ¶
func (x *LoginRequest) GetDnsLabels() []string
func (*LoginRequest) GetJwtToken ¶
func (x *LoginRequest) GetJwtToken() string
func (*LoginRequest) GetMeta ¶
func (x *LoginRequest) GetMeta() *PeerSystemMeta
func (*LoginRequest) GetPeerKeys ¶
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 ¶
func (x *LoginResponse) GetChecks() []*Checks
func (*LoginResponse) GetNetbirdConfig ¶
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 MachineUserIndexes ¶ added in v0.61.0
type MachineUserIndexes struct {
Indexes []uint32 `protobuf:"varint,1,rep,packed,name=indexes,proto3" json:"indexes,omitempty"`
// contains filtered or unexported fields
}
func (*MachineUserIndexes) Descriptor
deprecated
added in
v0.61.0
func (*MachineUserIndexes) Descriptor() ([]byte, []int)
Deprecated: Use MachineUserIndexes.ProtoReflect.Descriptor instead.
func (*MachineUserIndexes) GetIndexes ¶ added in v0.61.0
func (x *MachineUserIndexes) GetIndexes() []uint32
func (*MachineUserIndexes) ProtoMessage ¶ added in v0.61.0
func (*MachineUserIndexes) ProtoMessage()
func (*MachineUserIndexes) ProtoReflect ¶ added in v0.61.0
func (x *MachineUserIndexes) ProtoReflect() protoreflect.Message
func (*MachineUserIndexes) Reset ¶ added in v0.61.0
func (x *MachineUserIndexes) Reset()
func (*MachineUserIndexes) String ¶ added in v0.61.0
func (x *MachineUserIndexes) 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)
// Logout logs out the peer and removes it from the management server
Logout(ctx context.Context, in *EncryptedMessage, opts ...grpc.CallOption) (*Empty, error)
// Executes a job on a target peer (e.g., debug bundle)
Job(ctx context.Context, opts ...grpc.CallOption) (ManagementService_JobClient, 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)
// Logout logs out the peer and removes it from the management server
Logout(context.Context, *EncryptedMessage) (*Empty, error)
// Executes a job on a target peer (e.g., debug bundle)
Job(ManagementService_JobServer) error
// contains filtered or unexported methods
}
ManagementServiceServer is the server API for ManagementService service. All implementations must embed UnimplementedManagementServiceServer for forward compatibility
type ManagementService_JobClient ¶ added in v0.64.0
type ManagementService_JobClient interface {
Send(*EncryptedMessage) error
Recv() (*EncryptedMessage, error)
grpc.ClientStream
}
type ManagementService_JobServer ¶ added in v0.64.0
type ManagementService_JobServer interface {
Send(*EncryptedMessage) error
Recv() (*EncryptedMessage, error)
grpc.ServerStream
}
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 ¶
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
func (*NameServer) Descriptor() ([]byte, []int)
Deprecated: Use NameServer.ProtoReflect.Descriptor instead.
func (*NameServer) GetIP ¶
func (x *NameServer) GetIP() string
func (*NameServer) GetNSType ¶
func (x *NameServer) GetNSType() int64
func (*NameServer) GetPort ¶
func (x *NameServer) GetPort() int64
func (*NameServer) ProtoMessage ¶
func (*NameServer) ProtoMessage()
func (*NameServer) ProtoReflect ¶
func (x *NameServer) ProtoReflect() protoreflect.Message
func (*NameServer) Reset ¶
func (x *NameServer) Reset()
func (*NameServer) String ¶
func (x *NameServer) String() string
type NameServerGroup ¶
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
func (*NameServerGroup) Descriptor() ([]byte, []int)
Deprecated: Use NameServerGroup.ProtoReflect.Descriptor instead.
func (*NameServerGroup) GetDomains ¶
func (x *NameServerGroup) GetDomains() []string
func (*NameServerGroup) GetNameServers ¶
func (x *NameServerGroup) GetNameServers() []*NameServer
func (*NameServerGroup) GetPrimary ¶
func (x *NameServerGroup) GetPrimary() bool
func (*NameServerGroup) GetSearchDomainsEnabled ¶
func (x *NameServerGroup) GetSearchDomainsEnabled() bool
func (*NameServerGroup) ProtoMessage ¶
func (*NameServerGroup) ProtoMessage()
func (*NameServerGroup) ProtoReflect ¶
func (x *NameServerGroup) ProtoReflect() protoreflect.Message
func (*NameServerGroup) Reset ¶
func (x *NameServerGroup) Reset()
func (*NameServerGroup) String ¶
func (x *NameServerGroup) String() string
type NetbirdConfig ¶
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"`
Flow *FlowConfig `protobuf:"bytes,5,opt,name=flow,proto3" json:"flow,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
func (*NetbirdConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetbirdConfig.ProtoReflect.Descriptor instead.
func (*NetbirdConfig) GetFlow ¶
func (x *NetbirdConfig) GetFlow() *FlowConfig
func (*NetbirdConfig) GetRelay ¶
func (x *NetbirdConfig) GetRelay() *RelayConfig
func (*NetbirdConfig) GetSignal ¶
func (x *NetbirdConfig) GetSignal() *HostConfig
func (*NetbirdConfig) GetStuns ¶
func (x *NetbirdConfig) GetStuns() []*HostConfig
func (*NetbirdConfig) GetTurns ¶
func (x *NetbirdConfig) GetTurns() []*ProtectedHostConfig
func (*NetbirdConfig) ProtoMessage ¶
func (*NetbirdConfig) ProtoMessage()
func (*NetbirdConfig) ProtoReflect ¶
func (x *NetbirdConfig) ProtoReflect() protoreflect.Message
func (*NetbirdConfig) Reset ¶
func (x *NetbirdConfig) Reset()
func (*NetbirdConfig) String ¶
func (x *NetbirdConfig) String() string
type NetworkAddress ¶
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
func (*NetworkAddress) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAddress.ProtoReflect.Descriptor instead.
func (*NetworkAddress) GetMac ¶
func (x *NetworkAddress) GetMac() string
func (*NetworkAddress) GetNetIP ¶
func (x *NetworkAddress) GetNetIP() string
func (*NetworkAddress) ProtoMessage ¶
func (*NetworkAddress) ProtoMessage()
func (*NetworkAddress) ProtoReflect ¶
func (x *NetworkAddress) ProtoReflect() protoreflect.Message
func (*NetworkAddress) Reset ¶
func (x *NetworkAddress) Reset()
func (*NetworkAddress) String ¶
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"`
ForwardingRules []*ForwardingRule `protobuf:"bytes,12,rep,name=forwardingRules,proto3" json:"forwardingRules,omitempty"`
// SSHAuth represents SSH authorization configuration
SshAuth *SSHAuth `protobuf:"bytes,13,opt,name=sshAuth,proto3" json:"sshAuth,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 ¶
func (x *NetworkMap) GetDNSConfig() *DNSConfig
func (*NetworkMap) GetFirewallRules ¶
func (x *NetworkMap) GetFirewallRules() []*FirewallRule
func (*NetworkMap) GetFirewallRulesIsEmpty ¶
func (x *NetworkMap) GetFirewallRulesIsEmpty() bool
func (*NetworkMap) GetForwardingRules ¶
func (x *NetworkMap) GetForwardingRules() []*ForwardingRule
func (*NetworkMap) GetOfflinePeers ¶
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 ¶
func (x *NetworkMap) GetRoutes() []*Route
func (*NetworkMap) GetRoutesFirewallRules ¶
func (x *NetworkMap) GetRoutesFirewallRules() []*RouteFirewallRule
func (*NetworkMap) GetRoutesFirewallRulesIsEmpty ¶
func (x *NetworkMap) GetRoutesFirewallRulesIsEmpty() bool
func (*NetworkMap) GetSerial ¶
func (x *NetworkMap) GetSerial() uint64
func (*NetworkMap) GetSshAuth ¶ added in v0.61.0
func (x *NetworkMap) GetSshAuth() *SSHAuth
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 ¶
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
func (*PKCEAuthorizationFlow) Descriptor() ([]byte, []int)
Deprecated: Use PKCEAuthorizationFlow.ProtoReflect.Descriptor instead.
func (*PKCEAuthorizationFlow) GetProviderConfig ¶
func (x *PKCEAuthorizationFlow) GetProviderConfig() *ProviderConfig
func (*PKCEAuthorizationFlow) ProtoMessage ¶
func (*PKCEAuthorizationFlow) ProtoMessage()
func (*PKCEAuthorizationFlow) ProtoReflect ¶
func (x *PKCEAuthorizationFlow) ProtoReflect() protoreflect.Message
func (*PKCEAuthorizationFlow) Reset ¶
func (x *PKCEAuthorizationFlow) Reset()
func (*PKCEAuthorizationFlow) String ¶
func (x *PKCEAuthorizationFlow) String() string
type PKCEAuthorizationFlowRequest ¶
type PKCEAuthorizationFlowRequest struct {
// contains filtered or unexported fields
}
PKCEAuthorizationFlowRequest empty struct for future expansion
func (*PKCEAuthorizationFlowRequest) Descriptor
deprecated
func (*PKCEAuthorizationFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use PKCEAuthorizationFlowRequest.ProtoReflect.Descriptor instead.
func (*PKCEAuthorizationFlowRequest) ProtoMessage ¶
func (*PKCEAuthorizationFlowRequest) ProtoMessage()
func (*PKCEAuthorizationFlowRequest) ProtoReflect ¶
func (x *PKCEAuthorizationFlowRequest) ProtoReflect() protoreflect.Message
func (*PKCEAuthorizationFlowRequest) Reset ¶
func (x *PKCEAuthorizationFlowRequest) Reset()
func (*PKCEAuthorizationFlowRequest) String ¶
func (x *PKCEAuthorizationFlowRequest) String() string
type PasswordRequest ¶ added in v0.65.0
type PasswordRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*PasswordRequest) Descriptor
deprecated
added in
v0.65.0
func (*PasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordRequest.ProtoReflect.Descriptor instead.
func (*PasswordRequest) GetPassword ¶ added in v0.65.0
func (x *PasswordRequest) GetPassword() string
func (*PasswordRequest) ProtoMessage ¶ added in v0.65.0
func (*PasswordRequest) ProtoMessage()
func (*PasswordRequest) ProtoReflect ¶ added in v0.65.0
func (x *PasswordRequest) ProtoReflect() protoreflect.Message
func (*PasswordRequest) Reset ¶ added in v0.65.0
func (x *PasswordRequest) Reset()
func (*PasswordRequest) String ¶ added in v0.65.0
func (x *PasswordRequest) String() string
type PathMapping ¶ added in v0.65.0
type PathMapping struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}
func (*PathMapping) Descriptor
deprecated
added in
v0.65.0
func (*PathMapping) Descriptor() ([]byte, []int)
Deprecated: Use PathMapping.ProtoReflect.Descriptor instead.
func (*PathMapping) GetPath ¶ added in v0.65.0
func (x *PathMapping) GetPath() string
func (*PathMapping) GetTarget ¶ added in v0.65.0
func (x *PathMapping) GetTarget() string
func (*PathMapping) ProtoMessage ¶ added in v0.65.0
func (*PathMapping) ProtoMessage()
func (*PathMapping) ProtoReflect ¶ added in v0.65.0
func (x *PathMapping) ProtoReflect() protoreflect.Message
func (*PathMapping) Reset ¶ added in v0.65.0
func (x *PathMapping) Reset()
func (*PathMapping) String ¶ added in v0.65.0
func (x *PathMapping) 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"`
LazyConnectionEnabled bool `protobuf:"varint,6,opt,name=LazyConnectionEnabled,proto3" json:"LazyConnectionEnabled,omitempty"`
Mtu int32 `protobuf:"varint,7,opt,name=mtu,proto3" json:"mtu,omitempty"`
// Auto-update config
AutoUpdate *AutoUpdateSettings `protobuf:"bytes,8,opt,name=autoUpdate,proto3" json:"autoUpdate,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) GetAutoUpdate ¶ added in v0.61.0
func (x *PeerConfig) GetAutoUpdate() *AutoUpdateSettings
func (*PeerConfig) GetDns ¶
func (x *PeerConfig) GetDns() string
func (*PeerConfig) GetFqdn ¶
func (x *PeerConfig) GetFqdn() string
func (*PeerConfig) GetLazyConnectionEnabled ¶
func (x *PeerConfig) GetLazyConnectionEnabled() bool
func (*PeerConfig) GetMtu ¶ added in v0.56.0
func (x *PeerConfig) GetMtu() int32
func (*PeerConfig) GetRoutingPeerDnsResolutionEnabled ¶
func (x *PeerConfig) GetRoutingPeerDnsResolutionEnabled() bool
func (*PeerConfig) GetSshConfig ¶
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 ¶
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
func (*PeerKeys) GetSshPubKey ¶
func (*PeerKeys) GetWgPubKey ¶
func (*PeerKeys) ProtoMessage ¶
func (*PeerKeys) ProtoMessage()
func (*PeerKeys) ProtoReflect ¶
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 ¶
func (x *PeerSystemMeta) GetEnvironment() *Environment
func (*PeerSystemMeta) GetFiles ¶
func (x *PeerSystemMeta) GetFiles() []*File
func (*PeerSystemMeta) GetFlags ¶
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 ¶
func (x *PeerSystemMeta) GetKernelVersion() string
func (*PeerSystemMeta) GetNetbirdVersion ¶
func (x *PeerSystemMeta) GetNetbirdVersion() string
func (*PeerSystemMeta) GetNetworkAddresses ¶
func (x *PeerSystemMeta) GetNetworkAddresses() []*NetworkAddress
func (*PeerSystemMeta) GetOS ¶
func (x *PeerSystemMeta) GetOS() string
func (*PeerSystemMeta) GetOSVersion ¶
func (x *PeerSystemMeta) GetOSVersion() string
func (*PeerSystemMeta) GetPlatform ¶
func (x *PeerSystemMeta) GetPlatform() string
func (*PeerSystemMeta) GetSysManufacturer ¶
func (x *PeerSystemMeta) GetSysManufacturer() string
func (*PeerSystemMeta) GetSysProductName ¶
func (x *PeerSystemMeta) GetSysProductName() string
func (*PeerSystemMeta) GetSysSerialNumber ¶
func (x *PeerSystemMeta) GetSysSerialNumber() string
func (*PeerSystemMeta) GetUiVersion ¶
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 PinRequest ¶ added in v0.65.0
type PinRequest struct {
Pin string `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"`
// contains filtered or unexported fields
}
func (*PinRequest) Descriptor
deprecated
added in
v0.65.0
func (*PinRequest) Descriptor() ([]byte, []int)
Deprecated: Use PinRequest.ProtoReflect.Descriptor instead.
func (*PinRequest) GetPin ¶ added in v0.65.0
func (x *PinRequest) GetPin() string
func (*PinRequest) ProtoMessage ¶ added in v0.65.0
func (*PinRequest) ProtoMessage()
func (*PinRequest) ProtoReflect ¶ added in v0.65.0
func (x *PinRequest) ProtoReflect() protoreflect.Message
func (*PinRequest) Reset ¶ added in v0.65.0
func (x *PinRequest) Reset()
func (*PinRequest) String ¶ added in v0.65.0
func (x *PinRequest) String() string
type PortInfo ¶
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
func (*PortInfo) GetPortSelection ¶
func (m *PortInfo) GetPortSelection() isPortInfo_PortSelection
func (*PortInfo) GetRange ¶
func (x *PortInfo) GetRange() *PortInfo_Range
func (*PortInfo) ProtoMessage ¶
func (*PortInfo) ProtoMessage()
func (*PortInfo) ProtoReflect ¶
func (x *PortInfo) ProtoReflect() protoreflect.Message
type PortInfo_Port ¶
type PortInfo_Port struct {
Port uint32 `protobuf:"varint,1,opt,name=port,proto3,oneof"`
}
type PortInfo_Range ¶
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
func (*PortInfo_Range) Descriptor() ([]byte, []int)
Deprecated: Use PortInfo_Range.ProtoReflect.Descriptor instead.
func (*PortInfo_Range) GetEnd ¶
func (x *PortInfo_Range) GetEnd() uint32
func (*PortInfo_Range) GetStart ¶
func (x *PortInfo_Range) GetStart() uint32
func (*PortInfo_Range) ProtoMessage ¶
func (*PortInfo_Range) ProtoMessage()
func (*PortInfo_Range) ProtoReflect ¶
func (x *PortInfo_Range) ProtoReflect() protoreflect.Message
func (*PortInfo_Range) Reset ¶
func (x *PortInfo_Range) Reset()
func (*PortInfo_Range) String ¶
func (x *PortInfo_Range) String() string
type PortInfo_Range_ ¶
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"`
// DisablePromptLogin makes the PKCE flow to not prompt the user for login
DisablePromptLogin bool `protobuf:"varint,11,opt,name=DisablePromptLogin,proto3" json:"DisablePromptLogin,omitempty"`
// LoginFlags sets the PKCE flow login details
LoginFlag uint32 `protobuf:"varint,12,opt,name=LoginFlag,proto3" json:"LoginFlag,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 ¶
func (x *ProviderConfig) GetAuthorizationEndpoint() string
func (*ProviderConfig) GetClientID ¶
func (x *ProviderConfig) GetClientID() string
func (*ProviderConfig) GetClientSecret ¶
func (x *ProviderConfig) GetClientSecret() string
func (*ProviderConfig) GetDeviceAuthEndpoint ¶
func (x *ProviderConfig) GetDeviceAuthEndpoint() string
func (*ProviderConfig) GetDisablePromptLogin ¶
func (x *ProviderConfig) GetDisablePromptLogin() bool
func (*ProviderConfig) GetDomain ¶
func (x *ProviderConfig) GetDomain() string
func (*ProviderConfig) GetLoginFlag ¶
func (x *ProviderConfig) GetLoginFlag() uint32
func (*ProviderConfig) GetRedirectURLs ¶
func (x *ProviderConfig) GetRedirectURLs() []string
func (*ProviderConfig) GetScope ¶
func (x *ProviderConfig) GetScope() string
func (*ProviderConfig) GetTokenEndpoint ¶
func (x *ProviderConfig) GetTokenEndpoint() string
func (*ProviderConfig) GetUseIDToken ¶
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 ProxyMapping ¶ added in v0.65.0
type ProxyMapping struct {
Type ProxyMappingUpdateType `protobuf:"varint,1,opt,name=type,proto3,enum=management.ProxyMappingUpdateType" json:"type,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
AccountId string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
Path []*PathMapping `protobuf:"bytes,5,rep,name=path,proto3" json:"path,omitempty"`
AuthToken string `protobuf:"bytes,6,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
Auth *Authentication `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"`
// When true, the original Host header from the client request is passed
// through to the backend instead of being rewritten to the backend's address.
PassHostHeader bool `protobuf:"varint,8,opt,name=pass_host_header,json=passHostHeader,proto3" json:"pass_host_header,omitempty"`
// When true, Location headers in backend responses are rewritten to replace
// the backend address with the public-facing domain.
RewriteRedirects bool `protobuf:"varint,9,opt,name=rewrite_redirects,json=rewriteRedirects,proto3" json:"rewrite_redirects,omitempty"`
// contains filtered or unexported fields
}
func (*ProxyMapping) Descriptor
deprecated
added in
v0.65.0
func (*ProxyMapping) Descriptor() ([]byte, []int)
Deprecated: Use ProxyMapping.ProtoReflect.Descriptor instead.
func (*ProxyMapping) GetAccountId ¶ added in v0.65.0
func (x *ProxyMapping) GetAccountId() string
func (*ProxyMapping) GetAuth ¶ added in v0.65.0
func (x *ProxyMapping) GetAuth() *Authentication
func (*ProxyMapping) GetAuthToken ¶ added in v0.65.0
func (x *ProxyMapping) GetAuthToken() string
func (*ProxyMapping) GetDomain ¶ added in v0.65.0
func (x *ProxyMapping) GetDomain() string
func (*ProxyMapping) GetId ¶ added in v0.65.0
func (x *ProxyMapping) GetId() string
func (*ProxyMapping) GetPassHostHeader ¶ added in v0.65.0
func (x *ProxyMapping) GetPassHostHeader() bool
func (*ProxyMapping) GetPath ¶ added in v0.65.0
func (x *ProxyMapping) GetPath() []*PathMapping
func (*ProxyMapping) GetRewriteRedirects ¶ added in v0.65.0
func (x *ProxyMapping) GetRewriteRedirects() bool
func (*ProxyMapping) GetType ¶ added in v0.65.0
func (x *ProxyMapping) GetType() ProxyMappingUpdateType
func (*ProxyMapping) ProtoMessage ¶ added in v0.65.0
func (*ProxyMapping) ProtoMessage()
func (*ProxyMapping) ProtoReflect ¶ added in v0.65.0
func (x *ProxyMapping) ProtoReflect() protoreflect.Message
func (*ProxyMapping) Reset ¶ added in v0.65.0
func (x *ProxyMapping) Reset()
func (*ProxyMapping) String ¶ added in v0.65.0
func (x *ProxyMapping) String() string
type ProxyMappingUpdateType ¶ added in v0.65.0
type ProxyMappingUpdateType int32
const ( ProxyMappingUpdateType_UPDATE_TYPE_CREATED ProxyMappingUpdateType = 0 ProxyMappingUpdateType_UPDATE_TYPE_MODIFIED ProxyMappingUpdateType = 1 ProxyMappingUpdateType_UPDATE_TYPE_REMOVED ProxyMappingUpdateType = 2 )
func (ProxyMappingUpdateType) Descriptor ¶ added in v0.65.0
func (ProxyMappingUpdateType) Descriptor() protoreflect.EnumDescriptor
func (ProxyMappingUpdateType) Enum ¶ added in v0.65.0
func (x ProxyMappingUpdateType) Enum() *ProxyMappingUpdateType
func (ProxyMappingUpdateType) EnumDescriptor
deprecated
added in
v0.65.0
func (ProxyMappingUpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProxyMappingUpdateType.Descriptor instead.
func (ProxyMappingUpdateType) Number ¶ added in v0.65.0
func (x ProxyMappingUpdateType) Number() protoreflect.EnumNumber
func (ProxyMappingUpdateType) String ¶ added in v0.65.0
func (x ProxyMappingUpdateType) String() string
func (ProxyMappingUpdateType) Type ¶ added in v0.65.0
func (ProxyMappingUpdateType) Type() protoreflect.EnumType
type ProxyServiceClient ¶ added in v0.65.0
type ProxyServiceClient interface {
GetMappingUpdate(ctx context.Context, in *GetMappingUpdateRequest, opts ...grpc.CallOption) (ProxyService_GetMappingUpdateClient, error)
SendAccessLog(ctx context.Context, in *SendAccessLogRequest, opts ...grpc.CallOption) (*SendAccessLogResponse, error)
Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
SendStatusUpdate(ctx context.Context, in *SendStatusUpdateRequest, opts ...grpc.CallOption) (*SendStatusUpdateResponse, error)
CreateProxyPeer(ctx context.Context, in *CreateProxyPeerRequest, opts ...grpc.CallOption) (*CreateProxyPeerResponse, error)
GetOIDCURL(ctx context.Context, in *GetOIDCURLRequest, opts ...grpc.CallOption) (*GetOIDCURLResponse, error)
// ValidateSession validates a session token and checks user access permissions.
// Called by the proxy after receiving a session token from OIDC callback.
ValidateSession(ctx context.Context, in *ValidateSessionRequest, opts ...grpc.CallOption) (*ValidateSessionResponse, error)
}
ProxyServiceClient is the client API for ProxyService 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 NewProxyServiceClient ¶ added in v0.65.0
func NewProxyServiceClient(cc grpc.ClientConnInterface) ProxyServiceClient
type ProxyServiceServer ¶ added in v0.65.0
type ProxyServiceServer interface {
GetMappingUpdate(*GetMappingUpdateRequest, ProxyService_GetMappingUpdateServer) error
SendAccessLog(context.Context, *SendAccessLogRequest) (*SendAccessLogResponse, error)
Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
SendStatusUpdate(context.Context, *SendStatusUpdateRequest) (*SendStatusUpdateResponse, error)
CreateProxyPeer(context.Context, *CreateProxyPeerRequest) (*CreateProxyPeerResponse, error)
GetOIDCURL(context.Context, *GetOIDCURLRequest) (*GetOIDCURLResponse, error)
// ValidateSession validates a session token and checks user access permissions.
// Called by the proxy after receiving a session token from OIDC callback.
ValidateSession(context.Context, *ValidateSessionRequest) (*ValidateSessionResponse, error)
// contains filtered or unexported methods
}
ProxyServiceServer is the server API for ProxyService service. All implementations must embed UnimplementedProxyServiceServer for forward compatibility
type ProxyService_GetMappingUpdateClient ¶ added in v0.65.0
type ProxyService_GetMappingUpdateClient interface {
Recv() (*GetMappingUpdateResponse, error)
grpc.ClientStream
}
type ProxyService_GetMappingUpdateServer ¶ added in v0.65.0
type ProxyService_GetMappingUpdateServer interface {
Send(*GetMappingUpdateResponse) error
grpc.ServerStream
}
type ProxyStatus ¶ added in v0.65.0
type ProxyStatus int32
const ( ProxyStatus_PROXY_STATUS_PENDING ProxyStatus = 0 ProxyStatus_PROXY_STATUS_ACTIVE ProxyStatus = 1 ProxyStatus_PROXY_STATUS_TUNNEL_NOT_CREATED ProxyStatus = 2 ProxyStatus_PROXY_STATUS_CERTIFICATE_PENDING ProxyStatus = 3 ProxyStatus_PROXY_STATUS_CERTIFICATE_FAILED ProxyStatus = 4 ProxyStatus_PROXY_STATUS_ERROR ProxyStatus = 5 )
func (ProxyStatus) Descriptor ¶ added in v0.65.0
func (ProxyStatus) Descriptor() protoreflect.EnumDescriptor
func (ProxyStatus) Enum ¶ added in v0.65.0
func (x ProxyStatus) Enum() *ProxyStatus
func (ProxyStatus) EnumDescriptor
deprecated
added in
v0.65.0
func (ProxyStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProxyStatus.Descriptor instead.
func (ProxyStatus) Number ¶ added in v0.65.0
func (x ProxyStatus) Number() protoreflect.EnumNumber
func (ProxyStatus) String ¶ added in v0.65.0
func (x ProxyStatus) String() string
func (ProxyStatus) Type ¶ added in v0.65.0
func (ProxyStatus) Type() protoreflect.EnumType
type RelayConfig ¶
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
func (*RelayConfig) Descriptor() ([]byte, []int)
Deprecated: Use RelayConfig.ProtoReflect.Descriptor instead.
func (*RelayConfig) GetTokenPayload ¶
func (x *RelayConfig) GetTokenPayload() string
func (*RelayConfig) GetTokenSignature ¶
func (x *RelayConfig) GetTokenSignature() string
func (*RelayConfig) GetUrls ¶
func (x *RelayConfig) GetUrls() []string
func (*RelayConfig) ProtoMessage ¶
func (*RelayConfig) ProtoMessage()
func (*RelayConfig) ProtoReflect ¶
func (x *RelayConfig) ProtoReflect() protoreflect.Message
func (*RelayConfig) Reset ¶
func (x *RelayConfig) Reset()
func (*RelayConfig) String ¶
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"`
AgentVersion string `protobuf:"bytes,5,opt,name=agentVersion,proto3" json:"agentVersion,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) GetAgentVersion ¶
func (x *RemotePeerConfig) GetAgentVersion() string
func (*RemotePeerConfig) GetAllowedIps ¶
func (x *RemotePeerConfig) GetAllowedIps() []string
func (*RemotePeerConfig) GetFqdn ¶
func (x *RemotePeerConfig) GetFqdn() string
func (*RemotePeerConfig) GetSshConfig ¶
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 ¶
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"`
SkipAutoApply bool `protobuf:"varint,10,opt,name=skipAutoApply,proto3" json:"skipAutoApply,omitempty"`
// contains filtered or unexported fields
}
Route represents a route.Route object
func (*Route) Descriptor
deprecated
func (*Route) GetDomains ¶
func (*Route) GetKeepRoute ¶
func (*Route) GetMasquerade ¶
func (*Route) GetNetwork ¶
func (*Route) GetNetworkType ¶
func (*Route) GetSkipAutoApply ¶ added in v0.55.0
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type RouteFirewallRule ¶
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"`
// PolicyID is the ID of the policy that this rule belongs to
PolicyID []byte `protobuf:"bytes,9,opt,name=PolicyID,proto3" json:"PolicyID,omitempty"`
// RouteID is the ID of the route that this rule belongs to
RouteID string `protobuf:"bytes,10,opt,name=RouteID,proto3" json:"RouteID,omitempty"`
// contains filtered or unexported fields
}
RouteFirewallRule signifies a firewall rule applicable for a routed network.
func (*RouteFirewallRule) Descriptor
deprecated
func (*RouteFirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use RouteFirewallRule.ProtoReflect.Descriptor instead.
func (*RouteFirewallRule) GetAction ¶
func (x *RouteFirewallRule) GetAction() RuleAction
func (*RouteFirewallRule) GetCustomProtocol ¶
func (x *RouteFirewallRule) GetCustomProtocol() uint32
func (*RouteFirewallRule) GetDestination ¶
func (x *RouteFirewallRule) GetDestination() string
func (*RouteFirewallRule) GetDomains ¶
func (x *RouteFirewallRule) GetDomains() []string
func (*RouteFirewallRule) GetIsDynamic ¶
func (x *RouteFirewallRule) GetIsDynamic() bool
func (*RouteFirewallRule) GetPolicyID ¶
func (x *RouteFirewallRule) GetPolicyID() []byte
func (*RouteFirewallRule) GetPortInfo ¶
func (x *RouteFirewallRule) GetPortInfo() *PortInfo
func (*RouteFirewallRule) GetProtocol ¶
func (x *RouteFirewallRule) GetProtocol() RuleProtocol
func (*RouteFirewallRule) GetRouteID ¶
func (x *RouteFirewallRule) GetRouteID() string
func (*RouteFirewallRule) GetSourceRanges ¶
func (x *RouteFirewallRule) GetSourceRanges() []string
func (*RouteFirewallRule) ProtoMessage ¶
func (*RouteFirewallRule) ProtoMessage()
func (*RouteFirewallRule) ProtoReflect ¶
func (x *RouteFirewallRule) ProtoReflect() protoreflect.Message
func (*RouteFirewallRule) Reset ¶
func (x *RouteFirewallRule) Reset()
func (*RouteFirewallRule) String ¶
func (x *RouteFirewallRule) String() string
type RuleAction ¶
type RuleAction int32
const ( RuleAction_ACCEPT RuleAction = 0 RuleAction_DROP RuleAction = 1 )
func (RuleAction) Descriptor ¶
func (RuleAction) Descriptor() protoreflect.EnumDescriptor
func (RuleAction) Enum ¶
func (x RuleAction) Enum() *RuleAction
func (RuleAction) EnumDescriptor
deprecated
func (RuleAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleAction.Descriptor instead.
func (RuleAction) Number ¶
func (x RuleAction) Number() protoreflect.EnumNumber
func (RuleAction) String ¶
func (x RuleAction) String() string
func (RuleAction) Type ¶
func (RuleAction) Type() protoreflect.EnumType
type RuleDirection ¶
type RuleDirection int32
const ( RuleDirection_IN RuleDirection = 0 RuleDirection_OUT RuleDirection = 1 )
func (RuleDirection) Descriptor ¶
func (RuleDirection) Descriptor() protoreflect.EnumDescriptor
func (RuleDirection) Enum ¶
func (x RuleDirection) Enum() *RuleDirection
func (RuleDirection) EnumDescriptor
deprecated
func (RuleDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleDirection.Descriptor instead.
func (RuleDirection) Number ¶
func (x RuleDirection) Number() protoreflect.EnumNumber
func (RuleDirection) String ¶
func (x RuleDirection) String() string
func (RuleDirection) Type ¶
func (RuleDirection) Type() protoreflect.EnumType
type RuleProtocol ¶
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 ¶
func (RuleProtocol) Descriptor() protoreflect.EnumDescriptor
func (RuleProtocol) Enum ¶
func (x RuleProtocol) Enum() *RuleProtocol
func (RuleProtocol) EnumDescriptor
deprecated
func (RuleProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleProtocol.Descriptor instead.
func (RuleProtocol) Number ¶
func (x RuleProtocol) Number() protoreflect.EnumNumber
func (RuleProtocol) String ¶
func (x RuleProtocol) String() string
func (RuleProtocol) Type ¶
func (RuleProtocol) Type() protoreflect.EnumType
type SSHAuth ¶ added in v0.61.0
type SSHAuth struct {
// UserIDClaim is the JWT claim to be used to get the users ID
UserIDClaim string `protobuf:"bytes,1,opt,name=UserIDClaim,proto3" json:"UserIDClaim,omitempty"`
// AuthorizedUsers is a list of hashed user IDs authorized to access this peer via SSH
AuthorizedUsers [][]byte `protobuf:"bytes,2,rep,name=AuthorizedUsers,proto3" json:"AuthorizedUsers,omitempty"`
// MachineUsers is a map of machine user names to their corresponding indexes in the AuthorizedUsers list
MachineUsers map[string]*MachineUserIndexes `` /* 185-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SSHAuth) Descriptor
deprecated
added in
v0.61.0
func (*SSHAuth) GetAuthorizedUsers ¶ added in v0.61.0
func (*SSHAuth) GetMachineUsers ¶ added in v0.61.0
func (x *SSHAuth) GetMachineUsers() map[string]*MachineUserIndexes
func (*SSHAuth) GetUserIDClaim ¶ added in v0.61.0
func (*SSHAuth) ProtoMessage ¶ added in v0.61.0
func (*SSHAuth) ProtoMessage()
func (*SSHAuth) ProtoReflect ¶ added in v0.61.0
func (x *SSHAuth) ProtoReflect() protoreflect.Message
type SSHConfig ¶
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"`
JwtConfig *JWTConfig `protobuf:"bytes,3,opt,name=jwtConfig,proto3" json:"jwtConfig,omitempty"`
// contains filtered or unexported fields
}
SSHConfig represents SSH configurations of a peer.
func (*SSHConfig) Descriptor
deprecated
func (*SSHConfig) GetJwtConfig ¶ added in v0.60.0
func (*SSHConfig) GetSshEnabled ¶
func (*SSHConfig) GetSshPubKey ¶
func (*SSHConfig) ProtoMessage ¶
func (*SSHConfig) ProtoMessage()
func (*SSHConfig) ProtoReflect ¶
func (x *SSHConfig) ProtoReflect() protoreflect.Message
type SendAccessLogRequest ¶ added in v0.65.0
type SendAccessLogRequest struct {
Log *AccessLog `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
// contains filtered or unexported fields
}
SendAccessLogRequest consists of one or more AccessLogs from a Proxy.
func (*SendAccessLogRequest) Descriptor
deprecated
added in
v0.65.0
func (*SendAccessLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendAccessLogRequest.ProtoReflect.Descriptor instead.
func (*SendAccessLogRequest) GetLog ¶ added in v0.65.0
func (x *SendAccessLogRequest) GetLog() *AccessLog
func (*SendAccessLogRequest) ProtoMessage ¶ added in v0.65.0
func (*SendAccessLogRequest) ProtoMessage()
func (*SendAccessLogRequest) ProtoReflect ¶ added in v0.65.0
func (x *SendAccessLogRequest) ProtoReflect() protoreflect.Message
func (*SendAccessLogRequest) Reset ¶ added in v0.65.0
func (x *SendAccessLogRequest) Reset()
func (*SendAccessLogRequest) String ¶ added in v0.65.0
func (x *SendAccessLogRequest) String() string
type SendAccessLogResponse ¶ added in v0.65.0
type SendAccessLogResponse struct {
// contains filtered or unexported fields
}
SendAccessLogResponse is intentionally empty to allow for future expansion.
func (*SendAccessLogResponse) Descriptor
deprecated
added in
v0.65.0
func (*SendAccessLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendAccessLogResponse.ProtoReflect.Descriptor instead.
func (*SendAccessLogResponse) ProtoMessage ¶ added in v0.65.0
func (*SendAccessLogResponse) ProtoMessage()
func (*SendAccessLogResponse) ProtoReflect ¶ added in v0.65.0
func (x *SendAccessLogResponse) ProtoReflect() protoreflect.Message
func (*SendAccessLogResponse) Reset ¶ added in v0.65.0
func (x *SendAccessLogResponse) Reset()
func (*SendAccessLogResponse) String ¶ added in v0.65.0
func (x *SendAccessLogResponse) String() string
type SendStatusUpdateRequest ¶ added in v0.65.0
type SendStatusUpdateRequest struct {
ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
Status ProxyStatus `protobuf:"varint,3,opt,name=status,proto3,enum=management.ProxyStatus" json:"status,omitempty"`
CertificateIssued bool `protobuf:"varint,4,opt,name=certificate_issued,json=certificateIssued,proto3" json:"certificate_issued,omitempty"`
ErrorMessage *string `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
SendStatusUpdateRequest is sent by the proxy to update its status
func (*SendStatusUpdateRequest) Descriptor
deprecated
added in
v0.65.0
func (*SendStatusUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendStatusUpdateRequest.ProtoReflect.Descriptor instead.
func (*SendStatusUpdateRequest) GetAccountId ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) GetAccountId() string
func (*SendStatusUpdateRequest) GetCertificateIssued ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) GetCertificateIssued() bool
func (*SendStatusUpdateRequest) GetErrorMessage ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) GetErrorMessage() string
func (*SendStatusUpdateRequest) GetServiceId ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) GetServiceId() string
func (*SendStatusUpdateRequest) GetStatus ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) GetStatus() ProxyStatus
func (*SendStatusUpdateRequest) ProtoMessage ¶ added in v0.65.0
func (*SendStatusUpdateRequest) ProtoMessage()
func (*SendStatusUpdateRequest) ProtoReflect ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) ProtoReflect() protoreflect.Message
func (*SendStatusUpdateRequest) Reset ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) Reset()
func (*SendStatusUpdateRequest) String ¶ added in v0.65.0
func (x *SendStatusUpdateRequest) String() string
type SendStatusUpdateResponse ¶ added in v0.65.0
type SendStatusUpdateResponse struct {
// contains filtered or unexported fields
}
SendStatusUpdateResponse is intentionally empty to allow for future expansion
func (*SendStatusUpdateResponse) Descriptor
deprecated
added in
v0.65.0
func (*SendStatusUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendStatusUpdateResponse.ProtoReflect.Descriptor instead.
func (*SendStatusUpdateResponse) ProtoMessage ¶ added in v0.65.0
func (*SendStatusUpdateResponse) ProtoMessage()
func (*SendStatusUpdateResponse) ProtoReflect ¶ added in v0.65.0
func (x *SendStatusUpdateResponse) ProtoReflect() protoreflect.Message
func (*SendStatusUpdateResponse) Reset ¶ added in v0.65.0
func (x *SendStatusUpdateResponse) Reset()
func (*SendStatusUpdateResponse) String ¶ added in v0.65.0
func (x *SendStatusUpdateResponse) String() string
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 ¶
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
func (*SimpleRecord) Descriptor() ([]byte, []int)
Deprecated: Use SimpleRecord.ProtoReflect.Descriptor instead.
func (*SimpleRecord) GetClass ¶
func (x *SimpleRecord) GetClass() string
func (*SimpleRecord) GetName ¶
func (x *SimpleRecord) GetName() string
func (*SimpleRecord) GetRData ¶
func (x *SimpleRecord) GetRData() string
func (*SimpleRecord) GetTTL ¶
func (x *SimpleRecord) GetTTL() int64
func (*SimpleRecord) GetType ¶
func (x *SimpleRecord) GetType() int64
func (*SimpleRecord) ProtoMessage ¶
func (*SimpleRecord) ProtoMessage()
func (*SimpleRecord) ProtoReflect ¶
func (x *SimpleRecord) ProtoReflect() protoreflect.Message
func (*SimpleRecord) Reset ¶
func (x *SimpleRecord) Reset()
func (*SimpleRecord) String ¶
func (x *SimpleRecord) String() string
type SyncMetaRequest ¶
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
func (*SyncMetaRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncMetaRequest.ProtoReflect.Descriptor instead.
func (*SyncMetaRequest) GetMeta ¶
func (x *SyncMetaRequest) GetMeta() *PeerSystemMeta
func (*SyncMetaRequest) ProtoMessage ¶
func (*SyncMetaRequest) ProtoMessage()
func (*SyncMetaRequest) ProtoReflect ¶
func (x *SyncMetaRequest) ProtoReflect() protoreflect.Message
func (*SyncMetaRequest) Reset ¶
func (x *SyncMetaRequest) Reset()
func (*SyncMetaRequest) String ¶
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 ¶
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 ¶
func (x *SyncResponse) GetChecks() []*Checks
func (*SyncResponse) GetNetbirdConfig ¶
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 ¶
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) Logout ¶
func (UnimplementedManagementServiceServer) Logout(context.Context, *EncryptedMessage) (*Empty, error)
func (UnimplementedManagementServiceServer) SyncMeta ¶
func (UnimplementedManagementServiceServer) SyncMeta(context.Context, *EncryptedMessage) (*Empty, error)
type UnimplementedProxyServiceServer ¶ added in v0.65.0
type UnimplementedProxyServiceServer struct {
}
UnimplementedProxyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProxyServiceServer) Authenticate ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (UnimplementedProxyServiceServer) CreateProxyPeer ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) CreateProxyPeer(context.Context, *CreateProxyPeerRequest) (*CreateProxyPeerResponse, error)
func (UnimplementedProxyServiceServer) GetMappingUpdate ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) GetMappingUpdate(*GetMappingUpdateRequest, ProxyService_GetMappingUpdateServer) error
func (UnimplementedProxyServiceServer) GetOIDCURL ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) GetOIDCURL(context.Context, *GetOIDCURLRequest) (*GetOIDCURLResponse, error)
func (UnimplementedProxyServiceServer) SendAccessLog ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) SendAccessLog(context.Context, *SendAccessLogRequest) (*SendAccessLogResponse, error)
func (UnimplementedProxyServiceServer) SendStatusUpdate ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) SendStatusUpdate(context.Context, *SendStatusUpdateRequest) (*SendStatusUpdateResponse, error)
func (UnimplementedProxyServiceServer) ValidateSession ¶ added in v0.65.0
func (UnimplementedProxyServiceServer) ValidateSession(context.Context, *ValidateSessionRequest) (*ValidateSessionResponse, 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.
type UnsafeProxyServiceServer ¶ added in v0.65.0
type UnsafeProxyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProxyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProxyServiceServer will result in compilation errors.
type ValidateSessionRequest ¶ added in v0.65.0
type ValidateSessionRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
func (*ValidateSessionRequest) Descriptor
deprecated
added in
v0.65.0
func (*ValidateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSessionRequest.ProtoReflect.Descriptor instead.
func (*ValidateSessionRequest) GetDomain ¶ added in v0.65.0
func (x *ValidateSessionRequest) GetDomain() string
func (*ValidateSessionRequest) GetSessionToken ¶ added in v0.65.0
func (x *ValidateSessionRequest) GetSessionToken() string
func (*ValidateSessionRequest) ProtoMessage ¶ added in v0.65.0
func (*ValidateSessionRequest) ProtoMessage()
func (*ValidateSessionRequest) ProtoReflect ¶ added in v0.65.0
func (x *ValidateSessionRequest) ProtoReflect() protoreflect.Message
func (*ValidateSessionRequest) Reset ¶ added in v0.65.0
func (x *ValidateSessionRequest) Reset()
func (*ValidateSessionRequest) String ¶ added in v0.65.0
func (x *ValidateSessionRequest) String() string
type ValidateSessionResponse ¶ added in v0.65.0
type ValidateSessionResponse struct {
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
DeniedReason string `protobuf:"bytes,4,opt,name=denied_reason,json=deniedReason,proto3" json:"denied_reason,omitempty"`
// contains filtered or unexported fields
}
func (*ValidateSessionResponse) Descriptor
deprecated
added in
v0.65.0
func (*ValidateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateSessionResponse.ProtoReflect.Descriptor instead.
func (*ValidateSessionResponse) GetDeniedReason ¶ added in v0.65.0
func (x *ValidateSessionResponse) GetDeniedReason() string
func (*ValidateSessionResponse) GetUserEmail ¶ added in v0.65.0
func (x *ValidateSessionResponse) GetUserEmail() string
func (*ValidateSessionResponse) GetUserId ¶ added in v0.65.0
func (x *ValidateSessionResponse) GetUserId() string
func (*ValidateSessionResponse) GetValid ¶ added in v0.65.0
func (x *ValidateSessionResponse) GetValid() bool
func (*ValidateSessionResponse) ProtoMessage ¶ added in v0.65.0
func (*ValidateSessionResponse) ProtoMessage()
func (*ValidateSessionResponse) ProtoReflect ¶ added in v0.65.0
func (x *ValidateSessionResponse) ProtoReflect() protoreflect.Message
func (*ValidateSessionResponse) Reset ¶ added in v0.65.0
func (x *ValidateSessionResponse) Reset()
func (*ValidateSessionResponse) String ¶ added in v0.65.0
func (x *ValidateSessionResponse) String() string