v1

package
v0.23.0-beta3.patch5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	HeadscaleService_GetUser_FullMethodName          = "/headscale.v1.HeadscaleService/GetUser"
	HeadscaleService_CreateUser_FullMethodName       = "/headscale.v1.HeadscaleService/CreateUser"
	HeadscaleService_RenameUser_FullMethodName       = "/headscale.v1.HeadscaleService/RenameUser"
	HeadscaleService_DeleteUser_FullMethodName       = "/headscale.v1.HeadscaleService/DeleteUser"
	HeadscaleService_ListUsers_FullMethodName        = "/headscale.v1.HeadscaleService/ListUsers"
	HeadscaleService_CreatePreAuthKey_FullMethodName = "/headscale.v1.HeadscaleService/CreatePreAuthKey"
	HeadscaleService_ExpirePreAuthKey_FullMethodName = "/headscale.v1.HeadscaleService/ExpirePreAuthKey"
	HeadscaleService_ListPreAuthKeys_FullMethodName  = "/headscale.v1.HeadscaleService/ListPreAuthKeys"
	HeadscaleService_DebugCreateNode_FullMethodName  = "/headscale.v1.HeadscaleService/DebugCreateNode"
	HeadscaleService_GetNode_FullMethodName          = "/headscale.v1.HeadscaleService/GetNode"
	HeadscaleService_SetTags_FullMethodName          = "/headscale.v1.HeadscaleService/SetTags"
	HeadscaleService_RegisterNode_FullMethodName     = "/headscale.v1.HeadscaleService/RegisterNode"
	HeadscaleService_DeleteNode_FullMethodName       = "/headscale.v1.HeadscaleService/DeleteNode"
	HeadscaleService_ExpireNode_FullMethodName       = "/headscale.v1.HeadscaleService/ExpireNode"
	HeadscaleService_RenameNode_FullMethodName       = "/headscale.v1.HeadscaleService/RenameNode"
	HeadscaleService_ListNodes_FullMethodName        = "/headscale.v1.HeadscaleService/ListNodes"
	HeadscaleService_MoveNode_FullMethodName         = "/headscale.v1.HeadscaleService/MoveNode"
	HeadscaleService_BackfillNodeIPs_FullMethodName  = "/headscale.v1.HeadscaleService/BackfillNodeIPs"
	HeadscaleService_GetRoutes_FullMethodName        = "/headscale.v1.HeadscaleService/GetRoutes"
	HeadscaleService_EnableRoute_FullMethodName      = "/headscale.v1.HeadscaleService/EnableRoute"
	HeadscaleService_DisableRoute_FullMethodName     = "/headscale.v1.HeadscaleService/DisableRoute"
	HeadscaleService_GetNodeRoutes_FullMethodName    = "/headscale.v1.HeadscaleService/GetNodeRoutes"
	HeadscaleService_DeleteRoute_FullMethodName      = "/headscale.v1.HeadscaleService/DeleteRoute"
	HeadscaleService_CreateApiKey_FullMethodName     = "/headscale.v1.HeadscaleService/CreateApiKey"
	HeadscaleService_ExpireApiKey_FullMethodName     = "/headscale.v1.HeadscaleService/ExpireApiKey"
	HeadscaleService_ListApiKeys_FullMethodName      = "/headscale.v1.HeadscaleService/ListApiKeys"
	HeadscaleService_DeleteApiKey_FullMethodName     = "/headscale.v1.HeadscaleService/DeleteApiKey"
	HeadscaleService_GetPolicy_FullMethodName        = "/headscale.v1.HeadscaleService/GetPolicy"
	HeadscaleService_SetPolicy_FullMethodName        = "/headscale.v1.HeadscaleService/SetPolicy"
)

Variables

View Source
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.

