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 ACL
- func (*ACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL) GetAction() ACL_Action
- func (x *ACL) GetDestinations() []string
- func (x *ACL) GetProtocol() Protocol_Enum
- func (x *ACL) GetSources() []string
- func (*ACL) ProtoMessage()
- func (x *ACL) ProtoReflect() protoreflect.Message
- func (x *ACL) Reset()
- func (x *ACL) String() string
- type ACLAutoApprovers
- func (*ACLAutoApprovers) Descriptor() ([]byte, []int)deprecated
- func (x *ACLAutoApprovers) GetExitNodes() []string
- func (x *ACLAutoApprovers) GetRoutes() []*ACLRoutes
- func (*ACLAutoApprovers) ProtoMessage()
- func (x *ACLAutoApprovers) ProtoReflect() protoreflect.Message
- func (x *ACLAutoApprovers) Reset()
- func (x *ACLAutoApprovers) String() string
- type ACLGroup
- type ACLHost
- type ACLPolicy
- func (*ACLPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ACLPolicy) GetAcls() []*ACL
- func (x *ACLPolicy) GetAutoApprovers() *ACLAutoApprovers
- func (x *ACLPolicy) GetGroups() []*ACLGroup
- func (x *ACLPolicy) GetHosts() []*ACLHost
- func (x *ACLPolicy) GetTagOwners() []*ACLTagOwner
- func (*ACLPolicy) ProtoMessage()
- func (x *ACLPolicy) ProtoReflect() protoreflect.Message
- func (x *ACLPolicy) Reset()
- func (x *ACLPolicy) String() string
- type ACLRoutes
- type ACLTagOwner
- type ACL_Action
- 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 CreateACLPolicyRequest
- func (*CreateACLPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateACLPolicyRequest) GetAclPolicy() *ACLPolicy
- func (x *CreateACLPolicyRequest) GetUser() string
- func (*CreateACLPolicyRequest) ProtoMessage()
- func (x *CreateACLPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateACLPolicyRequest) Reset()
- func (x *CreateACLPolicyRequest) String() string
- type CreateACLPolicyResponse
- 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 CreatePreAuthKeyRequest
- func (*CreatePreAuthKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePreAuthKeyRequest) GetAclTags() []string
- func (x *CreatePreAuthKeyRequest) GetEphemeral() bool
- func (x *CreatePreAuthKeyRequest) GetExpiration() *timestamppb.Timestamp
- func (x *CreatePreAuthKeyRequest) GetReusable() bool
- func (x *CreatePreAuthKeyRequest) GetUser() string
- 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 CreateUserRequest
- type CreateUserResponse
- type DebugCreateMachineRequest
- func (*DebugCreateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugCreateMachineRequest) GetKey() string
- func (x *DebugCreateMachineRequest) GetName() string
- func (x *DebugCreateMachineRequest) GetRoutes() []string
- func (x *DebugCreateMachineRequest) GetUser() 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 DeleteRouteRequest
- func (*DeleteRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRouteRequest) GetRouteId() uint64
- func (*DeleteRouteRequest) ProtoMessage()
- func (x *DeleteRouteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRouteRequest) Reset()
- func (x *DeleteRouteRequest) String() string
- type DeleteRouteResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DisableRouteRequest
- func (*DisableRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableRouteRequest) GetRouteId() uint64
- func (*DisableRouteRequest) ProtoMessage()
- func (x *DisableRouteRequest) ProtoReflect() protoreflect.Message
- func (x *DisableRouteRequest) Reset()
- func (x *DisableRouteRequest) String() string
- type DisableRouteResponse
- 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 EnableRouteRequest
- func (*EnableRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableRouteRequest) GetRouteId() uint64
- func (*EnableRouteRequest) ProtoMessage()
- func (x *EnableRouteRequest) ProtoReflect() protoreflect.Message
- func (x *EnableRouteRequest) Reset()
- func (x *EnableRouteRequest) String() string
- type EnableRouteResponse
- 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) GetUser() 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 GetMachineRoutesRequest
- func (*GetMachineRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRoutesRequest) GetMachineId() uint64
- func (*GetMachineRoutesRequest) ProtoMessage()
- func (x *GetMachineRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMachineRoutesRequest) Reset()
- func (x *GetMachineRoutesRequest) String() string
- type GetMachineRoutesResponse
- func (*GetMachineRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRoutesResponse) GetRoutes() []*Route
- func (*GetMachineRoutesResponse) ProtoMessage()
- func (x *GetMachineRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMachineRoutesResponse) Reset()
- func (x *GetMachineRoutesResponse) String() string
- type GetRoutesRequest
- type GetRoutesResponse
- type GetUserRequest
- type GetUserResponse
- 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) GetUser() 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 ListPreAuthKeysRequest
- func (*ListPreAuthKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPreAuthKeysRequest) GetUser() 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 ListUsersRequest
- type ListUsersResponse
- 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) GetForcedTags() []string
- func (x *Machine) GetGivenName() string
- func (x *Machine) GetId() uint64
- func (x *Machine) GetInvalidTags() []string
- 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) GetNodeKey() string
- func (x *Machine) GetOnline() bool
- func (x *Machine) GetPreAuthKey() *PreAuthKey
- func (x *Machine) GetRegisterMethod() RegisterMethod
- func (x *Machine) GetUser() *User
- func (x *Machine) GetValidTags() []string
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type MoveMachineRequest
- func (*MoveMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveMachineRequest) GetMachineId() uint64
- func (x *MoveMachineRequest) GetUser() string
- func (*MoveMachineRequest) ProtoMessage()
- func (x *MoveMachineRequest) ProtoReflect() protoreflect.Message
- func (x *MoveMachineRequest) Reset()
- func (x *MoveMachineRequest) String() string
- type MoveMachineResponse
- func (*MoveMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MoveMachineResponse) GetMachine() *Machine
- func (*MoveMachineResponse) ProtoMessage()
- func (x *MoveMachineResponse) ProtoReflect() protoreflect.Message
- func (x *MoveMachineResponse) Reset()
- func (x *MoveMachineResponse) String() string
- type PreAuthKey
- func (*PreAuthKey) Descriptor() ([]byte, []int)deprecated
- func (x *PreAuthKey) GetAclTags() []string
- 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) GetReusable() bool
- func (x *PreAuthKey) GetUsed() bool
- func (x *PreAuthKey) GetUser() string
- func (*PreAuthKey) ProtoMessage()
- func (x *PreAuthKey) ProtoReflect() protoreflect.Message
- func (x *PreAuthKey) Reset()
- func (x *PreAuthKey) String() string
- type Protocol
- type Protocol_Enum
- func (Protocol_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Protocol_Enum) Enum() *Protocol_Enum
- func (Protocol_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Protocol_Enum) Number() protoreflect.EnumNumber
- func (x Protocol_Enum) String() string
- func (Protocol_Enum) Type() protoreflect.EnumType
- type RegisterMachineRequest
- func (*RegisterMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterMachineRequest) GetKey() string
- func (x *RegisterMachineRequest) GetUser() 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 RenameMachineRequest
- func (*RenameMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameMachineRequest) GetMachineId() uint64
- func (x *RenameMachineRequest) GetNewName() string
- func (*RenameMachineRequest) ProtoMessage()
- func (x *RenameMachineRequest) ProtoReflect() protoreflect.Message
- func (x *RenameMachineRequest) Reset()
- func (x *RenameMachineRequest) String() string
- type RenameMachineResponse
- func (*RenameMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenameMachineResponse) GetMachine() *Machine
- func (*RenameMachineResponse) ProtoMessage()
- func (x *RenameMachineResponse) ProtoReflect() protoreflect.Message
- func (x *RenameMachineResponse) Reset()
- func (x *RenameMachineResponse) String() string
- type RenameUserRequest
- func (*RenameUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameUserRequest) GetNewName() string
- func (x *RenameUserRequest) GetOldName() string
- func (*RenameUserRequest) ProtoMessage()
- func (x *RenameUserRequest) ProtoReflect() protoreflect.Message
- func (x *RenameUserRequest) Reset()
- func (x *RenameUserRequest) String() string
- type RenameUserResponse
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetAdvertised() bool
- func (x *Route) GetCreatedAt() *timestamppb.Timestamp
- func (x *Route) GetDeletedAt() *timestamppb.Timestamp
- func (x *Route) GetEnabled() bool
- func (x *Route) GetId() uint64
- func (x *Route) GetIsPrimary() bool
- func (x *Route) GetMachine() *Machine
- func (x *Route) GetPrefix() string
- func (x *Route) GetUpdatedAt() *timestamppb.Timestamp
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type SetTagsRequest
- func (*SetTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetTagsRequest) GetMachineId() uint64
- func (x *SetTagsRequest) GetTags() []string
- func (*SetTagsRequest) ProtoMessage()
- func (x *SetTagsRequest) ProtoReflect() protoreflect.Message
- func (x *SetTagsRequest) Reset()
- func (x *SetTagsRequest) String() string
- type SetTagsResponse
- type UnimplementedHeadscaleServiceServer
- func (UnimplementedHeadscaleServiceServer) CreateACLPolicy(context.Context, *CreateACLPolicyRequest) (*CreateACLPolicyResponse, error)
- func (UnimplementedHeadscaleServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error)
- func (UnimplementedHeadscaleServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedHeadscaleServiceServer) DebugCreateMachine(context.Context, *DebugCreateMachineRequest) (*DebugCreateMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) DeleteRoute(context.Context, *DeleteRouteRequest) (*DeleteRouteResponse, error)
- func (UnimplementedHeadscaleServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedHeadscaleServiceServer) DisableRoute(context.Context, *DisableRouteRequest) (*DisableRouteResponse, error)
- func (UnimplementedHeadscaleServiceServer) EnableRoute(context.Context, *EnableRouteRequest) (*EnableRouteResponse, 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) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
- func (UnimplementedHeadscaleServiceServer) GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error)
- func (UnimplementedHeadscaleServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error)
- func (UnimplementedHeadscaleServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedHeadscaleServiceServer) MoveMachine(context.Context, *MoveMachineRequest) (*MoveMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) RenameMachine(context.Context, *RenameMachineRequest) (*RenameMachineResponse, error)
- func (UnimplementedHeadscaleServiceServer) RenameUser(context.Context, *RenameUserRequest) (*RenameUserResponse, error)
- func (UnimplementedHeadscaleServiceServer) SetTags(context.Context, *SetTagsRequest) (*SetTagsResponse, error)
- type UnsafeHeadscaleServiceServer
- type User
Constants ¶
This section is empty.
Variables ¶
var ( Protocol_Enum_name = map[int32]string{ 0: "ANY", 1: "TCP", 2: "UDP", 3: "ICMP", 4: "SCTP", 5: "IGMP", 6: "IPV4", 7: "EGP", 8: "IGP", 9: "GRE", 10: "AH", } Protocol_Enum_value = map[string]int32{ "ANY": 0, "TCP": 1, "UDP": 2, "ICMP": 3, "SCTP": 4, "IGMP": 5, "IPV4": 6, "EGP": 7, "IGP": 8, "GRE": 9, "AH": 10, } )
Enum value maps for Protocol_Enum.
var ( ACL_Action_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPT", } ACL_Action_value = map[string]int32{ "UNKNOWN": 0, "ACCEPT": 1, } )
Enum value maps for ACL_Action.
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_acl_proto protoreflect.FileDescriptor
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_preauthkey_proto protoreflect.FileDescriptor
var File_headscale_v1_routes_proto protoreflect.FileDescriptor
var File_headscale_v1_user_proto protoreflect.FileDescriptor
var HeadscaleService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "headscale.v1.HeadscaleService", HandlerType: (*HeadscaleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUser", Handler: _HeadscaleService_GetUser_Handler, }, { MethodName: "CreateUser", Handler: _HeadscaleService_CreateUser_Handler, }, { MethodName: "RenameUser", Handler: _HeadscaleService_RenameUser_Handler, }, { MethodName: "DeleteUser", Handler: _HeadscaleService_DeleteUser_Handler, }, { MethodName: "ListUsers", Handler: _HeadscaleService_ListUsers_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: "SetTags", Handler: _HeadscaleService_SetTags_Handler, }, { MethodName: "RegisterMachine", Handler: _HeadscaleService_RegisterMachine_Handler, }, { MethodName: "DeleteMachine", Handler: _HeadscaleService_DeleteMachine_Handler, }, { MethodName: "ExpireMachine", Handler: _HeadscaleService_ExpireMachine_Handler, }, { MethodName: "RenameMachine", Handler: _HeadscaleService_RenameMachine_Handler, }, { MethodName: "ListMachines", Handler: _HeadscaleService_ListMachines_Handler, }, { MethodName: "MoveMachine", Handler: _HeadscaleService_MoveMachine_Handler, }, { MethodName: "GetRoutes", Handler: _HeadscaleService_GetRoutes_Handler, }, { MethodName: "EnableRoute", Handler: _HeadscaleService_EnableRoute_Handler, }, { MethodName: "DisableRoute", Handler: _HeadscaleService_DisableRoute_Handler, }, { MethodName: "GetMachineRoutes", Handler: _HeadscaleService_GetMachineRoutes_Handler, }, { MethodName: "DeleteRoute", Handler: _HeadscaleService_DeleteRoute_Handler, }, { MethodName: "CreateApiKey", Handler: _HeadscaleService_CreateApiKey_Handler, }, { MethodName: "ExpireApiKey", Handler: _HeadscaleService_ExpireApiKey_Handler, }, { MethodName: "ListApiKeys", Handler: _HeadscaleService_ListApiKeys_Handler, }, { MethodName: "CreateACLPolicy", Handler: _HeadscaleService_CreateACLPolicy_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 ACL ¶ added in v0.0.9
type ACL struct { Action ACL_Action `protobuf:"varint,1,opt,name=action,proto3,enum=headscale.v1.ACL_Action" json:"action,omitempty"` Protocol Protocol_Enum `protobuf:"varint,2,opt,name=protocol,proto3,enum=headscale.v1.Protocol_Enum" json:"protocol,omitempty"` Sources []string `protobuf:"bytes,3,rep,name=sources,proto3" json:"sources,omitempty"` Destinations []string `protobuf:"bytes,4,rep,name=destinations,proto3" json:"destinations,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
added in
v0.0.9
func (*ACL) GetAction ¶ added in v0.0.9
func (x *ACL) GetAction() ACL_Action
func (*ACL) GetDestinations ¶ added in v0.0.9
func (*ACL) GetProtocol ¶ added in v0.0.9
func (x *ACL) GetProtocol() Protocol_Enum
func (*ACL) GetSources ¶ added in v0.0.9
func (*ACL) ProtoMessage ¶ added in v0.0.9
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶ added in v0.0.9
func (x *ACL) ProtoReflect() protoreflect.Message
type ACLAutoApprovers ¶ added in v0.0.9
type ACLAutoApprovers struct { Routes []*ACLRoutes `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` ExitNodes []string `protobuf:"bytes,2,rep,name=exit_nodes,json=exitNodes,proto3" json:"exit_nodes,omitempty"` // contains filtered or unexported fields }
func (*ACLAutoApprovers) Descriptor
deprecated
added in
v0.0.9
func (*ACLAutoApprovers) Descriptor() ([]byte, []int)
Deprecated: Use ACLAutoApprovers.ProtoReflect.Descriptor instead.
func (*ACLAutoApprovers) GetExitNodes ¶ added in v0.0.9
func (x *ACLAutoApprovers) GetExitNodes() []string
func (*ACLAutoApprovers) GetRoutes ¶ added in v0.0.9
func (x *ACLAutoApprovers) GetRoutes() []*ACLRoutes
func (*ACLAutoApprovers) ProtoMessage ¶ added in v0.0.9
func (*ACLAutoApprovers) ProtoMessage()
func (*ACLAutoApprovers) ProtoReflect ¶ added in v0.0.9
func (x *ACLAutoApprovers) ProtoReflect() protoreflect.Message
func (*ACLAutoApprovers) Reset ¶ added in v0.0.9
func (x *ACLAutoApprovers) Reset()
func (*ACLAutoApprovers) String ¶ added in v0.0.9
func (x *ACLAutoApprovers) String() string
type ACLGroup ¶ added in v0.0.9
type ACLGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ACLGroup) Descriptor
deprecated
added in
v0.0.9
func (*ACLGroup) ProtoMessage ¶ added in v0.0.9
func (*ACLGroup) ProtoMessage()
func (*ACLGroup) ProtoReflect ¶ added in v0.0.9
func (x *ACLGroup) ProtoReflect() protoreflect.Message
type ACLHost ¶ added in v0.0.9
type ACLHost struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` // contains filtered or unexported fields }
func (*ACLHost) Descriptor
deprecated
added in
v0.0.9
func (*ACLHost) GetCidrBlock ¶ added in v0.0.9
func (*ACLHost) ProtoMessage ¶ added in v0.0.9
func (*ACLHost) ProtoMessage()
func (*ACLHost) ProtoReflect ¶ added in v0.0.9
func (x *ACLHost) ProtoReflect() protoreflect.Message
type ACLPolicy ¶ added in v0.0.9
type ACLPolicy struct { Groups []*ACLGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` Hosts []*ACLHost `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts,omitempty"` Acls []*ACL `protobuf:"bytes,3,rep,name=acls,proto3" json:"acls,omitempty"` AutoApprovers *ACLAutoApprovers `protobuf:"bytes,4,opt,name=auto_approvers,json=autoApprovers,proto3" json:"auto_approvers,omitempty"` TagOwners []*ACLTagOwner `protobuf:"bytes,5,rep,name=tag_owners,json=tagOwners,proto3" json:"tag_owners,omitempty"` // contains filtered or unexported fields }
func (*ACLPolicy) Descriptor
deprecated
added in
v0.0.9
func (*ACLPolicy) GetAutoApprovers ¶ added in v0.0.9
func (x *ACLPolicy) GetAutoApprovers() *ACLAutoApprovers
func (*ACLPolicy) GetTagOwners ¶ added in v0.0.9
func (x *ACLPolicy) GetTagOwners() []*ACLTagOwner
func (*ACLPolicy) ProtoMessage ¶ added in v0.0.9
func (*ACLPolicy) ProtoMessage()
func (*ACLPolicy) ProtoReflect ¶ added in v0.0.9
func (x *ACLPolicy) ProtoReflect() protoreflect.Message
type ACLRoutes ¶ added in v0.0.9
type ACLRoutes struct { Route string `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ACLRoutes) Descriptor
deprecated
added in
v0.0.9
func (*ACLRoutes) ProtoMessage ¶ added in v0.0.9
func (*ACLRoutes) ProtoMessage()
func (*ACLRoutes) ProtoReflect ¶ added in v0.0.9
func (x *ACLRoutes) ProtoReflect() protoreflect.Message
type ACLTagOwner ¶ added in v0.0.9
type ACLTagOwner struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Users []string `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ACLTagOwner) Descriptor
deprecated
added in
v0.0.9
func (*ACLTagOwner) Descriptor() ([]byte, []int)
Deprecated: Use ACLTagOwner.ProtoReflect.Descriptor instead.
func (*ACLTagOwner) GetTag ¶ added in v0.0.9
func (x *ACLTagOwner) GetTag() string
func (*ACLTagOwner) GetUsers ¶ added in v0.0.9
func (x *ACLTagOwner) GetUsers() []string
func (*ACLTagOwner) ProtoMessage ¶ added in v0.0.9
func (*ACLTagOwner) ProtoMessage()
func (*ACLTagOwner) ProtoReflect ¶ added in v0.0.9
func (x *ACLTagOwner) ProtoReflect() protoreflect.Message
func (*ACLTagOwner) Reset ¶ added in v0.0.9
func (x *ACLTagOwner) Reset()
func (*ACLTagOwner) String ¶ added in v0.0.9
func (x *ACLTagOwner) String() string
type ACL_Action ¶ added in v0.0.9
type ACL_Action int32
const ( ACL_UNKNOWN ACL_Action = 0 ACL_ACCEPT ACL_Action = 1 )
func (ACL_Action) Descriptor ¶ added in v0.0.9
func (ACL_Action) Descriptor() protoreflect.EnumDescriptor
func (ACL_Action) Enum ¶ added in v0.0.9
func (x ACL_Action) Enum() *ACL_Action
func (ACL_Action) EnumDescriptor
deprecated
added in
v0.0.9
func (ACL_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACL_Action.Descriptor instead.
func (ACL_Action) Number ¶ added in v0.0.9
func (x ACL_Action) Number() protoreflect.EnumNumber
func (ACL_Action) String ¶ added in v0.0.9
func (x ACL_Action) String() string
func (ACL_Action) Type ¶ added in v0.0.9
func (ACL_Action) Type() protoreflect.EnumType
type ApiKey ¶
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
func (*ApiKey) GetCreatedAt ¶
func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp
func (*ApiKey) GetExpiration ¶
func (x *ApiKey) GetExpiration() *timestamppb.Timestamp
func (*ApiKey) GetLastSeen ¶
func (x *ApiKey) GetLastSeen() *timestamppb.Timestamp
func (*ApiKey) ProtoMessage ¶
func (*ApiKey) ProtoMessage()
func (*ApiKey) ProtoReflect ¶
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 CreateACLPolicyRequest ¶ added in v0.0.9
type CreateACLPolicyRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` AclPolicy *ACLPolicy `protobuf:"bytes,2,opt,name=acl_policy,json=aclPolicy,proto3" json:"acl_policy,omitempty"` // contains filtered or unexported fields }
func (*CreateACLPolicyRequest) Descriptor
deprecated
added in
v0.0.9
func (*CreateACLPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateACLPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateACLPolicyRequest) GetAclPolicy ¶ added in v0.0.9
func (x *CreateACLPolicyRequest) GetAclPolicy() *ACLPolicy
func (*CreateACLPolicyRequest) GetUser ¶ added in v0.0.9
func (x *CreateACLPolicyRequest) GetUser() string
func (*CreateACLPolicyRequest) ProtoMessage ¶ added in v0.0.9
func (*CreateACLPolicyRequest) ProtoMessage()
func (*CreateACLPolicyRequest) ProtoReflect ¶ added in v0.0.9
func (x *CreateACLPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateACLPolicyRequest) Reset ¶ added in v0.0.9
func (x *CreateACLPolicyRequest) Reset()
func (*CreateACLPolicyRequest) String ¶ added in v0.0.9
func (x *CreateACLPolicyRequest) String() string
type CreateACLPolicyResponse ¶ added in v0.0.9
type CreateACLPolicyResponse struct {
// contains filtered or unexported fields
}
func (*CreateACLPolicyResponse) Descriptor
deprecated
added in
v0.0.9
func (*CreateACLPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateACLPolicyResponse.ProtoReflect.Descriptor instead.
func (*CreateACLPolicyResponse) ProtoMessage ¶ added in v0.0.9
func (*CreateACLPolicyResponse) ProtoMessage()
func (*CreateACLPolicyResponse) ProtoReflect ¶ added in v0.0.9
func (x *CreateACLPolicyResponse) ProtoReflect() protoreflect.Message
func (*CreateACLPolicyResponse) Reset ¶ added in v0.0.9
func (x *CreateACLPolicyResponse) Reset()
func (*CreateACLPolicyResponse) String ¶ added in v0.0.9
func (x *CreateACLPolicyResponse) String() string
type CreateApiKeyRequest ¶
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
func (*CreateApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateApiKeyRequest) GetExpiration ¶
func (x *CreateApiKeyRequest) GetExpiration() *timestamppb.Timestamp
func (*CreateApiKeyRequest) ProtoMessage ¶
func (*CreateApiKeyRequest) ProtoMessage()
func (*CreateApiKeyRequest) ProtoReflect ¶
func (x *CreateApiKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateApiKeyRequest) Reset ¶
func (x *CreateApiKeyRequest) Reset()
func (*CreateApiKeyRequest) String ¶
func (x *CreateApiKeyRequest) String() string
type CreateApiKeyResponse ¶
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
func (*CreateApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateApiKeyResponse) GetApiKey ¶
func (x *CreateApiKeyResponse) GetApiKey() string
func (*CreateApiKeyResponse) ProtoMessage ¶
func (*CreateApiKeyResponse) ProtoMessage()
func (*CreateApiKeyResponse) ProtoReflect ¶
func (x *CreateApiKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateApiKeyResponse) Reset ¶
func (x *CreateApiKeyResponse) Reset()
func (*CreateApiKeyResponse) String ¶
func (x *CreateApiKeyResponse) String() string
type CreatePreAuthKeyRequest ¶
type CreatePreAuthKeyRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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"` AclTags []string `protobuf:"bytes,5,rep,name=acl_tags,json=aclTags,proto3" json:"acl_tags,omitempty"` // contains filtered or unexported fields }
func (*CreatePreAuthKeyRequest) Descriptor
deprecated
func (*CreatePreAuthKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePreAuthKeyRequest.ProtoReflect.Descriptor instead.
func (*CreatePreAuthKeyRequest) GetAclTags ¶
func (x *CreatePreAuthKeyRequest) GetAclTags() []string
func (*CreatePreAuthKeyRequest) GetEphemeral ¶
func (x *CreatePreAuthKeyRequest) GetEphemeral() bool
func (*CreatePreAuthKeyRequest) GetExpiration ¶
func (x *CreatePreAuthKeyRequest) GetExpiration() *timestamppb.Timestamp
func (*CreatePreAuthKeyRequest) GetReusable ¶
func (x *CreatePreAuthKeyRequest) GetReusable() bool
func (*CreatePreAuthKeyRequest) GetUser ¶
func (x *CreatePreAuthKeyRequest) GetUser() string
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 CreateUserRequest ¶
type CreateUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DebugCreateMachineRequest ¶
type DebugCreateMachineRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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) GetRoutes ¶
func (x *DebugCreateMachineRequest) GetRoutes() []string
func (*DebugCreateMachineRequest) GetUser ¶
func (x *DebugCreateMachineRequest) GetUser() 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 DeleteRouteRequest ¶
type DeleteRouteRequest struct { RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRouteRequest) Descriptor
deprecated
func (*DeleteRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRouteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRouteRequest) GetRouteId ¶
func (x *DeleteRouteRequest) GetRouteId() uint64
func (*DeleteRouteRequest) ProtoMessage ¶
func (*DeleteRouteRequest) ProtoMessage()
func (*DeleteRouteRequest) ProtoReflect ¶
func (x *DeleteRouteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRouteRequest) Reset ¶
func (x *DeleteRouteRequest) Reset()
func (*DeleteRouteRequest) String ¶
func (x *DeleteRouteRequest) String() string
type DeleteRouteResponse ¶
type DeleteRouteResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRouteResponse) Descriptor
deprecated
func (*DeleteRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRouteResponse.ProtoReflect.Descriptor instead.
func (*DeleteRouteResponse) ProtoMessage ¶
func (*DeleteRouteResponse) ProtoMessage()
func (*DeleteRouteResponse) ProtoReflect ¶
func (x *DeleteRouteResponse) ProtoReflect() protoreflect.Message
func (*DeleteRouteResponse) Reset ¶
func (x *DeleteRouteResponse) Reset()
func (*DeleteRouteResponse) String ¶
func (x *DeleteRouteResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetName ¶
func (x *DeleteUserRequest) GetName() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type DisableRouteRequest ¶
type DisableRouteRequest struct { RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` // contains filtered or unexported fields }
func (*DisableRouteRequest) Descriptor
deprecated
func (*DisableRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableRouteRequest.ProtoReflect.Descriptor instead.
func (*DisableRouteRequest) GetRouteId ¶
func (x *DisableRouteRequest) GetRouteId() uint64
func (*DisableRouteRequest) ProtoMessage ¶
func (*DisableRouteRequest) ProtoMessage()
func (*DisableRouteRequest) ProtoReflect ¶
func (x *DisableRouteRequest) ProtoReflect() protoreflect.Message
func (*DisableRouteRequest) Reset ¶
func (x *DisableRouteRequest) Reset()
func (*DisableRouteRequest) String ¶
func (x *DisableRouteRequest) String() string
type DisableRouteResponse ¶
type DisableRouteResponse struct {
// contains filtered or unexported fields
}
func (*DisableRouteResponse) Descriptor
deprecated
func (*DisableRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableRouteResponse.ProtoReflect.Descriptor instead.
func (*DisableRouteResponse) ProtoMessage ¶
func (*DisableRouteResponse) ProtoMessage()
func (*DisableRouteResponse) ProtoReflect ¶
func (x *DisableRouteResponse) ProtoReflect() protoreflect.Message
func (*DisableRouteResponse) Reset ¶
func (x *DisableRouteResponse) Reset()
func (*DisableRouteResponse) String ¶
func (x *DisableRouteResponse) 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 EnableRouteRequest ¶
type EnableRouteRequest struct { RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` // contains filtered or unexported fields }
func (*EnableRouteRequest) Descriptor
deprecated
func (*EnableRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableRouteRequest.ProtoReflect.Descriptor instead.
func (*EnableRouteRequest) GetRouteId ¶
func (x *EnableRouteRequest) GetRouteId() uint64
func (*EnableRouteRequest) ProtoMessage ¶
func (*EnableRouteRequest) ProtoMessage()
func (*EnableRouteRequest) ProtoReflect ¶
func (x *EnableRouteRequest) ProtoReflect() protoreflect.Message
func (*EnableRouteRequest) Reset ¶
func (x *EnableRouteRequest) Reset()
func (*EnableRouteRequest) String ¶
func (x *EnableRouteRequest) String() string
type EnableRouteResponse ¶
type EnableRouteResponse struct {
// contains filtered or unexported fields
}
func (*EnableRouteResponse) Descriptor
deprecated
func (*EnableRouteResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableRouteResponse.ProtoReflect.Descriptor instead.
func (*EnableRouteResponse) ProtoMessage ¶
func (*EnableRouteResponse) ProtoMessage()
func (*EnableRouteResponse) ProtoReflect ¶
func (x *EnableRouteResponse) ProtoReflect() protoreflect.Message
func (*EnableRouteResponse) Reset ¶
func (x *EnableRouteResponse) Reset()
func (*EnableRouteResponse) String ¶
func (x *EnableRouteResponse) String() string
type ExpireApiKeyRequest ¶
type ExpireApiKeyRequest struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*ExpireApiKeyRequest) Descriptor
deprecated
func (*ExpireApiKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireApiKeyRequest.ProtoReflect.Descriptor instead.
func (*ExpireApiKeyRequest) GetPrefix ¶
func (x *ExpireApiKeyRequest) GetPrefix() string
func (*ExpireApiKeyRequest) ProtoMessage ¶
func (*ExpireApiKeyRequest) ProtoMessage()
func (*ExpireApiKeyRequest) ProtoReflect ¶
func (x *ExpireApiKeyRequest) ProtoReflect() protoreflect.Message
func (*ExpireApiKeyRequest) Reset ¶
func (x *ExpireApiKeyRequest) Reset()
func (*ExpireApiKeyRequest) String ¶
func (x *ExpireApiKeyRequest) String() string
type ExpireApiKeyResponse ¶
type ExpireApiKeyResponse struct {
// contains filtered or unexported fields
}
func (*ExpireApiKeyResponse) Descriptor
deprecated
func (*ExpireApiKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExpireApiKeyResponse.ProtoReflect.Descriptor instead.
func (*ExpireApiKeyResponse) ProtoMessage ¶
func (*ExpireApiKeyResponse) ProtoMessage()
func (*ExpireApiKeyResponse) ProtoReflect ¶
func (x *ExpireApiKeyResponse) ProtoReflect() protoreflect.Message
func (*ExpireApiKeyResponse) Reset ¶
func (x *ExpireApiKeyResponse) Reset()
func (*ExpireApiKeyResponse) String ¶
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 { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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) GetUser ¶
func (x *ExpirePreAuthKeyRequest) GetUser() 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 GetMachineRoutesRequest ¶
type GetMachineRoutesRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRoutesRequest) Descriptor
deprecated
func (*GetMachineRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRoutesRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRoutesRequest) GetMachineId ¶
func (x *GetMachineRoutesRequest) GetMachineId() uint64
func (*GetMachineRoutesRequest) ProtoMessage ¶
func (*GetMachineRoutesRequest) ProtoMessage()
func (*GetMachineRoutesRequest) ProtoReflect ¶
func (x *GetMachineRoutesRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRoutesRequest) Reset ¶
func (x *GetMachineRoutesRequest) Reset()
func (*GetMachineRoutesRequest) String ¶
func (x *GetMachineRoutesRequest) String() string
type GetMachineRoutesResponse ¶
type GetMachineRoutesResponse struct { Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRoutesResponse) Descriptor
deprecated
func (*GetMachineRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRoutesResponse.ProtoReflect.Descriptor instead.
func (*GetMachineRoutesResponse) GetRoutes ¶
func (x *GetMachineRoutesResponse) GetRoutes() []*Route
func (*GetMachineRoutesResponse) ProtoMessage ¶
func (*GetMachineRoutesResponse) ProtoMessage()
func (*GetMachineRoutesResponse) ProtoReflect ¶
func (x *GetMachineRoutesResponse) ProtoReflect() protoreflect.Message
func (*GetMachineRoutesResponse) Reset ¶
func (x *GetMachineRoutesResponse) Reset()
func (*GetMachineRoutesResponse) String ¶
func (x *GetMachineRoutesResponse) String() string
type GetRoutesRequest ¶
type GetRoutesRequest struct {
// contains filtered or unexported fields
}
func (*GetRoutesRequest) Descriptor
deprecated
func (*GetRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoutesRequest.ProtoReflect.Descriptor instead.
func (*GetRoutesRequest) ProtoMessage ¶
func (*GetRoutesRequest) ProtoMessage()
func (*GetRoutesRequest) ProtoReflect ¶
func (x *GetRoutesRequest) ProtoReflect() protoreflect.Message
func (*GetRoutesRequest) Reset ¶
func (x *GetRoutesRequest) Reset()
func (*GetRoutesRequest) String ¶
func (x *GetRoutesRequest) String() string
type GetRoutesResponse ¶
type GetRoutesResponse struct { Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*GetRoutesResponse) Descriptor
deprecated
func (*GetRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoutesResponse.ProtoReflect.Descriptor instead.
func (*GetRoutesResponse) GetRoutes ¶
func (x *GetRoutesResponse) GetRoutes() []*Route
func (*GetRoutesResponse) ProtoMessage ¶
func (*GetRoutesResponse) ProtoMessage()
func (*GetRoutesResponse) ProtoReflect ¶
func (x *GetRoutesResponse) ProtoReflect() protoreflect.Message
func (*GetRoutesResponse) Reset ¶
func (x *GetRoutesResponse) Reset()
func (*GetRoutesResponse) String ¶
func (x *GetRoutesResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetName ¶
func (x *GetUserRequest) GetName() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type HeadscaleServiceClient ¶
type HeadscaleServiceClient interface { // --- User start --- GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) RenameUser(ctx context.Context, in *RenameUserRequest, opts ...grpc.CallOption) (*RenameUserResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, 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) SetTags(ctx context.Context, in *SetTagsRequest, opts ...grpc.CallOption) (*SetTagsResponse, 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) RenameMachine(ctx context.Context, in *RenameMachineRequest, opts ...grpc.CallOption) (*RenameMachineResponse, error) ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error) MoveMachine(ctx context.Context, in *MoveMachineRequest, opts ...grpc.CallOption) (*MoveMachineResponse, error) // --- Route start --- GetRoutes(ctx context.Context, in *GetRoutesRequest, opts ...grpc.CallOption) (*GetRoutesResponse, error) EnableRoute(ctx context.Context, in *EnableRouteRequest, opts ...grpc.CallOption) (*EnableRouteResponse, error) DisableRoute(ctx context.Context, in *DisableRouteRequest, opts ...grpc.CallOption) (*DisableRouteResponse, error) GetMachineRoutes(ctx context.Context, in *GetMachineRoutesRequest, opts ...grpc.CallOption) (*GetMachineRoutesResponse, error) DeleteRoute(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*DeleteRouteResponse, 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) CreateACLPolicy(ctx context.Context, in *CreateACLPolicyRequest, opts ...grpc.CallOption) (*CreateACLPolicyResponse, 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 { // --- User start --- GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) RenameUser(context.Context, *RenameUserRequest) (*RenameUserResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, 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) SetTags(context.Context, *SetTagsRequest) (*SetTagsResponse, error) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error) ExpireMachine(context.Context, *ExpireMachineRequest) (*ExpireMachineResponse, error) RenameMachine(context.Context, *RenameMachineRequest) (*RenameMachineResponse, error) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error) MoveMachine(context.Context, *MoveMachineRequest) (*MoveMachineResponse, error) // --- Route start --- GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error) EnableRoute(context.Context, *EnableRouteRequest) (*EnableRouteResponse, error) DisableRoute(context.Context, *DisableRouteRequest) (*DisableRouteResponse, error) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error) DeleteRoute(context.Context, *DeleteRouteRequest) (*DeleteRouteResponse, error) // --- ApiKeys start --- CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error) ExpireApiKey(context.Context, *ExpireApiKeyRequest) (*ExpireApiKeyResponse, error) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error) CreateACLPolicy(context.Context, *CreateACLPolicyRequest) (*CreateACLPolicyResponse, 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 ¶
type ListApiKeysRequest struct {
// contains filtered or unexported fields
}
func (*ListApiKeysRequest) Descriptor
deprecated
func (*ListApiKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListApiKeysRequest.ProtoReflect.Descriptor instead.
func (*ListApiKeysRequest) ProtoMessage ¶
func (*ListApiKeysRequest) ProtoMessage()
func (*ListApiKeysRequest) ProtoReflect ¶
func (x *ListApiKeysRequest) ProtoReflect() protoreflect.Message
func (*ListApiKeysRequest) Reset ¶
func (x *ListApiKeysRequest) Reset()
func (*ListApiKeysRequest) String ¶
func (x *ListApiKeysRequest) String() string
type ListApiKeysResponse ¶
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
func (*ListApiKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListApiKeysResponse.ProtoReflect.Descriptor instead.
func (*ListApiKeysResponse) GetApiKeys ¶
func (x *ListApiKeysResponse) GetApiKeys() []*ApiKey
func (*ListApiKeysResponse) ProtoMessage ¶
func (*ListApiKeysResponse) ProtoMessage()
func (*ListApiKeysResponse) ProtoReflect ¶
func (x *ListApiKeysResponse) ProtoReflect() protoreflect.Message
func (*ListApiKeysResponse) Reset ¶
func (x *ListApiKeysResponse) Reset()
func (*ListApiKeysResponse) String ¶
func (x *ListApiKeysResponse) String() string
type ListMachinesRequest ¶
type ListMachinesRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesRequest) Descriptor
deprecated
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) GetUser ¶
func (x *ListMachinesRequest) GetUser() 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 ListPreAuthKeysRequest ¶
type ListPreAuthKeysRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListPreAuthKeysRequest) Descriptor
deprecated
func (*ListPreAuthKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPreAuthKeysRequest.ProtoReflect.Descriptor instead.
func (*ListPreAuthKeysRequest) GetUser ¶
func (x *ListPreAuthKeysRequest) GetUser() 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 ListUsersRequest ¶
type ListUsersRequest struct {
// contains filtered or unexported fields
}
func (*ListUsersRequest) Descriptor
deprecated
func (*ListUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
func (*ListUsersRequest) ProtoMessage ¶
func (*ListUsersRequest) ProtoMessage()
func (*ListUsersRequest) ProtoReflect ¶
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
func (*ListUsersRequest) Reset ¶
func (x *ListUsersRequest) Reset()
func (*ListUsersRequest) String ¶
func (x *ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListUsersResponse) Descriptor
deprecated
func (*ListUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
func (*ListUsersResponse) GetUsers ¶
func (x *ListUsersResponse) GetUsers() []*User
func (*ListUsersResponse) ProtoMessage ¶
func (*ListUsersResponse) ProtoMessage()
func (*ListUsersResponse) ProtoReflect ¶
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
func (*ListUsersResponse) Reset ¶
func (x *ListUsersResponse) Reset()
func (*ListUsersResponse) String ¶
func (x *ListUsersResponse) 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"` User *User `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"` LastSeen *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` LastSuccessfulUpdate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_successful_update,json=lastSuccessfulUpdate,proto3" json:"last_successful_update,omitempty"` Expiry *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expiry,proto3" json:"expiry,omitempty"` PreAuthKey *PreAuthKey `protobuf:"bytes,11,opt,name=pre_auth_key,json=preAuthKey,proto3" json:"pre_auth_key,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` RegisterMethod RegisterMethod `` /* 138-byte string literal not displayed */ ForcedTags []string `protobuf:"bytes,18,rep,name=forced_tags,json=forcedTags,proto3" json:"forced_tags,omitempty"` InvalidTags []string `protobuf:"bytes,19,rep,name=invalid_tags,json=invalidTags,proto3" json:"invalid_tags,omitempty"` ValidTags []string `protobuf:"bytes,20,rep,name=valid_tags,json=validTags,proto3" json:"valid_tags,omitempty"` GivenName string `protobuf:"bytes,21,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` Online bool `protobuf:"varint,22,opt,name=online,proto3" json:"online,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) GetForcedTags ¶
func (*Machine) GetGivenName ¶
func (*Machine) GetInvalidTags ¶
func (*Machine) GetIpAddresses ¶
func (*Machine) GetLastSeen ¶
func (x *Machine) GetLastSeen() *timestamppb.Timestamp
func (*Machine) GetLastSuccessfulUpdate ¶
func (x *Machine) GetLastSuccessfulUpdate() *timestamppb.Timestamp
func (*Machine) GetMachineKey ¶
func (*Machine) GetNodeKey ¶
func (*Machine) GetPreAuthKey ¶
func (x *Machine) GetPreAuthKey() *PreAuthKey
func (*Machine) GetRegisterMethod ¶
func (x *Machine) GetRegisterMethod() RegisterMethod
func (*Machine) GetValidTags ¶
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type MoveMachineRequest ¶
type MoveMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*MoveMachineRequest) Descriptor
deprecated
func (*MoveMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveMachineRequest.ProtoReflect.Descriptor instead.
func (*MoveMachineRequest) GetMachineId ¶
func (x *MoveMachineRequest) GetMachineId() uint64
func (*MoveMachineRequest) GetUser ¶
func (x *MoveMachineRequest) GetUser() string
func (*MoveMachineRequest) ProtoMessage ¶
func (*MoveMachineRequest) ProtoMessage()
func (*MoveMachineRequest) ProtoReflect ¶
func (x *MoveMachineRequest) ProtoReflect() protoreflect.Message
func (*MoveMachineRequest) Reset ¶
func (x *MoveMachineRequest) Reset()
func (*MoveMachineRequest) String ¶
func (x *MoveMachineRequest) String() string
type MoveMachineResponse ¶
type MoveMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*MoveMachineResponse) Descriptor
deprecated
func (*MoveMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use MoveMachineResponse.ProtoReflect.Descriptor instead.
func (*MoveMachineResponse) GetMachine ¶
func (x *MoveMachineResponse) GetMachine() *Machine
func (*MoveMachineResponse) ProtoMessage ¶
func (*MoveMachineResponse) ProtoMessage()
func (*MoveMachineResponse) ProtoReflect ¶
func (x *MoveMachineResponse) ProtoReflect() protoreflect.Message
func (*MoveMachineResponse) Reset ¶
func (x *MoveMachineResponse) Reset()
func (*MoveMachineResponse) String ¶
func (x *MoveMachineResponse) String() string
type PreAuthKey ¶
type PreAuthKey struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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"` AclTags []string `protobuf:"bytes,9,rep,name=acl_tags,json=aclTags,proto3" json:"acl_tags,omitempty"` // contains filtered or unexported fields }
func (*PreAuthKey) Descriptor
deprecated
func (*PreAuthKey) Descriptor() ([]byte, []int)
Deprecated: Use PreAuthKey.ProtoReflect.Descriptor instead.
func (*PreAuthKey) GetAclTags ¶
func (x *PreAuthKey) GetAclTags() []string
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) GetReusable ¶
func (x *PreAuthKey) GetReusable() bool
func (*PreAuthKey) GetUsed ¶
func (x *PreAuthKey) GetUsed() bool
func (*PreAuthKey) GetUser ¶
func (x *PreAuthKey) GetUser() string
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 Protocol ¶ added in v0.0.9
type Protocol struct {
// contains filtered or unexported fields
}
func (*Protocol) Descriptor
deprecated
added in
v0.0.9
func (*Protocol) ProtoMessage ¶ added in v0.0.9
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶ added in v0.0.9
func (x *Protocol) ProtoReflect() protoreflect.Message
type Protocol_Enum ¶ added in v0.0.9
type Protocol_Enum int32
const ( // defaults to ICMPv4, ICMPv6, TCP, and UDP Protocol_ANY Protocol_Enum = 0 Protocol_TCP Protocol_Enum = 1 Protocol_UDP Protocol_Enum = 2 Protocol_ICMP Protocol_Enum = 3 Protocol_SCTP Protocol_Enum = 4 Protocol_IGMP Protocol_Enum = 5 Protocol_IPV4 Protocol_Enum = 6 Protocol_EGP Protocol_Enum = 7 Protocol_IGP Protocol_Enum = 8 Protocol_GRE Protocol_Enum = 9 Protocol_AH Protocol_Enum = 10 )
func (Protocol_Enum) Descriptor ¶ added in v0.0.9
func (Protocol_Enum) Descriptor() protoreflect.EnumDescriptor
func (Protocol_Enum) Enum ¶ added in v0.0.9
func (x Protocol_Enum) Enum() *Protocol_Enum
func (Protocol_Enum) EnumDescriptor
deprecated
added in
v0.0.9
func (Protocol_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Protocol_Enum.Descriptor instead.
func (Protocol_Enum) Number ¶ added in v0.0.9
func (x Protocol_Enum) Number() protoreflect.EnumNumber
func (Protocol_Enum) String ¶ added in v0.0.9
func (x Protocol_Enum) String() string
func (Protocol_Enum) Type ¶ added in v0.0.9
func (Protocol_Enum) Type() protoreflect.EnumType
type RegisterMachineRequest ¶
type RegisterMachineRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,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) GetUser ¶
func (x *RegisterMachineRequest) GetUser() 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 RenameMachineRequest ¶
type RenameMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // contains filtered or unexported fields }
func (*RenameMachineRequest) Descriptor
deprecated
func (*RenameMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameMachineRequest.ProtoReflect.Descriptor instead.
func (*RenameMachineRequest) GetMachineId ¶
func (x *RenameMachineRequest) GetMachineId() uint64
func (*RenameMachineRequest) GetNewName ¶
func (x *RenameMachineRequest) GetNewName() string
func (*RenameMachineRequest) ProtoMessage ¶
func (*RenameMachineRequest) ProtoMessage()
func (*RenameMachineRequest) ProtoReflect ¶
func (x *RenameMachineRequest) ProtoReflect() protoreflect.Message
func (*RenameMachineRequest) Reset ¶
func (x *RenameMachineRequest) Reset()
func (*RenameMachineRequest) String ¶
func (x *RenameMachineRequest) String() string
type RenameMachineResponse ¶
type RenameMachineResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*RenameMachineResponse) Descriptor
deprecated
func (*RenameMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameMachineResponse.ProtoReflect.Descriptor instead.
func (*RenameMachineResponse) GetMachine ¶
func (x *RenameMachineResponse) GetMachine() *Machine
func (*RenameMachineResponse) ProtoMessage ¶
func (*RenameMachineResponse) ProtoMessage()
func (*RenameMachineResponse) ProtoReflect ¶
func (x *RenameMachineResponse) ProtoReflect() protoreflect.Message
func (*RenameMachineResponse) Reset ¶
func (x *RenameMachineResponse) Reset()
func (*RenameMachineResponse) String ¶
func (x *RenameMachineResponse) String() string
type RenameUserRequest ¶
type RenameUserRequest 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 (*RenameUserRequest) Descriptor
deprecated
func (*RenameUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameUserRequest.ProtoReflect.Descriptor instead.
func (*RenameUserRequest) GetNewName ¶
func (x *RenameUserRequest) GetNewName() string
func (*RenameUserRequest) GetOldName ¶
func (x *RenameUserRequest) GetOldName() string
func (*RenameUserRequest) ProtoMessage ¶
func (*RenameUserRequest) ProtoMessage()
func (*RenameUserRequest) ProtoReflect ¶
func (x *RenameUserRequest) ProtoReflect() protoreflect.Message
func (*RenameUserRequest) Reset ¶
func (x *RenameUserRequest) Reset()
func (*RenameUserRequest) String ¶
func (x *RenameUserRequest) String() string
type RenameUserResponse ¶
type RenameUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*RenameUserResponse) Descriptor
deprecated
func (*RenameUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameUserResponse.ProtoReflect.Descriptor instead.
func (*RenameUserResponse) GetUser ¶
func (x *RenameUserResponse) GetUser() *User
func (*RenameUserResponse) ProtoMessage ¶
func (*RenameUserResponse) ProtoMessage()
func (*RenameUserResponse) ProtoReflect ¶
func (x *RenameUserResponse) ProtoReflect() protoreflect.Message
func (*RenameUserResponse) Reset ¶
func (x *RenameUserResponse) Reset()
func (*RenameUserResponse) String ¶
func (x *RenameUserResponse) String() string
type Route ¶
type Route struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Machine *Machine `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` Advertised bool `protobuf:"varint,4,opt,name=advertised,proto3" json:"advertised,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` IsPrimary bool `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetAdvertised ¶
func (*Route) GetCreatedAt ¶
func (x *Route) GetCreatedAt() *timestamppb.Timestamp
func (*Route) GetDeletedAt ¶
func (x *Route) GetDeletedAt() *timestamppb.Timestamp
func (*Route) GetEnabled ¶
func (*Route) GetIsPrimary ¶
func (*Route) GetMachine ¶
func (*Route) GetUpdatedAt ¶
func (x *Route) GetUpdatedAt() *timestamppb.Timestamp
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type SetTagsRequest ¶
type SetTagsRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*SetTagsRequest) Descriptor
deprecated
func (*SetTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTagsRequest.ProtoReflect.Descriptor instead.
func (*SetTagsRequest) GetMachineId ¶
func (x *SetTagsRequest) GetMachineId() uint64
func (*SetTagsRequest) GetTags ¶
func (x *SetTagsRequest) GetTags() []string
func (*SetTagsRequest) ProtoMessage ¶
func (*SetTagsRequest) ProtoMessage()
func (*SetTagsRequest) ProtoReflect ¶
func (x *SetTagsRequest) ProtoReflect() protoreflect.Message
func (*SetTagsRequest) Reset ¶
func (x *SetTagsRequest) Reset()
func (*SetTagsRequest) String ¶
func (x *SetTagsRequest) String() string
type SetTagsResponse ¶
type SetTagsResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*SetTagsResponse) Descriptor
deprecated
func (*SetTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTagsResponse.ProtoReflect.Descriptor instead.
func (*SetTagsResponse) GetMachine ¶
func (x *SetTagsResponse) GetMachine() *Machine
func (*SetTagsResponse) ProtoMessage ¶
func (*SetTagsResponse) ProtoMessage()
func (*SetTagsResponse) ProtoReflect ¶
func (x *SetTagsResponse) ProtoReflect() protoreflect.Message
func (*SetTagsResponse) Reset ¶
func (x *SetTagsResponse) Reset()
func (*SetTagsResponse) String ¶
func (x *SetTagsResponse) String() string
type UnimplementedHeadscaleServiceServer ¶
type UnimplementedHeadscaleServiceServer struct { }
UnimplementedHeadscaleServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHeadscaleServiceServer) CreateACLPolicy ¶ added in v0.0.9
func (UnimplementedHeadscaleServiceServer) CreateACLPolicy(context.Context, *CreateACLPolicyRequest) (*CreateACLPolicyResponse, error)
func (UnimplementedHeadscaleServiceServer) CreateApiKey ¶
func (UnimplementedHeadscaleServiceServer) CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey ¶
func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error)
func (UnimplementedHeadscaleServiceServer) CreateUser ¶
func (UnimplementedHeadscaleServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, 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) DeleteRoute ¶
func (UnimplementedHeadscaleServiceServer) DeleteRoute(context.Context, *DeleteRouteRequest) (*DeleteRouteResponse, error)
func (UnimplementedHeadscaleServiceServer) DeleteUser ¶
func (UnimplementedHeadscaleServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedHeadscaleServiceServer) DisableRoute ¶
func (UnimplementedHeadscaleServiceServer) DisableRoute(context.Context, *DisableRouteRequest) (*DisableRouteResponse, error)
func (UnimplementedHeadscaleServiceServer) EnableRoute ¶
func (UnimplementedHeadscaleServiceServer) EnableRoute(context.Context, *EnableRouteRequest) (*EnableRouteResponse, error)
func (UnimplementedHeadscaleServiceServer) ExpireApiKey ¶
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) GetMachineRoutes ¶
func (UnimplementedHeadscaleServiceServer) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
func (UnimplementedHeadscaleServiceServer) GetRoutes ¶
func (UnimplementedHeadscaleServiceServer) GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error)
func (UnimplementedHeadscaleServiceServer) GetUser ¶
func (UnimplementedHeadscaleServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedHeadscaleServiceServer) ListApiKeys ¶
func (UnimplementedHeadscaleServiceServer) ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
func (UnimplementedHeadscaleServiceServer) ListMachines ¶
func (UnimplementedHeadscaleServiceServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys ¶
func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error)
func (UnimplementedHeadscaleServiceServer) ListUsers ¶
func (UnimplementedHeadscaleServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedHeadscaleServiceServer) MoveMachine ¶
func (UnimplementedHeadscaleServiceServer) MoveMachine(context.Context, *MoveMachineRequest) (*MoveMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) RegisterMachine ¶
func (UnimplementedHeadscaleServiceServer) RegisterMachine(context.Context, *RegisterMachineRequest) (*RegisterMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) RenameMachine ¶
func (UnimplementedHeadscaleServiceServer) RenameMachine(context.Context, *RenameMachineRequest) (*RenameMachineResponse, error)
func (UnimplementedHeadscaleServiceServer) RenameUser ¶
func (UnimplementedHeadscaleServiceServer) RenameUser(context.Context, *RenameUserRequest) (*RenameUserResponse, error)
func (UnimplementedHeadscaleServiceServer) SetTags ¶
func (UnimplementedHeadscaleServiceServer) SetTags(context.Context, *SetTagsRequest) (*SetTagsResponse, 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 User ¶
type User 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 (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message