v1

package
v0.23.0-alpha4-docker-... Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-3-Clause Imports: 17 Imported by: 9

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

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_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: "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,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "headscale/v1/headscale.proto",
}

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

Functions

func RegisterHeadscaleServiceHandler

func RegisterHeadscaleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterHeadscaleServiceHandler registers the http handlers for service HeadscaleService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterHeadscaleServiceHandlerClient

func RegisterHeadscaleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HeadscaleServiceClient) error

RegisterHeadscaleServiceHandlerClient registers the http handlers for service HeadscaleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "HeadscaleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "HeadscaleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "HeadscaleServiceClient" to call the correct interceptors.

func RegisterHeadscaleServiceHandlerFromEndpoint

func RegisterHeadscaleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterHeadscaleServiceHandlerFromEndpoint is same as RegisterHeadscaleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterHeadscaleServiceHandlerServer

func RegisterHeadscaleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HeadscaleServiceServer) error

RegisterHeadscaleServiceHandlerServer registers the http handlers for service HeadscaleService to "mux". UnaryRPC :call HeadscaleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterHeadscaleServiceHandlerFromEndpoint instead.

func RegisterHeadscaleServiceServer

func RegisterHeadscaleServiceServer(s grpc.ServiceRegistrar, srv HeadscaleServiceServer)

Types

type ApiKey added in v0.13.0

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

func (*ApiKey) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.

func (*ApiKey) GetCreatedAt added in v0.13.0

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

func (*ApiKey) GetExpiration added in v0.13.0

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

func (*ApiKey) GetId added in v0.13.0

func (x *ApiKey) GetId() uint64

func (*ApiKey) GetLastSeen added in v0.13.0

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

func (*ApiKey) GetPrefix added in v0.13.0

func (x *ApiKey) GetPrefix() string

func (*ApiKey) ProtoMessage added in v0.13.0

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect added in v0.13.0

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

func (*ApiKey) Reset added in v0.13.0

func (x *ApiKey) Reset()

func (*ApiKey) String added in v0.13.0

func (x *ApiKey) 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 added in v0.13.0

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

func (*CreateApiKeyRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use CreateApiKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateApiKeyRequest) GetExpiration added in v0.13.0

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

func (*CreateApiKeyRequest) ProtoMessage added in v0.13.0

func (*CreateApiKeyRequest) ProtoMessage()

func (*CreateApiKeyRequest) ProtoReflect added in v0.13.0

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

func (*CreateApiKeyRequest) Reset added in v0.13.0

func (x *CreateApiKeyRequest) Reset()

func (*CreateApiKeyRequest) String added in v0.13.0

func (x *CreateApiKeyRequest) String() string

type CreateApiKeyResponse added in v0.13.0

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

func (*CreateApiKeyResponse) Descriptor deprecated added in v0.13.0

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

Deprecated: Use CreateApiKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateApiKeyResponse) GetApiKey added in v0.13.0

func (x *CreateApiKeyResponse) GetApiKey() string

func (*CreateApiKeyResponse) ProtoMessage added in v0.13.0

func (*CreateApiKeyResponse) ProtoMessage()

func (*CreateApiKeyResponse) ProtoReflect added in v0.13.0

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

func (*CreateApiKeyResponse) Reset added in v0.13.0

func (x *CreateApiKeyResponse) Reset()

func (*CreateApiKeyResponse) String added in v0.13.0

func (x *CreateApiKeyResponse) String() string

type 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 added in v0.17.0

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

func (*CreatePreAuthKeyRequest) GetEphemeral

func (x *CreatePreAuthKeyRequest) GetEphemeral() bool

func (*CreatePreAuthKeyRequest) GetExpiration

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

func (*CreatePreAuthKeyRequest) GetReusable

func (x *CreatePreAuthKeyRequest) GetReusable() bool

func (*CreatePreAuthKeyRequest) GetUser added in v0.19.0

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

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

func (*CreateUserRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetName added in v0.19.0

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) ProtoMessage added in v0.19.0

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect added in v0.19.0

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

func (*CreateUserRequest) Reset added in v0.19.0

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.19.0

func (x *CreateUserRequest) String() string

type CreateUserResponse added in v0.19.0

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

