proto

package
v0.25.8 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: BSD-3-Clause Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DaemonService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "daemon.DaemonService",
	HandlerType: (*DaemonServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _DaemonService_Login_Handler,
		},
		{
			MethodName: "WaitSSOLogin",
			Handler:    _DaemonService_WaitSSOLogin_Handler,
		},
		{
			MethodName: "Up",
			Handler:    _DaemonService_Up_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _DaemonService_Status_Handler,
		},
		{
			MethodName: "Down",
			Handler:    _DaemonService_Down_Handler,
		},
		{
			MethodName: "GetConfig",
			Handler:    _DaemonService_GetConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "daemon.proto",
}

DaemonService_ServiceDesc is the grpc.ServiceDesc for DaemonService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_daemon_proto protoreflect.FileDescriptor

Functions

func RegisterDaemonServiceServer

func RegisterDaemonServiceServer(s grpc.ServiceRegistrar, srv DaemonServiceServer)

Types

type DaemonServiceClient

type DaemonServiceClient interface {
	// Login uses setup key to prepare configuration for the daemon.
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// WaitSSOLogin uses the userCode to validate the TokenInfo and
	// waits for the user to continue with the login on a browser
	WaitSSOLogin(ctx context.Context, in *WaitSSOLoginRequest, opts ...grpc.CallOption) (*WaitSSOLoginResponse, error)
	// Up starts engine work in the daemon.
	Up(ctx context.Context, in *UpRequest, opts ...grpc.CallOption) (*UpResponse, error)
	// Status of the service.
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	// Down engine work in the daemon.
	Down(ctx context.Context, in *DownRequest, opts ...grpc.CallOption) (*DownResponse, error)
	// GetConfig of the daemon.
	GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error)
}

DaemonServiceClient is the client API for DaemonService 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.

type DaemonServiceServer

type DaemonServiceServer interface {
	// Login uses setup key to prepare configuration for the daemon.
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// WaitSSOLogin uses the userCode to validate the TokenInfo and
	// waits for the user to continue with the login on a browser
	WaitSSOLogin(context.Context, *WaitSSOLoginRequest) (*WaitSSOLoginResponse, error)
	// Up starts engine work in the daemon.
	Up(context.Context, *UpRequest) (*UpResponse, error)
	// Status of the service.
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	// Down engine work in the daemon.
	Down(context.Context, *DownRequest) (*DownResponse, error)
	// GetConfig of the daemon.
	GetConfig(context.Context, *GetConfigRequest) (*GetConfigResponse, error)
	// contains filtered or unexported methods
}

DaemonServiceServer is the server API for DaemonService service. All implementations must embed UnimplementedDaemonServiceServer for forward compatibility

type DownRequest

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

func (*DownRequest) Descriptor deprecated

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

Deprecated: Use DownRequest.ProtoReflect.Descriptor instead.

func (*DownRequest) ProtoMessage

func (*DownRequest) ProtoMessage()

func (*DownRequest) ProtoReflect

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

func (*DownRequest) Reset

func (x *DownRequest) Reset()

func (*DownRequest) String

func (x *DownRequest) String() string

type DownResponse

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

func (*DownResponse) Descriptor deprecated

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

Deprecated: Use DownResponse.ProtoReflect.Descriptor instead.

func (*DownResponse) ProtoMessage

func (*DownResponse) ProtoMessage()

func (*DownResponse) ProtoReflect

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

func (*DownResponse) Reset

func (x *DownResponse) Reset()

func (*DownResponse) String

func (x *DownResponse) String() string

type FullStatus added in v0.8.1

type FullStatus struct {
	ManagementState *ManagementState `protobuf:"bytes,1,opt,name=managementState,proto3" json:"managementState,omitempty"`
	SignalState     *SignalState     `protobuf:"bytes,2,opt,name=signalState,proto3" json:"signalState,omitempty"`
	LocalPeerState  *LocalPeerState  `protobuf:"bytes,3,opt,name=localPeerState,proto3" json:"localPeerState,omitempty"`
	Peers           []*PeerState     `protobuf:"bytes,4,rep,name=peers,proto3" json:"peers,omitempty"`
	Relays          []*RelayState    `protobuf:"bytes,5,rep,name=relays,proto3" json:"relays,omitempty"`
	// contains filtered or unexported fields
}

