Documentation ¶
Index ¶
- Variables
- func RegisterIonscaleServer(s grpc.ServiceRegistrar, srv IonscaleServer)
- type ACL
- type AuthKey
- func (*AuthKey) Descriptor() ([]byte, []int)deprecated
- func (x *AuthKey) GetCreatedAt() *timestamppb.Timestamp
- func (x *AuthKey) GetEphemeral() bool
- func (x *AuthKey) GetExpiresAt() *timestamppb.Timestamp
- func (x *AuthKey) GetId() uint64
- func (x *AuthKey) GetKey() string
- func (x *AuthKey) GetTags() []string
- func (x *AuthKey) GetTailnet() *Ref
- func (*AuthKey) ProtoMessage()
- func (x *AuthKey) ProtoReflect() protoreflect.Message
- func (x *AuthKey) Reset()
- func (x *AuthKey) String() string
- type CreateAuthKeyRequest
- func (*CreateAuthKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthKeyRequest) GetEphemeral() bool
- func (x *CreateAuthKeyRequest) GetExpiry() *durationpb.Duration
- func (x *CreateAuthKeyRequest) GetTags() []string
- func (x *CreateAuthKeyRequest) GetTailnetId() uint64
- func (*CreateAuthKeyRequest) ProtoMessage()
- func (x *CreateAuthKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAuthKeyRequest) Reset()
- func (x *CreateAuthKeyRequest) String() string
- type CreateAuthKeyResponse
- func (*CreateAuthKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthKeyResponse) GetAuthKey() *AuthKey
- func (x *CreateAuthKeyResponse) GetValue() string
- func (*CreateAuthKeyResponse) ProtoMessage()
- func (x *CreateAuthKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAuthKeyResponse) Reset()
- func (x *CreateAuthKeyResponse) String() string
- type CreateTailnetRequest
- func (*CreateTailnetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTailnetRequest) GetName() string
- func (*CreateTailnetRequest) ProtoMessage()
- func (x *CreateTailnetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTailnetRequest) Reset()
- func (x *CreateTailnetRequest) String() string
- type CreateTailnetResponse
- func (*CreateTailnetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTailnetResponse) GetTailnet() *Tailnet
- func (*CreateTailnetResponse) ProtoMessage()
- func (x *CreateTailnetResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTailnetResponse) Reset()
- func (x *CreateTailnetResponse) String() string
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DNSConfig) GetMagicDns() bool
- func (x *DNSConfig) GetNameservers() []string
- func (x *DNSConfig) GetOverrideLocalDns() bool
- func (x *DNSConfig) GetRoutes() map[string]*Routes
- func (*DNSConfig) ProtoMessage()
- func (x *DNSConfig) ProtoReflect() protoreflect.Message
- func (x *DNSConfig) Reset()
- func (x *DNSConfig) String() string
- type DeleteAuthKeyRequest
- func (*DeleteAuthKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAuthKeyRequest) GetAuthKeyId() uint64
- func (*DeleteAuthKeyRequest) ProtoMessage()
- func (x *DeleteAuthKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAuthKeyRequest) Reset()
- func (x *DeleteAuthKeyRequest) String() string
- type DeleteAuthKeyResponse
- type DeleteMachineRequest
- func (*DeleteMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMachineRequest) GetMachineId() uint64
- func (*DeleteMachineRequest) ProtoMessage()
- func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMachineRequest) Reset()
- func (x *DeleteMachineRequest) String() string
- type DeleteMachineResponse
- type DeleteTailnetRequest
- func (*DeleteTailnetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTailnetRequest) GetForce() bool
- func (x *DeleteTailnetRequest) GetTailnetId() uint64
- func (*DeleteTailnetRequest) ProtoMessage()
- func (x *DeleteTailnetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTailnetRequest) Reset()
- func (x *DeleteTailnetRequest) String() string
- type DeleteTailnetResponse
- type GetACLPolicyRequest
- func (*GetACLPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetACLPolicyRequest) GetTailnetId() uint64
- func (*GetACLPolicyRequest) ProtoMessage()
- func (x *GetACLPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetACLPolicyRequest) Reset()
- func (x *GetACLPolicyRequest) String() string
- type GetACLPolicyResponse
- func (*GetACLPolicyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetACLPolicyResponse) GetPolicy() *Policy
- func (*GetACLPolicyResponse) ProtoMessage()
- func (x *GetACLPolicyResponse) ProtoReflect() protoreflect.Message
- func (x *GetACLPolicyResponse) Reset()
- func (x *GetACLPolicyResponse) String() string
- type GetDNSConfigRequest
- func (*GetDNSConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDNSConfigRequest) GetTailnetId() uint64
- func (*GetDNSConfigRequest) ProtoMessage()
- func (x *GetDNSConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDNSConfigRequest) Reset()
- func (x *GetDNSConfigRequest) String() string
- type GetDNSConfigResponse
- func (*GetDNSConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDNSConfigResponse) GetConfig() *DNSConfig
- func (*GetDNSConfigResponse) ProtoMessage()
- func (x *GetDNSConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetDNSConfigResponse) Reset()
- func (x *GetDNSConfigResponse) String() string
- type GetMachineRoutesRequest
- func (*GetMachineRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRoutesRequest) GetMachineId() uint64
- func (*GetMachineRoutesRequest) ProtoMessage()
- func (x *GetMachineRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMachineRoutesRequest) Reset()
- func (x *GetMachineRoutesRequest) String() string
- type GetMachineRoutesResponse
- func (*GetMachineRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineRoutesResponse) GetRoutes() []*RoutableIP
- func (*GetMachineRoutesResponse) ProtoMessage()
- func (x *GetMachineRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *GetMachineRoutesResponse) Reset()
- func (x *GetMachineRoutesResponse) String() string
- type GetVersionRequest
- type GetVersionResponse
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetRevision() string
- func (x *GetVersionResponse) GetVersion() string
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- type IonscaleClient
- type IonscaleServer
- type ListAuthKeysRequest
- func (*ListAuthKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthKeysRequest) GetTailnetId() uint64
- func (*ListAuthKeysRequest) ProtoMessage()
- func (x *ListAuthKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuthKeysRequest) Reset()
- func (x *ListAuthKeysRequest) String() string
- type ListAuthKeysResponse
- func (*ListAuthKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthKeysResponse) GetAuthKeys() []*AuthKey
- func (*ListAuthKeysResponse) ProtoMessage()
- func (x *ListAuthKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuthKeysResponse) Reset()
- func (x *ListAuthKeysResponse) String() string
- type ListMachinesRequest
- func (*ListMachinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesRequest) GetTailnetId() uint64
- func (*ListMachinesRequest) ProtoMessage()
- func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMachinesRequest) Reset()
- func (x *ListMachinesRequest) String() string
- type ListMachinesResponse
- func (*ListMachinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesResponse) GetMachines() []*Machine
- func (*ListMachinesResponse) ProtoMessage()
- func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMachinesResponse) Reset()
- func (x *ListMachinesResponse) String() string
- type ListTailnetRequest
- type ListTailnetResponse
- func (*ListTailnetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTailnetResponse) GetTailnet() []*Tailnet
- func (*ListTailnetResponse) ProtoMessage()
- func (x *ListTailnetResponse) ProtoReflect() protoreflect.Message
- func (x *ListTailnetResponse) Reset()
- func (x *ListTailnetResponse) String() string
- type Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetConnected() bool
- func (x *Machine) GetEphemeral() bool
- func (x *Machine) GetId() uint64
- func (x *Machine) GetIpv4() string
- func (x *Machine) GetIpv6() string
- func (x *Machine) GetLastSeen() *timestamppb.Timestamp
- func (x *Machine) GetName() string
- func (x *Machine) GetTags() []string
- func (x *Machine) GetTailnet() *Ref
- func (x *Machine) GetUser() *Ref
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type Policy
- type Ref
- type RoutableIP
- type Routes
- type SetACLPolicyRequest
- func (*SetACLPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetACLPolicyRequest) GetPolicy() *Policy
- func (x *SetACLPolicyRequest) GetTailnetId() uint64
- func (*SetACLPolicyRequest) ProtoMessage()
- func (x *SetACLPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *SetACLPolicyRequest) Reset()
- func (x *SetACLPolicyRequest) String() string
- type SetACLPolicyResponse
- type SetDNSConfigRequest
- func (*SetDNSConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSConfigRequest) GetConfig() *DNSConfig
- func (x *SetDNSConfigRequest) GetTailnetId() uint64
- func (*SetDNSConfigRequest) ProtoMessage()
- func (x *SetDNSConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetDNSConfigRequest) Reset()
- func (x *SetDNSConfigRequest) String() string
- type SetDNSConfigResponse
- func (*SetDNSConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSConfigResponse) GetConfig() *DNSConfig
- func (*SetDNSConfigResponse) ProtoMessage()
- func (x *SetDNSConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SetDNSConfigResponse) Reset()
- func (x *SetDNSConfigResponse) String() string
- type SetMachineRoutesRequest
- func (*SetMachineRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMachineRoutesRequest) GetAllowedIps() []string
- func (x *SetMachineRoutesRequest) GetMachineId() uint64
- func (*SetMachineRoutesRequest) ProtoMessage()
- func (x *SetMachineRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *SetMachineRoutesRequest) Reset()
- func (x *SetMachineRoutesRequest) String() string
- type Tailnet
- type UnimplementedIonscaleServer
- func (UnimplementedIonscaleServer) CreateAuthKey(context.Context, *CreateAuthKeyRequest) (*CreateAuthKeyResponse, error)
- func (UnimplementedIonscaleServer) CreateTailnet(context.Context, *CreateTailnetRequest) (*CreateTailnetResponse, error)
- func (UnimplementedIonscaleServer) DeleteAuthKey(context.Context, *DeleteAuthKeyRequest) (*DeleteAuthKeyResponse, error)
- func (UnimplementedIonscaleServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
- func (UnimplementedIonscaleServer) DeleteTailnet(context.Context, *DeleteTailnetRequest) (*DeleteTailnetResponse, error)
- func (UnimplementedIonscaleServer) GetACLPolicy(context.Context, *GetACLPolicyRequest) (*GetACLPolicyResponse, error)
- func (UnimplementedIonscaleServer) GetDNSConfig(context.Context, *GetDNSConfigRequest) (*GetDNSConfigResponse, error)
- func (UnimplementedIonscaleServer) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
- func (UnimplementedIonscaleServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
- func (UnimplementedIonscaleServer) ListAuthKeys(context.Context, *ListAuthKeysRequest) (*ListAuthKeysResponse, error)
- func (UnimplementedIonscaleServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
- func (UnimplementedIonscaleServer) ListTailnets(context.Context, *ListTailnetRequest) (*ListTailnetResponse, error)
- func (UnimplementedIonscaleServer) SetACLPolicy(context.Context, *SetACLPolicyRequest) (*SetACLPolicyResponse, error)
- func (UnimplementedIonscaleServer) SetDNSConfig(context.Context, *SetDNSConfigRequest) (*SetDNSConfigResponse, error)
- func (UnimplementedIonscaleServer) SetMachineRoutes(context.Context, *SetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
- type UnsafeIonscaleServer
Constants ¶
This section is empty.
Variables ¶
var File_api_acl_proto protoreflect.FileDescriptor
var File_api_auth_keys_proto protoreflect.FileDescriptor
var File_api_dns_proto protoreflect.FileDescriptor
var File_api_ionscale_proto protoreflect.FileDescriptor
var File_api_machines_proto protoreflect.FileDescriptor
var File_api_ref_proto protoreflect.FileDescriptor
var File_api_routes_proto protoreflect.FileDescriptor
var File_api_tailnets_proto protoreflect.FileDescriptor
var File_api_version_proto protoreflect.FileDescriptor
var Ionscale_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.Ionscale", HandlerType: (*IonscaleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVersion", Handler: _Ionscale_GetVersion_Handler, }, { MethodName: "CreateTailnet", Handler: _Ionscale_CreateTailnet_Handler, }, { MethodName: "ListTailnets", Handler: _Ionscale_ListTailnets_Handler, }, { MethodName: "DeleteTailnet", Handler: _Ionscale_DeleteTailnet_Handler, }, { MethodName: "GetDNSConfig", Handler: _Ionscale_GetDNSConfig_Handler, }, { MethodName: "SetDNSConfig", Handler: _Ionscale_SetDNSConfig_Handler, }, { MethodName: "GetACLPolicy", Handler: _Ionscale_GetACLPolicy_Handler, }, { MethodName: "SetACLPolicy", Handler: _Ionscale_SetACLPolicy_Handler, }, { MethodName: "CreateAuthKey", Handler: _Ionscale_CreateAuthKey_Handler, }, { MethodName: "DeleteAuthKey", Handler: _Ionscale_DeleteAuthKey_Handler, }, { MethodName: "ListAuthKeys", Handler: _Ionscale_ListAuthKeys_Handler, }, { MethodName: "ListMachines", Handler: _Ionscale_ListMachines_Handler, }, { MethodName: "DeleteMachine", Handler: _Ionscale_DeleteMachine_Handler, }, { MethodName: "GetMachineRoutes", Handler: _Ionscale_GetMachineRoutes_Handler, }, { MethodName: "SetMachineRoutes", Handler: _Ionscale_SetMachineRoutes_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/ionscale.proto", }
Ionscale_ServiceDesc is the grpc.ServiceDesc for Ionscale service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIonscaleServer ¶
func RegisterIonscaleServer(s grpc.ServiceRegistrar, srv IonscaleServer)
Types ¶
type ACL ¶
type ACL struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` Src []string `protobuf:"bytes,2,rep,name=src,proto3" json:"src,omitempty"` Dst []string `protobuf:"bytes,3,rep,name=dst,proto3" json:"dst,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type AuthKey ¶
type AuthKey struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` Tailnet *Ref `protobuf:"bytes,7,opt,name=tailnet,proto3" json:"tailnet,omitempty"` // contains filtered or unexported fields }
func (*AuthKey) Descriptor
deprecated
func (*AuthKey) GetCreatedAt ¶
func (x *AuthKey) GetCreatedAt() *timestamppb.Timestamp
func (*AuthKey) GetEphemeral ¶
func (*AuthKey) GetExpiresAt ¶
func (x *AuthKey) GetExpiresAt() *timestamppb.Timestamp
func (*AuthKey) GetTailnet ¶
func (*AuthKey) ProtoMessage ¶
func (*AuthKey) ProtoMessage()
func (*AuthKey) ProtoReflect ¶
func (x *AuthKey) ProtoReflect() protoreflect.Message
type CreateAuthKeyRequest ¶
type CreateAuthKeyRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` Ephemeral bool `protobuf:"varint,2,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` Expiry *durationpb.Duration `protobuf:"bytes,3,opt,name=expiry,proto3,oneof" json:"expiry,omitempty"` Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthKeyRequest) Descriptor
deprecated
func (*CreateAuthKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthKeyRequest) GetEphemeral ¶
func (x *CreateAuthKeyRequest) GetEphemeral() bool
func (*CreateAuthKeyRequest) GetExpiry ¶
func (x *CreateAuthKeyRequest) GetExpiry() *durationpb.Duration
func (*CreateAuthKeyRequest) GetTags ¶
func (x *CreateAuthKeyRequest) GetTags() []string
func (*CreateAuthKeyRequest) GetTailnetId ¶
func (x *CreateAuthKeyRequest) GetTailnetId() uint64
func (*CreateAuthKeyRequest) ProtoMessage ¶
func (*CreateAuthKeyRequest) ProtoMessage()
func (*CreateAuthKeyRequest) ProtoReflect ¶
func (x *CreateAuthKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateAuthKeyRequest) Reset ¶
func (x *CreateAuthKeyRequest) Reset()
func (*CreateAuthKeyRequest) String ¶
func (x *CreateAuthKeyRequest) String() string
type CreateAuthKeyResponse ¶
type CreateAuthKeyResponse struct { AuthKey *AuthKey `protobuf:"bytes,1,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthKeyResponse) Descriptor
deprecated
func (*CreateAuthKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateAuthKeyResponse) GetAuthKey ¶
func (x *CreateAuthKeyResponse) GetAuthKey() *AuthKey
func (*CreateAuthKeyResponse) GetValue ¶
func (x *CreateAuthKeyResponse) GetValue() string
func (*CreateAuthKeyResponse) ProtoMessage ¶
func (*CreateAuthKeyResponse) ProtoMessage()
func (*CreateAuthKeyResponse) ProtoReflect ¶
func (x *CreateAuthKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateAuthKeyResponse) Reset ¶
func (x *CreateAuthKeyResponse) Reset()
func (*CreateAuthKeyResponse) String ¶
func (x *CreateAuthKeyResponse) String() string
type CreateTailnetRequest ¶
type CreateTailnetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateTailnetRequest) Descriptor
deprecated
func (*CreateTailnetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTailnetRequest.ProtoReflect.Descriptor instead.
func (*CreateTailnetRequest) GetName ¶
func (x *CreateTailnetRequest) GetName() string
func (*CreateTailnetRequest) ProtoMessage ¶
func (*CreateTailnetRequest) ProtoMessage()
func (*CreateTailnetRequest) ProtoReflect ¶
func (x *CreateTailnetRequest) ProtoReflect() protoreflect.Message
func (*CreateTailnetRequest) Reset ¶
func (x *CreateTailnetRequest) Reset()
func (*CreateTailnetRequest) String ¶
func (x *CreateTailnetRequest) String() string
type CreateTailnetResponse ¶
type CreateTailnetResponse struct { Tailnet *Tailnet `protobuf:"bytes,1,opt,name=tailnet,proto3" json:"tailnet,omitempty"` // contains filtered or unexported fields }
func (*CreateTailnetResponse) Descriptor
deprecated
func (*CreateTailnetResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTailnetResponse.ProtoReflect.Descriptor instead.
func (*CreateTailnetResponse) GetTailnet ¶
func (x *CreateTailnetResponse) GetTailnet() *Tailnet
func (*CreateTailnetResponse) ProtoMessage ¶
func (*CreateTailnetResponse) ProtoMessage()
func (*CreateTailnetResponse) ProtoReflect ¶
func (x *CreateTailnetResponse) ProtoReflect() protoreflect.Message
func (*CreateTailnetResponse) Reset ¶
func (x *CreateTailnetResponse) Reset()
func (*CreateTailnetResponse) String ¶
func (x *CreateTailnetResponse) String() string
type DNSConfig ¶
type DNSConfig struct { MagicDns bool `protobuf:"varint,1,opt,name=magic_dns,json=magicDns,proto3" json:"magic_dns,omitempty"` OverrideLocalDns bool `protobuf:"varint,2,opt,name=override_local_dns,json=overrideLocalDns,proto3" json:"override_local_dns,omitempty"` Nameservers []string `protobuf:"bytes,3,rep,name=nameservers,proto3" json:"nameservers,omitempty"` Routes map[string]*Routes `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DNSConfig) Descriptor
deprecated
func (*DNSConfig) GetMagicDns ¶
func (*DNSConfig) GetNameservers ¶
func (*DNSConfig) GetOverrideLocalDns ¶
func (*DNSConfig) ProtoMessage ¶
func (*DNSConfig) ProtoMessage()
func (*DNSConfig) ProtoReflect ¶
func (x *DNSConfig) ProtoReflect() protoreflect.Message
type DeleteAuthKeyRequest ¶
type DeleteAuthKeyRequest struct { AuthKeyId uint64 `protobuf:"varint,1,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAuthKeyRequest) Descriptor
deprecated
func (*DeleteAuthKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthKeyRequest) GetAuthKeyId ¶
func (x *DeleteAuthKeyRequest) GetAuthKeyId() uint64
func (*DeleteAuthKeyRequest) ProtoMessage ¶
func (*DeleteAuthKeyRequest) ProtoMessage()
func (*DeleteAuthKeyRequest) ProtoReflect ¶
func (x *DeleteAuthKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteAuthKeyRequest) Reset ¶
func (x *DeleteAuthKeyRequest) Reset()
func (*DeleteAuthKeyRequest) String ¶
func (x *DeleteAuthKeyRequest) String() string
type DeleteAuthKeyResponse ¶
type DeleteAuthKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAuthKeyResponse) Descriptor
deprecated
func (*DeleteAuthKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteAuthKeyResponse) ProtoMessage ¶
func (*DeleteAuthKeyResponse) ProtoMessage()
func (*DeleteAuthKeyResponse) ProtoReflect ¶
func (x *DeleteAuthKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteAuthKeyResponse) Reset ¶
func (x *DeleteAuthKeyResponse) Reset()
func (*DeleteAuthKeyResponse) String ¶
func (x *DeleteAuthKeyResponse) String() string
type DeleteMachineRequest ¶
type DeleteMachineRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMachineRequest) Descriptor
deprecated
func (*DeleteMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineRequest.ProtoReflect.Descriptor instead.
func (*DeleteMachineRequest) GetMachineId ¶
func (x *DeleteMachineRequest) GetMachineId() uint64
func (*DeleteMachineRequest) ProtoMessage ¶
func (*DeleteMachineRequest) ProtoMessage()
func (*DeleteMachineRequest) ProtoReflect ¶
func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
func (*DeleteMachineRequest) Reset ¶
func (x *DeleteMachineRequest) Reset()
func (*DeleteMachineRequest) String ¶
func (x *DeleteMachineRequest) String() string
type DeleteMachineResponse ¶
type DeleteMachineResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMachineResponse) Descriptor
deprecated
func (*DeleteMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineResponse.ProtoReflect.Descriptor instead.
func (*DeleteMachineResponse) ProtoMessage ¶
func (*DeleteMachineResponse) ProtoMessage()
func (*DeleteMachineResponse) ProtoReflect ¶
func (x *DeleteMachineResponse) ProtoReflect() protoreflect.Message
func (*DeleteMachineResponse) Reset ¶
func (x *DeleteMachineResponse) Reset()
func (*DeleteMachineResponse) String ¶
func (x *DeleteMachineResponse) String() string
type DeleteTailnetRequest ¶
type DeleteTailnetRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteTailnetRequest) Descriptor
deprecated
func (*DeleteTailnetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTailnetRequest.ProtoReflect.Descriptor instead.
func (*DeleteTailnetRequest) GetForce ¶
func (x *DeleteTailnetRequest) GetForce() bool
func (*DeleteTailnetRequest) GetTailnetId ¶
func (x *DeleteTailnetRequest) GetTailnetId() uint64
func (*DeleteTailnetRequest) ProtoMessage ¶
func (*DeleteTailnetRequest) ProtoMessage()
func (*DeleteTailnetRequest) ProtoReflect ¶
func (x *DeleteTailnetRequest) ProtoReflect() protoreflect.Message
func (*DeleteTailnetRequest) Reset ¶
func (x *DeleteTailnetRequest) Reset()
func (*DeleteTailnetRequest) String ¶
func (x *DeleteTailnetRequest) String() string
type DeleteTailnetResponse ¶
type DeleteTailnetResponse struct {
// contains filtered or unexported fields
}
func (*DeleteTailnetResponse) Descriptor
deprecated
func (*DeleteTailnetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTailnetResponse.ProtoReflect.Descriptor instead.
func (*DeleteTailnetResponse) ProtoMessage ¶
func (*DeleteTailnetResponse) ProtoMessage()
func (*DeleteTailnetResponse) ProtoReflect ¶
func (x *DeleteTailnetResponse) ProtoReflect() protoreflect.Message
func (*DeleteTailnetResponse) Reset ¶
func (x *DeleteTailnetResponse) Reset()
func (*DeleteTailnetResponse) String ¶
func (x *DeleteTailnetResponse) String() string
type GetACLPolicyRequest ¶
type GetACLPolicyRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` // contains filtered or unexported fields }
func (*GetACLPolicyRequest) Descriptor
deprecated
func (*GetACLPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetACLPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetACLPolicyRequest) GetTailnetId ¶
func (x *GetACLPolicyRequest) GetTailnetId() uint64
func (*GetACLPolicyRequest) ProtoMessage ¶
func (*GetACLPolicyRequest) ProtoMessage()
func (*GetACLPolicyRequest) ProtoReflect ¶
func (x *GetACLPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetACLPolicyRequest) Reset ¶
func (x *GetACLPolicyRequest) Reset()
func (*GetACLPolicyRequest) String ¶
func (x *GetACLPolicyRequest) String() string
type GetACLPolicyResponse ¶
type GetACLPolicyResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*GetACLPolicyResponse) Descriptor
deprecated
func (*GetACLPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetACLPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetACLPolicyResponse) GetPolicy ¶
func (x *GetACLPolicyResponse) GetPolicy() *Policy
func (*GetACLPolicyResponse) ProtoMessage ¶
func (*GetACLPolicyResponse) ProtoMessage()
func (*GetACLPolicyResponse) ProtoReflect ¶
func (x *GetACLPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetACLPolicyResponse) Reset ¶
func (x *GetACLPolicyResponse) Reset()
func (*GetACLPolicyResponse) String ¶
func (x *GetACLPolicyResponse) String() string
type GetDNSConfigRequest ¶
type GetDNSConfigRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` // contains filtered or unexported fields }
func (*GetDNSConfigRequest) Descriptor
deprecated
func (*GetDNSConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDNSConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDNSConfigRequest) GetTailnetId ¶
func (x *GetDNSConfigRequest) GetTailnetId() uint64
func (*GetDNSConfigRequest) ProtoMessage ¶
func (*GetDNSConfigRequest) ProtoMessage()
func (*GetDNSConfigRequest) ProtoReflect ¶
func (x *GetDNSConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDNSConfigRequest) Reset ¶
func (x *GetDNSConfigRequest) Reset()
func (*GetDNSConfigRequest) String ¶
func (x *GetDNSConfigRequest) String() string
type GetDNSConfigResponse ¶
type GetDNSConfigResponse struct { Config *DNSConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetDNSConfigResponse) Descriptor
deprecated
func (*GetDNSConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDNSConfigResponse.ProtoReflect.Descriptor instead.
func (*GetDNSConfigResponse) GetConfig ¶
func (x *GetDNSConfigResponse) GetConfig() *DNSConfig
func (*GetDNSConfigResponse) ProtoMessage ¶
func (*GetDNSConfigResponse) ProtoMessage()
func (*GetDNSConfigResponse) ProtoReflect ¶
func (x *GetDNSConfigResponse) ProtoReflect() protoreflect.Message
func (*GetDNSConfigResponse) Reset ¶
func (x *GetDNSConfigResponse) Reset()
func (*GetDNSConfigResponse) String ¶
func (x *GetDNSConfigResponse) String() string
type GetMachineRoutesRequest ¶
type GetMachineRoutesRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRoutesRequest) Descriptor
deprecated
func (*GetMachineRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRoutesRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRoutesRequest) GetMachineId ¶
func (x *GetMachineRoutesRequest) GetMachineId() uint64
func (*GetMachineRoutesRequest) ProtoMessage ¶
func (*GetMachineRoutesRequest) ProtoMessage()
func (*GetMachineRoutesRequest) ProtoReflect ¶
func (x *GetMachineRoutesRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRoutesRequest) Reset ¶
func (x *GetMachineRoutesRequest) Reset()
func (*GetMachineRoutesRequest) String ¶
func (x *GetMachineRoutesRequest) String() string
type GetMachineRoutesResponse ¶
type GetMachineRoutesResponse struct { Routes []*RoutableIP `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRoutesResponse) Descriptor
deprecated
func (*GetMachineRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRoutesResponse.ProtoReflect.Descriptor instead.
func (*GetMachineRoutesResponse) GetRoutes ¶
func (x *GetMachineRoutesResponse) GetRoutes() []*RoutableIP
func (*GetMachineRoutesResponse) ProtoMessage ¶
func (*GetMachineRoutesResponse) ProtoMessage()
func (*GetMachineRoutesResponse) ProtoReflect ¶
func (x *GetMachineRoutesResponse) ProtoReflect() protoreflect.Message
func (*GetMachineRoutesResponse) Reset ¶
func (x *GetMachineRoutesResponse) Reset()
func (*GetMachineRoutesResponse) String ¶
func (x *GetMachineRoutesResponse) String() string
type GetVersionRequest ¶
type GetVersionRequest struct {
// contains filtered or unexported fields
}
func (*GetVersionRequest) Descriptor
deprecated
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
type GetVersionResponse ¶
type GetVersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
func (*GetVersionResponse) Descriptor
deprecated
func (*GetVersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.
func (*GetVersionResponse) GetRevision ¶
func (x *GetVersionResponse) GetRevision() string
func (*GetVersionResponse) GetVersion ¶
func (x *GetVersionResponse) GetVersion() string
func (*GetVersionResponse) ProtoMessage ¶
func (*GetVersionResponse) ProtoMessage()
func (*GetVersionResponse) ProtoReflect ¶
func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
func (*GetVersionResponse) Reset ¶
func (x *GetVersionResponse) Reset()
func (*GetVersionResponse) String ¶
func (x *GetVersionResponse) String() string
type IonscaleClient ¶
type IonscaleClient interface { GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error) CreateTailnet(ctx context.Context, in *CreateTailnetRequest, opts ...grpc.CallOption) (*CreateTailnetResponse, error) ListTailnets(ctx context.Context, in *ListTailnetRequest, opts ...grpc.CallOption) (*ListTailnetResponse, error) DeleteTailnet(ctx context.Context, in *DeleteTailnetRequest, opts ...grpc.CallOption) (*DeleteTailnetResponse, error) GetDNSConfig(ctx context.Context, in *GetDNSConfigRequest, opts ...grpc.CallOption) (*GetDNSConfigResponse, error) SetDNSConfig(ctx context.Context, in *SetDNSConfigRequest, opts ...grpc.CallOption) (*SetDNSConfigResponse, error) GetACLPolicy(ctx context.Context, in *GetACLPolicyRequest, opts ...grpc.CallOption) (*GetACLPolicyResponse, error) SetACLPolicy(ctx context.Context, in *SetACLPolicyRequest, opts ...grpc.CallOption) (*SetACLPolicyResponse, error) CreateAuthKey(ctx context.Context, in *CreateAuthKeyRequest, opts ...grpc.CallOption) (*CreateAuthKeyResponse, error) DeleteAuthKey(ctx context.Context, in *DeleteAuthKeyRequest, opts ...grpc.CallOption) (*DeleteAuthKeyResponse, error) ListAuthKeys(ctx context.Context, in *ListAuthKeysRequest, opts ...grpc.CallOption) (*ListAuthKeysResponse, error) ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error) DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*DeleteMachineResponse, error) GetMachineRoutes(ctx context.Context, in *GetMachineRoutesRequest, opts ...grpc.CallOption) (*GetMachineRoutesResponse, error) SetMachineRoutes(ctx context.Context, in *SetMachineRoutesRequest, opts ...grpc.CallOption) (*GetMachineRoutesResponse, error) }
IonscaleClient is the client API for Ionscale service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIonscaleClient ¶
func NewIonscaleClient(cc grpc.ClientConnInterface) IonscaleClient
type IonscaleServer ¶
type IonscaleServer interface { GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error) CreateTailnet(context.Context, *CreateTailnetRequest) (*CreateTailnetResponse, error) ListTailnets(context.Context, *ListTailnetRequest) (*ListTailnetResponse, error) DeleteTailnet(context.Context, *DeleteTailnetRequest) (*DeleteTailnetResponse, error) GetDNSConfig(context.Context, *GetDNSConfigRequest) (*GetDNSConfigResponse, error) SetDNSConfig(context.Context, *SetDNSConfigRequest) (*SetDNSConfigResponse, error) GetACLPolicy(context.Context, *GetACLPolicyRequest) (*GetACLPolicyResponse, error) SetACLPolicy(context.Context, *SetACLPolicyRequest) (*SetACLPolicyResponse, error) CreateAuthKey(context.Context, *CreateAuthKeyRequest) (*CreateAuthKeyResponse, error) DeleteAuthKey(context.Context, *DeleteAuthKeyRequest) (*DeleteAuthKeyResponse, error) ListAuthKeys(context.Context, *ListAuthKeysRequest) (*ListAuthKeysResponse, error) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error) SetMachineRoutes(context.Context, *SetMachineRoutesRequest) (*GetMachineRoutesResponse, error) }
IonscaleServer is the server API for Ionscale service. All implementations should embed UnimplementedIonscaleServer for forward compatibility
type ListAuthKeysRequest ¶
type ListAuthKeysRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` // contains filtered or unexported fields }
func (*ListAuthKeysRequest) Descriptor
deprecated
func (*ListAuthKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthKeysRequest.ProtoReflect.Descriptor instead.
func (*ListAuthKeysRequest) GetTailnetId ¶
func (x *ListAuthKeysRequest) GetTailnetId() uint64
func (*ListAuthKeysRequest) ProtoMessage ¶
func (*ListAuthKeysRequest) ProtoMessage()
func (*ListAuthKeysRequest) ProtoReflect ¶
func (x *ListAuthKeysRequest) ProtoReflect() protoreflect.Message
func (*ListAuthKeysRequest) Reset ¶
func (x *ListAuthKeysRequest) Reset()
func (*ListAuthKeysRequest) String ¶
func (x *ListAuthKeysRequest) String() string
type ListAuthKeysResponse ¶
type ListAuthKeysResponse struct { AuthKeys []*AuthKey `protobuf:"bytes,1,rep,name=auth_keys,json=authKeys,proto3" json:"auth_keys,omitempty"` // contains filtered or unexported fields }
func (*ListAuthKeysResponse) Descriptor
deprecated
func (*ListAuthKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthKeysResponse.ProtoReflect.Descriptor instead.
func (*ListAuthKeysResponse) GetAuthKeys ¶
func (x *ListAuthKeysResponse) GetAuthKeys() []*AuthKey
func (*ListAuthKeysResponse) ProtoMessage ¶
func (*ListAuthKeysResponse) ProtoMessage()
func (*ListAuthKeysResponse) ProtoReflect ¶
func (x *ListAuthKeysResponse) ProtoReflect() protoreflect.Message
func (*ListAuthKeysResponse) Reset ¶
func (x *ListAuthKeysResponse) Reset()
func (*ListAuthKeysResponse) String ¶
func (x *ListAuthKeysResponse) String() string
type ListMachinesRequest ¶
type ListMachinesRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesRequest) Descriptor
deprecated
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) GetTailnetId ¶
func (x *ListMachinesRequest) GetTailnetId() uint64
func (*ListMachinesRequest) ProtoMessage ¶
func (*ListMachinesRequest) ProtoMessage()
func (*ListMachinesRequest) ProtoReflect ¶
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
func (*ListMachinesRequest) Reset ¶
func (x *ListMachinesRequest) Reset()
func (*ListMachinesRequest) String ¶
func (x *ListMachinesRequest) String() string
type ListMachinesResponse ¶
type ListMachinesResponse struct { Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesResponse) Descriptor
deprecated
func (*ListMachinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.
func (*ListMachinesResponse) GetMachines ¶
func (x *ListMachinesResponse) GetMachines() []*Machine
func (*ListMachinesResponse) ProtoMessage ¶
func (*ListMachinesResponse) ProtoMessage()
func (*ListMachinesResponse) ProtoReflect ¶
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
func (*ListMachinesResponse) Reset ¶
func (x *ListMachinesResponse) Reset()
func (*ListMachinesResponse) String ¶
func (x *ListMachinesResponse) String() string
type ListTailnetRequest ¶
type ListTailnetRequest struct {
// contains filtered or unexported fields
}
func (*ListTailnetRequest) Descriptor
deprecated
func (*ListTailnetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTailnetRequest.ProtoReflect.Descriptor instead.
func (*ListTailnetRequest) ProtoMessage ¶
func (*ListTailnetRequest) ProtoMessage()
func (*ListTailnetRequest) ProtoReflect ¶
func (x *ListTailnetRequest) ProtoReflect() protoreflect.Message
func (*ListTailnetRequest) Reset ¶
func (x *ListTailnetRequest) Reset()
func (*ListTailnetRequest) String ¶
func (x *ListTailnetRequest) String() string
type ListTailnetResponse ¶
type ListTailnetResponse struct { Tailnet []*Tailnet `protobuf:"bytes,1,rep,name=tailnet,proto3" json:"tailnet,omitempty"` // contains filtered or unexported fields }
func (*ListTailnetResponse) Descriptor
deprecated
func (*ListTailnetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTailnetResponse.ProtoReflect.Descriptor instead.
func (*ListTailnetResponse) GetTailnet ¶
func (x *ListTailnetResponse) GetTailnet() []*Tailnet
func (*ListTailnetResponse) ProtoMessage ¶
func (*ListTailnetResponse) ProtoMessage()
func (*ListTailnetResponse) ProtoReflect ¶
func (x *ListTailnetResponse) ProtoReflect() protoreflect.Message
func (*ListTailnetResponse) Reset ¶
func (x *ListTailnetResponse) Reset()
func (*ListTailnetResponse) String ¶
func (x *ListTailnetResponse) String() string
type Machine ¶
type Machine struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Ipv4 string `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"` Ipv6 string `protobuf:"bytes,4,opt,name=ipv6,proto3" json:"ipv6,omitempty"` Ephemeral bool `protobuf:"varint,5,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` LastSeen *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` Connected bool `protobuf:"varint,7,opt,name=connected,proto3" json:"connected,omitempty"` Tailnet *Ref `protobuf:"bytes,8,opt,name=tailnet,proto3" json:"tailnet,omitempty"` User *Ref `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty"` Tags []string `protobuf:"bytes,10,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Machine) Descriptor
deprecated
func (*Machine) GetConnected ¶
func (*Machine) GetEphemeral ¶
func (*Machine) GetLastSeen ¶
func (x *Machine) GetLastSeen() *timestamppb.Timestamp
func (*Machine) GetTailnet ¶
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type Policy ¶
type Policy struct { Hosts map[string]string `` /* 151-byte string literal not displayed */ Acls []*ACL `protobuf:"bytes,2,rep,name=acls,proto3" json:"acls,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type Ref ¶
type Ref struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Ref) Descriptor
deprecated
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) ProtoReflect ¶
func (x *Ref) ProtoReflect() protoreflect.Message
type RoutableIP ¶
type RoutableIP struct { Advertised string `protobuf:"bytes,1,opt,name=advertised,proto3" json:"advertised,omitempty"` Allowed bool `protobuf:"varint,2,opt,name=allowed,proto3" json:"allowed,omitempty"` // contains filtered or unexported fields }
func (*RoutableIP) Descriptor
deprecated
func (*RoutableIP) Descriptor() ([]byte, []int)
Deprecated: Use RoutableIP.ProtoReflect.Descriptor instead.
func (*RoutableIP) GetAdvertised ¶
func (x *RoutableIP) GetAdvertised() string
func (*RoutableIP) GetAllowed ¶
func (x *RoutableIP) GetAllowed() bool
func (*RoutableIP) ProtoMessage ¶
func (*RoutableIP) ProtoMessage()
func (*RoutableIP) ProtoReflect ¶
func (x *RoutableIP) ProtoReflect() protoreflect.Message
func (*RoutableIP) Reset ¶
func (x *RoutableIP) Reset()
func (*RoutableIP) String ¶
func (x *RoutableIP) String() string
type Routes ¶
type Routes struct { Routes []string `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*Routes) Descriptor
deprecated
func (*Routes) ProtoMessage ¶
func (*Routes) ProtoMessage()
func (*Routes) ProtoReflect ¶
func (x *Routes) ProtoReflect() protoreflect.Message
type SetACLPolicyRequest ¶
type SetACLPolicyRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` Policy *Policy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*SetACLPolicyRequest) Descriptor
deprecated
func (*SetACLPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetACLPolicyRequest.ProtoReflect.Descriptor instead.
func (*SetACLPolicyRequest) GetPolicy ¶
func (x *SetACLPolicyRequest) GetPolicy() *Policy
func (*SetACLPolicyRequest) GetTailnetId ¶
func (x *SetACLPolicyRequest) GetTailnetId() uint64
func (*SetACLPolicyRequest) ProtoMessage ¶
func (*SetACLPolicyRequest) ProtoMessage()
func (*SetACLPolicyRequest) ProtoReflect ¶
func (x *SetACLPolicyRequest) ProtoReflect() protoreflect.Message
func (*SetACLPolicyRequest) Reset ¶
func (x *SetACLPolicyRequest) Reset()
func (*SetACLPolicyRequest) String ¶
func (x *SetACLPolicyRequest) String() string
type SetACLPolicyResponse ¶
type SetACLPolicyResponse struct {
// contains filtered or unexported fields
}
func (*SetACLPolicyResponse) Descriptor
deprecated
func (*SetACLPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetACLPolicyResponse.ProtoReflect.Descriptor instead.
func (*SetACLPolicyResponse) ProtoMessage ¶
func (*SetACLPolicyResponse) ProtoMessage()
func (*SetACLPolicyResponse) ProtoReflect ¶
func (x *SetACLPolicyResponse) ProtoReflect() protoreflect.Message
func (*SetACLPolicyResponse) Reset ¶
func (x *SetACLPolicyResponse) Reset()
func (*SetACLPolicyResponse) String ¶
func (x *SetACLPolicyResponse) String() string
type SetDNSConfigRequest ¶
type SetDNSConfigRequest struct { TailnetId uint64 `protobuf:"varint,1,opt,name=tailnet_id,json=tailnetId,proto3" json:"tailnet_id,omitempty"` Config *DNSConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SetDNSConfigRequest) Descriptor
deprecated
func (*SetDNSConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSConfigRequest.ProtoReflect.Descriptor instead.
func (*SetDNSConfigRequest) GetConfig ¶
func (x *SetDNSConfigRequest) GetConfig() *DNSConfig
func (*SetDNSConfigRequest) GetTailnetId ¶
func (x *SetDNSConfigRequest) GetTailnetId() uint64
func (*SetDNSConfigRequest) ProtoMessage ¶
func (*SetDNSConfigRequest) ProtoMessage()
func (*SetDNSConfigRequest) ProtoReflect ¶
func (x *SetDNSConfigRequest) ProtoReflect() protoreflect.Message
func (*SetDNSConfigRequest) Reset ¶
func (x *SetDNSConfigRequest) Reset()
func (*SetDNSConfigRequest) String ¶
func (x *SetDNSConfigRequest) String() string
type SetDNSConfigResponse ¶
type SetDNSConfigResponse struct { Config *DNSConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SetDNSConfigResponse) Descriptor
deprecated
func (*SetDNSConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSConfigResponse.ProtoReflect.Descriptor instead.
func (*SetDNSConfigResponse) GetConfig ¶
func (x *SetDNSConfigResponse) GetConfig() *DNSConfig
func (*SetDNSConfigResponse) ProtoMessage ¶
func (*SetDNSConfigResponse) ProtoMessage()
func (*SetDNSConfigResponse) ProtoReflect ¶
func (x *SetDNSConfigResponse) ProtoReflect() protoreflect.Message
func (*SetDNSConfigResponse) Reset ¶
func (x *SetDNSConfigResponse) Reset()
func (*SetDNSConfigResponse) String ¶
func (x *SetDNSConfigResponse) String() string
type SetMachineRoutesRequest ¶
type SetMachineRoutesRequest struct { MachineId uint64 `protobuf:"varint,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"` AllowedIps []string `protobuf:"bytes,2,rep,name=allowedIps,proto3" json:"allowedIps,omitempty"` // contains filtered or unexported fields }
func (*SetMachineRoutesRequest) Descriptor
deprecated
func (*SetMachineRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMachineRoutesRequest.ProtoReflect.Descriptor instead.
func (*SetMachineRoutesRequest) GetAllowedIps ¶
func (x *SetMachineRoutesRequest) GetAllowedIps() []string
func (*SetMachineRoutesRequest) GetMachineId ¶
func (x *SetMachineRoutesRequest) GetMachineId() uint64
func (*SetMachineRoutesRequest) ProtoMessage ¶
func (*SetMachineRoutesRequest) ProtoMessage()
func (*SetMachineRoutesRequest) ProtoReflect ¶
func (x *SetMachineRoutesRequest) ProtoReflect() protoreflect.Message
func (*SetMachineRoutesRequest) Reset ¶
func (x *SetMachineRoutesRequest) Reset()
func (*SetMachineRoutesRequest) String ¶
func (x *SetMachineRoutesRequest) String() string
type Tailnet ¶
type Tailnet struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tailnet) Descriptor
deprecated
func (*Tailnet) ProtoMessage ¶
func (*Tailnet) ProtoMessage()
func (*Tailnet) ProtoReflect ¶
func (x *Tailnet) ProtoReflect() protoreflect.Message
type UnimplementedIonscaleServer ¶
type UnimplementedIonscaleServer struct { }
UnimplementedIonscaleServer should be embedded to have forward compatible implementations.
func (UnimplementedIonscaleServer) CreateAuthKey ¶
func (UnimplementedIonscaleServer) CreateAuthKey(context.Context, *CreateAuthKeyRequest) (*CreateAuthKeyResponse, error)
func (UnimplementedIonscaleServer) CreateTailnet ¶
func (UnimplementedIonscaleServer) CreateTailnet(context.Context, *CreateTailnetRequest) (*CreateTailnetResponse, error)
func (UnimplementedIonscaleServer) DeleteAuthKey ¶
func (UnimplementedIonscaleServer) DeleteAuthKey(context.Context, *DeleteAuthKeyRequest) (*DeleteAuthKeyResponse, error)
func (UnimplementedIonscaleServer) DeleteMachine ¶
func (UnimplementedIonscaleServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
func (UnimplementedIonscaleServer) DeleteTailnet ¶
func (UnimplementedIonscaleServer) DeleteTailnet(context.Context, *DeleteTailnetRequest) (*DeleteTailnetResponse, error)
func (UnimplementedIonscaleServer) GetACLPolicy ¶
func (UnimplementedIonscaleServer) GetACLPolicy(context.Context, *GetACLPolicyRequest) (*GetACLPolicyResponse, error)
func (UnimplementedIonscaleServer) GetDNSConfig ¶
func (UnimplementedIonscaleServer) GetDNSConfig(context.Context, *GetDNSConfigRequest) (*GetDNSConfigResponse, error)
func (UnimplementedIonscaleServer) GetMachineRoutes ¶
func (UnimplementedIonscaleServer) GetMachineRoutes(context.Context, *GetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
func (UnimplementedIonscaleServer) GetVersion ¶
func (UnimplementedIonscaleServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
func (UnimplementedIonscaleServer) ListAuthKeys ¶
func (UnimplementedIonscaleServer) ListAuthKeys(context.Context, *ListAuthKeysRequest) (*ListAuthKeysResponse, error)
func (UnimplementedIonscaleServer) ListMachines ¶
func (UnimplementedIonscaleServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
func (UnimplementedIonscaleServer) ListTailnets ¶
func (UnimplementedIonscaleServer) ListTailnets(context.Context, *ListTailnetRequest) (*ListTailnetResponse, error)
func (UnimplementedIonscaleServer) SetACLPolicy ¶
func (UnimplementedIonscaleServer) SetACLPolicy(context.Context, *SetACLPolicyRequest) (*SetACLPolicyResponse, error)
func (UnimplementedIonscaleServer) SetDNSConfig ¶
func (UnimplementedIonscaleServer) SetDNSConfig(context.Context, *SetDNSConfigRequest) (*SetDNSConfigResponse, error)
func (UnimplementedIonscaleServer) SetMachineRoutes ¶
func (UnimplementedIonscaleServer) SetMachineRoutes(context.Context, *SetMachineRoutesRequest) (*GetMachineRoutesResponse, error)
type UnsafeIonscaleServer ¶
type UnsafeIonscaleServer interface {
// contains filtered or unexported methods
}
UnsafeIonscaleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IonscaleServer will result in compilation errors.