Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterHeadscaleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterHeadscaleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HeadscaleServiceClient) error
- func RegisterHeadscaleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterHeadscaleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HeadscaleServiceServer) error
- func RegisterHeadscaleServiceServer(s grpc.ServiceRegistrar, srv HeadscaleServiceServer)
- type ApiKey
- func (*ApiKey) Descriptor() ([]byte, []int)deprecated
- func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *ApiKey) GetExpiration() *timestamppb.Timestamp
- func (x *ApiKey) GetId() uint64
- func (x *ApiKey) GetLastSeen() *timestamppb.Timestamp
- func (x *ApiKey) GetPrefix() string
- func (*ApiKey) ProtoMessage()
- func (x *ApiKey) ProtoReflect() protoreflect.Message
- func (x *ApiKey) Reset()
- func (x *ApiKey) String() string
- type ClientConnectivity
- func (*ClientConnectivity) Descriptor() ([]byte, []int)deprecated
- func (x *ClientConnectivity) GetClientSupports() *ClientSupports
- func (x *ClientConnectivity) GetDerp() string
- func (x *ClientConnectivity) GetEndpoints() []string
- func (x *ClientConnectivity) GetLatency() map[string]*Latency
- func (x *ClientConnectivity) GetMappingVariesByDestIp() bool
- func (*ClientConnectivity) ProtoMessage()
- func (x *ClientConnectivity) ProtoReflect() protoreflect.Message
- func (x *ClientConnectivity) Reset()
- func (x *ClientConnectivity) String() string
- type ClientSupports
- func (*ClientSupports) Descriptor() ([]byte, []int)deprecated
- func (x *ClientSupports) GetHairPinning() bool
- func (x *ClientSupports) GetIpv6() bool
- func (x *ClientSupports) GetPcp() bool
- func (x *ClientSupports) GetPmp() bool
- func (x *ClientSupports) GetUdp() bool
- func (x *ClientSupports) GetUpnp() bool
- func (*ClientSupports) ProtoMessage()
- func (x *ClientSupports) ProtoReflect() protoreflect.Message
- func (x *ClientSupports) Reset()
- func (x *ClientSupports) String() string
- type CreateApiKeyRequest
- func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiKeyRequest) GetExpiration() *timestamppb.Timestamp
- func (*CreateApiKeyRequest) ProtoMessage()
- func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateApiKeyRequest) Reset()
- func (x *CreateApiKeyRequest) String() string
- type CreateApiKeyResponse
- func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateApiKeyResponse) GetApiKey() string
- func (*CreateApiKeyResponse) ProtoMessage()
- func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateApiKeyResponse) Reset()
- func (x *CreateApiKeyResponse) String() string
- type CreateNamespaceRequest
- func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceRequest) GetName() string
- func (*CreateNamespaceRequest) ProtoMessage()
- func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceRequest) Reset()
- func (x *CreateNamespaceRequest) String() string
- type CreateNamespaceResponse
- func (*CreateNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNamespaceResponse) GetNamespace() *Namespace
- func (*CreateNamespaceResponse) ProtoMessage()
- func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNamespaceResponse) Reset()
- func (x *CreateNamespaceResponse) String() string
- type CreatePreAuthKeyRequest
- func (*CreatePreAuthKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreAuthKeyRequest) GetEphemeral() bool
- func (x *CreatePreAuthKeyRequest) GetExpiration() *timestamppb.Timestamp
- func (x *CreatePreAuthKeyRequest) GetNamespace() string
- func (x *CreatePreAuthKeyRequest) GetReusable() bool
- func (*CreatePreAuthKeyRequest) ProtoMessage()
- func (x *CreatePreAuthKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePreAuthKeyRequest) Reset()
- func (x *CreatePreAuthKeyRequest) String() string
- type CreatePreAuthKeyResponse
- func (*CreatePreAuthKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreAuthKeyResponse) GetPreAuthKey() *PreAuthKey
- func (*CreatePreAuthKeyResponse) ProtoMessage()
- func (x *CreatePreAuthKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePreAuthKeyResponse) Reset()
- func (x *CreatePreAuthKeyResponse) String() string
- type DebugCreateMachineRequest
- func (*DebugCreateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugCreateMachineRequest) GetKey() string
- func (x *DebugCreateMachineRequest) GetName() string
- func (x *DebugCreateMachineRequest) GetNamespace() string
- func (x *DebugCreateMachineRequest) GetRoutes() []string
- func (*DebugCreateMachineRequest) ProtoMessage()
- func (x *DebugCreateMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DebugCreateMachineRequest) Reset()
- func (x *DebugCreateMachineRequest) String() string
- type DebugCreateMachineResponse
- func (*DebugCreateMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugCreateMachineResponse) GetMachine() *Machine
- func (*DebugCreateMachineResponse) ProtoMessage()
- func (x *DebugCreateMachineResponse) ProtoReflect() protoreflect.Message
- func (x *DebugCreateMachineResponse) Reset()
- func (x *DebugCreateMachineResponse) String() string
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDeviceRequest) GetId() string
- func (*DeleteDeviceRequest) ProtoMessage()
- func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDeviceRequest) Reset()
- func (x *DeleteDeviceRequest) String() string
- type DeleteDeviceResponse
- type DeleteMachineRequest
- func (*DeleteMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMachineRequest) GetMachineId() uint64
- func (*DeleteMachineRequest) ProtoMessage()
- func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMachineRequest) Reset()
- func (x *DeleteMachineRequest) String() string
- type DeleteMachineResponse
- type DeleteNamespaceRequest
- func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNamespaceRequest) GetName() string
- func (*DeleteNamespaceRequest) ProtoMessage()
- func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNamespaceRequest) Reset()
- func (x *DeleteNamespaceRequest) String() string
- type DeleteNamespaceResponse
- type EnableDeviceRoutesRequest
- func (*EnableDeviceRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableDeviceRoutesRequest) GetId() string
- func (x *EnableDeviceRoutesRequest) GetRoutes() []string
- func (*EnableDeviceRoutesRequest) ProtoMessage()
- func (x *EnableDeviceRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *EnableDeviceRoutesRequest) Reset()
- func (x *EnableDeviceRoutesRequest) String() string
- type EnableDeviceRoutesResponse
- func (*EnableDeviceRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnableDeviceRoutesResponse) GetAdvertisedRoutes() []string
- func (x *EnableDeviceRoutesResponse) GetEnabledRoutes() []string
- func (*EnableDeviceRoutesResponse) ProtoMessage()
- func (x *EnableDeviceRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *EnableDeviceRoutesResponse) Reset()
- func (x *EnableDeviceRoutesResponse) String() string
- type EnableMachineRoutesRequest
- func (*EnableMachineRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableMachineRoutesRequest) GetMachineId() uint64
- func (x *EnableMachineRoutesRequest) GetRoutes() []string
- func (*EnableMachineRoutesRequest) ProtoMessage()
- func (x *EnableMachineRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *EnableMachineRoutesRequest) Reset()
- func (x *EnableMachineRoutesRequest) String() string
- type EnableMachineRoutesResponse
- func (*EnableMachineRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnableMachineRoutesResponse) GetRoutes() *Routes
- func (*EnableMachineRoutesResponse) ProtoMessage()
- func (x *EnableMachineRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *EnableMachineRoutesResponse) Reset()
- func (x *EnableMachineRoutesResponse) String() string
- type ExpireApiKeyRequest
- func (*ExpireApiKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireApiKeyRequest) GetPrefix() string
- func (*ExpireApiKeyRequest) ProtoMessage()
- func (x *ExpireApiKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ExpireApiKeyRequest) Reset()
- func (x *ExpireApiKeyRequest) String() string
- type ExpireApiKeyResponse
- type ExpireMachineRequest
- func (*ExpireMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireMachineRequest) GetMachineId() uint64
- func (*ExpireMachineRequest) ProtoMessage()
- func (x *ExpireMachineRequest) ProtoReflect() protoreflect.Message
- func (x *ExpireMachineRequest) Reset()
- func (x *ExpireMachineRequest) String() string
- type ExpireMachineResponse
- func (*ExpireMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireMachineResponse) GetMachine() *Machine
- func (*ExpireMachineResponse) ProtoMessage()
- func (x *ExpireMachineResponse) ProtoReflect() protoreflect.Message
- func (x *ExpireMachineResponse) Reset()
- func (x *ExpireMachineResponse) String() string
- type ExpirePreAuthKeyRequest
- func (*ExpirePreAuthKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpirePreAuthKeyRequest) GetKey() string
- func (x *ExpirePreAuthKeyRequest) GetNamespace() string
- func (*ExpirePreAuthKeyRequest) ProtoMessage()
- func (x *ExpirePreAuthKeyRequest) ProtoReflect() protoreflect.Message
- func (x *ExpirePreAuthKeyRequest) Reset()
- func (x *ExpirePreAuthKeyRequest) String() string
- type ExpirePreAuthKeyResponse
- type GetDeviceRequest
- type GetDeviceResponse
- func (*GetDeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceResponse) GetAddresses() []string
- func (x *GetDeviceResponse) GetAdvertisedRoutes() []string
- func (x *GetDeviceResponse) GetAuthorized() bool
- func (x *GetDeviceResponse) GetBlocksIncomingConnections() bool
- func (x *GetDeviceResponse) GetClientConnectivity() *ClientConnectivity
- func (x *GetDeviceResponse) GetClientVersion() string
- func (x *GetDeviceResponse) GetCreated() *timestamppb.Timestamp
- func (x *GetDeviceResponse) GetEnabledRoutes() []string
- func (x *GetDeviceResponse) GetExpires() *timestamppb.Timestamp
- func (x *GetDeviceResponse) GetHostname() string
- func (x *GetDeviceResponse) GetId() string
- func (x *GetDeviceResponse) GetIsExternal() bool
- func (x *GetDeviceResponse) GetKeyExpiryDisabled() bool
- func (x *GetDeviceResponse) GetLastSeen() *timestamppb.Timestamp
- func (x *GetDeviceResponse) GetMachineKey() string
- func (x *GetDeviceResponse) GetName() string
- func (x *GetDeviceResponse) GetNodeKey() string
- func (x *GetDeviceResponse) GetOs() string
- func (x *GetDeviceResponse) GetUpdateAvailable() bool
- func (x *GetDeviceResponse) GetUser() string
- func (*GetDeviceResponse) ProtoMessage()
- func (x *GetDeviceResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeviceResponse) Reset()
- func (x *GetDeviceResponse) String() string
- type GetDeviceRoutesRequest
- func (*GetDeviceRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceRoutesRequest) GetId() string
- func (*GetDeviceRoutesRequest) ProtoMessage()
- func (x *GetDeviceRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceRoutesRequest) Reset()
- func (x *GetDeviceRoutesRequest) String() string
- type GetDeviceRoutesResponse
- func (*GetDeviceRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceRoutesResponse) GetAdvertisedRoutes() []string
- func (x *GetDeviceRoutesResponse) GetEnabledRoutes() []string
- func (*GetDeviceRoutesResponse) ProtoMessage()
- func (x *GetDeviceRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeviceRoutesResponse) Reset()
- func (x *GetDeviceRoutesResponse) String() string
- type GetMachineRequest
- type GetMachineResponse
- func (*GetMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineResponse) GetMachine() *Machine
- func (*GetMachineResponse) ProtoMessage()
- func (x *GetMachineResponse) ProtoReflect() protoreflect.Message
- func (x *GetMachineResponse) Reset()
- func (x *GetMachineResponse) String() string
- type GetMachineRouteRequest
- func (*GetMachineRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRouteRequest) GetMachineId() uint64
- func (*GetMachineRouteRequest) ProtoMessage()
- func (x *GetMachineRouteRequest) ProtoReflect() protoreflect.Message
- func (x *GetMachineRouteRequest) Reset()
- func (x *GetMachineRouteRequest) String() string
- type GetMachineRouteResponse
- func (*GetMachineRouteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRouteResponse) GetRoutes() *Routes
- func (*GetMachineRouteResponse) ProtoMessage()
- func (x *GetMachineRouteResponse) ProtoReflect() protoreflect.Message
- func (x *GetMachineRouteResponse) Reset()
- func (x *GetMachineRouteResponse) String() string
- type GetNamespaceRequest
- func (*GetNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceRequest) GetName() string
- func (*GetNamespaceRequest) ProtoMessage()
- func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceRequest) Reset()
- func (x *GetNamespaceRequest) String() string
- type GetNamespaceResponse
- func (*GetNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceResponse) GetNamespace() *Namespace
- func (*GetNamespaceResponse) ProtoMessage()
- func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceResponse) Reset()
- func (x *GetNamespaceResponse) String() string
- type HeadscaleServiceClient
- type HeadscaleServiceServer
- type Latency
- type ListApiKeysRequest
- type ListApiKeysResponse
- func (*ListApiKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListApiKeysResponse) GetApiKeys() []*ApiKey
- func (*ListApiKeysResponse) ProtoMessage()
- func (x *ListApiKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListApiKeysResponse) Reset()
- func (x *ListApiKeysResponse) String() string
- type ListMachinesRequest
- func (*ListMachinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesRequest) GetNamespace() string
- func (*ListMachinesRequest) ProtoMessage()
- func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMachinesRequest) Reset()
- func (x *ListMachinesRequest) String() string
- type ListMachinesResponse
- func (*ListMachinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesResponse) GetMachines() []*Machine
- func (*ListMachinesResponse) ProtoMessage()
- func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMachinesResponse) Reset()
- func (x *ListMachinesResponse) String() string
- type ListNamespacesRequest
- type ListNamespacesResponse
- func (*ListNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
- func (*ListNamespacesResponse) ProtoMessage()
- func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListNamespacesResponse) Reset()
- func (x *ListNamespacesResponse) String() string
- type ListPreAuthKeysRequest
- func (*ListPreAuthKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPreAuthKeysRequest) GetNamespace() string
- func (*ListPreAuthKeysRequest) ProtoMessage()
- func (x *ListPreAuthKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListPreAuthKeysRequest) Reset()
- func (x *ListPreAuthKeysRequest) String() string
- type ListPreAuthKeysResponse
- func (*ListPreAuthKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPreAuthKeysResponse) GetPreAuthKeys() []*PreAuthKey
- func (*ListPreAuthKeysResponse) ProtoMessage()
- func (x *ListPreAuthKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListPreAuthKeysResponse) Reset()
- func (x *ListPreAuthKeysResponse) String() string
- type Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetCreatedAt() *timestamppb.Timestamp
- func (x *Machine) GetDiscoKey() string
- func (x *Machine) GetExpiry() *timestamppb.Timestamp
- func (x *Machine) GetId() uint64
- func (x *Machine) GetIpAddresses() []string
- func (x *Machine) GetLastSeen() *timestamppb.Timestamp
- func (x *Machine) GetLastSuccessfulUpdate() *timestamppb.Timestamp
- func (x *Machine) GetMachineKey() string
- func (x *Machine) GetName() string
- func (x *Machine) GetNamespace() *Namespace
- func (x *Machine) GetNodeKey() string
- func (x *Machine) GetPreAuthKey() *PreAuthKey
- func (x *Machine) GetRegisterMethod() RegisterMethod
- func (x *Machine) GetRegistered() bool
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
- func (x *Namespace) GetId() string
- func (x *Namespace) GetName() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type PreAuthKey
- func (*PreAuthKey) Descriptor() ([]byte, []int)deprecated
- func (x *PreAuthKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *PreAuthKey) GetEphemeral() bool
- func (x *PreAuthKey) GetExpiration() *timestamppb.Timestamp
- func (x *PreAuthKey) GetId() string
- func (x *PreAuthKey) GetKey() string
- func (x *PreAuthKey) GetNamespace() string
- func (x *PreAuthKey) GetReusable() bool
- func (x *PreAuthKey) GetUsed() bool
- func (*PreAuthKey) ProtoMessage()
- func (x *PreAuthKey) ProtoReflect() protoreflect.Message
- func (x *PreAuthKey) Reset()
- func (x *PreAuthKey) String() string
- type RegisterMachineRequest
- func (*RegisterMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterMachineRequest) GetKey() string
- func (x *RegisterMachineRequest) GetNamespace() string
- func (*RegisterMachineRequest) ProtoMessage()
- func (x *RegisterMachineRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterMachineRequest) Reset()
- func (x *RegisterMachineRequest) String() string
- type RegisterMachineResponse
- func (*RegisterMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterMachineResponse) GetMachine() *Machine
- func (*RegisterMachineResponse) ProtoMessage()
- func (x *RegisterMachineResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterMachineResponse) Reset()
- func (x *RegisterMachineResponse) String() string
- type RegisterMethod
- func (RegisterMethod) Descriptor() protoreflect.EnumDescriptor
- func (x RegisterMethod) Enum() *RegisterMethod
- func (RegisterMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x RegisterMethod) Number() protoreflect.EnumNumber
- func (x RegisterMethod) String() string
- func (RegisterMethod) Type() protoreflect.EnumType
- type RenameNamespaceRequest
- func (*RenameNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameNamespaceRequest) GetNewName() string
- func (x *RenameNamespaceRequest) GetOldName() string
- func (*RenameNamespaceRequest) ProtoMessage()
- func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *RenameNamespaceRequest) Reset()
- func (x *RenameNamespaceRequest) String() string
- type RenameNamespaceResponse
- func (*RenameNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameNamespaceResponse) GetNamespace() *Namespace
- func (*RenameNamespaceResponse) ProtoMessage()
- func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *RenameNamespaceResponse) Reset()
- func (x *RenameNamespaceResponse) String() string
- type Routes
- type ShareMachineRequest
- func (*ShareMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ShareMachineRequest) GetMachineId() uint64
- func (x *ShareMachineRequest) GetNamespace() string
- func (*ShareMachineRequest) ProtoMessage()
- func (x *ShareMachineRequest) ProtoReflect() protoreflect.Message
- func (x *ShareMachineRequest) Reset()
- func (x *ShareMachineRequest) String() string
- type ShareMachineResponse
- func (*ShareMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShareMachineResponse) GetMachine() *Machine
- func (*ShareMachineResponse) ProtoMessage()
- func (x *ShareMachineResponse) ProtoReflect() protoreflect.Message
- func (x *ShareMachineResponse) Reset()
- func (x *ShareMachineResponse) String() string
- type UnimplementedHeadscaleServiceServer
- func (UnimplementedHeadscaleServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error)
- func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) DebugCreateMachine(context.Context, *DebugCreateMachineRequest) (*DebugCreateMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
- func (UnimplementedHeadscaleServiceServer) EnableMachineRoutes(context.Context, *EnableMachineRoutesRequest) (*EnableMachineRoutesResponse, error)
- func (UnimplementedHeadscaleServiceServer) ExpireApiKey(context.Context, *ExpireApiKeyRequest) (*ExpireApiKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) ExpireMachine(context.Context, *ExpireMachineRequest) (*ExpireMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) ExpirePreAuthKey(context.Context, *ExpirePreAuthKeyRequest) (*ExpirePreAuthKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) GetMachine(context.Context, *GetMachineRequest) (*GetMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) GetMachineRoute(context.Context, *GetMachineRouteRequest) (*GetMachineRouteResponse, error)
- func (UnimplementedHeadscaleServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error)
- func (UnimplementedHeadscaleServiceServer) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error)
- func (UnimplementedHeadscaleServiceServer) ShareMachine(context.Context, *ShareMachineRequest) (*ShareMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) UnshareMachine(context.Context, *UnshareMachineRequest) (*UnshareMachineResponse, error)
- type UnsafeHeadscaleServiceServer
- type UnshareMachineRequest
- func (*UnshareMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnshareMachineRequest) GetMachineId() uint64
- func (x *UnshareMachineRequest) GetNamespace() string
- func (*UnshareMachineRequest) ProtoMessage()
- func (x *UnshareMachineRequest) ProtoReflect() protoreflect.Message
- func (x *UnshareMachineRequest) Reset()
- func (x *UnshareMachineRequest) String() string
- type UnshareMachineResponse
- func (*UnshareMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnshareMachineResponse) GetMachine() *Machine
- func (*UnshareMachineResponse) ProtoMessage()
- func (x *UnshareMachineResponse) ProtoReflect() protoreflect.Message
- func (x *UnshareMachineResponse) Reset()
- func (x *UnshareMachineResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RegisterMethod_name = map[int32]string{ 0: "REGISTER_METHOD_UNSPECIFIED", 1: "REGISTER_METHOD_AUTH_KEY", 2: "REGISTER_METHOD_CLI", 3: "REGISTER_METHOD_OIDC", } RegisterMethod_value = map[string]int32{ "REGISTER_METHOD_UNSPECIFIED": 0, "REGISTER_METHOD_AUTH_KEY": 1, "REGISTER_METHOD_CLI": 2, "REGISTER_METHOD_OIDC": 3, } )
Enum value maps for RegisterMethod.
var File_headscale_v1_apikey_proto protoreflect.FileDescriptor
var File_headscale_v1_device_proto protoreflect.FileDescriptor
var File_headscale_v1_headscale_proto protoreflect.FileDescriptor
var File_headscale_v1_machine_proto protoreflect.FileDescriptor
var File_headscale_v1_namespace_proto protoreflect.FileDescriptor
var File_headscale_v1_preauthkey_proto protoreflect.FileDescriptor
var File_headscale_v1_routes_proto protoreflect.FileDescriptor
var HeadscaleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "headscale.v1.HeadscaleService", HandlerType: (*HeadscaleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNamespace", Handler: _HeadscaleService_GetNamespace_Handler, }, { MethodName: "CreateNamespace", Handler: _HeadscaleService_CreateNamespace_Handler, }, { MethodName: "RenameNamespace", Handler: _HeadscaleService_RenameNamespace_Handler, }, { MethodName: "DeleteNamespace", Handler: _HeadscaleService_DeleteNamespace_Handler, }, { MethodName: "ListNamespaces", Handler: _HeadscaleService_ListNamespaces_Handler, }, { MethodName: "CreatePreAuthKey", Handler: _HeadscaleService_CreatePreAuthKey_Handler, }, { MethodName: "ExpirePreAuthKey", Handler: _HeadscaleService_ExpirePreAuthKey_Handler, }, { MethodName: "ListPreAuthKeys", Handler: _HeadscaleService_ListPreAuthKeys_Handler, }, { MethodName: "DebugCreateMachine", Handler: _HeadscaleService_DebugCreateMachine_Handler, }, { MethodName: "GetMachine", Handler: _HeadscaleService_GetMachine_Handler, }, { MethodName: "RegisterMachine", Handler: _HeadscaleService_RegisterMachine_Handler, }, { MethodName: "DeleteMachine", Handler: _HeadscaleService_DeleteMachine_Handler, }, { MethodName: "ExpireMachine", Handler: _HeadscaleService_ExpireMachine_Handler, }, { MethodName: "ListMachines", Handler: _HeadscaleService_ListMachines_Handler, }, { MethodName: "ShareMachine", Handler: _HeadscaleService_ShareMachine_Handler, }, { MethodName: "UnshareMachine", Handler: _HeadscaleService_UnshareMachine_Handler, }, { MethodName: "GetMachineRoute", Handler: _HeadscaleService_GetMachineRoute_Handler, }, { MethodName: "EnableMachineRoutes", Handler: _HeadscaleService_EnableMachineRoutes_Handler, }, { MethodName: "CreateApiKey", Handler: _HeadscaleService_CreateApiKey_Handler, }, { MethodName: "ExpireApiKey", Handler: _HeadscaleService_ExpireApiKey_Handler, }, { MethodName: "ListApiKeys", Handler: _HeadscaleService_ListApiKeys_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "headscale/v1/headscale.proto", }
HeadscaleService_ServiceDesc is the grpc.ServiceDesc for HeadscaleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHeadscaleServiceHandler ¶
func RegisterHeadscaleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterHeadscaleServiceHandler registers the http handlers for service HeadscaleService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterHeadscaleServiceHandlerClient ¶
func RegisterHeadscaleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HeadscaleServiceClient) error
RegisterHeadscaleServiceHandlerClient registers the http handlers for service HeadscaleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HeadscaleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HeadscaleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HeadscaleServiceClient" to call the correct interceptors.
func RegisterHeadscaleServiceHandlerFromEndpoint ¶
func RegisterHeadscaleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterHeadscaleServiceHandlerFromEndpoint is same as RegisterHeadscaleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterHeadscaleServiceHandlerServer ¶
func RegisterHeadscaleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HeadscaleServiceServer) error
RegisterHeadscaleServiceHandlerServer registers the http handlers for service HeadscaleService to "mux". UnaryRPC :call HeadscaleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHeadscaleServiceHandlerFromEndpoint instead.
func RegisterHeadscaleServiceServer ¶
func RegisterHeadscaleServiceServer(s grpc.ServiceRegistrar, srv HeadscaleServiceServer)
Types ¶
type ApiKey ¶ added in v0.13.0
type ApiKey struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` LastSeen *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // contains filtered or unexported fields }
func (*ApiKey) Descriptor
deprecated
added in
v0.13.0
func (*ApiKey) GetCreatedAt ¶ added in v0.13.0
func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp
func (*ApiKey) GetExpiration ¶ added in v0.13.0
func (x *ApiKey) GetExpiration() *timestamppb.Timestamp
func (*ApiKey) GetLastSeen ¶ added in v0.13.0
func (x *ApiKey) GetLastSeen() *timestamppb.Timestamp
func (*ApiKey) ProtoMessage ¶ added in v0.13.0
func (*ApiKey) ProtoMessage()
func (*ApiKey) ProtoReflect ¶ added in v0.13.0
func (x *ApiKey) ProtoReflect() protoreflect.Message
type ClientConnectivity ¶
type ClientConnectivity struct { Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"` Derp string `protobuf:"bytes,2,opt,name=derp,proto3" json:"derp,omitempty"` MappingVariesByDestIp bool `` /* 131-byte string literal not displayed */ Latency map[string]*Latency `` /* 155-byte string literal not displayed */ ClientSupports *ClientSupports `protobuf:"bytes,5,opt,name=client_supports,json=clientSupports,proto3" json:"client_supports,omitempty"` // contains filtered or unexported fields }
func (*ClientConnectivity) Descriptor
deprecated
func (*ClientConnectivity) Descriptor() ([]byte, []int)
Deprecated: Use ClientConnectivity.ProtoReflect.Descriptor instead.
func (*ClientConnectivity) GetClientSupports ¶
func (x *ClientConnectivity) GetClientSupports() *ClientSupports
func (*ClientConnectivity) GetDerp ¶
func (x *ClientConnectivity) GetDerp() string
func (*ClientConnectivity) GetEndpoints ¶
func (x *ClientConnectivity) GetEndpoints() []string
func (*ClientConnectivity) GetLatency ¶
func (x *ClientConnectivity) GetLatency() map[string]*Latency
func (*ClientConnectivity) GetMappingVariesByDestIp ¶
func (x *ClientConnectivity) GetMappingVariesByDestIp() bool
func (*ClientConnectivity) ProtoMessage ¶
func (*ClientConnectivity) ProtoMessage()
func (*ClientConnectivity) ProtoReflect ¶
func (x *ClientConnectivity) ProtoReflect() protoreflect.Message
func (*ClientConnectivity) Reset ¶
func (x *ClientConnectivity) Reset()
func (*ClientConnectivity) String ¶
func (x *ClientConnectivity) String() string
type ClientSupports ¶
type ClientSupports struct { HairPinning bool `protobuf:"varint,1,opt,name=hair_pinning,json=hairPinning,proto3" json:"hair_pinning,omitempty"` Ipv6 bool `protobuf:"varint,2,opt,name=ipv6,proto3" json:"ipv6,omitempty"` Pcp bool `protobuf:"varint,3,opt,name=pcp,proto3" json:"pcp,omitempty"` Pmp bool `protobuf:"varint,4,opt,name=pmp,proto3" json:"pmp,omitempty"` Udp bool `protobuf:"varint,5,opt,name=udp,proto3" json:"udp,omitempty"` Upnp bool `protobuf:"varint,6,opt,name=upnp,proto3" json:"upnp,omitempty"` // contains filtered or unexported fields }
func (*ClientSupports) Descriptor
deprecated
func (*ClientSupports) Descriptor() ([]byte, []int)
Deprecated: Use ClientSupports.ProtoReflect.Descriptor instead.
func (*ClientSupports) GetHairPinning ¶
func (x *ClientSupports) GetHairPinning() bool
func (*ClientSupports) GetIpv6 ¶
func (x *ClientSupports) GetIpv6() bool
func (*ClientSupports) GetPcp ¶
func (x *ClientSupports) GetPcp() bool
func (*ClientSupports) GetPmp ¶
func (x *ClientSupports) GetPmp() bool
func (*ClientSupports) GetUdp ¶
func (x *ClientSupports) GetUdp() bool
func (*ClientSupports) GetUpnp ¶
func (x *ClientSupports) GetUpnp() bool
func (*ClientSupports) ProtoMessage ¶
func (*ClientSupports) ProtoMessage()
func (*ClientSupports) ProtoReflect ¶
func (x *ClientSupports) ProtoReflect() protoreflect.Message
func (*ClientSupports) Reset ¶
func (x *ClientSupports) Reset()
func (*ClientSupports) String ¶
func (x *ClientSupports) String() string
type CreateApiKeyRequest ¶ added in v0.13.0
type CreateApiKeyRequest struct { Expiration *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*CreateApiKeyRequest) Descriptor
deprecated
added in
v0.13.0
func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateApiKeyRequest) GetExpiration ¶ added in v0.13.0
func (x *CreateApiKeyRequest) GetExpiration() *timestamppb.Timestamp
func (*CreateApiKeyRequest) ProtoMessage ¶ added in v0.13.0
func (*CreateApiKeyRequest) ProtoMessage()
func (*CreateApiKeyRequest) ProtoReflect ¶ added in v0.13.0
func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateApiKeyRequest) Reset ¶ added in v0.13.0
func (x *CreateApiKeyRequest) Reset()
func (*CreateApiKeyRequest) String ¶ added in v0.13.0
func (x *CreateApiKeyRequest) String() string
type CreateApiKeyResponse ¶ added in v0.13.0
type CreateApiKeyResponse struct { ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // contains filtered or unexported fields }
func (*CreateApiKeyResponse) Descriptor
deprecated
added in
v0.13.0
func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateApiKeyResponse) GetApiKey ¶ added in v0.13.0
func (x *CreateApiKeyResponse) GetApiKey() string
func (*CreateApiKeyResponse) ProtoMessage ¶ added in v0.13.0
func (*CreateApiKeyResponse) ProtoMessage()
func (*CreateApiKeyResponse) ProtoReflect ¶ added in v0.13.0
func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateApiKeyResponse) Reset ¶ added in v0.13.0
func (x *CreateApiKeyResponse) Reset()
func (*CreateApiKeyResponse) String ¶ added in v0.13.0
func (x *CreateApiKeyResponse) String() string
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceRequest) Descriptor
deprecated
func (*CreateNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateNamespaceRequest) GetName ¶
func (x *CreateNamespaceRequest) GetName() string
func (*CreateNamespaceRequest) ProtoMessage ¶
func (*CreateNamespaceRequest) ProtoMessage()
func (*CreateNamespaceRequest) ProtoReflect ¶
func (x *CreateNamespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateNamespaceRequest) Reset ¶
func (x *CreateNamespaceRequest) Reset()
func (*CreateNamespaceRequest) String ¶
func (x *CreateNamespaceRequest) String() string
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct { Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*CreateNamespaceResponse) Descriptor
deprecated
func (*CreateNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNamespaceResponse.ProtoReflect.Descriptor instead.
func (*CreateNamespaceResponse) GetNamespace ¶
func (x *CreateNamespaceResponse) GetNamespace() *Namespace
func (*CreateNamespaceResponse) ProtoMessage ¶
func (*CreateNamespaceResponse) ProtoMessage()
func (*CreateNamespaceResponse) ProtoReflect ¶
func (x *CreateNamespaceResponse) ProtoReflect() protoreflect.Message
func (*CreateNamespaceResponse) Reset ¶
func (x *CreateNamespaceResponse) Reset()
func (*CreateNamespaceResponse) String ¶
func (x *CreateNamespaceResponse) String() string
type CreatePreAuthKeyRequest ¶
type CreatePreAuthKeyRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Reusable bool `protobuf:"varint,2,opt,name=reusable,proto3" json:"reusable,omitempty"` Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*CreatePreAuthKeyRequest) Descriptor
deprecated
func (*CreatePreAuthKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePreAuthKeyRequest.ProtoReflect.Descriptor instead.
func (*CreatePreAuthKeyRequest) GetEphemeral ¶
func (x *CreatePreAuthKeyRequest) GetEphemeral() bool
func (*CreatePreAuthKeyRequest) GetExpiration ¶
func (x *CreatePreAuthKeyRequest) GetExpiration() *timestamppb.Timestamp
func (*CreatePreAuthKeyRequest) GetNamespace ¶
func (x *CreatePreAuthKeyRequest) GetNamespace() string
func (*CreatePreAuthKeyRequest) GetReusable ¶
func (x *CreatePreAuthKeyRequest) GetReusable() bool
func (*CreatePreAuthKeyRequest) ProtoMessage ¶
func (*CreatePreAuthKeyRequest) ProtoMessage()
func (*CreatePreAuthKeyRequest) ProtoReflect ¶
func (x *CreatePreAuthKeyRequest) ProtoReflect() protoreflect.Message
func (*CreatePreAuthKeyRequest) Reset ¶
func (x *CreatePreAuthKeyRequest) Reset()
func (*CreatePreAuthKeyRequest) String ¶
func (x *CreatePreAuthKeyRequest) String() string
type CreatePreAuthKeyResponse ¶
type CreatePreAuthKeyResponse struct { PreAuthKey *PreAuthKey `protobuf:"bytes,1,opt,name=pre_auth_key,json=preAuthKey,proto3" json:"pre_auth_key,omitempty"` // contains filtered or unexported fields }
func (*CreatePreAuthKeyResponse) Descriptor
deprecated
func (*CreatePreAuthKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePreAuthKeyResponse.ProtoReflect.Descriptor instead.
func (*CreatePreAuthKeyResponse) GetPreAuthKey ¶
func (x *CreatePreAuthKeyResponse) GetPreAuthKey() *PreAuthKey
func (*CreatePreAuthKeyResponse) ProtoMessage ¶
func (*CreatePreAuthKeyResponse) ProtoMessage()
func (*CreatePreAuthKeyResponse) ProtoReflect ¶
func (x *CreatePreAuthKeyResponse) ProtoReflect() protoreflect.Message
func (*CreatePreAuthKeyResponse) Reset ¶
func (x *CreatePreAuthKeyResponse) Reset()
func (*CreatePreAuthKeyResponse) String ¶
func (x *CreatePreAuthKeyResponse) String() string
type DebugCreateMachineRequest ¶
type DebugCreateMachineRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Routes []string `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*DebugCreateMachineRequest) Descriptor
deprecated
func (*DebugCreateMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugCreateMachineRequest.ProtoReflect.Descriptor instead.
func (*DebugCreateMachineRequest) GetKey ¶
func (x *DebugCreateMachineRequest) GetKey() string
func (*DebugCreateMachineRequest) GetName ¶
func (x *DebugCreateMachineRequest) GetName() string
func (*DebugCreateMachineRequest) GetNamespace ¶
func (x *DebugCreateMachineRequest) GetNamespace() string
func (*DebugCreateMachineRequest) GetRoutes ¶
func (x *DebugCreateMachineRequest) GetRoutes() []string
func (*DebugCreateMachineRequest) ProtoMessage ¶
func (*DebugCreateMachineRequest) ProtoMessage()
func (*DebugCreateMachineRequest) ProtoReflect ¶
func (x *DebugCreateMachineRequest) ProtoReflect() protoreflect.Message
func (*DebugCreateMachineRequest) Reset ¶
func (x *DebugCreateMachineRequest) Reset()
func (*DebugCreateMachineRequest) String ¶
func (x *DebugCreateMachineRequest) String() string
type DebugCreateMachineResponse ¶
type DebugCreateMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*DebugCreateMachineResponse) Descriptor
deprecated
func (*DebugCreateMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugCreateMachineResponse.ProtoReflect.Descriptor instead.
func (*DebugCreateMachineResponse) GetMachine ¶
func (x *DebugCreateMachineResponse) GetMachine() *Machine
func (*DebugCreateMachineResponse) ProtoMessage ¶
func (*DebugCreateMachineResponse) ProtoMessage()
func (*DebugCreateMachineResponse) ProtoReflect ¶
func (x *DebugCreateMachineResponse) ProtoReflect() protoreflect.Message
func (*DebugCreateMachineResponse) Reset ¶
func (x *DebugCreateMachineResponse) Reset()
func (*DebugCreateMachineResponse) String ¶
func (x *DebugCreateMachineResponse) String() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDeviceRequest) Descriptor
deprecated
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeviceRequest) GetId ¶
func (x *DeleteDeviceRequest) GetId() string
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) ProtoReflect ¶
func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message
func (*DeleteDeviceRequest) Reset ¶
func (x *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) String ¶
func (x *DeleteDeviceRequest) String() string
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDeviceResponse) Descriptor
deprecated
func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDeviceResponse.ProtoReflect.Descriptor instead.
func (*DeleteDeviceResponse) ProtoMessage ¶
func (*DeleteDeviceResponse) ProtoMessage()
func (*DeleteDeviceResponse) ProtoReflect ¶
func (x *DeleteDeviceResponse) ProtoReflect() protoreflect.Message
func (*DeleteDeviceResponse) Reset ¶
func (x *DeleteDeviceResponse) Reset()
func (*DeleteDeviceResponse) String ¶
func (x *DeleteDeviceResponse) String() string
type DeleteMachineRequest ¶
type DeleteMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMachineRequest) Descriptor
deprecated
func (*DeleteMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineRequest.ProtoReflect.Descriptor instead.
func (*DeleteMachineRequest) GetMachineId ¶
func (x *DeleteMachineRequest) GetMachineId() uint64
func (*DeleteMachineRequest) ProtoMessage ¶
func (*DeleteMachineRequest) ProtoMessage()
func (*DeleteMachineRequest) ProtoReflect ¶
func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
func (*DeleteMachineRequest) Reset ¶
func (x *DeleteMachineRequest) Reset()
func (*DeleteMachineRequest) String ¶
func (x *DeleteMachineRequest) String() string
type DeleteMachineResponse ¶
type DeleteMachineResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMachineResponse) Descriptor
deprecated
func (*DeleteMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineResponse.ProtoReflect.Descriptor instead.
func (*DeleteMachineResponse) ProtoMessage ¶
func (*DeleteMachineResponse) ProtoMessage()
func (*DeleteMachineResponse) ProtoReflect ¶
func (x *DeleteMachineResponse) ProtoReflect() protoreflect.Message
func (*DeleteMachineResponse) Reset ¶
func (x *DeleteMachineResponse) Reset()
func (*DeleteMachineResponse) String ¶
func (x *DeleteMachineResponse) String() string
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteNamespaceRequest) Descriptor
deprecated
func (*DeleteNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceRequest) GetName ¶
func (x *DeleteNamespaceRequest) GetName() string
func (*DeleteNamespaceRequest) ProtoMessage ¶
func (*DeleteNamespaceRequest) ProtoMessage()
func (*DeleteNamespaceRequest) ProtoReflect ¶
func (x *DeleteNamespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceRequest) Reset ¶
func (x *DeleteNamespaceRequest) Reset()
func (*DeleteNamespaceRequest) String ¶
func (x *DeleteNamespaceRequest) String() string
type DeleteNamespaceResponse ¶
type DeleteNamespaceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNamespaceResponse) Descriptor
deprecated
func (*DeleteNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNamespaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteNamespaceResponse) ProtoMessage ¶
func (*DeleteNamespaceResponse) ProtoMessage()
func (*DeleteNamespaceResponse) ProtoReflect ¶
func (x *DeleteNamespaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteNamespaceResponse) Reset ¶
func (x *DeleteNamespaceResponse) Reset()
func (*DeleteNamespaceResponse) String ¶
func (x *DeleteNamespaceResponse) String() string
type EnableDeviceRoutesRequest ¶
type EnableDeviceRoutesRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Routes []string `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*EnableDeviceRoutesRequest) Descriptor
deprecated
func (*EnableDeviceRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableDeviceRoutesRequest.ProtoReflect.Descriptor instead.
func (*EnableDeviceRoutesRequest) GetId ¶
func (x *EnableDeviceRoutesRequest) GetId() string
func (*EnableDeviceRoutesRequest) GetRoutes ¶
func (x *EnableDeviceRoutesRequest) GetRoutes() []string
func (*EnableDeviceRoutesRequest) ProtoMessage ¶
func (*EnableDeviceRoutesRequest) ProtoMessage()
func (*EnableDeviceRoutesRequest) ProtoReflect ¶
func (x *EnableDeviceRoutesRequest) ProtoReflect() protoreflect.Message
func (*EnableDeviceRoutesRequest) Reset ¶
func (x *EnableDeviceRoutesRequest) Reset()
func (*EnableDeviceRoutesRequest) String ¶
func (x *EnableDeviceRoutesRequest) String() string
type EnableDeviceRoutesResponse ¶
type EnableDeviceRoutesResponse struct { EnabledRoutes []string `protobuf:"bytes,1,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"` AdvertisedRoutes []string `protobuf:"bytes,2,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"` // contains filtered or unexported fields }
func (*EnableDeviceRoutesResponse) Descriptor
deprecated
func (*EnableDeviceRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableDeviceRoutesResponse.ProtoReflect.Descriptor instead.
func (*EnableDeviceRoutesResponse) GetAdvertisedRoutes ¶
func (x *EnableDeviceRoutesResponse) GetAdvertisedRoutes() []string
func (*EnableDeviceRoutesResponse) GetEnabledRoutes ¶
func (x *EnableDeviceRoutesResponse) GetEnabledRoutes() []string
func (*EnableDeviceRoutesResponse) ProtoMessage ¶
func (*EnableDeviceRoutesResponse) ProtoMessage()
func (*EnableDeviceRoutesResponse) ProtoReflect ¶
func (x *EnableDeviceRoutesResponse) ProtoReflect() protoreflect.Message
func (*EnableDeviceRoutesResponse) Reset ¶
func (x *EnableDeviceRoutesResponse) Reset()
func (*EnableDeviceRoutesResponse) String ¶
func (x *EnableDeviceRoutesResponse) String() string
type EnableMachineRoutesRequest ¶
type EnableMachineRoutesRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` Routes []string `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*EnableMachineRoutesRequest) Descriptor
deprecated
func (*EnableMachineRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableMachineRoutesRequest.ProtoReflect.Descriptor instead.
func (*EnableMachineRoutesRequest) GetMachineId ¶
func (x *EnableMachineRoutesRequest) GetMachineId() uint64
func (*EnableMachineRoutesRequest) GetRoutes ¶
func (x *EnableMachineRoutesRequest) GetRoutes() []string
func (*EnableMachineRoutesRequest) ProtoMessage ¶
func (*EnableMachineRoutesRequest) ProtoMessage()
func (*EnableMachineRoutesRequest) ProtoReflect ¶
func (x *EnableMachineRoutesRequest) ProtoReflect() protoreflect.Message
func (*EnableMachineRoutesRequest) Reset ¶
func (x *EnableMachineRoutesRequest) Reset()
func (*EnableMachineRoutesRequest) String ¶
func (x *EnableMachineRoutesRequest) String() string
type EnableMachineRoutesResponse ¶
type EnableMachineRoutesResponse struct { Routes *Routes `protobuf:"bytes,1,opt,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*EnableMachineRoutesResponse) Descriptor
deprecated
func (*EnableMachineRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableMachineRoutesResponse.ProtoReflect.Descriptor instead.
func (*EnableMachineRoutesResponse) GetRoutes ¶
func (x *EnableMachineRoutesResponse) GetRoutes() *Routes
func (*EnableMachineRoutesResponse) ProtoMessage ¶
func (*EnableMachineRoutesResponse) ProtoMessage()
func (*EnableMachineRoutesResponse) ProtoReflect ¶
func (x *EnableMachineRoutesResponse) ProtoReflect() protoreflect.Message
func (*EnableMachineRoutesResponse) Reset ¶
func (x *EnableMachineRoutesResponse) Reset()
func (*EnableMachineRoutesResponse) String ¶
func (x *EnableMachineRoutesResponse) String() string
type ExpireApiKeyRequest ¶ added in v0.13.0
type ExpireApiKeyRequest struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*ExpireApiKeyRequest) Descriptor
deprecated
added in
v0.13.0
func (*ExpireApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireApiKeyRequest.ProtoReflect.Descriptor instead.
func (*ExpireApiKeyRequest) GetPrefix ¶ added in v0.13.0
func (x *ExpireApiKeyRequest) GetPrefix() string
func (*ExpireApiKeyRequest) ProtoMessage ¶ added in v0.13.0
func (*ExpireApiKeyRequest) ProtoMessage()
func (*ExpireApiKeyRequest) ProtoReflect ¶ added in v0.13.0
func (x *ExpireApiKeyRequest) ProtoReflect() protoreflect.Message
func (*ExpireApiKeyRequest) Reset ¶ added in v0.13.0
func (x *ExpireApiKeyRequest) Reset()
func (*ExpireApiKeyRequest) String ¶ added in v0.13.0
func (x *ExpireApiKeyRequest) String() string
type ExpireApiKeyResponse ¶ added in v0.13.0
type ExpireApiKeyResponse struct {
// contains filtered or unexported fields
}
func (*ExpireApiKeyResponse) Descriptor
deprecated
added in
v0.13.0
func (*ExpireApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpireApiKeyResponse.ProtoReflect.Descriptor instead.
func (*ExpireApiKeyResponse) ProtoMessage ¶ added in v0.13.0
func (*ExpireApiKeyResponse) ProtoMessage()
func (*ExpireApiKeyResponse) ProtoReflect ¶ added in v0.13.0
func (x *ExpireApiKeyResponse) ProtoReflect() protoreflect.Message
func (*ExpireApiKeyResponse) Reset ¶ added in v0.13.0
func (x *ExpireApiKeyResponse) Reset()
func (*ExpireApiKeyResponse) String ¶ added in v0.13.0
func (x *ExpireApiKeyResponse) String() string
type ExpireMachineRequest ¶
type ExpireMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*ExpireMachineRequest) Descriptor
deprecated
func (*ExpireMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireMachineRequest.ProtoReflect.Descriptor instead.
func (*ExpireMachineRequest) GetMachineId ¶
func (x *ExpireMachineRequest) GetMachineId() uint64
func (*ExpireMachineRequest) ProtoMessage ¶
func (*ExpireMachineRequest) ProtoMessage()
func (*ExpireMachineRequest) ProtoReflect ¶
func (x *ExpireMachineRequest) ProtoReflect() protoreflect.Message
func (*ExpireMachineRequest) Reset ¶
func (x *ExpireMachineRequest) Reset()
func (*ExpireMachineRequest) String ¶
func (x *ExpireMachineRequest) String() string
type ExpireMachineResponse ¶
type ExpireMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*ExpireMachineResponse) Descriptor
deprecated
func (*ExpireMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpireMachineResponse.ProtoReflect.Descriptor instead.
func (*ExpireMachineResponse) GetMachine ¶
func (x *ExpireMachineResponse) GetMachine() *Machine
func (*ExpireMachineResponse) ProtoMessage ¶
func (*ExpireMachineResponse) ProtoMessage()
func (*ExpireMachineResponse) ProtoReflect ¶
func (x *ExpireMachineResponse) ProtoReflect() protoreflect.Message
func (*ExpireMachineResponse) Reset ¶
func (x *ExpireMachineResponse) Reset()
func (*ExpireMachineResponse) String ¶
func (x *ExpireMachineResponse) String() string
type ExpirePreAuthKeyRequest ¶
type ExpirePreAuthKeyRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ExpirePreAuthKeyRequest) Descriptor
deprecated
func (*ExpirePreAuthKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpirePreAuthKeyRequest.ProtoReflect.Descriptor instead.
func (*ExpirePreAuthKeyRequest) GetKey ¶
func (x *ExpirePreAuthKeyRequest) GetKey() string
func (*ExpirePreAuthKeyRequest) GetNamespace ¶
func (x *ExpirePreAuthKeyRequest) GetNamespace() string
func (*ExpirePreAuthKeyRequest) ProtoMessage ¶
func (*ExpirePreAuthKeyRequest) ProtoMessage()
func (*ExpirePreAuthKeyRequest) ProtoReflect ¶
func (x *ExpirePreAuthKeyRequest) ProtoReflect() protoreflect.Message
func (*ExpirePreAuthKeyRequest) Reset ¶
func (x *ExpirePreAuthKeyRequest) Reset()
func (*ExpirePreAuthKeyRequest) String ¶
func (x *ExpirePreAuthKeyRequest) String() string
type ExpirePreAuthKeyResponse ¶
type ExpirePreAuthKeyResponse struct {
// contains filtered or unexported fields
}
func (*ExpirePreAuthKeyResponse) Descriptor
deprecated
func (*ExpirePreAuthKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpirePreAuthKeyResponse.ProtoReflect.Descriptor instead.
func (*ExpirePreAuthKeyResponse) ProtoMessage ¶
func (*ExpirePreAuthKeyResponse) ProtoMessage()
func (*ExpirePreAuthKeyResponse) ProtoReflect ¶
func (x *ExpirePreAuthKeyResponse) ProtoReflect() protoreflect.Message
func (*ExpirePreAuthKeyResponse) Reset ¶
func (x *ExpirePreAuthKeyResponse) Reset()
func (*ExpirePreAuthKeyResponse) String ¶
func (x *ExpirePreAuthKeyResponse) String() string
type GetDeviceRequest ¶
type GetDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceRequest) Descriptor
deprecated
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceRequest) GetId ¶
func (x *GetDeviceRequest) GetId() string
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) ProtoReflect ¶
func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceRequest) Reset ¶
func (x *GetDeviceRequest) Reset()
func (*GetDeviceRequest) String ¶
func (x *GetDeviceRequest) String() string
type GetDeviceResponse ¶
type GetDeviceResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Hostname string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"` ClientVersion string `protobuf:"bytes,6,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` UpdateAvailable bool `protobuf:"varint,7,opt,name=update_available,json=updateAvailable,proto3" json:"update_available,omitempty"` Os string `protobuf:"bytes,8,opt,name=os,proto3" json:"os,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"` LastSeen *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` KeyExpiryDisabled bool `protobuf:"varint,11,opt,name=key_expiry_disabled,json=keyExpiryDisabled,proto3" json:"key_expiry_disabled,omitempty"` Expires *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expires,proto3" json:"expires,omitempty"` Authorized bool `protobuf:"varint,13,opt,name=authorized,proto3" json:"authorized,omitempty"` IsExternal bool `protobuf:"varint,14,opt,name=is_external,json=isExternal,proto3" json:"is_external,omitempty"` MachineKey string `protobuf:"bytes,15,opt,name=machine_key,json=machineKey,proto3" json:"machine_key,omitempty"` NodeKey string `protobuf:"bytes,16,opt,name=node_key,json=nodeKey,proto3" json:"node_key,omitempty"` BlocksIncomingConnections bool `` /* 140-byte string literal not displayed */ EnabledRoutes []string `protobuf:"bytes,18,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"` AdvertisedRoutes []string `protobuf:"bytes,19,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"` ClientConnectivity *ClientConnectivity `protobuf:"bytes,20,opt,name=client_connectivity,json=clientConnectivity,proto3" json:"client_connectivity,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceResponse) Descriptor
deprecated
func (*GetDeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceResponse.ProtoReflect.Descriptor instead.
func (*GetDeviceResponse) GetAddresses ¶
func (x *GetDeviceResponse) GetAddresses() []string
func (*GetDeviceResponse) GetAdvertisedRoutes ¶
func (x *GetDeviceResponse) GetAdvertisedRoutes() []string
func (*GetDeviceResponse) GetAuthorized ¶
func (x *GetDeviceResponse) GetAuthorized() bool
func (*GetDeviceResponse) GetBlocksIncomingConnections ¶
func (x *GetDeviceResponse) GetBlocksIncomingConnections() bool
func (*GetDeviceResponse) GetClientConnectivity ¶
func (x *GetDeviceResponse) GetClientConnectivity() *ClientConnectivity
func (*GetDeviceResponse) GetClientVersion ¶
func (x *GetDeviceResponse) GetClientVersion() string
func (*GetDeviceResponse) GetCreated ¶
func (x *GetDeviceResponse) GetCreated() *timestamppb.Timestamp
func (*GetDeviceResponse) GetEnabledRoutes ¶
func (x *GetDeviceResponse) GetEnabledRoutes() []string
func (*GetDeviceResponse) GetExpires ¶
func (x *GetDeviceResponse) GetExpires() *timestamppb.Timestamp
func (*GetDeviceResponse) GetHostname ¶
func (x *GetDeviceResponse) GetHostname() string
func (*GetDeviceResponse) GetId ¶
func (x *GetDeviceResponse) GetId() string
func (*GetDeviceResponse) GetIsExternal ¶
func (x *GetDeviceResponse) GetIsExternal() bool
func (*GetDeviceResponse) GetKeyExpiryDisabled ¶
func (x *GetDeviceResponse) GetKeyExpiryDisabled() bool
func (*GetDeviceResponse) GetLastSeen ¶
func (x *GetDeviceResponse) GetLastSeen() *timestamppb.Timestamp
func (*GetDeviceResponse) GetMachineKey ¶
func (x *GetDeviceResponse) GetMachineKey() string
func (*GetDeviceResponse) GetName ¶
func (x *GetDeviceResponse) GetName() string
func (*GetDeviceResponse) GetNodeKey ¶
func (x *GetDeviceResponse) GetNodeKey() string
func (*GetDeviceResponse) GetOs ¶
func (x *GetDeviceResponse) GetOs() string
func (*GetDeviceResponse) GetUpdateAvailable ¶
func (x *GetDeviceResponse) GetUpdateAvailable() bool
func (*GetDeviceResponse) GetUser ¶
func (x *GetDeviceResponse) GetUser() string
func (*GetDeviceResponse) ProtoMessage ¶
func (*GetDeviceResponse) ProtoMessage()
func (*GetDeviceResponse) ProtoReflect ¶
func (x *GetDeviceResponse) ProtoReflect() protoreflect.Message
func (*GetDeviceResponse) Reset ¶
func (x *GetDeviceResponse) Reset()
func (*GetDeviceResponse) String ¶
func (x *GetDeviceResponse) String() string
type GetDeviceRoutesRequest ¶
type GetDeviceRoutesRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceRoutesRequest) Descriptor
deprecated
func (*GetDeviceRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceRoutesRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceRoutesRequest) GetId ¶
func (x *GetDeviceRoutesRequest) GetId() string
func (*GetDeviceRoutesRequest) ProtoMessage ¶
func (*GetDeviceRoutesRequest) ProtoMessage()
func (*GetDeviceRoutesRequest) ProtoReflect ¶
func (x *GetDeviceRoutesRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceRoutesRequest) Reset ¶
func (x *GetDeviceRoutesRequest) Reset()
func (*GetDeviceRoutesRequest) String ¶
func (x *GetDeviceRoutesRequest) String() string
type GetDeviceRoutesResponse ¶
type GetDeviceRoutesResponse struct { EnabledRoutes []string `protobuf:"bytes,1,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"` AdvertisedRoutes []string `protobuf:"bytes,2,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"` // contains filtered or unexported fields }
func (*GetDeviceRoutesResponse) Descriptor
deprecated
func (*GetDeviceRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceRoutesResponse.ProtoReflect.Descriptor instead.
func (*GetDeviceRoutesResponse) GetAdvertisedRoutes ¶
func (x *GetDeviceRoutesResponse) GetAdvertisedRoutes() []string
func (*GetDeviceRoutesResponse) GetEnabledRoutes ¶
func (x *GetDeviceRoutesResponse) GetEnabledRoutes() []string
func (*GetDeviceRoutesResponse) ProtoMessage ¶
func (*GetDeviceRoutesResponse) ProtoMessage()
func (*GetDeviceRoutesResponse) ProtoReflect ¶
func (x *GetDeviceRoutesResponse) ProtoReflect() protoreflect.Message
func (*GetDeviceRoutesResponse) Reset ¶
func (x *GetDeviceRoutesResponse) Reset()
func (*GetDeviceRoutesResponse) String ¶
func (x *GetDeviceRoutesResponse) String() string
type GetMachineRequest ¶
type GetMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRequest) Descriptor
deprecated
func (*GetMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRequest) GetMachineId ¶
func (x *GetMachineRequest) GetMachineId() uint64
func (*GetMachineRequest) ProtoMessage ¶
func (*GetMachineRequest) ProtoMessage()
func (*GetMachineRequest) ProtoReflect ¶
func (x *GetMachineRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRequest) Reset ¶
func (x *GetMachineRequest) Reset()
func (*GetMachineRequest) String ¶
func (x *GetMachineRequest) String() string
type GetMachineResponse ¶
type GetMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*GetMachineResponse) Descriptor
deprecated
func (*GetMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineResponse.ProtoReflect.Descriptor instead.
func (*GetMachineResponse) GetMachine ¶
func (x *GetMachineResponse) GetMachine() *Machine
func (*GetMachineResponse) ProtoMessage ¶
func (*GetMachineResponse) ProtoMessage()
func (*GetMachineResponse) ProtoReflect ¶
func (x *GetMachineResponse) ProtoReflect() protoreflect.Message
func (*GetMachineResponse) Reset ¶
func (x *GetMachineResponse) Reset()
func (*GetMachineResponse) String ¶
func (x *GetMachineResponse) String() string
type GetMachineRouteRequest ¶
type GetMachineRouteRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRouteRequest) Descriptor
deprecated
func (*GetMachineRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRouteRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRouteRequest) GetMachineId ¶
func (x *GetMachineRouteRequest) GetMachineId() uint64
func (*GetMachineRouteRequest) ProtoMessage ¶
func (*GetMachineRouteRequest) ProtoMessage()
func (*GetMachineRouteRequest) ProtoReflect ¶
func (x *GetMachineRouteRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRouteRequest) Reset ¶
func (x *GetMachineRouteRequest) Reset()
func (*GetMachineRouteRequest) String ¶
func (x *GetMachineRouteRequest) String() string
type GetMachineRouteResponse ¶
type GetMachineRouteResponse struct { Routes *Routes `protobuf:"bytes,1,opt,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRouteResponse) Descriptor
deprecated
func (*GetMachineRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRouteResponse.ProtoReflect.Descriptor instead.
func (*GetMachineRouteResponse) GetRoutes ¶
func (x *GetMachineRouteResponse) GetRoutes() *Routes
func (*GetMachineRouteResponse) ProtoMessage ¶
func (*GetMachineRouteResponse) ProtoMessage()
func (*GetMachineRouteResponse) ProtoReflect ¶
func (x *GetMachineRouteResponse) ProtoReflect() protoreflect.Message
func (*GetMachineRouteResponse) Reset ¶
func (x *GetMachineRouteResponse) Reset()
func (*GetMachineRouteResponse) String ¶
func (x *GetMachineRouteResponse) String() string
type GetNamespaceRequest ¶
type GetNamespaceRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNamespaceRequest) Descriptor
deprecated
func (*GetNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceRequest) GetName ¶
func (x *GetNamespaceRequest) GetName() string
func (*GetNamespaceRequest) ProtoMessage ¶
func (*GetNamespaceRequest) ProtoMessage()
func (*GetNamespaceRequest) ProtoReflect ¶
func (x *GetNamespaceRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceRequest) Reset ¶
func (x *GetNamespaceRequest) Reset()
func (*GetNamespaceRequest) String ¶
func (x *GetNamespaceRequest) String() string
type GetNamespaceResponse ¶
type GetNamespaceResponse struct { Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*GetNamespaceResponse) Descriptor
deprecated
func (*GetNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead.
func (*GetNamespaceResponse) GetNamespace ¶
func (x *GetNamespaceResponse) GetNamespace() *Namespace
func (*GetNamespaceResponse) ProtoMessage ¶
func (*GetNamespaceResponse) ProtoMessage()
func (*GetNamespaceResponse) ProtoReflect ¶
func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message
func (*GetNamespaceResponse) Reset ¶
func (x *GetNamespaceResponse) Reset()
func (*GetNamespaceResponse) String ¶
func (x *GetNamespaceResponse) String() string
type HeadscaleServiceClient ¶
type HeadscaleServiceClient interface { // --- Namespace start --- GetNamespace(ctx context.Context, in *GetNamespaceRequest, opts ...grpc.CallOption) (*GetNamespaceResponse, error) CreateNamespace(ctx context.Context, in *CreateNamespaceRequest, opts ...grpc.CallOption) (*CreateNamespaceResponse, error) RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequest, opts ...grpc.CallOption) (*DeleteNamespaceResponse, error) ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) // --- PreAuthKeys start --- CreatePreAuthKey(ctx context.Context, in *CreatePreAuthKeyRequest, opts ...grpc.CallOption) (*CreatePreAuthKeyResponse, error) ExpirePreAuthKey(ctx context.Context, in *ExpirePreAuthKeyRequest, opts ...grpc.CallOption) (*ExpirePreAuthKeyResponse, error) ListPreAuthKeys(ctx context.Context, in *ListPreAuthKeysRequest, opts ...grpc.CallOption) (*ListPreAuthKeysResponse, error) // --- Machine start --- DebugCreateMachine(ctx context.Context, in *DebugCreateMachineRequest, opts ...grpc.CallOption) (*DebugCreateMachineResponse, error) GetMachine(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*GetMachineResponse, error) RegisterMachine(ctx context.Context, in *RegisterMachineRequest, opts ...grpc.CallOption) (*RegisterMachineResponse, error) DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*DeleteMachineResponse, error) ExpireMachine(ctx context.Context, in *ExpireMachineRequest, opts ...grpc.CallOption) (*ExpireMachineResponse, error) ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error) // --- Route start --- GetMachineRoute(ctx context.Context, in *GetMachineRouteRequest, opts ...grpc.CallOption) (*GetMachineRouteResponse, error) EnableMachineRoutes(ctx context.Context, in *EnableMachineRoutesRequest, opts ...grpc.CallOption) (*EnableMachineRoutesResponse, error) // --- ApiKeys start --- CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error) ExpireApiKey(ctx context.Context, in *ExpireApiKeyRequest, opts ...grpc.CallOption) (*ExpireApiKeyResponse, error) ListApiKeys(ctx context.Context, in *ListApiKeysRequest, opts ...grpc.CallOption) (*ListApiKeysResponse, error) }
HeadscaleServiceClient is the client API for HeadscaleService 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 NewHeadscaleServiceClient ¶
func NewHeadscaleServiceClient(cc grpc.ClientConnInterface) HeadscaleServiceClient
type HeadscaleServiceServer ¶
type HeadscaleServiceServer interface { // --- Namespace start --- GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) // --- PreAuthKeys start --- CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error) ExpirePreAuthKey(context.Context, *ExpirePreAuthKeyRequest) (*ExpirePreAuthKeyResponse, error) ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error) // --- Machine start --- DebugCreateMachine(context.Context, *DebugCreateMachineRequest) (*DebugCreateMachineResponse, error) GetMachine(context.Context, *GetMachineRequest) (*GetMachineResponse, error) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error) ExpireMachine(context.Context, *ExpireMachineRequest) (*ExpireMachineResponse, error) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error) // --- Route start --- GetMachineRoute(context.Context, *GetMachineRouteRequest) (*GetMachineRouteResponse, error) EnableMachineRoutes(context.Context, *EnableMachineRoutesRequest) (*EnableMachineRoutesResponse, error) // --- ApiKeys start --- CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) ExpireApiKey(context.Context, *ExpireApiKeyRequest) (*ExpireApiKeyResponse, error) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error) // contains filtered or unexported methods }
HeadscaleServiceServer is the server API for HeadscaleService service. All implementations must embed UnimplementedHeadscaleServiceServer for forward compatibility
type Latency ¶
type Latency struct { LatencyMs float32 `protobuf:"fixed32,1,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"` Preferred bool `protobuf:"varint,2,opt,name=preferred,proto3" json:"preferred,omitempty"` // contains filtered or unexported fields }
func (*Latency) Descriptor
deprecated
func (*Latency) GetLatencyMs ¶
func (*Latency) GetPreferred ¶
func (*Latency) ProtoMessage ¶
func (*Latency) ProtoMessage()
func (*Latency) ProtoReflect ¶
func (x *Latency) ProtoReflect() protoreflect.Message
type ListApiKeysRequest ¶ added in v0.13.0
type ListApiKeysRequest struct {
// contains filtered or unexported fields
}
func (*ListApiKeysRequest) Descriptor
deprecated
added in
v0.13.0
func (*ListApiKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApiKeysRequest.ProtoReflect.Descriptor instead.
func (*ListApiKeysRequest) ProtoMessage ¶ added in v0.13.0
func (*ListApiKeysRequest) ProtoMessage()
func (*ListApiKeysRequest) ProtoReflect ¶ added in v0.13.0
func (x *ListApiKeysRequest) ProtoReflect() protoreflect.Message
func (*ListApiKeysRequest) Reset ¶ added in v0.13.0
func (x *ListApiKeysRequest) Reset()
func (*ListApiKeysRequest) String ¶ added in v0.13.0
func (x *ListApiKeysRequest) String() string
type ListApiKeysResponse ¶ added in v0.13.0
type ListApiKeysResponse struct { ApiKeys []*ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` // contains filtered or unexported fields }
func (*ListApiKeysResponse) Descriptor
deprecated
added in
v0.13.0
func (*ListApiKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApiKeysResponse.ProtoReflect.Descriptor instead.
func (*ListApiKeysResponse) GetApiKeys ¶ added in v0.13.0
func (x *ListApiKeysResponse) GetApiKeys() []*ApiKey
func (*ListApiKeysResponse) ProtoMessage ¶ added in v0.13.0
func (*ListApiKeysResponse) ProtoMessage()
func (*ListApiKeysResponse) ProtoReflect ¶ added in v0.13.0
func (x *ListApiKeysResponse) ProtoReflect() protoreflect.Message
func (*ListApiKeysResponse) Reset ¶ added in v0.13.0
func (x *ListApiKeysResponse) Reset()
func (*ListApiKeysResponse) String ¶ added in v0.13.0
func (x *ListApiKeysResponse) String() string
type ListMachinesRequest ¶
type ListMachinesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesRequest) Descriptor
deprecated
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) GetNamespace ¶
func (x *ListMachinesRequest) GetNamespace() string
func (*ListMachinesRequest) ProtoMessage ¶
func (*ListMachinesRequest) ProtoMessage()
func (*ListMachinesRequest) ProtoReflect ¶
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
func (*ListMachinesRequest) Reset ¶
func (x *ListMachinesRequest) Reset()
func (*ListMachinesRequest) String ¶
func (x *ListMachinesRequest) String() string
type ListMachinesResponse ¶
type ListMachinesResponse struct { Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesResponse) Descriptor
deprecated
func (*ListMachinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.
func (*ListMachinesResponse) GetMachines ¶
func (x *ListMachinesResponse) GetMachines() []*Machine
func (*ListMachinesResponse) ProtoMessage ¶
func (*ListMachinesResponse) ProtoMessage()
func (*ListMachinesResponse) ProtoReflect ¶
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
func (*ListMachinesResponse) Reset ¶
func (x *ListMachinesResponse) Reset()
func (*ListMachinesResponse) String ¶
func (x *ListMachinesResponse) String() string
type ListNamespacesRequest ¶
type ListNamespacesRequest struct {
// contains filtered or unexported fields
}
func (*ListNamespacesRequest) Descriptor
deprecated
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (*ListNamespacesRequest) ProtoMessage ¶
func (*ListNamespacesRequest) ProtoMessage()
func (*ListNamespacesRequest) ProtoReflect ¶
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (*ListNamespacesRequest) Reset ¶
func (x *ListNamespacesRequest) Reset()
func (*ListNamespacesRequest) String ¶
func (x *ListNamespacesRequest) String() string
type ListNamespacesResponse ¶
type ListNamespacesResponse struct { Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor
deprecated
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (*ListNamespacesResponse) GetNamespaces ¶
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (*ListNamespacesResponse) ProtoMessage ¶
func (*ListNamespacesResponse) ProtoMessage()
func (*ListNamespacesResponse) ProtoReflect ¶
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (*ListNamespacesResponse) Reset ¶
func (x *ListNamespacesResponse) Reset()
func (*ListNamespacesResponse) String ¶
func (x *ListNamespacesResponse) String() string
type ListPreAuthKeysRequest ¶
type ListPreAuthKeysRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ListPreAuthKeysRequest) Descriptor
deprecated
func (*ListPreAuthKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPreAuthKeysRequest.ProtoReflect.Descriptor instead.
func (*ListPreAuthKeysRequest) GetNamespace ¶
func (x *ListPreAuthKeysRequest) GetNamespace() string
func (*ListPreAuthKeysRequest) ProtoMessage ¶
func (*ListPreAuthKeysRequest) ProtoMessage()
func (*ListPreAuthKeysRequest) ProtoReflect ¶
func (x *ListPreAuthKeysRequest) ProtoReflect() protoreflect.Message
func (*ListPreAuthKeysRequest) Reset ¶
func (x *ListPreAuthKeysRequest) Reset()
func (*ListPreAuthKeysRequest) String ¶
func (x *ListPreAuthKeysRequest) String() string
type ListPreAuthKeysResponse ¶
type ListPreAuthKeysResponse struct { PreAuthKeys []*PreAuthKey `protobuf:"bytes,1,rep,name=pre_auth_keys,json=preAuthKeys,proto3" json:"pre_auth_keys,omitempty"` // contains filtered or unexported fields }
func (*ListPreAuthKeysResponse) Descriptor
deprecated
func (*ListPreAuthKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPreAuthKeysResponse.ProtoReflect.Descriptor instead.
func (*ListPreAuthKeysResponse) GetPreAuthKeys ¶
func (x *ListPreAuthKeysResponse) GetPreAuthKeys() []*PreAuthKey
func (*ListPreAuthKeysResponse) ProtoMessage ¶
func (*ListPreAuthKeysResponse) ProtoMessage()
func (*ListPreAuthKeysResponse) ProtoReflect ¶
func (x *ListPreAuthKeysResponse) ProtoReflect() protoreflect.Message
func (*ListPreAuthKeysResponse) Reset ¶
func (x *ListPreAuthKeysResponse) Reset()
func (*ListPreAuthKeysResponse) String ¶
func (x *ListPreAuthKeysResponse) String() string
type Machine ¶
type Machine struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` MachineKey string `protobuf:"bytes,2,opt,name=machine_key,json=machineKey,proto3" json:"machine_key,omitempty"` NodeKey string `protobuf:"bytes,3,opt,name=node_key,json=nodeKey,proto3" json:"node_key,omitempty"` DiscoKey string `protobuf:"bytes,4,opt,name=disco_key,json=discoKey,proto3" json:"disco_key,omitempty"` IpAddresses []string `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Namespace *Namespace `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"` Registered bool `protobuf:"varint,8,opt,name=registered,proto3" json:"registered,omitempty"` RegisterMethod RegisterMethod `` /* 137-byte string literal not displayed */ LastSeen *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` LastSuccessfulUpdate *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_successful_update,json=lastSuccessfulUpdate,proto3" json:"last_successful_update,omitempty"` Expiry *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expiry,proto3" json:"expiry,omitempty"` PreAuthKey *PreAuthKey `protobuf:"bytes,13,opt,name=pre_auth_key,json=preAuthKey,proto3" json:"pre_auth_key,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Machine) Descriptor
deprecated
func (*Machine) GetCreatedAt ¶
func (x *Machine) GetCreatedAt() *timestamppb.Timestamp
func (*Machine) GetDiscoKey ¶
func (*Machine) GetExpiry ¶
func (x *Machine) GetExpiry() *timestamppb.Timestamp
func (*Machine) GetIpAddresses ¶ added in v0.13.0
func (*Machine) GetLastSeen ¶
func (x *Machine) GetLastSeen() *timestamppb.Timestamp
func (*Machine) GetLastSuccessfulUpdate ¶
func (x *Machine) GetLastSuccessfulUpdate() *timestamppb.Timestamp
func (*Machine) GetMachineKey ¶
func (*Machine) GetNamespace ¶
func (*Machine) GetNodeKey ¶
func (*Machine) GetPreAuthKey ¶
func (x *Machine) GetPreAuthKey() *PreAuthKey
func (*Machine) GetRegisterMethod ¶
func (x *Machine) GetRegisterMethod() RegisterMethod
func (*Machine) GetRegistered ¶
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type Namespace ¶
type Namespace struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetCreatedAt ¶
func (x *Namespace) GetCreatedAt() *timestamppb.Timestamp
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type PreAuthKey ¶
type PreAuthKey struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` Reusable bool `protobuf:"varint,4,opt,name=reusable,proto3" json:"reusable,omitempty"` Ephemeral bool `protobuf:"varint,5,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` Used bool `protobuf:"varint,6,opt,name=used,proto3" json:"used,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*PreAuthKey) Descriptor
deprecated
func (*PreAuthKey) Descriptor() ([]byte, []int)
Deprecated: Use PreAuthKey.ProtoReflect.Descriptor instead.
func (*PreAuthKey) GetCreatedAt ¶
func (x *PreAuthKey) GetCreatedAt() *timestamppb.Timestamp
func (*PreAuthKey) GetEphemeral ¶
func (x *PreAuthKey) GetEphemeral() bool
func (*PreAuthKey) GetExpiration ¶
func (x *PreAuthKey) GetExpiration() *timestamppb.Timestamp
func (*PreAuthKey) GetId ¶
func (x *PreAuthKey) GetId() string
func (*PreAuthKey) GetKey ¶
func (x *PreAuthKey) GetKey() string
func (*PreAuthKey) GetNamespace ¶
func (x *PreAuthKey) GetNamespace() string
func (*PreAuthKey) GetReusable ¶
func (x *PreAuthKey) GetReusable() bool
func (*PreAuthKey) GetUsed ¶
func (x *PreAuthKey) GetUsed() bool
func (*PreAuthKey) ProtoMessage ¶
func (*PreAuthKey) ProtoMessage()
func (*PreAuthKey) ProtoReflect ¶
func (x *PreAuthKey) ProtoReflect() protoreflect.Message
func (*PreAuthKey) Reset ¶
func (x *PreAuthKey) Reset()
func (*PreAuthKey) String ¶
func (x *PreAuthKey) String() string
type RegisterMachineRequest ¶
type RegisterMachineRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RegisterMachineRequest) Descriptor
deprecated
func (*RegisterMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMachineRequest.ProtoReflect.Descriptor instead.
func (*RegisterMachineRequest) GetKey ¶
func (x *RegisterMachineRequest) GetKey() string
func (*RegisterMachineRequest) GetNamespace ¶
func (x *RegisterMachineRequest) GetNamespace() string
func (*RegisterMachineRequest) ProtoMessage ¶
func (*RegisterMachineRequest) ProtoMessage()
func (*RegisterMachineRequest) ProtoReflect ¶
func (x *RegisterMachineRequest) ProtoReflect() protoreflect.Message
func (*RegisterMachineRequest) Reset ¶
func (x *RegisterMachineRequest) Reset()
func (*RegisterMachineRequest) String ¶
func (x *RegisterMachineRequest) String() string
type RegisterMachineResponse ¶
type RegisterMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*RegisterMachineResponse) Descriptor
deprecated
func (*RegisterMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterMachineResponse.ProtoReflect.Descriptor instead.
func (*RegisterMachineResponse) GetMachine ¶
func (x *RegisterMachineResponse) GetMachine() *Machine
func (*RegisterMachineResponse) ProtoMessage ¶
func (*RegisterMachineResponse) ProtoMessage()
func (*RegisterMachineResponse) ProtoReflect ¶
func (x *RegisterMachineResponse) ProtoReflect() protoreflect.Message
func (*RegisterMachineResponse) Reset ¶
func (x *RegisterMachineResponse) Reset()
func (*RegisterMachineResponse) String ¶
func (x *RegisterMachineResponse) String() string
type RegisterMethod ¶
type RegisterMethod int32
const ( RegisterMethod_REGISTER_METHOD_UNSPECIFIED RegisterMethod = 0 RegisterMethod_REGISTER_METHOD_AUTH_KEY RegisterMethod = 1 RegisterMethod_REGISTER_METHOD_CLI RegisterMethod = 2 RegisterMethod_REGISTER_METHOD_OIDC RegisterMethod = 3 )
func (RegisterMethod) Descriptor ¶
func (RegisterMethod) Descriptor() protoreflect.EnumDescriptor
func (RegisterMethod) Enum ¶
func (x RegisterMethod) Enum() *RegisterMethod
func (RegisterMethod) EnumDescriptor
deprecated
func (RegisterMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use RegisterMethod.Descriptor instead.
func (RegisterMethod) Number ¶
func (x RegisterMethod) Number() protoreflect.EnumNumber
func (RegisterMethod) String ¶
func (x RegisterMethod) String() string
func (RegisterMethod) Type ¶
func (RegisterMethod) Type() protoreflect.EnumType
type RenameNamespaceRequest ¶
type RenameNamespaceRequest struct { OldName string `protobuf:"bytes,1,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*RenameNamespaceRequest) Descriptor
deprecated
func (*RenameNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameNamespaceRequest.ProtoReflect.Descriptor instead.
func (*RenameNamespaceRequest) GetNewName ¶
func (x *RenameNamespaceRequest) GetNewName() string
func (*RenameNamespaceRequest) GetOldName ¶
func (x *RenameNamespaceRequest) GetOldName() string
func (*RenameNamespaceRequest) ProtoMessage ¶
func (*RenameNamespaceRequest) ProtoMessage()
func (*RenameNamespaceRequest) ProtoReflect ¶
func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message
func (*RenameNamespaceRequest) Reset ¶
func (x *RenameNamespaceRequest) Reset()
func (*RenameNamespaceRequest) String ¶
func (x *RenameNamespaceRequest) String() string
type RenameNamespaceResponse ¶
type RenameNamespaceResponse struct { Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*RenameNamespaceResponse) Descriptor
deprecated
func (*RenameNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameNamespaceResponse.ProtoReflect.Descriptor instead.
func (*RenameNamespaceResponse) GetNamespace ¶
func (x *RenameNamespaceResponse) GetNamespace() *Namespace
func (*RenameNamespaceResponse) ProtoMessage ¶
func (*RenameNamespaceResponse) ProtoMessage()
func (*RenameNamespaceResponse) ProtoReflect ¶
func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message
func (*RenameNamespaceResponse) Reset ¶
func (x *RenameNamespaceResponse) Reset()
func (*RenameNamespaceResponse) String ¶
func (x *RenameNamespaceResponse) String() string
type Routes ¶
type Routes struct { AdvertisedRoutes []string `protobuf:"bytes,1,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"` EnabledRoutes []string `protobuf:"bytes,2,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"` // contains filtered or unexported fields }
func (*Routes) Descriptor
deprecated
func (*Routes) GetAdvertisedRoutes ¶
func (*Routes) GetEnabledRoutes ¶
func (*Routes) ProtoMessage ¶
func (*Routes) ProtoMessage()
func (*Routes) ProtoReflect ¶
func (x *Routes) ProtoReflect() protoreflect.Message
type ShareMachineRequest ¶
type ShareMachineRequest struct { // contains filtered or unexported fields }
func (*ShareMachineRequest) Descriptor
deprecated
func (*ShareMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShareMachineRequest.ProtoReflect.Descriptor instead.
func (*ShareMachineRequest) GetMachineId ¶
func (x *ShareMachineRequest) GetMachineId() uint64
func (*ShareMachineRequest) GetNamespace ¶
func (x *ShareMachineRequest) GetNamespace() string
func (*ShareMachineRequest) ProtoMessage ¶
func (*ShareMachineRequest) ProtoMessage()
func (*ShareMachineRequest) ProtoReflect ¶
func (x *ShareMachineRequest) ProtoReflect() protoreflect.Message
func (*ShareMachineRequest) Reset ¶
func (x *ShareMachineRequest) Reset()
func (*ShareMachineRequest) String ¶
func (x *ShareMachineRequest) String() string
type ShareMachineResponse ¶
type ShareMachineResponse struct { // contains filtered or unexported fields }
func (*ShareMachineResponse) Descriptor
deprecated
func (*ShareMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShareMachineResponse.ProtoReflect.Descriptor instead.
func (*ShareMachineResponse) GetMachine ¶
func (x *ShareMachineResponse) GetMachine() *Machine
func (*ShareMachineResponse) ProtoMessage ¶
func (*ShareMachineResponse) ProtoMessage()
func (*ShareMachineResponse) ProtoReflect ¶
func (x *ShareMachineResponse) ProtoReflect() protoreflect.Message
func (*ShareMachineResponse) Reset ¶
func (x *ShareMachineResponse) Reset()
func (*ShareMachineResponse) String ¶
func (x *ShareMachineResponse) String() string
type UnimplementedHeadscaleServiceServer ¶
type UnimplementedHeadscaleServiceServer struct { }
UnimplementedHeadscaleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHeadscaleServiceServer) CreateApiKey ¶ added in v0.13.0
func (UnimplementedHeadscaleServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) CreateNamespace ¶
func (UnimplementedHeadscaleServiceServer) CreateNamespace(context.Context, *CreateNamespaceRequest) (*CreateNamespaceResponse, error)
func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey ¶
func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) DebugCreateMachine ¶
func (UnimplementedHeadscaleServiceServer) DebugCreateMachine(context.Context, *DebugCreateMachineRequest) (*DebugCreateMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) DeleteMachine ¶
func (UnimplementedHeadscaleServiceServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) DeleteNamespace ¶
func (UnimplementedHeadscaleServiceServer) DeleteNamespace(context.Context, *DeleteNamespaceRequest) (*DeleteNamespaceResponse, error)
func (UnimplementedHeadscaleServiceServer) EnableMachineRoutes ¶
func (UnimplementedHeadscaleServiceServer) EnableMachineRoutes(context.Context, *EnableMachineRoutesRequest) (*EnableMachineRoutesResponse, error)
func (UnimplementedHeadscaleServiceServer) ExpireApiKey ¶ added in v0.13.0
func (UnimplementedHeadscaleServiceServer) ExpireApiKey(context.Context, *ExpireApiKeyRequest) (*ExpireApiKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) ExpireMachine ¶
func (UnimplementedHeadscaleServiceServer) ExpireMachine(context.Context, *ExpireMachineRequest) (*ExpireMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) ExpirePreAuthKey ¶
func (UnimplementedHeadscaleServiceServer) ExpirePreAuthKey(context.Context, *ExpirePreAuthKeyRequest) (*ExpirePreAuthKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) GetMachine ¶
func (UnimplementedHeadscaleServiceServer) GetMachine(context.Context, *GetMachineRequest) (*GetMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) GetMachineRoute ¶
func (UnimplementedHeadscaleServiceServer) GetMachineRoute(context.Context, *GetMachineRouteRequest) (*GetMachineRouteResponse, error)
func (UnimplementedHeadscaleServiceServer) GetNamespace ¶
func (UnimplementedHeadscaleServiceServer) GetNamespace(context.Context, *GetNamespaceRequest) (*GetNamespaceResponse, error)
func (UnimplementedHeadscaleServiceServer) ListApiKeys ¶ added in v0.13.0
func (UnimplementedHeadscaleServiceServer) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
func (UnimplementedHeadscaleServiceServer) ListMachines ¶
func (UnimplementedHeadscaleServiceServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
func (UnimplementedHeadscaleServiceServer) ListNamespaces ¶
func (UnimplementedHeadscaleServiceServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys ¶
func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error)
func (UnimplementedHeadscaleServiceServer) RegisterMachine ¶
func (UnimplementedHeadscaleServiceServer) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) RenameNamespace ¶
func (UnimplementedHeadscaleServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error)
func (UnimplementedHeadscaleServiceServer) ShareMachine ¶
func (UnimplementedHeadscaleServiceServer) ShareMachine(context.Context, *ShareMachineRequest) (*ShareMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) UnshareMachine ¶
func (UnimplementedHeadscaleServiceServer) UnshareMachine(context.Context, *UnshareMachineRequest) (*UnshareMachineResponse, error)
type UnsafeHeadscaleServiceServer ¶
type UnsafeHeadscaleServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHeadscaleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HeadscaleServiceServer will result in compilation errors.
type UnshareMachineRequest ¶
type UnshareMachineRequest struct { // contains filtered or unexported fields }
func (*UnshareMachineRequest) Descriptor
deprecated
func (*UnshareMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnshareMachineRequest.ProtoReflect.Descriptor instead.
func (*UnshareMachineRequest) GetMachineId ¶
func (x *UnshareMachineRequest) GetMachineId() uint64
func (*UnshareMachineRequest) GetNamespace ¶
func (x *UnshareMachineRequest) GetNamespace() string
func (*UnshareMachineRequest) ProtoMessage ¶
func (*UnshareMachineRequest) ProtoMessage()
func (*UnshareMachineRequest) ProtoReflect ¶
func (x *UnshareMachineRequest) ProtoReflect() protoreflect.Message
func (*UnshareMachineRequest) Reset ¶
func (x *UnshareMachineRequest) Reset()
func (*UnshareMachineRequest) String ¶
func (x *UnshareMachineRequest) String() string
type UnshareMachineResponse ¶
type UnshareMachineResponse struct { // contains filtered or unexported fields }
func (*UnshareMachineResponse) Descriptor
deprecated
func (*UnshareMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnshareMachineResponse.ProtoReflect.Descriptor instead.
func (*UnshareMachineResponse) GetMachine ¶
func (x *UnshareMachineResponse) GetMachine() *Machine
func (*UnshareMachineResponse) ProtoMessage ¶
func (*UnshareMachineResponse) ProtoMessage()
func (*UnshareMachineResponse) ProtoReflect ¶
func (x *UnshareMachineResponse) ProtoReflect() protoreflect.Message
func (*UnshareMachineResponse) Reset ¶
func (x *UnshareMachineResponse) Reset()
func (*UnshareMachineResponse) String ¶
func (x *UnshareMachineResponse) String() string