mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-23 00:17:38 +00:00
703 lines
26 KiB
Go
703 lines
26 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.27.1
|
||
|
// protoc v3.18.1
|
||
|
// source: v1/headscale.proto
|
||
|
|
||
|
package v1
|
||
|
|
||
|
import (
|
||
|
_ "github.com/infobloxopen/protoc-gen-gorm/options"
|
||
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
type RegisterMethod int32
|
||
|
|
||
|
const (
|
||
|
RegisterMethod_AUTH_KEY RegisterMethod = 0
|
||
|
RegisterMethod_CLI RegisterMethod = 1
|
||
|
RegisterMethod_OIDC RegisterMethod = 2
|
||
|
)
|
||
|
|
||
|
// Enum value maps for RegisterMethod.
|
||
|
var (
|
||
|
RegisterMethod_name = map[int32]string{
|
||
|
0: "AUTH_KEY",
|
||
|
1: "CLI",
|
||
|
2: "OIDC",
|
||
|
}
|
||
|
RegisterMethod_value = map[string]int32{
|
||
|
"AUTH_KEY": 0,
|
||
|
"CLI": 1,
|
||
|
"OIDC": 2,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x RegisterMethod) Enum() *RegisterMethod {
|
||
|
p := new(RegisterMethod)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x RegisterMethod) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (RegisterMethod) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_v1_headscale_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (RegisterMethod) Type() protoreflect.EnumType {
|
||
|
return &file_v1_headscale_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x RegisterMethod) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RegisterMethod.Descriptor instead.
|
||
|
func (RegisterMethod) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_v1_headscale_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
type Namespace struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Namespace) Reset() {
|
||
|
*x = Namespace{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Namespace) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Namespace) ProtoMessage() {}
|
||
|
|
||
|
func (x *Namespace) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Namespace.ProtoReflect.Descriptor instead.
|
||
|
func (*Namespace) Descriptor() ([]byte, []int) {
|
||
|
return file_v1_headscale_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *Namespace) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type PreAuthKey struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
||
|
Key string `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"`
|
||
|
NamespaceID uint32 `protobuf:"varint,3,opt,name=NamespaceID,proto3" json:"NamespaceID,omitempty"`
|
||
|
Namespace *Namespace `protobuf:"bytes,4,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
|
||
|
Reusable bool `protobuf:"varint,5,opt,name=Reusable,proto3" json:"Reusable,omitempty"`
|
||
|
Ephemeral bool `protobuf:"varint,6,opt,name=Ephemeral,proto3" json:"Ephemeral,omitempty"`
|
||
|
Used bool `protobuf:"varint,7,opt,name=Used,proto3" json:"Used,omitempty"`
|
||
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
|
||
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) Reset() {
|
||
|
*x = PreAuthKey{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*PreAuthKey) ProtoMessage() {}
|
||
|
|
||
|
func (x *PreAuthKey) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use PreAuthKey.ProtoReflect.Descriptor instead.
|
||
|
func (*PreAuthKey) Descriptor() ([]byte, []int) {
|
||
|
return file_v1_headscale_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetID() uint64 {
|
||
|
if x != nil {
|
||
|
return x.ID
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetKey() string {
|
||
|
if x != nil {
|
||
|
return x.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetNamespaceID() uint32 {
|
||
|
if x != nil {
|
||
|
return x.NamespaceID
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetNamespace() *Namespace {
|
||
|
if x != nil {
|
||
|
return x.Namespace
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetReusable() bool {
|
||
|
if x != nil {
|
||
|
return x.Reusable
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetEphemeral() bool {
|
||
|
if x != nil {
|
||
|
return x.Ephemeral
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetUsed() bool {
|
||
|
if x != nil {
|
||
|
return x.Used
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetCreatedAt() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.CreatedAt
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *PreAuthKey) GetExpiration() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Expiration
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type GetMachineRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetMachineRequest) Reset() {
|
||
|
*x = GetMachineRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetMachineRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetMachineRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetMachineRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetMachineRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetMachineRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_v1_headscale_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *GetMachineRequest) GetMachineId() uint64 {
|
||
|
if x != nil {
|
||
|
return x.MachineId
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type Machine struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
||
|
MachineKey string `protobuf:"bytes,2,opt,name=MachineKey,proto3" json:"MachineKey,omitempty"`
|
||
|
NodeKey string `protobuf:"bytes,3,opt,name=NodeKey,proto3" json:"NodeKey,omitempty"`
|
||
|
DiscoKey string `protobuf:"bytes,4,opt,name=DiscoKey,proto3" json:"DiscoKey,omitempty"`
|
||
|
IPAddress string `protobuf:"bytes,5,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"`
|
||
|
Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"Name,omitempty"`
|
||
|
NamespaceID uint32 `protobuf:"varint,7,opt,name=NamespaceID,proto3" json:"NamespaceID,omitempty"`
|
||
|
Registered bool `protobuf:"varint,8,opt,name=Registered,proto3" json:"Registered,omitempty"`
|
||
|
RegisterMethod RegisterMethod `protobuf:"varint,9,opt,name=RegisterMethod,proto3,enum=headscale.v1.RegisterMethod" json:"RegisterMethod,omitempty"`
|
||
|
AuthKeyID uint32 `protobuf:"varint,10,opt,name=AuthKeyID,proto3" json:"AuthKeyID,omitempty"`
|
||
|
AuthKey *PreAuthKey `protobuf:"bytes,11,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"`
|
||
|
LastSeen *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=LastSeen,proto3" json:"LastSeen,omitempty"`
|
||
|
LastSuccessfulUpdate *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=LastSuccessfulUpdate,proto3" json:"LastSuccessfulUpdate,omitempty"`
|
||
|
Expiry *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=Expiry,proto3" json:"Expiry,omitempty"`
|
||
|
HostInfo []byte `protobuf:"bytes,15,opt,name=HostInfo,proto3" json:"HostInfo,omitempty"`
|
||
|
Endpoints []byte `protobuf:"bytes,16,opt,name=Endpoints,proto3" json:"Endpoints,omitempty"`
|
||
|
EnabledRoutes []byte `protobuf:"bytes,17,opt,name=EnabledRoutes,proto3" json:"EnabledRoutes,omitempty"`
|
||
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
|
||
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
|
||
|
DeletedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=DeletedAt,proto3" json:"DeletedAt,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Machine) Reset() {
|
||
|
*x = Machine{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Machine) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Machine) ProtoMessage() {}
|
||
|
|
||
|
func (x *Machine) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_v1_headscale_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Machine.ProtoReflect.Descriptor instead.
|
||
|
func (*Machine) Descriptor() ([]byte, []int) {
|
||
|
return file_v1_headscale_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetID() uint64 {
|
||
|
if x != nil {
|
||
|
return x.ID
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetMachineKey() string {
|
||
|
if x != nil {
|
||
|
return x.MachineKey
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetNodeKey() string {
|
||
|
if x != nil {
|
||
|
return x.NodeKey
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetDiscoKey() string {
|
||
|
if x != nil {
|
||
|
return x.DiscoKey
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetIPAddress() string {
|
||
|
if x != nil {
|
||
|
return x.IPAddress
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetName() string {
|
||
|
if x != nil {
|
||
|
return x.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetNamespaceID() uint32 {
|
||
|
if x != nil {
|
||
|
return x.NamespaceID
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetRegistered() bool {
|
||
|
if x != nil {
|
||
|
return x.Registered
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetRegisterMethod() RegisterMethod {
|
||
|
if x != nil {
|
||
|
return x.RegisterMethod
|
||
|
}
|
||
|
return RegisterMethod_AUTH_KEY
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetAuthKeyID() uint32 {
|
||
|
if x != nil {
|
||
|
return x.AuthKeyID
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetAuthKey() *PreAuthKey {
|
||
|
if x != nil {
|
||
|
return x.AuthKey
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetLastSeen() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.LastSeen
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetLastSuccessfulUpdate() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.LastSuccessfulUpdate
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetExpiry() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Expiry
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetHostInfo() []byte {
|
||
|
if x != nil {
|
||
|
return x.HostInfo
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetEndpoints() []byte {
|
||
|
if x != nil {
|
||
|
return x.Endpoints
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetEnabledRoutes() []byte {
|
||
|
if x != nil {
|
||
|
return x.EnabledRoutes
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetCreatedAt() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.CreatedAt
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetUpdatedAt() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.UpdatedAt
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Machine) GetDeletedAt() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.DeletedAt
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_v1_headscale_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_v1_headscale_proto_rawDesc = []byte{
|
||
|
0x0a, 0x12, 0x76, 0x31, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x70,
|
||
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e,
|
||
|
0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
||
|
0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||
|
0x6f, 0x1a, 0x12, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x72, 0x6d, 0x2e,
|
||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
||
|
0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x02, 0x0a, 0x0a, 0x50, 0x72, 0x65, 0x41, 0x75,
|
||
|
0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x04, 0x52, 0x02, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x73,
|
||
|
0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x4e, 0x61,
|
||
|
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x12, 0x35, 0x0a, 0x09, 0x4e, 0x61, 0x6d,
|
||
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x68,
|
||
|
0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65,
|
||
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
|
||
|
0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01,
|
||
|
0x28, 0x08, 0x52, 0x08, 0x52, 0x65, 0x75, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09,
|
||
|
0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||
|
0x09, 0x45, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73,
|
||
|
0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x55, 0x73, 0x65, 0x64, 0x12, 0x38,
|
||
|
0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x43,
|
||
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x69,
|
||
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
||
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
||
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61,
|
||
|
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69,
|
||
|
0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x63,
|
||
|
0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d,
|
||
|
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x22, 0xcd, 0x06, 0x0a, 0x07, 0x4d, 0x61, 0x63,
|
||
|
0x68, 0x69, 0x6e, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
||
|
0x52, 0x02, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x4b,
|
||
|
0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e,
|
||
|
0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x6f, 0x64, 0x65, 0x4b, 0x65, 0x79, 0x18,
|
||
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4e, 0x6f, 0x64, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1a,
|
||
|
0x0a, 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x4b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x50,
|
||
|
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x49,
|
||
|
0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65,
|
||
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
||
|
0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
|
0x0d, 0x52, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x44, 0x12, 0x1e,
|
||
|
0x0a, 0x0a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01,
|
||
|
0x28, 0x08, 0x52, 0x0a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x44,
|
||
|
0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
|
||
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61,
|
||
|
0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65,
|
||
|
0x74, 0x68, 0x6f, 0x64, 0x52, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4d, 0x65,
|
||
|
0x74, 0x68, 0x6f, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x49,
|
||
|
0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79,
|
||
|
0x49, 0x44, 0x12, 0x32, 0x0a, 0x07, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x18, 0x0b, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e,
|
||
|
0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x41, 0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x41,
|
||
|
0x75, 0x74, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65,
|
||
|
0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
||
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
||
|
0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x65, 0x6e, 0x12, 0x4e,
|
||
|
0x0a, 0x14, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c,
|
||
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
||
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
|
||
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x14, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x75,
|
||
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x32,
|
||
|
0x0a, 0x06, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
||
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x45, 0x78, 0x70, 0x69,
|
||
|
0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0f,
|
||
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x48, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c,
|
||
|
0x0a, 0x09, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28,
|
||
|
0x0c, 0x52, 0x09, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d,
|
||
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x11, 0x20,
|
||
|
0x01, 0x28, 0x0c, 0x52, 0x0d, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74,
|
||
|
0x65, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18,
|
||
|
0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
||
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||
|
0x70, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09,
|
||
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
||
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x55, 0x70, 0x64,
|
||
|
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||
|
0x64, 0x41, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
||
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
||
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||
|
0x3a, 0x06, 0xba, 0xb9, 0x19, 0x02, 0x08, 0x01, 0x2a, 0x31, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69,
|
||
|
0x73, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x55,
|
||
|
0x54, 0x48, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x4c, 0x49, 0x10,
|
||
|
0x01, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x49, 0x44, 0x43, 0x10, 0x02, 0x32, 0x7e, 0x0a, 0x10, 0x48,
|
||
|
0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||
|
0x6a, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x12, 0x1f, 0x2e,
|
||
|
0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
|
||
|
0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
|
||
|
0x2e, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61,
|
||
|
0x63, 0x68, 0x69, 0x6e, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f,
|
||
|
0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2f, 0x7b,
|
||
|
0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x42, 0x29, 0x5a, 0x27, 0x67,
|
||
|
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x75, 0x61, 0x6e, 0x66, 0x6f,
|
||
|
0x6e, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x2f, 0x67, 0x65, 0x6e,
|
||
|
0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_v1_headscale_proto_rawDescOnce sync.Once
|
||
|
file_v1_headscale_proto_rawDescData = file_v1_headscale_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_v1_headscale_proto_rawDescGZIP() []byte {
|
||
|
file_v1_headscale_proto_rawDescOnce.Do(func() {
|
||
|
file_v1_headscale_proto_rawDescData = protoimpl.X.CompressGZIP(file_v1_headscale_proto_rawDescData)
|
||
|
})
|
||
|
return file_v1_headscale_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_v1_headscale_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||
|
var file_v1_headscale_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||
|
var file_v1_headscale_proto_goTypes = []interface{}{
|
||
|
(RegisterMethod)(0), // 0: headscale.v1.RegisterMethod
|
||
|
(*Namespace)(nil), // 1: headscale.v1.Namespace
|
||
|
(*PreAuthKey)(nil), // 2: headscale.v1.PreAuthKey
|
||
|
(*GetMachineRequest)(nil), // 3: headscale.v1.GetMachineRequest
|
||
|
(*Machine)(nil), // 4: headscale.v1.Machine
|
||
|
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
||
|
}
|
||
|
var file_v1_headscale_proto_depIdxs = []int32{
|
||
|
1, // 0: headscale.v1.PreAuthKey.Namespace:type_name -> headscale.v1.Namespace
|
||
|
5, // 1: headscale.v1.PreAuthKey.CreatedAt:type_name -> google.protobuf.Timestamp
|
||
|
5, // 2: headscale.v1.PreAuthKey.Expiration:type_name -> google.protobuf.Timestamp
|
||
|
0, // 3: headscale.v1.Machine.RegisterMethod:type_name -> headscale.v1.RegisterMethod
|
||
|
2, // 4: headscale.v1.Machine.AuthKey:type_name -> headscale.v1.PreAuthKey
|
||
|
5, // 5: headscale.v1.Machine.LastSeen:type_name -> google.protobuf.Timestamp
|
||
|
5, // 6: headscale.v1.Machine.LastSuccessfulUpdate:type_name -> google.protobuf.Timestamp
|
||
|
5, // 7: headscale.v1.Machine.Expiry:type_name -> google.protobuf.Timestamp
|
||
|
5, // 8: headscale.v1.Machine.CreatedAt:type_name -> google.protobuf.Timestamp
|
||
|
5, // 9: headscale.v1.Machine.UpdatedAt:type_name -> google.protobuf.Timestamp
|
||
|
5, // 10: headscale.v1.Machine.DeletedAt:type_name -> google.protobuf.Timestamp
|
||
|
3, // 11: headscale.v1.HeadscaleService.GetMachine:input_type -> headscale.v1.GetMachineRequest
|
||
|
4, // 12: headscale.v1.HeadscaleService.GetMachine:output_type -> headscale.v1.Machine
|
||
|
12, // [12:13] is the sub-list for method output_type
|
||
|
11, // [11:12] is the sub-list for method input_type
|
||
|
11, // [11:11] is the sub-list for extension type_name
|
||
|
11, // [11:11] is the sub-list for extension extendee
|
||
|
0, // [0:11] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_v1_headscale_proto_init() }
|
||
|
func file_v1_headscale_proto_init() {
|
||
|
if File_v1_headscale_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_v1_headscale_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Namespace); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_v1_headscale_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*PreAuthKey); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_v1_headscale_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetMachineRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_v1_headscale_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Machine); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_v1_headscale_proto_rawDesc,
|
||
|
NumEnums: 1,
|
||
|
NumMessages: 4,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_v1_headscale_proto_goTypes,
|
||
|
DependencyIndexes: file_v1_headscale_proto_depIdxs,
|
||
|
EnumInfos: file_v1_headscale_proto_enumTypes,
|
||
|
MessageInfos: file_v1_headscale_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_v1_headscale_proto = out.File
|
||
|
file_v1_headscale_proto_rawDesc = nil
|
||
|
file_v1_headscale_proto_goTypes = nil
|
||
|
file_v1_headscale_proto_depIdxs = nil
|
||
|
}
|