func (*CreateUserResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser added in v0.19.0

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage added in v0.19.0

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect added in v0.19.0

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

func (*CreateUserResponse) Reset added in v0.19.0

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String added in v0.19.0

func (x *CreateUserResponse) String() string

type DebugCreateNodeRequest added in v0.23.0

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

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

Deprecated: Use DebugCreateNodeRequest.ProtoReflect.Descriptor instead.

func (*DebugCreateNodeRequest) GetKey added in v0.23.0

func (x *DebugCreateNodeRequest) GetKey() string

func (*DebugCreateNodeRequest) GetName added in v0.23.0

func (x *DebugCreateNodeRequest) GetName() string

func (*DebugCreateNodeRequest) GetRoutes added in v0.23.0

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

func (*DebugCreateNodeRequest) GetUser added in v0.23.0

func (x *DebugCreateNodeRequest) GetUser() string

func (*DebugCreateNodeRequest) ProtoMessage added in v0.23.0

func (*DebugCreateNodeRequest) ProtoMessage()

func (*DebugCreateNodeRequest) ProtoReflect added in v0.23.0

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

func (*DebugCreateNodeRequest) Reset added in v0.23.0

func (x *DebugCreateNodeRequest) Reset()

func (*DebugCreateNodeRequest) String added in v0.23.0

func (x *DebugCreateNodeRequest) String() string

type DebugCreateNodeResponse added in v0.23.0

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

func (*DebugCreateNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DebugCreateNodeResponse.ProtoReflect.Descriptor instead.

func (*DebugCreateNodeResponse) GetNode added in v0.23.0

func (x *DebugCreateNodeResponse) GetNode() *Node

func (*DebugCreateNodeResponse) ProtoMessage added in v0.23.0

func (*DebugCreateNodeResponse) ProtoMessage()

func (*DebugCreateNodeResponse) ProtoReflect added in v0.23.0

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

func (*DebugCreateNodeResponse) Reset added in v0.23.0

func (x *DebugCreateNodeResponse) Reset()

func (*DebugCreateNodeResponse) String added in v0.23.0

func (x *DebugCreateNodeResponse) String() string

type DeleteApiKeyRequest added in v0.23.0

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

func (*DeleteApiKeyRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteApiKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyRequest) GetPrefix added in v0.23.0

func (x *DeleteApiKeyRequest) GetPrefix() string

func (*DeleteApiKeyRequest) ProtoMessage added in v0.23.0

func (*DeleteApiKeyRequest) ProtoMessage()

func (*DeleteApiKeyRequest) ProtoReflect added in v0.23.0

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

func (*DeleteApiKeyRequest) Reset added in v0.23.0

func (x *DeleteApiKeyRequest) Reset()

func (*DeleteApiKeyRequest) String added in v0.23.0

func (x *DeleteApiKeyRequest) String() string

type DeleteApiKeyResponse added in v0.23.0

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

func (*DeleteApiKeyResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteApiKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteApiKeyResponse) ProtoMessage added in v0.23.0

func (*DeleteApiKeyResponse) ProtoMessage()

func (*DeleteApiKeyResponse) ProtoReflect added in v0.23.0

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

func (*DeleteApiKeyResponse) Reset added in v0.23.0

func (x *DeleteApiKeyResponse) Reset()

func (*DeleteApiKeyResponse) String added in v0.23.0

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

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

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

Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodeRequest) GetNodeId added in v0.23.0

func (x *DeleteNodeRequest) GetNodeId() uint64

func (*DeleteNodeRequest) ProtoMessage added in v0.23.0

func (*DeleteNodeRequest) ProtoMessage()

func (*DeleteNodeRequest) ProtoReflect added in v0.23.0

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

func (*DeleteNodeRequest) Reset added in v0.23.0

func (x *DeleteNodeRequest) Reset()

func (*DeleteNodeRequest) String added in v0.23.0

func (x *DeleteNodeRequest) String() string

type DeleteNodeResponse added in v0.23.0

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

func (*DeleteNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.

func (*DeleteNodeResponse) ProtoMessage added in v0.23.0

func (*DeleteNodeResponse) ProtoMessage()

func (*DeleteNodeResponse) ProtoReflect added in v0.23.0

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

func (*DeleteNodeResponse) Reset added in v0.23.0

func (x *DeleteNodeResponse) Reset()

func (*DeleteNodeResponse) String added in v0.23.0

func (x *DeleteNodeResponse) String() string

type DeleteRouteRequest added in v0.21.0

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

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

Deprecated: Use DeleteRouteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRouteRequest) GetRouteId added in v0.21.0

func (x *DeleteRouteRequest) GetRouteId() uint64

func (*DeleteRouteRequest) ProtoMessage added in v0.21.0

func (*DeleteRouteRequest) ProtoMessage()

func (*DeleteRouteRequest) ProtoReflect added in v0.21.0

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

func (*DeleteRouteRequest) Reset added in v0.21.0

func (x *DeleteRouteRequest) Reset()

func (*DeleteRouteRequest) String added in v0.21.0

func (x *DeleteRouteRequest) String() string

type DeleteRouteResponse added in v0.21.0

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

func (*DeleteRouteResponse) Descriptor deprecated added in v0.21.0

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

Deprecated: Use DeleteRouteResponse.ProtoReflect.Descriptor instead.

func (*DeleteRouteResponse) ProtoMessage added in v0.21.0

func (*DeleteRouteResponse) ProtoMessage()

func (*DeleteRouteResponse) ProtoReflect added in v0.21.0

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

func (*DeleteRouteResponse) Reset added in v0.21.0

func (x *DeleteRouteResponse) Reset()

func (*DeleteRouteResponse) String added in v0.21.0

func (x *DeleteRouteResponse) String() string

type DeleteUserRequest added in v0.19.0

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

func (*DeleteUserRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetName added in v0.19.0

func (x *DeleteUserRequest) GetName() string

func (*DeleteUserRequest) ProtoMessage added in v0.19.0

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v0.19.0

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

func (*DeleteUserRequest) Reset added in v0.19.0

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v0.19.0

func (x *DeleteUserRequest) String() string

type DeleteUserResponse added in v0.19.0

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

func (*DeleteUserResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage added in v0.19.0

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect added in v0.19.0

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

func (*DeleteUserResponse) Reset added in v0.19.0

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String added in v0.19.0

func (x *DeleteUserResponse) String() string

type DisableRouteRequest added in v0.18.0

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

func (*DisableRouteRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DisableRouteRequest.ProtoReflect.Descriptor instead.

func (*DisableRouteRequest) GetRouteId added in v0.18.0

func (x *DisableRouteRequest) GetRouteId() uint64

func (*DisableRouteRequest) ProtoMessage added in v0.18.0

func (*DisableRouteRequest) ProtoMessage()

func (*DisableRouteRequest) ProtoReflect added in v0.18.0

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

func (*DisableRouteRequest) Reset added in v0.18.0

func (x *DisableRouteRequest) Reset()

func (*DisableRouteRequest) String added in v0.18.0

func (x *DisableRouteRequest) String() string

type DisableRouteResponse added in v0.18.0

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

func (*DisableRouteResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use DisableRouteResponse.ProtoReflect.Descriptor instead.

func (*DisableRouteResponse) ProtoMessage added in v0.18.0

func (*DisableRouteResponse) ProtoMessage()

func (*DisableRouteResponse) ProtoReflect added in v0.18.0

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

func (*DisableRouteResponse) Reset added in v0.18.0

func (x *DisableRouteResponse) Reset()

func (*DisableRouteResponse) String added in v0.18.0

func (x *DisableRouteResponse) String() string

type EnableDeviceRoutesRequest

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

func (*EnableDeviceRoutesRequest) Descriptor deprecated

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

Deprecated: Use EnableDeviceRoutesRequest.ProtoReflect.Descriptor instead.

func (*EnableDeviceRoutesRequest) GetId

func (x *EnableDeviceRoutesRequest) GetId() string

func (*EnableDeviceRoutesRequest) GetRoutes

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

func (*EnableDeviceRoutesRequest) ProtoMessage

func (*EnableDeviceRoutesRequest) ProtoMessage()

func (*EnableDeviceRoutesRequest) ProtoReflect

func (*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 added in v0.18.0

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

func (*EnableRouteRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use EnableRouteRequest.ProtoReflect.Descriptor instead.

func (*EnableRouteRequest) GetRouteId added in v0.18.0

func (x *EnableRouteRequest) GetRouteId() uint64

func (*EnableRouteRequest) ProtoMessage added in v0.18.0

func (*EnableRouteRequest) ProtoMessage()

func (*EnableRouteRequest) ProtoReflect added in v0.18.0

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

func (*EnableRouteRequest) Reset added in v0.18.0

func (x *EnableRouteRequest) Reset()

func (*EnableRouteRequest) String added in v0.18.0

func (x *EnableRouteRequest) String() string

type EnableRouteResponse added in v0.18.0

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

func (*EnableRouteResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use EnableRouteResponse.ProtoReflect.Descriptor instead.

func (*EnableRouteResponse) ProtoMessage added in v0.18.0

func (*EnableRouteResponse) ProtoMessage()

func (*EnableRouteResponse) ProtoReflect added in v0.18.0

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

func (*EnableRouteResponse) Reset added in v0.18.0

func (x *EnableRouteResponse) Reset()

func (*EnableRouteResponse) String added in v0.18.0

func (x *EnableRouteResponse) String() string

type ExpireApiKeyRequest added in v0.13.0

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

func (*ExpireApiKeyRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ExpireApiKeyRequest.ProtoReflect.Descriptor instead.

func (*ExpireApiKeyRequest) GetPrefix added in v0.13.0

func (x *ExpireApiKeyRequest) GetPrefix() string

func (*ExpireApiKeyRequest) ProtoMessage added in v0.13.0

func (*ExpireApiKeyRequest) ProtoMessage()

func (*ExpireApiKeyRequest) ProtoReflect added in v0.13.0

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

func (*ExpireApiKeyRequest) Reset added in v0.13.0

func (x *ExpireApiKeyRequest) Reset()

func (*ExpireApiKeyRequest) String added in v0.13.0

func (x *ExpireApiKeyRequest) String() string

type ExpireApiKeyResponse added in v0.13.0

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

func (*ExpireApiKeyResponse) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ExpireApiKeyResponse.ProtoReflect.Descriptor instead.

func (*ExpireApiKeyResponse) ProtoMessage added in v0.13.0

func (*ExpireApiKeyResponse) ProtoMessage()

func (*ExpireApiKeyResponse) ProtoReflect added in v0.13.0

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

func (*ExpireApiKeyResponse) Reset added in v0.13.0

func (x *ExpireApiKeyResponse) Reset()

func (*ExpireApiKeyResponse) String added in v0.13.0

func (x *ExpireApiKeyResponse) String() string

type ExpireNodeRequest added in v0.23.0

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

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

Deprecated: Use ExpireNodeRequest.ProtoReflect.Descriptor instead.

func (*ExpireNodeRequest) GetNodeId added in v0.23.0

func (x *ExpireNodeRequest) GetNodeId() uint64

func (*ExpireNodeRequest) ProtoMessage added in v0.23.0

func (*ExpireNodeRequest) ProtoMessage()

func (*ExpireNodeRequest) ProtoReflect added in v0.23.0

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

func (*ExpireNodeRequest) Reset added in v0.23.0

func (x *ExpireNodeRequest) Reset()

func (*ExpireNodeRequest) String added in v0.23.0

func (x *ExpireNodeRequest) String() string

type ExpireNodeResponse added in v0.23.0

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

func (*ExpireNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use ExpireNodeResponse.ProtoReflect.Descriptor instead.

func (*ExpireNodeResponse) GetNode added in v0.23.0

func (x *ExpireNodeResponse) GetNode() *Node

func (*ExpireNodeResponse) ProtoMessage added in v0.23.0

func (*ExpireNodeResponse) ProtoMessage()

func (*ExpireNodeResponse) ProtoReflect added in v0.23.0

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

func (*ExpireNodeResponse) Reset added in v0.23.0

func (x *ExpireNodeResponse) Reset()

func (*ExpireNodeResponse) String added in v0.23.0

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

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

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

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

Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRequest) GetNodeId added in v0.23.0

func (x *GetNodeRequest) GetNodeId() uint64

func (*GetNodeRequest) ProtoMessage added in v0.23.0

func (*GetNodeRequest) ProtoMessage()

func (*GetNodeRequest) ProtoReflect added in v0.23.0

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

func (*GetNodeRequest) Reset added in v0.23.0

func (x *GetNodeRequest) Reset()

func (*GetNodeRequest) String added in v0.23.0

func (x *GetNodeRequest) String() string

type GetNodeResponse added in v0.23.0

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

func (*GetNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.

func (*GetNodeResponse) GetNode added in v0.23.0

func (x *GetNodeResponse) GetNode() *Node

func (*GetNodeResponse) ProtoMessage added in v0.23.0

func (*GetNodeResponse) ProtoMessage()

func (*GetNodeResponse) ProtoReflect added in v0.23.0

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

func (*GetNodeResponse) Reset added in v0.23.0

func (x *GetNodeResponse) Reset()

func (*GetNodeResponse) String added in v0.23.0

func (x *GetNodeResponse) String() string

type GetNodeRoutesRequest added in v0.23.0

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

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

Deprecated: Use GetNodeRoutesRequest.ProtoReflect.Descriptor instead.

func (*GetNodeRoutesRequest) GetNodeId added in v0.23.0

func (x *GetNodeRoutesRequest) GetNodeId() uint64

func (*GetNodeRoutesRequest) ProtoMessage added in v0.23.0

func (*GetNodeRoutesRequest) ProtoMessage()

func (*GetNodeRoutesRequest) ProtoReflect added in v0.23.0

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

func (*GetNodeRoutesRequest) Reset added in v0.23.0

func (x *GetNodeRoutesRequest) Reset()

func (*GetNodeRoutesRequest) String added in v0.23.0

func (x *GetNodeRoutesRequest) String() string

type GetNodeRoutesResponse added in v0.23.0

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

func (*GetNodeRoutesResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use GetNodeRoutesResponse.ProtoReflect.Descriptor instead.

func (*GetNodeRoutesResponse) GetRoutes added in v0.23.0

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

func (*GetNodeRoutesResponse) ProtoMessage added in v0.23.0

func (*GetNodeRoutesResponse) ProtoMessage()

func (*GetNodeRoutesResponse) ProtoReflect added in v0.23.0

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

func (*GetNodeRoutesResponse) Reset added in v0.23.0

func (x *GetNodeRoutesResponse) Reset()

func (*GetNodeRoutesResponse) String added in v0.23.0

func (x *GetNodeRoutesResponse) String() string

type GetRoutesRequest added in v0.18.0

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

func (*GetRoutesRequest) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetRoutesRequest.ProtoReflect.Descriptor instead.

func (*GetRoutesRequest) ProtoMessage added in v0.18.0

func (*GetRoutesRequest) ProtoMessage()

func (*GetRoutesRequest) ProtoReflect added in v0.18.0

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

func (*GetRoutesRequest) Reset added in v0.18.0

func (x *GetRoutesRequest) Reset()

func (*GetRoutesRequest) String added in v0.18.0

func (x *GetRoutesRequest) String() string

type GetRoutesResponse added in v0.18.0

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

func (*GetRoutesResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GetRoutesResponse.ProtoReflect.Descriptor instead.

func (*GetRoutesResponse) GetRoutes added in v0.18.0

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

func (*GetRoutesResponse) ProtoMessage added in v0.18.0

func (*GetRoutesResponse) ProtoMessage()

func (*GetRoutesResponse) ProtoReflect added in v0.18.0

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

func (*GetRoutesResponse) Reset added in v0.18.0

func (x *GetRoutesResponse) Reset()

func (*GetRoutesResponse) String added in v0.18.0

func (x *GetRoutesResponse) String() string

type GetUserRequest added in v0.19.0

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

func (*GetUserRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetName added in v0.19.0

func (x *GetUserRequest) GetName() string

func (*GetUserRequest) ProtoMessage added in v0.19.0

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect added in v0.19.0

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

func (*GetUserRequest) Reset added in v0.19.0

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String added in v0.19.0

func (x *GetUserRequest) String() string

type GetUserResponse added in v0.19.0

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

func (*GetUserResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser added in v0.19.0

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage added in v0.19.0

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect added in v0.19.0

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

func (*GetUserResponse) Reset added in v0.19.0

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String added in v0.19.0

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)
	// --- 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)
}

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)
	// --- 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)
	// 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 added in v0.13.0

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

func (*ListApiKeysRequest) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ListApiKeysRequest.ProtoReflect.Descriptor instead.

func (*ListApiKeysRequest) ProtoMessage added in v0.13.0

func (*ListApiKeysRequest) ProtoMessage()

func (*ListApiKeysRequest) ProtoReflect added in v0.13.0

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

func (*ListApiKeysRequest) Reset added in v0.13.0

func (x *ListApiKeysRequest) Reset()

func (*ListApiKeysRequest) String added in v0.13.0

func (x *ListApiKeysRequest) String() string

type ListApiKeysResponse added in v0.13.0

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

func (*ListApiKeysResponse) Descriptor deprecated added in v0.13.0

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

Deprecated: Use ListApiKeysResponse.ProtoReflect.Descriptor instead.

func (*ListApiKeysResponse) GetApiKeys added in v0.13.0

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

func (*ListApiKeysResponse) ProtoMessage added in v0.13.0

func (*ListApiKeysResponse) ProtoMessage()

func (*ListApiKeysResponse) ProtoReflect added in v0.13.0

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

func (*ListApiKeysResponse) Reset added in v0.13.0

func (x *ListApiKeysResponse) Reset()

func (*ListApiKeysResponse) String added in v0.13.0

func (x *ListApiKeysResponse) String() string

type ListNodesRequest added in v0.23.0

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

func (*ListNodesRequest) Descriptor deprecated added in v0.23.0

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

Deprecated: Use ListNodesRequest.ProtoReflect.Descriptor instead.

func (*ListNodesRequest) GetUser added in v0.23.0

func (x *ListNodesRequest) GetUser() string

func (*ListNodesRequest) ProtoMessage added in v0.23.0

func (*ListNodesRequest) ProtoMessage()

func (*ListNodesRequest) ProtoReflect added in v0.23.0

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

func (*ListNodesRequest) Reset added in v0.23.0

func (x *ListNodesRequest) Reset()

func (*ListNodesRequest) String added in v0.23.0

func (x *ListNodesRequest) String() string

type ListNodesResponse added in v0.23.0

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

func (*ListNodesResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use ListNodesResponse.ProtoReflect.Descriptor instead.

func (*ListNodesResponse) GetNodes added in v0.23.0

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

func (*ListNodesResponse) ProtoMessage added in v0.23.0

func (*ListNodesResponse) ProtoMessage()

func (*ListNodesResponse) ProtoReflect added in v0.23.0

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

func (*ListNodesResponse) Reset added in v0.23.0

func (x *ListNodesResponse) Reset()

func (*ListNodesResponse) String added in v0.23.0

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

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

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

func (*ListUsersRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage added in v0.19.0

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect added in v0.19.0

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

func (*ListUsersRequest) Reset added in v0.19.0

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String added in v0.19.0

func (x *ListUsersRequest) String() string

type ListUsersResponse added in v0.19.0

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

func (*ListUsersResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers added in v0.19.0

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

func (*ListUsersResponse) ProtoMessage added in v0.19.0

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect added in v0.19.0

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

func (*ListUsersResponse) Reset added in v0.19.0

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String added in v0.19.0

func (x *ListUsersResponse) String() string

type MoveNodeRequest added in v0.23.0

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

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

Deprecated: Use MoveNodeRequest.ProtoReflect.Descriptor instead.

func (*MoveNodeRequest) GetNodeId added in v0.23.0

func (x *MoveNodeRequest) GetNodeId() uint64

func (*MoveNodeRequest) GetUser added in v0.23.0

func (x *MoveNodeRequest) GetUser() string

func (*MoveNodeRequest) ProtoMessage added in v0.23.0

func (*MoveNodeRequest) ProtoMessage()

func (*MoveNodeRequest) ProtoReflect added in v0.23.0

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

func (*MoveNodeRequest) Reset added in v0.23.0

func (x *MoveNodeRequest) Reset()

func (*MoveNodeRequest) String added in v0.23.0

func (x *MoveNodeRequest) String() string

type MoveNodeResponse added in v0.23.0

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

func (*MoveNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use MoveNodeResponse.ProtoReflect.Descriptor instead.

func (*MoveNodeResponse) GetNode added in v0.23.0

func (x *MoveNodeResponse) GetNode() *Node

func (*MoveNodeResponse) ProtoMessage added in v0.23.0

func (*MoveNodeResponse) ProtoMessage()

func (*MoveNodeResponse) ProtoReflect added in v0.23.0

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

func (*MoveNodeResponse) Reset added in v0.23.0

func (x *MoveNodeResponse) Reset()

func (*MoveNodeResponse) String added in v0.23.0

func (x *MoveNodeResponse) String() string

type Node added in v0.23.0

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"`
	LastSuccessfulUpdate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=last_successful_update,json=lastSuccessfulUpdate,proto3" json:"last_successful_update,omitempty"`
	Expiry               *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expiry,proto3" json:"expiry,omitempty"`
	PreAuthKey           *PreAuthKey            `protobuf:"bytes,11,opt,name=pre_auth_key,json=preAuthKey,proto3" json:"pre_auth_key,omitempty"`
	CreatedAt            *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	RegisterMethod       RegisterMethod         `` /* 138-byte string literal not displayed */
	ForcedTags           []string               `protobuf:"bytes,18,rep,name=forced_tags,json=forcedTags,proto3" json:"forced_tags,omitempty"`
	InvalidTags          []string               `protobuf:"bytes,19,rep,name=invalid_tags,json=invalidTags,proto3" json:"invalid_tags,omitempty"`
	ValidTags            []string               `protobuf:"bytes,20,rep,name=valid_tags,json=validTags,proto3" json:"valid_tags,omitempty"`
	GivenName            string                 `protobuf:"bytes,21,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"`
	Online               bool                   `protobuf:"varint,22,opt,name=online,proto3" json:"online,omitempty"`
	// contains filtered or unexported fields
}

func (*Node) Descriptor deprecated added in v0.23.0

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCreatedAt added in v0.23.0

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

func (*Node) GetDiscoKey added in v0.23.0

func (x *Node) GetDiscoKey() string

func (*Node) GetExpiry added in v0.23.0

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

func (*Node) GetForcedTags added in v0.23.0

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

func (*Node) GetGivenName added in v0.23.0

func (x *Node) GetGivenName() string

func (*Node) GetId added in v0.23.0

func (x *Node) GetId() uint64

func (*Node) GetInvalidTags added in v0.23.0

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

func (*Node) GetIpAddresses added in v0.23.0

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

func (*Node) GetLastSeen added in v0.23.0

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

func (*Node) GetLastSuccessfulUpdate

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

func (*Node) GetMachineKey added in v0.23.0

func (x *Node) GetMachineKey() string

func (*Node) GetName added in v0.23.0

func (x *Node) GetName() string

func (*Node) GetNodeKey added in v0.23.0

func (x *Node) GetNodeKey() string

func (*Node) GetOnline added in v0.23.0

func (x *Node) GetOnline() bool

func (*Node) GetPreAuthKey added in v0.23.0

func (x *Node) GetPreAuthKey() *PreAuthKey

func (*Node) GetRegisterMethod added in v0.23.0

func (x *Node) GetRegisterMethod() RegisterMethod

func (*Node) GetUser added in v0.23.0

func (x *Node) GetUser() *User

func (*Node) GetValidTags added in v0.23.0

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

func (*Node) ProtoMessage added in v0.23.0

func (*Node) ProtoMessage()

func (*Node) ProtoReflect added in v0.23.0

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

func (*Node) Reset added in v0.23.0

func (x *Node) Reset()

func (*Node) String added in v0.23.0

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

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

func (*PreAuthKey) GetCreatedAt

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

func (*PreAuthKey) GetEphemeral

func (x *PreAuthKey) GetEphemeral() bool

func (*PreAuthKey) GetExpiration

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

func (*PreAuthKey) GetId

func (x *PreAuthKey) GetId() string

func (*PreAuthKey) GetKey

func (x *PreAuthKey) GetKey() string

func (*PreAuthKey) GetReusable

func (x *PreAuthKey) GetReusable() bool

func (*PreAuthKey) GetUsed

func (x *PreAuthKey) GetUsed() bool

func (*PreAuthKey) GetUser added in v0.19.0

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

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

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

Deprecated: Use RegisterNodeRequest.ProtoReflect.Descriptor instead.

func (*RegisterNodeRequest) GetKey added in v0.23.0

func (x *RegisterNodeRequest) GetKey() string

func (*RegisterNodeRequest) GetUser added in v0.23.0

func (x *RegisterNodeRequest) GetUser() string

func (*RegisterNodeRequest) ProtoMessage added in v0.23.0

func (*RegisterNodeRequest) ProtoMessage()

func (*RegisterNodeRequest) ProtoReflect added in v0.23.0

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

func (*RegisterNodeRequest) Reset added in v0.23.0

func (x *RegisterNodeRequest) Reset()

func (*RegisterNodeRequest) String added in v0.23.0

func (x *RegisterNodeRequest) String() string

type RegisterNodeResponse added in v0.23.0

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

func (*RegisterNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use RegisterNodeResponse.ProtoReflect.Descriptor instead.

func (*RegisterNodeResponse) GetNode added in v0.23.0

func (x *RegisterNodeResponse) GetNode() *Node

func (*RegisterNodeResponse) ProtoMessage added in v0.23.0

func (*RegisterNodeResponse) ProtoMessage()

func (*RegisterNodeResponse) ProtoReflect added in v0.23.0

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

func (*RegisterNodeResponse) Reset added in v0.23.0

func (x *RegisterNodeResponse) Reset()

func (*RegisterNodeResponse) String added in v0.23.0

func (x *RegisterNodeResponse) String() string

type RenameNodeRequest added in v0.23.0

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

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

Deprecated: Use RenameNodeRequest.ProtoReflect.Descriptor instead.

func (*RenameNodeRequest) GetNewName added in v0.23.0

func (x *RenameNodeRequest) GetNewName() string

func (*RenameNodeRequest) GetNodeId added in v0.23.0

func (x *RenameNodeRequest) GetNodeId() uint64

func (*RenameNodeRequest) ProtoMessage added in v0.23.0

func (*RenameNodeRequest) ProtoMessage()

func (*RenameNodeRequest) ProtoReflect added in v0.23.0

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

func (*RenameNodeRequest) Reset added in v0.23.0

func (x *RenameNodeRequest) Reset()

func (*RenameNodeRequest) String added in v0.23.0

func (x *RenameNodeRequest) String() string

type RenameNodeResponse added in v0.23.0

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

func (*RenameNodeResponse) Descriptor deprecated added in v0.23.0

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

Deprecated: Use RenameNodeResponse.ProtoReflect.Descriptor instead.

func (*RenameNodeResponse) GetNode added in v0.23.0

func (x *RenameNodeResponse) GetNode() *Node

func (*RenameNodeResponse) ProtoMessage added in v0.23.0

func (*RenameNodeResponse) ProtoMessage()

func (*RenameNodeResponse) ProtoReflect added in v0.23.0

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

func (*RenameNodeResponse) Reset added in v0.23.0

func (x *RenameNodeResponse) Reset()

func (*RenameNodeResponse) String added in v0.23.0

func (x *RenameNodeResponse) String() string

type RenameUserRequest added in v0.19.0

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

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

Deprecated: Use RenameUserRequest.ProtoReflect.Descriptor instead.

func (*RenameUserRequest) GetNewName added in v0.19.0

func (x *RenameUserRequest) GetNewName() string

func (*RenameUserRequest) GetOldName added in v0.19.0

func (x *RenameUserRequest) GetOldName() string

func (*RenameUserRequest) ProtoMessage added in v0.19.0

func (*RenameUserRequest) ProtoMessage()

func (*RenameUserRequest) ProtoReflect added in v0.19.0

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

func (*RenameUserRequest) Reset added in v0.19.0

func (x *RenameUserRequest) Reset()

func (*RenameUserRequest) String added in v0.19.0

func (x *RenameUserRequest) String() string

type RenameUserResponse added in v0.19.0

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

func (*RenameUserResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use RenameUserResponse.ProtoReflect.Descriptor instead.

func (*RenameUserResponse) GetUser added in v0.19.0

func (x *RenameUserResponse) GetUser() *User

func (*RenameUserResponse) ProtoMessage added in v0.19.0

func (*RenameUserResponse) ProtoMessage()

func (*RenameUserResponse) ProtoReflect added in v0.19.0

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

func (*RenameUserResponse) Reset added in v0.19.0

func (x *RenameUserResponse) Reset()

func (*RenameUserResponse) String added in v0.19.0

func (x *RenameUserResponse) String() string

type Route added in v0.18.0

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

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAdvertised added in v0.18.0

func (x *Route) GetAdvertised() bool

func (*Route) GetCreatedAt added in v0.18.0

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

func (*Route) GetDeletedAt added in v0.18.0

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

func (*Route) GetEnabled added in v0.18.0

func (x *Route) GetEnabled() bool

func (*Route) GetId added in v0.18.0

func (x *Route) GetId() uint64

func (*Route) GetIsPrimary added in v0.18.0

func (x *Route) GetIsPrimary() bool

func (*Route) GetNode added in v0.23.0

func (x *Route) GetNode() *Node

func (*Route) GetPrefix added in v0.18.0

func (x *Route) GetPrefix() string

func (*Route) GetUpdatedAt added in v0.18.0

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

func (*Route) ProtoMessage added in v0.18.0

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v0.18.0

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

func (*Route) Reset added in v0.18.0

func (x *Route) Reset()

func (*Route) String added in v0.18.0

func (x *Route) String() string

type SetTagsRequest added in v0.16.0

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

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

Deprecated: Use SetTagsRequest.ProtoReflect.Descriptor instead.

func (*SetTagsRequest) GetNodeId added in v0.23.0

func (x *SetTagsRequest) GetNodeId() uint64

func (*SetTagsRequest) GetTags added in v0.16.0

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

func (*SetTagsRequest) ProtoMessage added in v0.16.0

func (*SetTagsRequest) ProtoMessage()

func (*SetTagsRequest) ProtoReflect added in v0.16.0

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

func (*SetTagsRequest) Reset added in v0.16.0

func (x *SetTagsRequest) Reset()

func (*SetTagsRequest) String added in v0.16.0

func (x *SetTagsRequest) String() string

type SetTagsResponse added in v0.16.0

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

func (*SetTagsResponse) Descriptor deprecated added in v0.16.0

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

Deprecated: Use SetTagsResponse.ProtoReflect.Descriptor instead.

func (*SetTagsResponse) GetNode added in v0.23.0

func (x *SetTagsResponse) GetNode() *Node

func (*SetTagsResponse) ProtoMessage added in v0.16.0

func (*SetTagsResponse) ProtoMessage()

func (*SetTagsResponse) ProtoReflect added in v0.16.0

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

func (*SetTagsResponse) Reset added in v0.16.0

func (x *SetTagsResponse) Reset()

func (*SetTagsResponse) String added in v0.16.0

func (x *SetTagsResponse) String() string

type UnimplementedHeadscaleServiceServer

type UnimplementedHeadscaleServiceServer struct {
}

UnimplementedHeadscaleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHeadscaleServiceServer) CreateApiKey added in v0.13.0

func (UnimplementedHeadscaleServiceServer) CreatePreAuthKey

func (UnimplementedHeadscaleServiceServer) CreateUser added in v0.19.0

func (UnimplementedHeadscaleServiceServer) DebugCreateNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) DeleteApiKey added in v0.23.0

func (UnimplementedHeadscaleServiceServer) DeleteNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) DeleteRoute added in v0.21.0

func (UnimplementedHeadscaleServiceServer) DeleteUser added in v0.19.0

func (UnimplementedHeadscaleServiceServer) DisableRoute added in v0.18.0

func (UnimplementedHeadscaleServiceServer) EnableRoute added in v0.18.0

func (UnimplementedHeadscaleServiceServer) ExpireApiKey added in v0.13.0

func (UnimplementedHeadscaleServiceServer) ExpireNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) ExpirePreAuthKey

func (UnimplementedHeadscaleServiceServer) GetNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) GetNodeRoutes added in v0.23.0

func (UnimplementedHeadscaleServiceServer) GetRoutes added in v0.18.0

func (UnimplementedHeadscaleServiceServer) GetUser added in v0.19.0

func (UnimplementedHeadscaleServiceServer) ListApiKeys added in v0.13.0

func (UnimplementedHeadscaleServiceServer) ListNodes added in v0.23.0

func (UnimplementedHeadscaleServiceServer) ListPreAuthKeys

func (UnimplementedHeadscaleServiceServer) ListUsers added in v0.19.0

func (UnimplementedHeadscaleServiceServer) MoveNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) RegisterNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) RenameNode added in v0.23.0

func (UnimplementedHeadscaleServiceServer) RenameUser added in v0.19.0

func (UnimplementedHeadscaleServiceServer) SetTags added in v0.16.0

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

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

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt added in v0.19.0

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

func (*User) GetId added in v0.19.0

func (x *User) GetId() string

func (*User) GetName added in v0.19.0

func (x *User) GetName() string

func (*User) ProtoMessage added in v0.19.0

func (*User) ProtoMessage()

func (*User) ProtoReflect added in v0.19.0

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

func (*User) Reset added in v0.19.0

func (x *User) Reset()

func (*User) String added in v0.19.0

func (x *User) String() string

Jump to

Keyboard shortcuts

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