FullStatus contains the full state held by the Status instance

func (*FullStatus) Descriptor deprecated added in v0.8.1

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

Deprecated: Use FullStatus.ProtoReflect.Descriptor instead.

func (*FullStatus) GetLocalPeerState added in v0.8.1

func (x *FullStatus) GetLocalPeerState() *LocalPeerState

func (*FullStatus) GetManagementState added in v0.8.1

func (x *FullStatus) GetManagementState() *ManagementState

func (*FullStatus) GetPeers added in v0.8.1

func (x *FullStatus) GetPeers() []*PeerState

func (*FullStatus) GetRelays added in v0.25.5

func (x *FullStatus) GetRelays() []*RelayState

func (*FullStatus) GetSignalState added in v0.8.1

func (x *FullStatus) GetSignalState() *SignalState

func (*FullStatus) ProtoMessage added in v0.8.1

func (*FullStatus) ProtoMessage()

func (*FullStatus) ProtoReflect added in v0.8.1

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

func (*FullStatus) Reset added in v0.8.1

func (x *FullStatus) Reset()

func (*FullStatus) String added in v0.8.1

func (x *FullStatus) String() string

type GetConfigRequest

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

func (*GetConfigRequest) Descriptor deprecated

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

Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.

func (*GetConfigRequest) ProtoMessage

func (*GetConfigRequest) ProtoMessage()

func (*GetConfigRequest) ProtoReflect

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

func (*GetConfigRequest) Reset

func (x *GetConfigRequest) Reset()

func (*GetConfigRequest) String

func (x *GetConfigRequest) String() string

type GetConfigResponse

type GetConfigResponse struct {

	// managementUrl settings value.
	ManagementUrl string `protobuf:"bytes,1,opt,name=managementUrl,proto3" json:"managementUrl,omitempty"`
	// configFile settings value.
	ConfigFile string `protobuf:"bytes,2,opt,name=configFile,proto3" json:"configFile,omitempty"`
	// logFile settings value.
	LogFile string `protobuf:"bytes,3,opt,name=logFile,proto3" json:"logFile,omitempty"`
	// preSharedKey settings value.
	PreSharedKey string `protobuf:"bytes,4,opt,name=preSharedKey,proto3" json:"preSharedKey,omitempty"`
	// adminURL settings value.
	AdminURL string `protobuf:"bytes,5,opt,name=adminURL,proto3" json:"adminURL,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigResponse) Descriptor deprecated

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

Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.

func (*GetConfigResponse) GetAdminURL

func (x *GetConfigResponse) GetAdminURL() string

func (*GetConfigResponse) GetConfigFile

func (x *GetConfigResponse) GetConfigFile() string

func (*GetConfigResponse) GetLogFile

func (x *GetConfigResponse) GetLogFile() string

func (*GetConfigResponse) GetManagementUrl

func (x *GetConfigResponse) GetManagementUrl() string

func (*GetConfigResponse) GetPreSharedKey

func (x *GetConfigResponse) GetPreSharedKey() string

func (*GetConfigResponse) ProtoMessage

func (*GetConfigResponse) ProtoMessage()

func (*GetConfigResponse) ProtoReflect

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

func (*GetConfigResponse) Reset

func (x *GetConfigResponse) Reset()

func (*GetConfigResponse) String

func (x *GetConfigResponse) String() string

type LocalPeerState added in v0.8.1

type LocalPeerState struct {
	IP              string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"`
	PubKey          string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	KernelInterface bool   `protobuf:"varint,3,opt,name=kernelInterface,proto3" json:"kernelInterface,omitempty"`
	Fqdn            string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	// contains filtered or unexported fields
}

LocalPeerState contains the latest state of the local peer

func (*LocalPeerState) Descriptor deprecated added in v0.8.1

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

Deprecated: Use LocalPeerState.ProtoReflect.Descriptor instead.

func (*LocalPeerState) GetFqdn added in v0.11.2

func (x *LocalPeerState) GetFqdn() string

func (*LocalPeerState) GetIP added in v0.8.1

func (x *LocalPeerState) GetIP() string

func (*LocalPeerState) GetKernelInterface added in v0.8.1