View Source
var File_headscale_v1_apikey_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_device_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_headscale_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_node_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_preauthkey_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_routes_proto protoreflect.FileDescriptor
View Source
var File_headscale_v1_user_proto protoreflect.FileDescriptor
View Source
var HeadscaleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "headscale.v1.HeadscaleService",
	HandlerType: (*HeadscaleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUser",
			Handler:    _HeadscaleService_GetUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _HeadscaleService_CreateUser_Handler,
		},
		{
			MethodName: "RenameUser",
			Handler:    _HeadscaleService_RenameUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _HeadscaleService_DeleteUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _HeadscaleService_ListUsers_Handler,
		},
		{
			MethodName: "CreatePreAuthKey",
			Handler:    _HeadscaleService_CreatePreAuthKey_Handler,
		},
		{
			MethodName: "ExpirePreAuthKey",
			Handler:    _HeadscaleService_ExpirePreAuthKey_Handler,
		},
		{
			MethodName: "ListPreAuthKeys",
			Handler:    _HeadscaleService_ListPreAuthKeys_Handler,
		},
		{
			MethodName: "DebugCreateNode",
			Handler:    _HeadscaleService_DebugCreateNode_Handler,
		},
		{
			MethodName: "GetNode",
			Handler:    _HeadscaleService_GetNode_Handler,
		},
		{
			MethodName: "SetTags",
			Handler:    _HeadscaleService_SetTags_Handler,
		},
		{
			MethodName: "RegisterNode",
			Handler:    _HeadscaleService_RegisterNode_Handler,
		},
		{
			MethodName: "DeleteNode",
			Handler:    _HeadscaleService_DeleteNode_Handler,
		},
		{
			MethodName: "ExpireNode",
			Handler:    _HeadscaleService_ExpireNode_Handler,
		},
		{
			MethodName: "RenameNode",
			Handler:    _HeadscaleService_RenameNode_Handler,
		},
		{
			MethodName: "ListNodes",
			Handler:    _HeadscaleService_ListNodes_Handler,
		},
		{
			MethodName: "MoveNode",
			Handler:    _HeadscaleService_MoveNode_Handler,
		},
		{
			MethodName: "BackfillNodeIPs",
			Handler:    _HeadscaleService_BackfillNodeIPs_Handler,
		},
		{
			MethodName: "GetRoutes",
			Handler:    _HeadscaleService_GetRoutes_Handler,
		},
		{
			MethodName: "EnableRoute",
			Handler:    _HeadscaleService_EnableRoute_Handler,
		},
		{
			MethodName: "DisableRoute",
			Handler:    _HeadscaleService_DisableRoute_Handler,
		},
		{
			MethodName: "GetNodeRoutes",
			Handler:    _HeadscaleService_GetNodeRoutes_Handler,
		},
		{
			MethodName: "DeleteRoute",
			Handler:    _HeadscaleService_DeleteRoute_Handler,
		},
		{
			MethodName: "CreateApiKey",
			Handler:    _HeadscaleService_CreateApiKey_Handler,
		},
		{
			MethodName: "ExpireApiKey",
			Handler:    _HeadscaleService_ExpireApiKey_Handler,
		},
		{
			MethodName: "ListApiKeys",
			Handler:    _HeadscaleService_ListApiKeys_Handler,
		},
		{
			MethodName: "DeleteApiKey",
			Handler:    _HeadscaleService_DeleteApiKey_Handler,
		},
		{
			MethodName: "GetPolicy",
			Handler:    _HeadscaleService_GetPolicy_Handler,
		},
		{
			MethodName: "SetPolicy",
			Handler:    _HeadscaleService_SetPolicy_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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterHeadscaleServiceServer

func RegisterHeadscaleServiceServer(s grpc.ServiceRegistrar, srv HeadscaleServiceServer)

Types

type ApiKey

type ApiKey struct {
	Id         uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Prefix     string                 `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	LastSeen   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKey) Descriptor deprecated

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

Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.

func (*ApiKey) GetCreatedAt

func (x *ApiKey) GetCreatedAt() *timestamppb.Timestamp

func (*ApiKey) GetExpiration

func (x *ApiKey) GetExpiration() *timestamppb.Timestamp

func (*ApiKey) GetId

func (x *ApiKey) GetId() uint64

func (*ApiKey) GetLastSeen

func (x *ApiKey) GetLastSeen() *timestamppb.Timestamp

func (*ApiKey) GetPrefix

func (x *ApiKey) GetPrefix() string

func (*ApiKey) ProtoMessage

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect

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

func (*ApiKey) Reset

func (x *ApiKey) Reset()

func (*ApiKey) String

func (x *ApiKey) String() string

type BackfillNodeIPsRequest

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

func (*BackfillNodeIPsRequest) Descriptor deprecated

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

Deprecated: Use BackfillNodeIPsRequest.ProtoReflect.Descriptor instead.

func (*BackfillNodeIPsRequest) GetConfirmed

func (x *BackfillNodeIPsRequest) GetConfirmed() bool

func (*BackfillNodeIPsRequest) ProtoMessage

func (*BackfillNodeIPsRequest) ProtoMessage()

func (*BackfillNodeIPsRequest) ProtoReflect

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

func (*BackfillNodeIPsRequest) Reset

func (x *BackfillNodeIPsRequest) Reset()

func (*BackfillNodeIPsRequest) String

func (x *BackfillNodeIPsRequest) String() string

type BackfillNodeIPsResponse

type BackfillNodeIPsResponse struct {
	Changes []string `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*BackfillNodeIPsResponse) Descriptor deprecated

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

Deprecated: Use BackfillNodeIPsResponse.ProtoReflect.Descriptor instead.

func (*BackfillNodeIPsResponse) GetChanges

func (x *BackfillNodeIPsResponse) GetChanges() []string

func (*BackfillNodeIPsResponse) ProtoMessage

func (*BackfillNodeIPsResponse) ProtoMessage()

func (*BackfillNodeIPsResponse) ProtoReflect

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

func (*BackfillNodeIPsResponse) Reset

func (x *BackfillNodeIPsResponse) Reset()

func (*BackfillNodeIPsResponse) String

func (x *BackfillNodeIPsResponse) String() string

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

type CreateApiKeyRequest struct {
	Expiration *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateApiKeyRequest) GetExpiration

func (x *CreateApiKeyRequest) GetExpiration() *timestamppb.Timestamp

func (*CreateApiKeyRequest) ProtoMessage

func (*CreateApiKeyRequest) ProtoMessage()

func (*CreateApiKeyRequest) ProtoReflect

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

func (*CreateApiKeyRequest) Reset

func (x *CreateApiKeyRequest) Reset()

func (*CreateApiKeyRequest) String

func (x *CreateApiKeyRequest) String() string

type CreateApiKeyResponse

type CreateApiKeyResponse struct {
	ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateApiKeyResponse) GetApiKey

func (x *CreateApiKeyResponse) GetApiKey() string

func (*CreateApiKeyResponse) ProtoMessage

func (*CreateApiKeyResponse) ProtoMessage()

func (*CreateApiKeyResponse) ProtoReflect

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

func (*CreateApiKeyResponse) Reset

func (x *CreateApiKeyResponse) Reset()

func (*CreateApiKeyResponse) String

func (x *CreateApiKeyResponse) String() string

type CreatePreAuthKeyRequest

type CreatePreAuthKeyRequest struct {
	User       string                 `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Reusable   bool                   `protobuf:"varint,2,opt,name=reusable,proto3" json:"reusable,omitempty"`
	Ephemeral  bool                   `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	Expiration *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"`
	AclTags    []string               `protobuf:"bytes,5,rep,name=acl_tags,json=aclTags,proto3" json:"acl_tags,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePreAuthKeyRequest) Descriptor deprecated

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

Deprecated: Use CreatePreAuthKeyRequest.ProtoReflect.Descriptor instead.

func (*CreatePreAuthKeyRequest) GetAclTags

func (x *CreatePreAuthKeyRequest) GetAclTags() []string

func (*CreatePreAuthKeyRequest) GetEphemeral

func (x *CreatePreAuthKeyRequest) GetEphemeral() bool

func (*CreatePreAuthKeyRequest) GetExpiration

func (x *CreatePreAuthKeyRequest) GetExpiration() *timestamppb.Timestamp

func (*CreatePreAuthKeyRequest) GetReusable

func (x *CreatePreAuthKeyRequest) GetReusable() bool

func (*CreatePreAuthKeyRequest) GetUser

func (x *CreatePreAuthKeyRequest) GetUser() string

func (*CreatePreAuthKeyRequest) ProtoMessage

func (*CreatePreAuthKeyRequest) ProtoMessage()

func (*CreatePreAuthKeyRequest) ProtoReflect

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

func (*CreatePreAuthKeyRequest) Reset

func (x *CreatePreAuthKeyRequest) Reset()

func (*CreatePreAuthKeyRequest) String

func (x *CreatePreAuthKeyRequest) String() string

type CreatePreAuthKeyResponse

type CreatePreAuthKeyResponse struct {
	PreAuthKey *PreAuthKey `protobuf:"bytes,1,opt,name=pre_auth_key,json=preAuthKey,proto3" json:"pre_auth_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePreAuthKeyResponse) Descriptor deprecated

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

Deprecated: Use CreatePreAuthKeyResponse.ProtoReflect.Descriptor instead.

func (*CreatePreAuthKeyResponse) GetPreAuthKey

func (x *CreatePreAuthKeyResponse) GetPreAuthKey() *PreAuthKey

func (*CreatePreAuthKeyResponse) ProtoMessage

func (*CreatePreAuthKeyResponse) ProtoMessage()

func (*CreatePreAuthKeyResponse) ProtoReflect

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

func (*CreatePreAuthKeyResponse) Reset

func (x *CreatePreAuthKeyResponse) Reset()

func (*CreatePreAuthKeyResponse) String

func (x *CreatePreAuthKeyResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetName

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DebugCreateNodeRequest

type DebugCreateNodeRequest struct {
	User   string   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Key    string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Name   string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Routes []string `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugCreateNodeRequest) Descriptor deprecated

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

Deprecated: Use DebugCreateNodeRequest.ProtoReflect.Descriptor instead.

func (*DebugCreateNodeRequest) GetKey

func (x *DebugCreateNodeRequest) GetKey() string

func (*DebugCreateNodeRequest) GetName

func (x *DebugCreateNodeRequest) GetName() string

func (*DebugCreateNodeRequest) GetRoutes

func (x *DebugCreateNodeRequest) GetRoutes() []string

func (*DebugCreateNodeRequest) GetUser

func (x *DebugCreateNodeRequest) GetUser() string

func (*DebugCreateNodeRequest) ProtoMessage

func (*DebugCreateNodeRequest) ProtoMessage()

func (*DebugCreateNodeRequest) ProtoReflect

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

func (*DebugCreateNodeRequest) Reset

func (x *DebugCreateNodeRequest) Reset()

func (*DebugCreateNodeRequest) String

func (x *DebugCreateNodeRequest) String() string

type DebugCreateNodeResponse

type DebugCreateNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugCreateNodeResponse) Descriptor deprecated

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

Deprecated: Use DebugCreateNodeResponse.ProtoReflect.Descriptor instead.

func (*DebugCreateNodeResponse) GetNode

func (x *DebugCreateNodeResponse) GetNode() *Node

func (*DebugCreateNodeResponse) ProtoMessage

func (*DebugCreateNodeResponse) ProtoMessage()

func (*DebugCreateNodeResponse) ProtoReflect

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

func (*DebugCreateNodeResponse) Reset

func (x *DebugCreateNodeResponse) Reset()

func (*DebugCreateNodeResponse) String

func (x *DebugCreateNodeResponse) String() string

type DeleteApiKeyRequest

type DeleteApiKeyRequest struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteApiKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteApiKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyRequest) GetPrefix

func (x *DeleteApiKeyRequest) GetPrefix() string

func (*DeleteApiKeyRequest) ProtoMessage

func (*DeleteApiKeyRequest) ProtoMessage()

func (*DeleteApiKeyRequest) ProtoReflect

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

func (*DeleteApiKeyRequest) Reset

func (x *DeleteApiKeyRequest) Reset()

func (*DeleteApiKeyRequest) String

func (x *DeleteApiKeyRequest) String() string

type DeleteApiKeyResponse

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

func (*DeleteApiKeyResponse) Descriptor deprecated

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

Deprecated: Use DeleteApiKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyResponse) ProtoMessage

func (*DeleteApiKeyResponse) ProtoMessage()

func (*DeleteApiKeyResponse) ProtoReflect

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

func (*DeleteApiKeyResponse) Reset

func (x *DeleteApiKeyResponse) Reset()

func (*DeleteApiKeyResponse) String

func (x *DeleteApiKeyResponse) 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 DeleteNodeRequest

type DeleteNodeRequest struct {
	NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNodeRequest) Descriptor deprecated

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

Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeRequest) GetNodeId

func (x *DeleteNodeRequest) GetNodeId() uint64

func (*DeleteNodeRequest) ProtoMessage

func (*DeleteNodeRequest) ProtoMessage()

func (*DeleteNodeRequest) ProtoReflect

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

func (*DeleteNodeRequest) Reset

func (x *DeleteNodeRequest) Reset()

func (*DeleteNodeRequest) String

func (x *DeleteNodeRequest) String() string

type DeleteNodeResponse

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

func (*DeleteNodeResponse) Descriptor deprecated

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

Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.

func (*DeleteNodeResponse) ProtoMessage

func (*DeleteNodeResponse) ProtoMessage()

func (*DeleteNodeResponse) ProtoReflect

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

func (*DeleteNodeResponse) Reset

func (x *DeleteNodeResponse) Reset()

func (*DeleteNodeResponse) String

func (x *DeleteNodeResponse) String() string

type DeleteRouteRequest

type DeleteRouteRequest struct {
	RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRouteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRouteRequest) GetRouteId

func (x *DeleteRouteRequest) GetRouteId() uint64

func (*DeleteRouteRequest) ProtoMessage

func (*DeleteRouteRequest) ProtoMessage()

func (*DeleteRouteRequest) ProtoReflect

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

func (*DeleteRouteRequest) Reset

func (x *DeleteRouteRequest) Reset()

func (*DeleteRouteRequest) String

func (x *DeleteRouteRequest) String() string

type DeleteRouteResponse

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

func (*DeleteRouteResponse) Descriptor deprecated

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

Deprecated: Use DeleteRouteResponse.ProtoReflect.Descriptor instead.

func (*DeleteRouteResponse) ProtoMessage

func (*DeleteRouteResponse) ProtoMessage()

func (*DeleteRouteResponse) ProtoReflect

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

func (*DeleteRouteResponse) Reset

func (x *DeleteRouteResponse) Reset()

func (*DeleteRouteResponse) String

func (x *DeleteRouteResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetName

func (x *DeleteUserRequest) GetName() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type DisableRouteRequest

type DisableRouteRequest struct {
	RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableRouteRequest) Descriptor deprecated

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

Deprecated: Use DisableRouteRequest.ProtoReflect.Descriptor instead.

func (*DisableRouteRequest) GetRouteId

func (x *DisableRouteRequest) GetRouteId() uint64

func (*DisableRouteRequest) ProtoMessage

func (*DisableRouteRequest) ProtoMessage()

func (*DisableRouteRequest) ProtoReflect

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

func (*DisableRouteRequest) Reset

func (x *DisableRouteRequest) Reset()

func (*DisableRouteRequest) String

func (x *DisableRouteRequest) String() string

type DisableRouteResponse

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

func (*DisableRouteResponse) Descriptor deprecated

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

Deprecated: Use DisableRouteResponse.ProtoReflect.Descriptor instead.

func (*DisableRouteResponse) ProtoMessage

func (*DisableRouteResponse) ProtoMessage()

func (*DisableRouteResponse) ProtoReflect

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

func (*DisableRouteResponse) Reset

func (x *DisableRouteResponse) Reset()

func (*DisableRouteResponse) String

func (x *DisableRouteResponse) String() string

type EnableDeviceRoutesRequest

type EnableDeviceRoutesRequest struct {
	Id     string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Routes []string `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableDeviceRoutesRequest) Descriptor deprecated

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

Deprecated: Use EnableDeviceRoutesRequest.ProtoReflect.Descriptor instead.

func (*EnableDeviceRoutesRequest) GetId

func (x *EnableDeviceRoutesRequest) GetId() string

func (*EnableDeviceRoutesRequest) GetRoutes

func (x *EnableDeviceRoutesRequest) GetRoutes() []string

func (*EnableDeviceRoutesRequest) ProtoMessage

func (*EnableDeviceRoutesRequest) ProtoMessage()

func (*EnableDeviceRoutesRequest) ProtoReflect

func (*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 (*EnableDeviceRoutesResponse) Reset

func (x *EnableDeviceRoutesResponse) Reset()

func (*EnableDeviceRoutesResponse) String

func (x *EnableDeviceRoutesResponse) String() string

type EnableRouteRequest

type EnableRouteRequest struct {
	RouteId uint64 `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EnableRouteRequest) Descriptor deprecated

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

Deprecated: Use EnableRouteRequest.ProtoReflect.Descriptor instead.

func (*EnableRouteRequest) GetRouteId

func (x *EnableRouteRequest) GetRouteId() uint64

func (*EnableRouteRequest) ProtoMessage

func (*EnableRouteRequest) ProtoMessage()

func (*EnableRouteRequest) ProtoReflect

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

func (*EnableRouteRequest) Reset

func (x *EnableRouteRequest) Reset()

func (*EnableRouteRequest) String

func (x *EnableRouteRequest) String() string

type EnableRouteResponse

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

func (*EnableRouteResponse) Descriptor deprecated

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

Deprecated: Use EnableRouteResponse.ProtoReflect.Descriptor instead.

func (*EnableRouteResponse) ProtoMessage

func (*EnableRouteResponse) ProtoMessage()

func (*EnableRouteResponse) ProtoReflect

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

func (*EnableRouteResponse) Reset

func (x *EnableRouteResponse) Reset()

func (*EnableRouteResponse) String

func (x *EnableRouteResponse) String() string

type ExpireApiKeyRequest

type ExpireApiKeyRequest struct {
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireApiKeyRequest) Descriptor deprecated

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

Deprecated: Use ExpireApiKeyRequest.ProtoReflect.Descriptor instead.

func (*ExpireApiKeyRequest) GetPrefix

func (x *ExpireApiKeyRequest) GetPrefix() string

func (*ExpireApiKeyRequest) ProtoMessage

func (*ExpireApiKeyRequest) ProtoMessage()

func (*ExpireApiKeyRequest) ProtoReflect

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

func (*ExpireApiKeyRequest) Reset

func (x *ExpireApiKeyRequest) Reset()

func (*ExpireApiKeyRequest) String

func (x *ExpireApiKeyRequest) String() string

type ExpireApiKeyResponse

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

func (*ExpireApiKeyResponse) Descriptor deprecated

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

Deprecated: Use ExpireApiKeyResponse.ProtoReflect.Descriptor instead.

func (*ExpireApiKeyResponse) ProtoMessage

func (*ExpireApiKeyResponse) ProtoMessage()

func (*ExpireApiKeyResponse) ProtoReflect

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

func (*ExpireApiKeyResponse) Reset

func (x *ExpireApiKeyResponse) Reset()

func (*ExpireApiKeyResponse) String

func (x *ExpireApiKeyResponse) String() string

type ExpireNodeRequest

type ExpireNodeRequest struct {
	NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireNodeRequest) Descriptor deprecated

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

Deprecated: Use ExpireNodeRequest.ProtoReflect.Descriptor instead.

func (*ExpireNodeRequest) GetNodeId

func (x *ExpireNodeRequest) GetNodeId() uint64

func (*ExpireNodeRequest) ProtoMessage

func (*ExpireNodeRequest) ProtoMessage()

func (*ExpireNodeRequest) ProtoReflect

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

func (*ExpireNodeRequest) Reset

func (x *ExpireNodeRequest) Reset()

func (*ExpireNodeRequest) String

func (x *ExpireNodeRequest) String() string

type ExpireNodeResponse

type ExpireNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireNodeResponse) Descriptor deprecated

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

Deprecated: Use ExpireNodeResponse.ProtoReflect.Descriptor instead.

func (*ExpireNodeResponse) GetNode

func (x *ExpireNodeResponse) GetNode() *Node

func (*ExpireNodeResponse) ProtoMessage

func (*ExpireNodeResponse) ProtoMessage()

func (*ExpireNodeResponse) ProtoReflect

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

func (*ExpireNodeResponse) Reset

func (x *ExpireNodeResponse) Reset()

func (*ExpireNodeResponse) String

func (x *ExpireNodeResponse) String() string

type ExpirePreAuthKeyRequest

type ExpirePreAuthKeyRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpirePreAuthKeyRequest) Descriptor deprecated

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

Deprecated: Use ExpirePreAuthKeyRequest.ProtoReflect.Descriptor instead.

func (*ExpirePreAuthKeyRequest) GetKey

func (x *ExpirePreAuthKeyRequest) GetKey() string

func (*ExpirePreAuthKeyRequest) GetUser

func (x *ExpirePreAuthKeyRequest) GetUser() string

func (*ExpirePreAuthKeyRequest) ProtoMessage

func (*ExpirePreAuthKeyRequest) ProtoMessage()

func (*ExpirePreAuthKeyRequest) ProtoReflect

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

func (*ExpirePreAuthKeyRequest) Reset

func (x *ExpirePreAuthKeyRequest) Reset()

func (*ExpirePreAuthKeyRequest) String

func (x *ExpirePreAuthKeyRequest) String() string

type ExpirePreAuthKeyResponse

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

func (*ExpirePreAuthKeyResponse) Descriptor deprecated

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

Deprecated: Use ExpirePreAuthKeyResponse.ProtoReflect.Descriptor instead.

func (*ExpirePreAuthKeyResponse) ProtoMessage

func (*ExpirePreAuthKeyResponse) ProtoMessage()

func (*ExpirePreAuthKeyResponse) ProtoReflect

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

func (*ExpirePreAuthKeyResponse) Reset

func (x *ExpirePreAuthKeyResponse) Reset()

func (*ExpirePreAuthKeyResponse) String

func (x *ExpirePreAuthKeyResponse) String() string

type GetDeviceRequest

type GetDeviceRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetId

func (x *GetDeviceRequest) GetId() string

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

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

func (*GetDeviceRequest) Reset

func (x *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String

func (x *GetDeviceRequest) String() string

type GetDeviceResponse

type GetDeviceResponse struct {
	Addresses                 []string               `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Id                        string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	User                      string                 `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	Name                      string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Hostname                  string                 `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"`
	ClientVersion             string                 `protobuf:"bytes,6,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	UpdateAvailable           bool                   `protobuf:"varint,7,opt,name=update_available,json=updateAvailable,proto3" json:"update_available,omitempty"`
	Os                        string                 `protobuf:"bytes,8,opt,name=os,proto3" json:"os,omitempty"`
	Created                   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	LastSeen                  *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	KeyExpiryDisabled         bool                   `protobuf:"varint,11,opt,name=key_expiry_disabled,json=keyExpiryDisabled,proto3" json:"key_expiry_disabled,omitempty"`
	Expires                   *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expires,proto3" json:"expires,omitempty"`
	Authorized                bool                   `protobuf:"varint,13,opt,name=authorized,proto3" json:"authorized,omitempty"`
	IsExternal                bool                   `protobuf:"varint,14,opt,name=is_external,json=isExternal,proto3" json:"is_external,omitempty"`
	MachineKey                string                 `protobuf:"bytes,15,opt,name=machine_key,json=machineKey,proto3" json:"machine_key,omitempty"`
	NodeKey                   string                 `protobuf:"bytes,16,opt,name=node_key,json=nodeKey,proto3" json:"node_key,omitempty"`
	BlocksIncomingConnections bool                   `` /* 140-byte string literal not displayed */
	EnabledRoutes             []string               `protobuf:"bytes,18,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"`
	AdvertisedRoutes          []string               `protobuf:"bytes,19,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"`
	ClientConnectivity        *ClientConnectivity    `protobuf:"bytes,20,opt,name=client_connectivity,json=clientConnectivity,proto3" json:"client_connectivity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceResponse) GetAddresses

func (x *GetDeviceResponse) GetAddresses() []string

func (*GetDeviceResponse) GetAdvertisedRoutes

func (x *GetDeviceResponse) GetAdvertisedRoutes() []string

func (*GetDeviceResponse) GetAuthorized

func (x *GetDeviceResponse) GetAuthorized() bool

func (*GetDeviceResponse) GetBlocksIncomingConnections

func (x *GetDeviceResponse) GetBlocksIncomingConnections() bool

func (*GetDeviceResponse) GetClientConnectivity

func (x *GetDeviceResponse) GetClientConnectivity() *ClientConnectivity

func (*GetDeviceResponse) GetClientVersion

func (x *GetDeviceResponse) GetClientVersion() string

func (*GetDeviceResponse) GetCreated

func (x *GetDeviceResponse) GetCreated() *timestamppb.Timestamp

func (*GetDeviceResponse) GetEnabledRoutes

func (x *GetDeviceResponse) GetEnabledRoutes() []string

func (*GetDeviceResponse) GetExpires

func (x *GetDeviceResponse) GetExpires() *timestamppb.Timestamp

func (*GetDeviceResponse) GetHostname

func (x *GetDeviceResponse) GetHostname() string

func (*GetDeviceResponse) GetId

func (x *GetDeviceResponse) GetId() string

func (*GetDeviceResponse) GetIsExternal

func (x *GetDeviceResponse) GetIsExternal() bool

func (*GetDeviceResponse) GetKeyExpiryDisabled

func (x *GetDeviceResponse) GetKeyExpiryDisabled() bool

func (*GetDeviceResponse) GetLastSeen

func (x *GetDeviceResponse) GetLastSeen() *timestamppb.Timestamp

func (*GetDeviceResponse) GetMachineKey

func (x *GetDeviceResponse) GetMachineKey() string

func (*GetDeviceResponse) GetName

func (x *GetDeviceResponse) GetName() string

func (*GetDeviceResponse) GetNodeKey

func (x *GetDeviceResponse) GetNodeKey() string

func (*GetDeviceResponse) GetOs

func (x *GetDeviceResponse) GetOs() string

func (*GetDeviceResponse) GetUpdateAvailable

func (x *GetDeviceResponse) GetUpdateAvailable() bool

func (*GetDeviceResponse) GetUser

func (x *GetDeviceResponse) GetUser() string

func (*GetDeviceResponse) ProtoMessage

func (*GetDeviceResponse) ProtoMessage()

func (*GetDeviceResponse) ProtoReflect

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

func (*GetDeviceResponse) Reset

func (x *GetDeviceResponse) Reset()

func (*GetDeviceResponse) String

func (x *GetDeviceResponse) String() string

type GetDeviceRoutesRequest

type GetDeviceRoutesRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceRoutesRequest) Descriptor deprecated

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

Deprecated: Use GetDeviceRoutesRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRoutesRequest) GetId

func (x *GetDeviceRoutesRequest) GetId() string

func (*GetDeviceRoutesRequest) ProtoMessage

func (*GetDeviceRoutesRequest) ProtoMessage()

func (*GetDeviceRoutesRequest) ProtoReflect

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

func (*GetDeviceRoutesRequest) Reset

func (x *GetDeviceRoutesRequest) Reset()

func (*GetDeviceRoutesRequest) String

func (x *GetDeviceRoutesRequest) String() string

type GetDeviceRoutesResponse

type GetDeviceRoutesResponse struct {
	EnabledRoutes    []string `protobuf:"bytes,1,rep,name=enabled_routes,json=enabledRoutes,proto3" json:"enabled_routes,omitempty"`
	AdvertisedRoutes []string `protobuf:"bytes,2,rep,name=advertised_routes,json=advertisedRoutes,proto3" json:"advertised_routes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceRoutesResponse) Descriptor deprecated

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

Deprecated: Use GetDeviceRoutesResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceRoutesResponse) GetAdvertisedRoutes

func (x *GetDeviceRoutesResponse) GetAdvertisedRoutes() []string

func (*GetDeviceRoutesResponse) GetEnabledRoutes

func (x *GetDeviceRoutesResponse) GetEnabledRoutes() []string

func (*GetDeviceRoutesResponse) ProtoMessage

func (*GetDeviceRoutesResponse) ProtoMessage()

func (*GetDeviceRoutesResponse) ProtoReflect

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

func (*GetDeviceRoutesResponse) Reset

func (x *GetDeviceRoutesResponse) Reset()

func (*GetDeviceRoutesResponse) String

func (x *GetDeviceRoutesResponse) String() string

type GetNodeRequest

type GetNodeRequest struct {
	NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeRequest) Descriptor deprecated

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

Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRequest) GetNodeId

func (x *GetNodeRequest) GetNodeId() uint64

func (*GetNodeRequest) ProtoMessage

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) ProtoReflect

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

func (*GetNodeRequest) Reset

func (x *GetNodeRequest) Reset()

func (*GetNodeRequest) String

func (x *GetNodeRequest) String() string

type GetNodeResponse

type GetNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeResponse) Descriptor deprecated

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

Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.

func (*GetNodeResponse) GetNode

func (x *GetNodeResponse) GetNode() *Node

func (*GetNodeResponse) ProtoMessage

func (*GetNodeResponse) ProtoMessage()

func (*GetNodeResponse) ProtoReflect

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

func (*GetNodeResponse) Reset

func (x *GetNodeResponse) Reset()

func (*GetNodeResponse) String

func (x *GetNodeResponse) String() string

type GetNodeRoutesRequest

type GetNodeRoutesRequest struct {
	NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeRoutesRequest) Descriptor deprecated

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

Deprecated: Use GetNodeRoutesRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRoutesRequest) GetNodeId

