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