func (x *LocalPeerState) GetKernelInterface() bool

func (*LocalPeerState) GetPubKey added in v0.8.1

func (x *LocalPeerState) GetPubKey() string

func (*LocalPeerState) ProtoMessage added in v0.8.1

func (*LocalPeerState) ProtoMessage()

func (*LocalPeerState) ProtoReflect added in v0.8.1

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

func (*LocalPeerState) Reset added in v0.8.1

func (x *LocalPeerState) Reset()

func (*LocalPeerState) String added in v0.8.1

func (x *LocalPeerState) String() string

type LoginRequest

type LoginRequest struct {

	// setupKey wiretrustee setup key.
	SetupKey string `protobuf:"bytes,1,opt,name=setupKey,proto3" json:"setupKey,omitempty"`
	// This is the old PreSharedKey field which will be deprecated in favor of optionalPreSharedKey field that is defined as optional
	// to allow clearing of preshared key while being able to persist in the config file.
	//
	// Deprecated: Do not use.
	PreSharedKey string `protobuf:"bytes,2,opt,name=preSharedKey,proto3" json:"preSharedKey,omitempty"`
	// managementUrl to authenticate.
	ManagementUrl string `protobuf:"bytes,3,opt,name=managementUrl,proto3" json:"managementUrl,omitempty"`
	// adminUrl to manage keys.
	AdminURL string `protobuf:"bytes,4,opt,name=adminURL,proto3" json:"adminURL,omitempty"`
	// natExternalIPs map list of external IPs
	NatExternalIPs []string `protobuf:"bytes,5,rep,name=natExternalIPs,proto3" json:"natExternalIPs,omitempty"`
	// cleanNATExternalIPs clean map list of external IPs.
	// This is needed because the generated code
	// omits initialized empty slices due to omitempty tags
	CleanNATExternalIPs  bool    `protobuf:"varint,6,opt,name=cleanNATExternalIPs,proto3" json:"cleanNATExternalIPs,omitempty"`
	CustomDNSAddress     []byte  `protobuf:"bytes,7,opt,name=customDNSAddress,proto3" json:"customDNSAddress,omitempty"`
	IsLinuxDesktopClient bool    `protobuf:"varint,8,opt,name=isLinuxDesktopClient,proto3" json:"isLinuxDesktopClient,omitempty"`
	Hostname             string  `protobuf:"bytes,9,opt,name=hostname,proto3" json:"hostname,omitempty"`
	RosenpassEnabled     *bool   `protobuf:"varint,10,opt,name=rosenpassEnabled,proto3,oneof" json:"rosenpassEnabled,omitempty"`
	InterfaceName        *string `protobuf:"bytes,11,opt,name=interfaceName,proto3,oneof" json:"interfaceName,omitempty"`
	WireguardPort        *int64  `protobuf:"varint,12,opt,name=wireguardPort,proto3,oneof" json:"wireguardPort,omitempty"`
	OptionalPreSharedKey *string `protobuf:"bytes,13,opt,name=optionalPreSharedKey,proto3,oneof" json:"optionalPreSharedKey,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetAdminURL

func (x *LoginRequest) GetAdminURL() string

func (*LoginRequest) GetCleanNATExternalIPs added in v0.12.0

func (x *LoginRequest) GetCleanNATExternalIPs() bool

func (*LoginRequest) GetCustomDNSAddress added in v0.12.0

func (x *LoginRequest) GetCustomDNSAddress() []byte

func (*LoginRequest) GetHostname added in v0.24.4

func (x *LoginRequest) GetHostname() string

func (*LoginRequest) GetInterfaceName added in v0.25.4

func (x *LoginRequest) GetInterfaceName() string

func (*LoginRequest) GetIsLinuxDesktopClient added in v0.23.5

func (x *LoginRequest) GetIsLinuxDesktopClient() bool

func (*LoginRequest) GetManagementUrl

func (x *LoginRequest) GetManagementUrl() string

func (*LoginRequest) GetNatExternalIPs added in v0.12.0

func (x *LoginRequest) GetNatExternalIPs() []string

func (*LoginRequest) GetOptionalPreSharedKey added in v0.25.5

func (x *LoginRequest) GetOptionalPreSharedKey() string

func (*LoginRequest) GetPreSharedKey deprecated

func (x *LoginRequest) GetPreSharedKey() string

Deprecated: Do not use.

func (*LoginRequest) GetRosenpassEnabled added in v0.25.4

func (x *LoginRequest) GetRosenpassEnabled() bool

func (*LoginRequest) GetSetupKey

func (x *LoginRequest) GetSetupKey() string

func (*LoginRequest) GetWireguardPort added in v0.25.4

func (x *LoginRequest) GetWireguardPort() int64

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 {
	NeedsSSOLogin           bool   `protobuf:"varint,1,opt,name=needsSSOLogin,proto3" json:"needsSSOLogin,omitempty"`
	UserCode                string `protobuf:"bytes,2,opt,name=userCode,proto3" json:"userCode,omitempty"`
	VerificationURI         string `protobuf:"bytes,3,opt,name=verificationURI,proto3" json:"verificationURI,omitempty"`
	VerificationURIComplete string `protobuf:"bytes,4,opt,name=verificationURIComplete,proto3" json:"verificationURIComplete,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetNeedsSSOLogin

func (x *LoginResponse) GetNeedsSSOLogin() bool

func (*LoginResponse) GetUserCode

func (x *LoginResponse) GetUserCode() string

func (*LoginResponse) GetVerificationURI

func (x *LoginResponse) GetVerificationURI() string

func (*LoginResponse) GetVerificationURIComplete

func (x *LoginResponse) GetVerificationURIComplete() string

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 ManagementState added in v0.8.1

type ManagementState struct {
	URL       string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
	Connected bool   `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
	Error     string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

ManagementState contains the latest state of a management connection

func (*ManagementState) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ManagementState.ProtoReflect.Descriptor instead.

func (*ManagementState) GetConnected added in v0.8.1

func (x *ManagementState) GetConnected() bool

func (*ManagementState) GetError added in v0.25.5

func (x *ManagementState) GetError() string

func (*ManagementState) GetURL added in v0.8.1

func (x *ManagementState) GetURL() string

func (*ManagementState) ProtoMessage added in v0.8.1

func (*ManagementState) ProtoMessage()

func (*ManagementState) ProtoReflect added in v0.8.1

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

func (*ManagementState) Reset added in v0.8.1

func (x *ManagementState) Reset()

func (*ManagementState) String added in v0.8.1

func (x *ManagementState) String() string

type PeerState added in v0.8.1

type PeerState struct {
	IP                         string                 `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"`
	PubKey                     string                 `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	ConnStatus                 string                 `protobuf:"bytes,3,opt,name=connStatus,proto3" json:"connStatus,omitempty"`
	ConnStatusUpdate           *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=connStatusUpdate,proto3" json:"connStatusUpdate,omitempty"`
	Relayed                    bool                   `protobuf:"varint,5,opt,name=relayed,proto3" json:"relayed,omitempty"`
	Direct                     bool                   `protobuf:"varint,6,opt,name=direct,proto3" json:"direct,omitempty"`
	LocalIceCandidateType      string                 `protobuf:"bytes,7,opt,name=localIceCandidateType,proto3" json:"localIceCandidateType,omitempty"`
	RemoteIceCandidateType     string                 `protobuf:"bytes,8,opt,name=remoteIceCandidateType,proto3" json:"remoteIceCandidateType,omitempty"`
	Fqdn                       string                 `protobuf:"bytes,9,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	LocalIceCandidateEndpoint  string                 `protobuf:"bytes,10,opt,name=localIceCandidateEndpoint,proto3" json:"localIceCandidateEndpoint,omitempty"`
	RemoteIceCandidateEndpoint string                 `protobuf:"bytes,11,opt,name=remoteIceCandidateEndpoint,proto3" json:"remoteIceCandidateEndpoint,omitempty"`
	LastWireguardHandshake     *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=lastWireguardHandshake,proto3" json:"lastWireguardHandshake,omitempty"`
	BytesRx                    int64                  `protobuf:"varint,13,opt,name=bytesRx,proto3" json:"bytesRx,omitempty"`
	BytesTx                    int64                  `protobuf:"varint,14,opt,name=bytesTx,proto3" json:"bytesTx,omitempty"`
	// contains filtered or unexported fields
}

PeerState contains the latest state of a peer

func (*PeerState) Descriptor deprecated added in v0.8.1

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

Deprecated: Use PeerState.ProtoReflect.Descriptor instead.

func (*PeerState) GetBytesRx added in v0.25.5

func (x *PeerState) GetBytesRx() int64

func (*PeerState) GetBytesTx added in v0.25.5

func (x *PeerState) GetBytesTx() int64

func (*PeerState) GetConnStatus added in v0.8.1

func (x *PeerState) GetConnStatus() string

func (*PeerState) GetConnStatusUpdate added in v0.8.1

func (x *PeerState) GetConnStatusUpdate() *timestamppb.Timestamp

func (*PeerState) GetDirect added in v0.8.1

func (x *PeerState) GetDirect() bool

func (*PeerState) GetFqdn added in v0.11.2

func (x *PeerState) GetFqdn() string

func (*PeerState) GetIP added in v0.8.1

func (x *PeerState) GetIP() string

func (*PeerState) GetLastWireguardHandshake added in v0.25.5

func (x *PeerState) GetLastWireguardHandshake() *timestamppb.Timestamp

func (*PeerState) GetLocalIceCandidateEndpoint added in v0.25.5

func (x *PeerState) GetLocalIceCandidateEndpoint() string

func (*PeerState) GetLocalIceCandidateType added in v0.8.1

func (x *PeerState) GetLocalIceCandidateType() string

func (*PeerState) GetPubKey added in v0.8.1

func (x *PeerState) GetPubKey() string

func (*PeerState) GetRelayed added in v0.8.1

func (x *PeerState) GetRelayed() bool

func (*PeerState) GetRemoteIceCandidateEndpoint added in v0.25.5

func (x *PeerState) GetRemoteIceCandidateEndpoint() string

func (*PeerState) GetRemoteIceCandidateType added in v0.8.1

func (x *PeerState) GetRemoteIceCandidateType() string

func (*PeerState) ProtoMessage added in v0.8.1

func (*PeerState) ProtoMessage()

func (*PeerState) ProtoReflect added in v0.8.1

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

func (*PeerState) Reset added in v0.8.1

func (x *PeerState) Reset()

func (*PeerState) String added in v0.8.1

func (x *PeerState) String() string

type RelayState added in v0.25.5

type RelayState struct {
	URI       string `protobuf:"bytes,1,opt,name=URI,proto3" json:"URI,omitempty"`
	Available bool   `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	Error     string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

RelayState contains the latest state of the relay

func (*RelayState) Descriptor deprecated added in v0.25.5

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

Deprecated: Use RelayState.ProtoReflect.Descriptor instead.

func (*RelayState) GetAvailable added in v0.25.5

func (x *RelayState) GetAvailable() bool

func (*RelayState) GetError added in v0.25.5

func (x *RelayState) GetError() string

func (*RelayState) GetURI added in v0.25.5

func (x *RelayState) GetURI() string

func (*RelayState) ProtoMessage added in v0.25.5

func (*RelayState) ProtoMessage()

func (*RelayState) ProtoReflect added in v0.25.5

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

func (*RelayState) Reset added in v0.25.5

func (x *RelayState) Reset()

func (*RelayState) String added in v0.25.5

func (x *RelayState) String() string

type SignalState added in v0.8.1

type SignalState struct {
	URL       string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"`
	Connected bool   `protobuf:"varint,2,opt,name=connected,proto3" json:"connected,omitempty"`
	Error     string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SignalState contains the latest state of a signal connection

func (*SignalState) Descriptor deprecated added in v0.8.1

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

Deprecated: Use SignalState.ProtoReflect.Descriptor instead.

func (*SignalState) GetConnected added in v0.8.1

func (x *SignalState) GetConnected() bool

func (*SignalState) GetError added in v0.25.5

func (x *SignalState) GetError() string

func (*SignalState) GetURL added in v0.8.1

func (x *SignalState) GetURL() string

func (*SignalState) ProtoMessage added in v0.8.1

func (*SignalState) ProtoMessage()

func (*SignalState) ProtoReflect added in v0.8.1

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

func (*SignalState) Reset added in v0.8.1

func (x *SignalState) Reset()

func (*SignalState) String added in v0.8.1

func (x *SignalState) String() string

type StatusRequest

type StatusRequest struct {
	GetFullPeerStatus bool `protobuf:"varint,1,opt,name=getFullPeerStatus,proto3" json:"getFullPeerStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) GetGetFullPeerStatus added in v0.8.1

func (x *StatusRequest) GetGetFullPeerStatus() bool

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

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

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {

	// status of the server.
	Status     string      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	FullStatus *FullStatus `protobuf:"bytes,2,opt,name=fullStatus,proto3" json:"fullStatus,omitempty"`
	// NetBird daemon version
	DaemonVersion string `protobuf:"bytes,3,opt,name=daemonVersion,proto3" json:"daemonVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetDaemonVersion added in v0.8.6

func (x *StatusResponse) GetDaemonVersion() string

func (*StatusResponse) GetFullStatus added in v0.8.1

func (x *StatusResponse) GetFullStatus() *FullStatus

func (*StatusResponse) GetStatus

func (x *StatusResponse) GetStatus() string

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

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

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type UnimplementedDaemonServiceServer

type UnimplementedDaemonServiceServer struct {
}

UnimplementedDaemonServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDaemonServiceServer) Down

func (UnimplementedDaemonServiceServer) GetConfig

func (UnimplementedDaemonServiceServer) Login

func (UnimplementedDaemonServiceServer) Status

func (UnimplementedDaemonServiceServer) Up

func (UnimplementedDaemonServiceServer) WaitSSOLogin

type UnsafeDaemonServiceServer

type UnsafeDaemonServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDaemonServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServiceServer will result in compilation errors.

type UpRequest

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

func (*UpRequest) Descriptor deprecated

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

Deprecated: Use UpRequest.ProtoReflect.Descriptor instead.

func (*UpRequest) ProtoMessage

func (*UpRequest) ProtoMessage()

func (*UpRequest) ProtoReflect

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

func (*UpRequest) Reset

func (x *UpRequest) Reset()

func (*UpRequest) String

func (x *UpRequest) String() string

type UpResponse

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

func (*UpResponse) Descriptor deprecated

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

Deprecated: Use UpResponse.ProtoReflect.Descriptor instead.

func (*UpResponse) ProtoMessage

func (*UpResponse) ProtoMessage()

func (*UpResponse) ProtoReflect

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

func (*UpResponse) Reset

func (x *UpResponse) Reset()

func (*UpResponse) String

func (x *UpResponse) String() string

type WaitSSOLoginRequest

type WaitSSOLoginRequest struct {
	UserCode string `protobuf:"bytes,1,opt,name=userCode,proto3" json:"userCode,omitempty"`
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitSSOLoginRequest) Descriptor deprecated

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

Deprecated: Use WaitSSOLoginRequest.ProtoReflect.Descriptor instead.

func (*WaitSSOLoginRequest) GetHostname added in v0.24.4

func (x *WaitSSOLoginRequest) GetHostname() string

func (*WaitSSOLoginRequest) GetUserCode

func (x *WaitSSOLoginRequest) GetUserCode() string

func (*WaitSSOLoginRequest) ProtoMessage

func (*WaitSSOLoginRequest) ProtoMessage()

func (*WaitSSOLoginRequest) ProtoReflect

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

func (*WaitSSOLoginRequest) Reset

func (x *WaitSSOLoginRequest) Reset()

func (*WaitSSOLoginRequest) String

func (x *WaitSSOLoginRequest) String() string

type WaitSSOLoginResponse

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

func (*WaitSSOLoginResponse) Descriptor deprecated

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

Deprecated: Use WaitSSOLoginResponse.ProtoReflect.Descriptor instead.

func (*WaitSSOLoginResponse) ProtoMessage

func (*WaitSSOLoginResponse) ProtoMessage()

func (*WaitSSOLoginResponse) ProtoReflect

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

func (*WaitSSOLoginResponse) Reset

func (x *WaitSSOLoginResponse) Reset()

func (*WaitSSOLoginResponse) String

func (x *WaitSSOLoginResponse) String() string

Jump to

Keyboard shortcuts

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