func (x *GetNodeRoutesRequest) GetNodeId() uint64

func (*GetNodeRoutesRequest) ProtoMessage

func (*GetNodeRoutesRequest) ProtoMessage()

func (*GetNodeRoutesRequest) ProtoReflect

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

func (*GetNodeRoutesRequest) Reset

func (x *GetNodeRoutesRequest) Reset()

func (*GetNodeRoutesRequest) String

func (x *GetNodeRoutesRequest) String() string

type GetNodeRoutesResponse

type GetNodeRoutesResponse struct {
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeRoutesResponse) Descriptor deprecated

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

Deprecated: Use GetNodeRoutesResponse.ProtoReflect.Descriptor instead.

func (*GetNodeRoutesResponse) GetRoutes

func (x *GetNodeRoutesResponse) GetRoutes() []*Route

func (*GetNodeRoutesResponse) ProtoMessage

func (*GetNodeRoutesResponse) ProtoMessage()

func (*GetNodeRoutesResponse) ProtoReflect

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

func (*GetNodeRoutesResponse) Reset

func (x *GetNodeRoutesResponse) Reset()

func (*GetNodeRoutesResponse) String

func (x *GetNodeRoutesResponse) String() string

type GetPolicyRequest

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

func (*GetPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) ProtoReflect

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

func (*GetPolicyRequest) Reset

func (x *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String

func (x *GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Policy    string                 `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPolicyResponse) Descriptor deprecated

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

Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.

func (*GetPolicyResponse) GetPolicy

func (x *GetPolicyResponse) GetPolicy() string

func (*GetPolicyResponse) GetUpdatedAt

func (x *GetPolicyResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) ProtoReflect

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

func (*GetPolicyResponse) Reset

func (x *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String

func (x *GetPolicyResponse) String() string

type GetRoutesRequest

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

func (*GetRoutesRequest) Descriptor deprecated

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

Deprecated: Use GetRoutesRequest.ProtoReflect.Descriptor instead.

func (*GetRoutesRequest) ProtoMessage

func (*GetRoutesRequest) ProtoMessage()

func (*GetRoutesRequest) ProtoReflect

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

func (*GetRoutesRequest) Reset

func (x *GetRoutesRequest) Reset()

func (*GetRoutesRequest) String

func (x *GetRoutesRequest) String() string

type GetRoutesResponse

type GetRoutesResponse struct {
	Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoutesResponse) Descriptor deprecated

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

Deprecated: Use GetRoutesResponse.ProtoReflect.Descriptor instead.

func (*GetRoutesResponse) GetRoutes

func (x *GetRoutesResponse) GetRoutes() []*Route

func (*GetRoutesResponse) ProtoMessage

func (*GetRoutesResponse) ProtoMessage()

func (*GetRoutesResponse) ProtoReflect

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

func (*GetRoutesResponse) Reset

func (x *GetRoutesResponse) Reset()

func (*GetRoutesResponse) String

func (x *GetRoutesResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetName

func (x *GetUserRequest) GetName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type HeadscaleServiceClient

type HeadscaleServiceClient interface {
	// --- User start ---
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	RenameUser(ctx context.Context, in *RenameUserRequest, opts ...grpc.CallOption) (*RenameUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// --- PreAuthKeys start ---
	CreatePreAuthKey(ctx context.Context, in *CreatePreAuthKeyRequest, opts ...grpc.CallOption) (*CreatePreAuthKeyResponse, error)
	ExpirePreAuthKey(ctx context.Context, in *ExpirePreAuthKeyRequest, opts ...grpc.CallOption) (*ExpirePreAuthKeyResponse, error)
	ListPreAuthKeys(ctx context.Context, in *ListPreAuthKeysRequest, opts ...grpc.CallOption) (*ListPreAuthKeysResponse, error)
	// --- Node start ---
	DebugCreateNode(ctx context.Context, in *DebugCreateNodeRequest, opts ...grpc.CallOption) (*DebugCreateNodeResponse, error)
	GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error)
	SetTags(ctx context.Context, in *SetTagsRequest, opts ...grpc.CallOption) (*SetTagsResponse, error)
	RegisterNode(ctx context.Context, in *RegisterNodeRequest, opts ...grpc.CallOption) (*RegisterNodeResponse, error)
	DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error)
	ExpireNode(ctx context.Context, in *ExpireNodeRequest, opts ...grpc.CallOption) (*ExpireNodeResponse, error)
	RenameNode(ctx context.Context, in *RenameNodeRequest, opts ...grpc.CallOption) (*RenameNodeResponse, error)
	ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error)
	MoveNode(ctx context.Context, in *MoveNodeRequest, opts ...grpc.CallOption) (*MoveNodeResponse, error)
	BackfillNodeIPs(ctx context.Context, in *BackfillNodeIPsRequest, opts ...grpc.CallOption) (*BackfillNodeIPsResponse, 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)
	GetNodeRoutes(ctx context.Context, in *GetNodeRoutesRequest, opts ...grpc.CallOption) (*GetNodeRoutesResponse, error)
	DeleteRoute(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*DeleteRouteResponse, error)
	// --- ApiKeys start ---
	CreateApiKey(ctx context.Context, in *CreateApiKeyRequest, opts ...grpc.CallOption) (*CreateApiKeyResponse, error)
	ExpireApiKey(ctx context.Context, in *ExpireApiKeyRequest, opts ...grpc.CallOption) (*ExpireApiKeyResponse, error)
	ListApiKeys(ctx context.Context, in *ListApiKeysRequest, opts ...grpc.CallOption) (*ListApiKeysResponse, error)
	DeleteApiKey(ctx context.Context, in *DeleteApiKeyRequest, opts ...grpc.CallOption) (*DeleteApiKeyResponse, error)
	// --- Policy start ---
	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
	SetPolicy(ctx context.Context, in *SetPolicyRequest, opts ...grpc.CallOption) (*SetPolicyResponse, 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.

type HeadscaleServiceServer

type HeadscaleServiceServer interface {
	// --- User start ---
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	RenameUser(context.Context, *RenameUserRequest) (*RenameUserResponse, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// --- PreAuthKeys start ---
	CreatePreAuthKey(context.Context, *CreatePreAuthKeyRequest) (*CreatePreAuthKeyResponse, error)
	ExpirePreAuthKey(context.Context, *ExpirePreAuthKeyRequest) (*ExpirePreAuthKeyResponse, error)
	ListPreAuthKeys(context.Context, *ListPreAuthKeysRequest) (*ListPreAuthKeysResponse, error)
	// --- Node start ---
	DebugCreateNode(context.Context, *DebugCreateNodeRequest) (*DebugCreateNodeResponse, error)
	GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
	SetTags(context.Context, *SetTagsRequest) (*SetTagsResponse, error)
	RegisterNode(context.Context, *RegisterNodeRequest) (*RegisterNodeResponse, error)
	DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
	ExpireNode(context.Context, *ExpireNodeRequest) (*ExpireNodeResponse, error)
	RenameNode(context.Context, *RenameNodeRequest) (*RenameNodeResponse, error)
	ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error)
	MoveNode(context.Context, *MoveNodeRequest) (*MoveNodeResponse, error)
	BackfillNodeIPs(context.Context, *BackfillNodeIPsRequest) (*BackfillNodeIPsResponse, error)
	// --- Route start ---
	GetRoutes(context.Context, *GetRoutesRequest) (*GetRoutesResponse, error)
	EnableRoute(context.Context, *EnableRouteRequest) (*EnableRouteResponse, error)
	DisableRoute(context.Context, *DisableRouteRequest) (*DisableRouteResponse, error)
	GetNodeRoutes(context.Context, *GetNodeRoutesRequest) (*GetNodeRoutesResponse, error)
	DeleteRoute(context.Context, *DeleteRouteRequest) (*DeleteRouteResponse, error)
	// --- ApiKeys start ---
	CreateApiKey(context.Context, *CreateApiKeyRequest) (*CreateApiKeyResponse, error)
	ExpireApiKey(context.Context, *ExpireApiKeyRequest) (*ExpireApiKeyResponse, error)
	ListApiKeys(context.Context, *ListApiKeysRequest) (*ListApiKeysResponse, error)
	DeleteApiKey(context.Context, *DeleteApiKeyRequest) (*DeleteApiKeyResponse, error)
	// --- Policy start ---
	GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
	SetPolicy(context.Context, *SetPolicyRequest) (*SetPolicyResponse, 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) Descriptor() ([]byte, []int)

Deprecated: Use Latency.ProtoReflect.Descriptor instead.

func (*Latency) GetLatencyMs

func (x *Latency) GetLatencyMs() float32

func (*Latency) GetPreferred

func (x *Latency) GetPreferred() bool

func (*Latency) ProtoMessage

func (*Latency) ProtoMessage()

func (*Latency) ProtoReflect

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

func (*Latency) Reset

func (x *Latency) Reset()

func (*Latency) String

func (x *Latency) String() string

type ListApiKeysRequest

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

func (*ListApiKeysRequest) Descriptor deprecated

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

Deprecated: Use ListApiKeysRequest.ProtoReflect.Descriptor instead.

func (*ListApiKeysRequest) ProtoMessage

func (*ListApiKeysRequest) ProtoMessage()

func (*ListApiKeysRequest) ProtoReflect

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

func (*ListApiKeysRequest) Reset

func (x *ListApiKeysRequest) Reset()

func (*ListApiKeysRequest) String

func (x *ListApiKeysRequest) String() string

type ListApiKeysResponse

type ListApiKeysResponse struct {
	ApiKeys []*ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeysResponse) Descriptor deprecated

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

Deprecated: Use ListApiKeysResponse.ProtoReflect.Descriptor instead.

func (*ListApiKeysResponse) GetApiKeys

func (x *ListApiKeysResponse) GetApiKeys() []*ApiKey

func (*ListApiKeysResponse) ProtoMessage

func (*ListApiKeysResponse) ProtoMessage()

func (*ListApiKeysResponse) ProtoReflect

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

func (*ListApiKeysResponse) Reset

func (x *ListApiKeysResponse) Reset()

func (*ListApiKeysResponse) String

func (x *ListApiKeysResponse) String() string

type ListNodesRequest

type ListNodesRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesRequest) Descriptor deprecated

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

Deprecated: Use ListNodesRequest.ProtoReflect.Descriptor instead.

func (*ListNodesRequest) GetUser

func (x *ListNodesRequest) GetUser() string

func (*ListNodesRequest) ProtoMessage

func (*ListNodesRequest) ProtoMessage()

func (*ListNodesRequest) ProtoReflect

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

func (*ListNodesRequest) Reset

func (x *ListNodesRequest) Reset()

func (*ListNodesRequest) String

func (x *ListNodesRequest) String() string

type ListNodesResponse

type ListNodesResponse struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNodesResponse) Descriptor deprecated

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

Deprecated: Use ListNodesResponse.ProtoReflect.Descriptor instead.

func (*ListNodesResponse) GetNodes

func (x *ListNodesResponse) GetNodes() []*Node

func (*ListNodesResponse) ProtoMessage

func (*ListNodesResponse) ProtoMessage()

func (*ListNodesResponse) ProtoReflect

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

func (*ListNodesResponse) Reset

func (x *ListNodesResponse) Reset()

func (*ListNodesResponse) String

func (x *ListNodesResponse) String() string

type ListPreAuthKeysRequest

type ListPreAuthKeysRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPreAuthKeysRequest) Descriptor deprecated

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

Deprecated: Use ListPreAuthKeysRequest.ProtoReflect.Descriptor instead.

func (*ListPreAuthKeysRequest) GetUser

func (x *ListPreAuthKeysRequest) GetUser() string

func (*ListPreAuthKeysRequest) ProtoMessage

func (*ListPreAuthKeysRequest) ProtoMessage()

func (*ListPreAuthKeysRequest) ProtoReflect

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

func (*ListPreAuthKeysRequest) Reset

func (x *ListPreAuthKeysRequest) Reset()

func (*ListPreAuthKeysRequest) String

func (x *ListPreAuthKeysRequest) String() string

type ListPreAuthKeysResponse

type ListPreAuthKeysResponse struct {
	PreAuthKeys []*PreAuthKey `protobuf:"bytes,1,rep,name=pre_auth_keys,json=preAuthKeys,proto3" json:"pre_auth_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPreAuthKeysResponse) Descriptor deprecated

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

Deprecated: Use ListPreAuthKeysResponse.ProtoReflect.Descriptor instead.

func (*ListPreAuthKeysResponse) GetPreAuthKeys

func (x *ListPreAuthKeysResponse) GetPreAuthKeys() []*PreAuthKey

func (*ListPreAuthKeysResponse) ProtoMessage

func (*ListPreAuthKeysResponse) ProtoMessage()

func (*ListPreAuthKeysResponse) ProtoReflect

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

func (*ListPreAuthKeysResponse) Reset

func (x *ListPreAuthKeysResponse) Reset()

func (*ListPreAuthKeysResponse) String

func (x *ListPreAuthKeysResponse) String() string

type ListUsersRequest

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

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type MoveNodeRequest

type MoveNodeRequest struct {
	NodeId uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	User   string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveNodeRequest) Descriptor deprecated

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

Deprecated: Use MoveNodeRequest.ProtoReflect.Descriptor instead.

func (*MoveNodeRequest) GetNodeId

func (x *MoveNodeRequest) GetNodeId() uint64

func (*MoveNodeRequest) GetUser

func (x *MoveNodeRequest) GetUser() string

func (*MoveNodeRequest) ProtoMessage

func (*MoveNodeRequest) ProtoMessage()

func (*MoveNodeRequest) ProtoReflect

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

func (*MoveNodeRequest) Reset

func (x *MoveNodeRequest) Reset()

func (*MoveNodeRequest) String

func (x *MoveNodeRequest) String() string

type MoveNodeResponse

type MoveNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveNodeResponse) Descriptor deprecated

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

Deprecated: Use MoveNodeResponse.ProtoReflect.Descriptor instead.

func (*MoveNodeResponse) GetNode

func (x *MoveNodeResponse) GetNode() *Node

func (*MoveNodeResponse) ProtoMessage

func (*MoveNodeResponse) ProtoMessage()

func (*MoveNodeResponse) ProtoReflect

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

func (*MoveNodeResponse) Reset

func (x *MoveNodeResponse) Reset()

func (*MoveNodeResponse) String

func (x *MoveNodeResponse) String() string

type Node

type Node struct {
	Id             uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MachineKey     string                 `protobuf:"bytes,2,opt,name=machine_key,json=machineKey,proto3" json:"machine_key,omitempty"`
	NodeKey        string                 `protobuf:"bytes,3,opt,name=node_key,json=nodeKey,proto3" json:"node_key,omitempty"`
	DiscoKey       string                 `protobuf:"bytes,4,opt,name=disco_key,json=discoKey,proto3" json:"disco_key,omitempty"`
	IpAddresses    []string               `protobuf:"bytes,5,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	Name           string                 `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	User           *User                  `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"`
	LastSeen       *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"`
	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 (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCreatedAt

func (x *Node) GetCreatedAt() *timestamppb.Timestamp

func (*Node) GetDiscoKey

func (x *Node) GetDiscoKey() string

func (*Node) GetExpiry

func (x *Node) GetExpiry() *timestamppb.Timestamp

func (*Node) GetForcedTags

func (x *Node) GetForcedTags() []string

func (*Node) GetGivenName

func (x *Node) GetGivenName() string

func (*Node) GetId

func (x *Node) GetId() uint64

func (*Node) GetInvalidTags

func (x *Node) GetInvalidTags() []string

func (*Node) GetIpAddresses

func (x *Node) GetIpAddresses() []string

func (*Node) GetLastSeen

func (x *Node) GetLastSeen() *timestamppb.Timestamp

func (*Node) GetMachineKey

func (x *Node) GetMachineKey() string

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNodeKey

func (x *Node) GetNodeKey() string

func (*Node) GetOnline

func (x *Node) GetOnline() bool

func (*Node) GetPreAuthKey

func (x *Node) GetPreAuthKey() *PreAuthKey

func (*Node) GetRegisterMethod

func (x *Node) GetRegisterMethod() RegisterMethod

func (*Node) GetUser

func (x *Node) GetUser() *User

func (*Node) GetValidTags

func (x *Node) GetValidTags() []string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type PreAuthKey

type PreAuthKey struct {
	User       string                 `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Id         string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Key        string                 `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Reusable   bool                   `protobuf:"varint,4,opt,name=reusable,proto3" json:"reusable,omitempty"`
	Ephemeral  bool                   `protobuf:"varint,5,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	Used       bool                   `protobuf:"varint,6,opt,name=used,proto3" json:"used,omitempty"`
	Expiration *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiration,proto3" json:"expiration,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	AclTags    []string               `protobuf:"bytes,9,rep,name=acl_tags,json=aclTags,proto3" json:"acl_tags,omitempty"`
	// contains filtered or unexported fields
}

func (*PreAuthKey) Descriptor deprecated

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

Deprecated: Use PreAuthKey.ProtoReflect.Descriptor instead.

func (*PreAuthKey) GetAclTags

func (x *PreAuthKey) GetAclTags() []string

func (*PreAuthKey) GetCreatedAt

func (x *PreAuthKey) GetCreatedAt() *timestamppb.Timestamp

func (*PreAuthKey) GetEphemeral

func (x *PreAuthKey) GetEphemeral() bool

func (*PreAuthKey) GetExpiration

func (x *PreAuthKey) GetExpiration() *timestamppb.Timestamp

func (*PreAuthKey) GetId

func (x *PreAuthKey) GetId() string

func (*PreAuthKey) GetKey

func (x *PreAuthKey) GetKey() string

func (*PreAuthKey) GetReusable

func (x *PreAuthKey) GetReusable() bool

func (*PreAuthKey) GetUsed

func (x *PreAuthKey) GetUsed() bool

func (*PreAuthKey) GetUser

func (x *PreAuthKey) GetUser() string

func (*PreAuthKey) ProtoMessage

func (*PreAuthKey) ProtoMessage()

func (*PreAuthKey) ProtoReflect

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

func (*PreAuthKey) Reset

func (x *PreAuthKey) Reset()

func (*PreAuthKey) String

func (x *PreAuthKey) String() string

type 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) Enum

func (x RegisterMethod) Enum() *RegisterMethod

func (RegisterMethod) EnumDescriptor deprecated

func (RegisterMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegisterMethod.Descriptor instead.

func (RegisterMethod) Number

func (RegisterMethod) String

func (x RegisterMethod) String() string

func (RegisterMethod) Type

type RegisterNodeRequest

type RegisterNodeRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterNodeRequest) Descriptor deprecated

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

Deprecated: Use RegisterNodeRequest.ProtoReflect.Descriptor instead.

func (*RegisterNodeRequest) GetKey

func (x *RegisterNodeRequest) GetKey() string

func (*RegisterNodeRequest) GetUser

func (x *RegisterNodeRequest) GetUser() string

func (*RegisterNodeRequest) ProtoMessage

func (*RegisterNodeRequest) ProtoMessage()

func (*RegisterNodeRequest) ProtoReflect

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

func (*RegisterNodeRequest) Reset

func (x *RegisterNodeRequest) Reset()

func (*RegisterNodeRequest) String

func (x *RegisterNodeRequest) String() string

type RegisterNodeResponse

type RegisterNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterNodeResponse) Descriptor deprecated

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

Deprecated: Use RegisterNodeResponse.ProtoReflect.Descriptor instead.

func (*RegisterNodeResponse) GetNode

func (x *RegisterNodeResponse) GetNode() *Node

func (*RegisterNodeResponse) ProtoMessage

func (*RegisterNodeResponse) ProtoMessage()

func (*RegisterNodeResponse) ProtoReflect

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

func (*RegisterNodeResponse) Reset

func (x *RegisterNodeResponse) Reset()

func (*RegisterNodeResponse) String

func (x *RegisterNodeResponse) String() string

type RenameNodeRequest

type RenameNodeRequest struct {
	NodeId  uint64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameNodeRequest) Descriptor deprecated

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

Deprecated: Use RenameNodeRequest.ProtoReflect.Descriptor instead.

func (*RenameNodeRequest) GetNewName

func (x *RenameNodeRequest) GetNewName() string

func (*RenameNodeRequest) GetNodeId

func (x *RenameNodeRequest) GetNodeId() uint64

func (*RenameNodeRequest) ProtoMessage

func (*RenameNodeRequest) ProtoMessage()

func (*RenameNodeRequest) ProtoReflect

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

func (*RenameNodeRequest) Reset

func (x *RenameNodeRequest) Reset()

func (*RenameNodeRequest) String

func (x *RenameNodeRequest) String() string

type RenameNodeResponse

type RenameNodeResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameNodeResponse) Descriptor deprecated

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

Deprecated: Use RenameNodeResponse.ProtoReflect.Descriptor instead.

func (*RenameNodeResponse) GetNode

func (x *RenameNodeResponse) GetNode() *Node

func (*RenameNodeResponse) ProtoMessage

func (*RenameNodeResponse) ProtoMessage()

func (*RenameNodeResponse) ProtoReflect

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

func (*RenameNodeResponse) Reset

func (x *RenameNodeResponse) Reset()

func (*RenameNodeResponse) String

func (x *RenameNodeResponse) String() string

type RenameUserRequest

type RenameUserRequest struct {
	OldName string `protobuf:"bytes,1,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameUserRequest) Descriptor deprecated

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

Deprecated: Use RenameUserRequest.ProtoReflect.Descriptor instead.

func (*RenameUserRequest) GetNewName

func (x *RenameUserRequest) GetNewName() string

func (*RenameUserRequest) GetOldName

func (x *RenameUserRequest) GetOldName() string

func (*RenameUserRequest) ProtoMessage

func (*RenameUserRequest) ProtoMessage()

func (*RenameUserRequest) ProtoReflect

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

func (*RenameUserRequest) Reset

func (x *RenameUserRequest) Reset()

func (*RenameUserRequest) String

func (x *RenameUserRequest) String() string

type RenameUserResponse

type RenameUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*RenameUserResponse) Descriptor deprecated

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

Deprecated: Use RenameUserResponse.ProtoReflect.Descriptor instead.

func (*RenameUserResponse) GetUser

func (x *RenameUserResponse) GetUser() *User

func (*RenameUserResponse) ProtoMessage

func (*RenameUserResponse) ProtoMessage()

func (*RenameUserResponse) ProtoReflect

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

func (*RenameUserResponse) Reset

func (x *RenameUserResponse) Reset()

func (*RenameUserResponse) String

func (x *RenameUserResponse) String() string

type Route

type Route struct {
	Id         uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Node       *Node                  `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	Prefix     string                 `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Advertised bool                   `protobuf:"varint,4,opt,name=advertised,proto3" json:"advertised,omitempty"`
	Enabled    bool                   `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	IsPrimary  bool                   `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAdvertised

func (x *Route) GetAdvertised() bool

func (*Route) GetCreatedAt

func (x *Route) GetCreatedAt() *timestamppb.Timestamp

func (*Route) GetDeletedAt

func (x *Route) GetDeletedAt() *timestamppb.Timestamp

func (*Route) GetEnabled

func (x *Route) GetEnabled() bool

func (*Route) GetId

func (x *Route) GetId() uint64

func (*Route) GetIsPrimary

func (x *Route) GetIsPrimary() bool

func (*Route) GetNode

func (x *Route) GetNode() *Node

func (*Route) GetPrefix

func (x *Route) GetPrefix() string

func (*Route) GetUpdatedAt

func (x *Route) GetUpdatedAt() *timestamppb.Timestamp

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

type SetPolicyRequest

type SetPolicyRequest struct {
	Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPolicyRequest) Descriptor deprecated

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

Deprecated: Use SetPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetPolicyRequest) GetPolicy

func (x *SetPolicyRequest) GetPolicy() string

func (*SetPolicyRequest) ProtoMessage

func (*SetPolicyRequest) ProtoMessage()

func (*SetPolicyRequest) ProtoReflect

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

func (*SetPolicyRequest) Reset

func (x *SetPolicyRequest) Reset()

func (*SetPolicyRequest) String

func (x *SetPolicyRequest) String() string

type SetPolicyResponse

type SetPolicyResponse struct {
	Policy    string                 `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPolicyResponse) Descriptor deprecated

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

Deprecated: Use SetPolicyResponse.ProtoReflect.Descriptor instead.

func (*SetPolicyResponse) GetPolicy

func (x *SetPolicyResponse) GetPolicy() string

func (*SetPolicyResponse) GetUpdatedAt

func (x *SetPolicyResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*SetPolicyResponse) ProtoMessage

func (*SetPolicyResponse) ProtoMessage()

func (*SetPolicyResponse) ProtoReflect

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

func (*SetPolicyResponse) Reset

func (x *SetPolicyResponse) Reset()

func (*SetPolicyResponse) String

func (x *SetPolicyResponse) String() string

type SetTagsRequest

type SetTagsRequest struct {
	NodeId uint64   `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Tags   []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTagsRequest) Descriptor deprecated

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

Deprecated: Use SetTagsRequest.ProtoReflect.Descriptor instead.

func (*SetTagsRequest) GetNodeId

func (x *SetTagsRequest) GetNodeId() uint64

func (*SetTagsRequest) GetTags

func (x *SetTagsRequest) GetTags() []string

func (*SetTagsRequest) ProtoMessage

func (*SetTagsRequest) ProtoMessage()

func (*SetTagsRequest) ProtoReflect

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

func (*SetTagsRequest) Reset

func (x *SetTagsRequest) Reset()

func (*SetTagsRequest) String

func (x *SetTagsRequest) String() string

type SetTagsResponse

type SetTagsResponse struct {
	Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*SetTagsResponse) Descriptor deprecated

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

Deprecated: Use SetTagsResponse.ProtoReflect.Descriptor instead.

func (*SetTagsResponse) GetNode

func (x *SetTagsResponse) GetNode() *Node

func (*SetTagsResponse) ProtoMessage

func (*SetTagsResponse) ProtoMessage()

func (*SetTagsResponse) ProtoReflect

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

func (*SetTagsResponse) Reset

func (x *SetTagsResponse) Reset()

func (*SetTagsResponse) String

func (x *SetTagsResponse) String() string

type UnimplementedHeadscaleServiceServer

type UnimplementedHeadscaleServiceServer struct {
}

UnimplementedHeadscaleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHeadscaleServiceServer) BackfillNodeIPs

func (UnimplementedHeadscaleServiceServer) CreateApiKey

func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey

func (UnimplementedHeadscaleServiceServer) CreateUser

func (UnimplementedHeadscaleServiceServer) DebugCreateNode

func (UnimplementedHeadscaleServiceServer) DeleteApiKey

func (UnimplementedHeadscaleServiceServer) DeleteNode

func (UnimplementedHeadscaleServiceServer) DeleteRoute

func (UnimplementedHeadscaleServiceServer) DeleteUser

func (UnimplementedHeadscaleServiceServer) DisableRoute

func (UnimplementedHeadscaleServiceServer) EnableRoute

func (UnimplementedHeadscaleServiceServer) ExpireApiKey

func (UnimplementedHeadscaleServiceServer) ExpireNode

func (UnimplementedHeadscaleServiceServer) ExpirePreAuthKey

func (UnimplementedHeadscaleServiceServer) GetNode

func (UnimplementedHeadscaleServiceServer) GetNodeRoutes

func (UnimplementedHeadscaleServiceServer) GetPolicy

func (UnimplementedHeadscaleServiceServer) GetRoutes

func (UnimplementedHeadscaleServiceServer) GetUser

func (UnimplementedHeadscaleServiceServer) ListApiKeys

func (UnimplementedHeadscaleServiceServer) ListNodes

func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys

func (UnimplementedHeadscaleServiceServer) ListUsers

func (UnimplementedHeadscaleServiceServer) MoveNode

func (UnimplementedHeadscaleServiceServer) RegisterNode

func (UnimplementedHeadscaleServiceServer) RenameNode

func (UnimplementedHeadscaleServiceServer) RenameUser

func (UnimplementedHeadscaleServiceServer) SetPolicy

func (UnimplementedHeadscaleServiceServer) SetTags

type UnsafeHeadscaleServiceServer

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

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

type User

type User struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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