Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
- func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterNetworkServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNetworkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetworkServiceClient) error
- func RegisterNetworkServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNetworkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetworkServiceServer) error
- func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- func RegisterVPNServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVPNServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VPNServiceClient) error
- func RegisterVPNServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVPNServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VPNServiceServer) error
- func RegisterVPNServiceServer(s grpc.ServiceRegistrar, srv VPNServiceServer)
- type AuthAuthenticateRequest
- func (*AuthAuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthAuthenticateRequest) GetPassword() string
- func (x *AuthAuthenticateRequest) GetUsername() string
- func (*AuthAuthenticateRequest) ProtoMessage()
- func (x *AuthAuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthAuthenticateRequest) Reset()
- func (x *AuthAuthenticateRequest) String() string
- type AuthAuthenticateResponse
- func (*AuthAuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthAuthenticateResponse) GetToken() string
- func (*AuthAuthenticateResponse) ProtoMessage()
- func (x *AuthAuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthAuthenticateResponse) Reset()
- func (x *AuthAuthenticateResponse) String() string
- type AuthServiceClient
- type AuthServiceServer
- type AuthStatusRequest
- type AuthStatusResponse
- func (*AuthStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthStatusResponse) GetIsRoot() bool
- func (x *AuthStatusResponse) GetUser() *UserResponse_User
- func (*AuthStatusResponse) ProtoMessage()
- func (x *AuthStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AuthStatusResponse) Reset()
- func (x *AuthStatusResponse) String() string
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetAssociatedUsernames() []string
- func (x *Network) GetCidr() string
- func (x *Network) GetCreatedAt() string
- func (x *Network) GetName() string
- func (x *Network) GetType() string
- func (x *Network) GetVia() string
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type NetworkAssociateRequest
- func (*NetworkAssociateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkAssociateRequest) GetName() string
- func (x *NetworkAssociateRequest) GetUsername() string
- func (*NetworkAssociateRequest) ProtoMessage()
- func (x *NetworkAssociateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkAssociateRequest) Reset()
- func (x *NetworkAssociateRequest) String() string
- type NetworkAssociateResponse
- type NetworkCreateRequest
- func (*NetworkCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkCreateRequest) GetCidr() string
- func (x *NetworkCreateRequest) GetName() string
- func (x *NetworkCreateRequest) GetType() string
- func (x *NetworkCreateRequest) GetVia() string
- func (*NetworkCreateRequest) ProtoMessage()
- func (x *NetworkCreateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkCreateRequest) Reset()
- func (x *NetworkCreateRequest) String() string
- type NetworkCreateResponse
- func (*NetworkCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkCreateResponse) GetNetwork() *Network
- func (*NetworkCreateResponse) ProtoMessage()
- func (x *NetworkCreateResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkCreateResponse) Reset()
- func (x *NetworkCreateResponse) String() string
- type NetworkDeleteRequest
- func (*NetworkDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkDeleteRequest) GetName() string
- func (*NetworkDeleteRequest) ProtoMessage()
- func (x *NetworkDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkDeleteRequest) Reset()
- func (x *NetworkDeleteRequest) String() string
- type NetworkDeleteResponse
- func (*NetworkDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkDeleteResponse) GetNetwork() *Network
- func (*NetworkDeleteResponse) ProtoMessage()
- func (x *NetworkDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkDeleteResponse) Reset()
- func (x *NetworkDeleteResponse) String() string
- type NetworkDissociateRequest
- func (*NetworkDissociateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkDissociateRequest) GetName() string
- func (x *NetworkDissociateRequest) GetUsername() string
- func (*NetworkDissociateRequest) ProtoMessage()
- func (x *NetworkDissociateRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkDissociateRequest) Reset()
- func (x *NetworkDissociateRequest) String() string
- type NetworkDissociateResponse
- type NetworkGetAllTypesRequest
- type NetworkGetAllTypesResponse
- func (*NetworkGetAllTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkGetAllTypesResponse) GetTypes() []*NetworkType
- func (*NetworkGetAllTypesResponse) ProtoMessage()
- func (x *NetworkGetAllTypesResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkGetAllTypesResponse) Reset()
- func (x *NetworkGetAllTypesResponse) String() string
- type NetworkGetAssociatedUsersRequest
- func (*NetworkGetAssociatedUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkGetAssociatedUsersRequest) GetName() string
- func (*NetworkGetAssociatedUsersRequest) ProtoMessage()
- func (x *NetworkGetAssociatedUsersRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkGetAssociatedUsersRequest) Reset()
- func (x *NetworkGetAssociatedUsersRequest) String() string
- type NetworkGetAssociatedUsersResponse
- func (*NetworkGetAssociatedUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkGetAssociatedUsersResponse) GetUsernames() []string
- func (*NetworkGetAssociatedUsersResponse) ProtoMessage()
- func (x *NetworkGetAssociatedUsersResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkGetAssociatedUsersResponse) Reset()
- func (x *NetworkGetAssociatedUsersResponse) String() string
- type NetworkListRequest
- type NetworkListResponse
- func (*NetworkListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkListResponse) GetNetworks() []*Network
- func (*NetworkListResponse) ProtoMessage()
- func (x *NetworkListResponse) ProtoReflect() protoreflect.Message
- func (x *NetworkListResponse) Reset()
- func (x *NetworkListResponse) String() string
- type NetworkServiceClient
- type NetworkServiceServer
- type NetworkType
- func (*NetworkType) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkType) GetDescription() string
- func (x *NetworkType) GetType() string
- func (*NetworkType) ProtoMessage()
- func (x *NetworkType) ProtoReflect() protoreflect.Message
- func (x *NetworkType) Reset()
- func (x *NetworkType) String() string
- type UnimplementedAuthServiceServer
- type UnimplementedNetworkServiceServer
- func (UnimplementedNetworkServiceServer) Associate(context.Context, *NetworkAssociateRequest) (*NetworkAssociateResponse, error)
- func (UnimplementedNetworkServiceServer) Create(context.Context, *NetworkCreateRequest) (*NetworkCreateResponse, error)
- func (UnimplementedNetworkServiceServer) Delete(context.Context, *NetworkDeleteRequest) (*NetworkDeleteResponse, error)
- func (UnimplementedNetworkServiceServer) Dissociate(context.Context, *NetworkDissociateRequest) (*NetworkDissociateResponse, error)
- func (UnimplementedNetworkServiceServer) GetAllTypes(context.Context, *NetworkGetAllTypesRequest) (*NetworkGetAllTypesResponse, error)
- func (UnimplementedNetworkServiceServer) GetAssociatedUsers(context.Context, *NetworkGetAssociatedUsersRequest) (*NetworkGetAssociatedUsersResponse, error)
- func (UnimplementedNetworkServiceServer) List(context.Context, *NetworkListRequest) (*NetworkListResponse, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) Create(context.Context, *UserCreateRequest) (*UserResponse, error)
- func (UnimplementedUserServiceServer) Delete(context.Context, *UserDeleteRequest) (*UserResponse, error)
- func (UnimplementedUserServiceServer) GenConfig(context.Context, *UserGenConfigRequest) (*UserGenConfigResponse, error)
- func (UnimplementedUserServiceServer) List(context.Context, *UserListRequest) (*UserResponse, error)
- func (UnimplementedUserServiceServer) Renew(context.Context, *UserRenewRequest) (*UserResponse, error)
- func (UnimplementedUserServiceServer) Update(context.Context, *UserUpdateRequest) (*UserResponse, error)
- type UnimplementedVPNServiceServer
- func (UnimplementedVPNServiceServer) Init(context.Context, *VPNInitRequest) (*VPNInitResponse, error)
- func (UnimplementedVPNServiceServer) Restart(context.Context, *VPNRestartRequest) (*VPNRestartResponse, error)
- func (UnimplementedVPNServiceServer) Status(context.Context, *VPNStatusRequest) (*VPNStatusResponse, error)
- func (UnimplementedVPNServiceServer) Update(context.Context, *VPNUpdateRequest) (*VPNUpdateResponse, error)
- type UnsafeAuthServiceServer
- type UnsafeNetworkServiceServer
- type UnsafeUserServiceServer
- type UnsafeVPNServiceServer
- type UserCreateRequest
- func (*UserCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateRequest) GetDescription() string
- func (x *UserCreateRequest) GetHostId() uint32
- func (x *UserCreateRequest) GetIsAdmin() bool
- func (x *UserCreateRequest) GetNoGw() bool
- func (x *UserCreateRequest) GetPassword() string
- func (x *UserCreateRequest) GetUsername() string
- func (*UserCreateRequest) ProtoMessage()
- func (x *UserCreateRequest) ProtoReflect() protoreflect.Message
- func (x *UserCreateRequest) Reset()
- func (x *UserCreateRequest) String() string
- type UserDeleteRequest
- type UserGenConfigRequest
- func (*UserGenConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserGenConfigRequest) GetUsername() string
- func (*UserGenConfigRequest) ProtoMessage()
- func (x *UserGenConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UserGenConfigRequest) Reset()
- func (x *UserGenConfigRequest) String() string
- type UserGenConfigResponse
- func (*UserGenConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserGenConfigResponse) GetClientConfig() string
- func (*UserGenConfigResponse) ProtoMessage()
- func (x *UserGenConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UserGenConfigResponse) Reset()
- func (x *UserGenConfigResponse) String() string
- type UserListRequest
- type UserRenewRequest
- type UserResponse
- type UserResponse_User
- func (*UserResponse_User) Descriptor() ([]byte, []int)deprecated
- func (x *UserResponse_User) GetBytesReceived() uint64
- func (x *UserResponse_User) GetBytesSent() uint64
- func (x *UserResponse_User) GetCert() string
- func (x *UserResponse_User) GetConnectedSince() string
- func (x *UserResponse_User) GetCreatedAt() string
- func (x *UserResponse_User) GetDescription() string
- func (x *UserResponse_User) GetExpiresAt() string
- func (x *UserResponse_User) GetHostId() uint32
- func (x *UserResponse_User) GetIpNet() string
- func (x *UserResponse_User) GetIsAdmin() bool
- func (x *UserResponse_User) GetIsConnected() bool
- func (x *UserResponse_User) GetNoGw() bool
- func (x *UserResponse_User) GetServerSerialNumber() string
- func (x *UserResponse_User) GetUsername() string
- func (*UserResponse_User) ProtoMessage()
- func (x *UserResponse_User) ProtoReflect() protoreflect.Message
- func (x *UserResponse_User) Reset()
- func (x *UserResponse_User) String() string
- type UserServiceClient
- type UserServiceServer
- type UserUpdateRequest
- func (*UserUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateRequest) GetAdminPref() UserUpdateRequest_AdminPref
- func (x *UserUpdateRequest) GetDescription() string
- func (x *UserUpdateRequest) GetGwpref() UserUpdateRequest_GWPref
- func (x *UserUpdateRequest) GetHostId() uint32
- func (x *UserUpdateRequest) GetPassword() string
- func (x *UserUpdateRequest) GetStaticPref() UserUpdateRequest_StaticPref
- func (x *UserUpdateRequest) GetUsername() string
- func (*UserUpdateRequest) ProtoMessage()
- func (x *UserUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UserUpdateRequest) Reset()
- func (x *UserUpdateRequest) String() string
- type UserUpdateRequest_AdminPref
- func (UserUpdateRequest_AdminPref) Descriptor() protoreflect.EnumDescriptor
- func (x UserUpdateRequest_AdminPref) Enum() *UserUpdateRequest_AdminPref
- func (UserUpdateRequest_AdminPref) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserUpdateRequest_AdminPref) Number() protoreflect.EnumNumber
- func (x UserUpdateRequest_AdminPref) String() string
- func (UserUpdateRequest_AdminPref) Type() protoreflect.EnumType
- type UserUpdateRequest_GWPref
- func (UserUpdateRequest_GWPref) Descriptor() protoreflect.EnumDescriptor
- func (x UserUpdateRequest_GWPref) Enum() *UserUpdateRequest_GWPref
- func (UserUpdateRequest_GWPref) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserUpdateRequest_GWPref) Number() protoreflect.EnumNumber
- func (x UserUpdateRequest_GWPref) String() string
- func (UserUpdateRequest_GWPref) Type() protoreflect.EnumType
- type UserUpdateRequest_StaticPref
- func (UserUpdateRequest_StaticPref) Descriptor() protoreflect.EnumDescriptor
- func (x UserUpdateRequest_StaticPref) Enum() *UserUpdateRequest_StaticPref
- func (UserUpdateRequest_StaticPref) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserUpdateRequest_StaticPref) Number() protoreflect.EnumNumber
- func (x UserUpdateRequest_StaticPref) String() string
- func (UserUpdateRequest_StaticPref) Type() protoreflect.EnumType
- type VPNInitRequest
- func (*VPNInitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VPNInitRequest) GetDns() string
- func (x *VPNInitRequest) GetHostname() string
- func (x *VPNInitRequest) GetIpBlock() string
- func (x *VPNInitRequest) GetKeepalivePeriod() string
- func (x *VPNInitRequest) GetKeepaliveTimeout() string
- func (x *VPNInitRequest) GetPort() string
- func (x *VPNInitRequest) GetProtoPref() VPNProto
- func (x *VPNInitRequest) GetUseLzo() bool
- func (*VPNInitRequest) ProtoMessage()
- func (x *VPNInitRequest) ProtoReflect() protoreflect.Message
- func (x *VPNInitRequest) Reset()
- func (x *VPNInitRequest) String() string
- type VPNInitResponse
- type VPNLZOPref
- type VPNProto
- type VPNRestartRequest
- type VPNRestartResponse
- type VPNServiceClient
- type VPNServiceServer
- type VPNStatusRequest
- type VPNStatusResponse
- func (*VPNStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VPNStatusResponse) GetCaCert() string
- func (x *VPNStatusResponse) GetCaExpiresAt() string
- func (x *VPNStatusResponse) GetCert() string
- func (x *VPNStatusResponse) GetCreatedAt() string
- func (x *VPNStatusResponse) GetDns() string
- func (x *VPNStatusResponse) GetExpiresAt() string
- func (x *VPNStatusResponse) GetHostname() string
- func (x *VPNStatusResponse) GetMask() string
- func (x *VPNStatusResponse) GetName() string
- func (x *VPNStatusResponse) GetNet() string
- func (x *VPNStatusResponse) GetPort() string
- func (x *VPNStatusResponse) GetProto() string
- func (x *VPNStatusResponse) GetSerialNumber() string
- func (x *VPNStatusResponse) GetUseLzo() bool
- func (*VPNStatusResponse) ProtoMessage()
- func (x *VPNStatusResponse) ProtoReflect() protoreflect.Message
- func (x *VPNStatusResponse) Reset()
- func (x *VPNStatusResponse) String() string
- type VPNUpdateRequest
- func (*VPNUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VPNUpdateRequest) GetDns() string
- func (x *VPNUpdateRequest) GetIpBlock() string
- func (x *VPNUpdateRequest) GetLzoPref() VPNLZOPref
- func (*VPNUpdateRequest) ProtoMessage()
- func (x *VPNUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *VPNUpdateRequest) Reset()
- func (x *VPNUpdateRequest) String() string
- type VPNUpdateResponse
Constants ¶
This section is empty.
Variables ¶
var ( UserUpdateRequest_GWPref_name = map[int32]string{ 0: "NOPREF", 1: "NOGW", 2: "GW", } UserUpdateRequest_GWPref_value = map[string]int32{ "NOPREF": 0, "NOGW": 1, "GW": 2, } )
Enum value maps for UserUpdateRequest_GWPref.
var ( UserUpdateRequest_StaticPref_name = map[int32]string{ 0: "NOPREFSTATIC", 1: "NOSTATIC", 2: "STATIC", } UserUpdateRequest_StaticPref_value = map[string]int32{ "NOPREFSTATIC": 0, "NOSTATIC": 1, "STATIC": 2, } )
Enum value maps for UserUpdateRequest_StaticPref.
var ( UserUpdateRequest_AdminPref_name = map[int32]string{ 0: "NOPREFADMIN", 1: "NOADMIN", 2: "ADMIN", } UserUpdateRequest_AdminPref_value = map[string]int32{ "NOPREFADMIN": 0, "NOADMIN": 1, "ADMIN": 2, } )
Enum value maps for UserUpdateRequest_AdminPref.
var ( VPNProto_name = map[int32]string{ 0: "NOPREF", 1: "UDP", 2: "TCP", } VPNProto_value = map[string]int32{ "NOPREF": 0, "UDP": 1, "TCP": 2, } )
Enum value maps for VPNProto.
var ( VPNLZOPref_name = map[int32]string{ 0: "USE_LZO_NOPREF", 1: "USE_LZO_ENABLE", 3: "USE_LZO_DISABLE", } VPNLZOPref_value = map[string]int32{ "USE_LZO_NOPREF": 0, "USE_LZO_ENABLE": 1, "USE_LZO_DISABLE": 3, } )
Enum value maps for VPNLZOPref.
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Status", Handler: _AuthService_Status_Handler, }, { MethodName: "Authenticate", Handler: _AuthService_Authenticate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_proto protoreflect.FileDescriptor
var File_network_proto protoreflect.FileDescriptor
var File_user_proto protoreflect.FileDescriptor
var File_vpn_proto protoreflect.FileDescriptor
var NetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.NetworkService", HandlerType: (*NetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _NetworkService_Create_Handler, }, { MethodName: "List", Handler: _NetworkService_List_Handler, }, { MethodName: "Delete", Handler: _NetworkService_Delete_Handler, }, { MethodName: "GetAllTypes", Handler: _NetworkService_GetAllTypes_Handler, }, { MethodName: "GetAssociatedUsers", Handler: _NetworkService_GetAssociatedUsers_Handler, }, { MethodName: "Associate", Handler: _NetworkService_Associate_Handler, }, { MethodName: "Dissociate", Handler: _NetworkService_Dissociate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "network.proto", }
NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _UserService_List_Handler, }, { MethodName: "Create", Handler: _UserService_Create_Handler, }, { MethodName: "Update", Handler: _UserService_Update_Handler, }, { MethodName: "Delete", Handler: _UserService_Delete_Handler, }, { MethodName: "Renew", Handler: _UserService_Renew_Handler, }, { MethodName: "GenConfig", Handler: _UserService_GenConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VPNService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.VPNService", HandlerType: (*VPNServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Status", Handler: _VPNService_Status_Handler, }, { MethodName: "Init", Handler: _VPNService_Init_Handler, }, { MethodName: "Update", Handler: _VPNService_Update_Handler, }, { MethodName: "Restart", Handler: _VPNService_Restart_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vpn.proto", }
VPNService_ServiceDesc is the grpc.ServiceDesc for VPNService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceHandler ¶
func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthServiceHandlerClient ¶ added in v0.2.5
func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error
RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.
func RegisterAuthServiceHandlerFromEndpoint ¶
func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthServiceHandlerServer ¶ added in v0.2.11
func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error
RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer 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 RegisterAuthServiceHandlerFromEndpoint instead.
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterNetworkServiceHandler ¶
func RegisterNetworkServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterNetworkServiceHandler registers the http handlers for service NetworkService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNetworkServiceHandlerClient ¶ added in v0.2.5
func RegisterNetworkServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NetworkServiceClient) error
RegisterNetworkServiceHandlerClient registers the http handlers for service NetworkService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NetworkServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NetworkServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NetworkServiceClient" to call the correct interceptors.
func RegisterNetworkServiceHandlerFromEndpoint ¶
func RegisterNetworkServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNetworkServiceHandlerFromEndpoint is same as RegisterNetworkServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNetworkServiceHandlerServer ¶ added in v0.2.11
func RegisterNetworkServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NetworkServiceServer) error
RegisterNetworkServiceHandlerServer registers the http handlers for service NetworkService to "mux". UnaryRPC :call NetworkServiceServer 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 RegisterNetworkServiceHandlerFromEndpoint instead.
func RegisterNetworkServiceServer ¶
func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶ added in v0.2.5
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶ added in v0.2.11
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer 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 RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
func RegisterVPNServiceHandler ¶
func RegisterVPNServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVPNServiceHandler registers the http handlers for service VPNService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVPNServiceHandlerClient ¶ added in v0.2.5
func RegisterVPNServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VPNServiceClient) error
RegisterVPNServiceHandlerClient registers the http handlers for service VPNService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VPNServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VPNServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VPNServiceClient" to call the correct interceptors.
func RegisterVPNServiceHandlerFromEndpoint ¶
func RegisterVPNServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVPNServiceHandlerFromEndpoint is same as RegisterVPNServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVPNServiceHandlerServer ¶ added in v0.2.11
func RegisterVPNServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VPNServiceServer) error
RegisterVPNServiceHandlerServer registers the http handlers for service VPNService to "mux". UnaryRPC :call VPNServiceServer 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 RegisterVPNServiceHandlerFromEndpoint instead.
func RegisterVPNServiceServer ¶
func RegisterVPNServiceServer(s grpc.ServiceRegistrar, srv VPNServiceServer)
Types ¶
type AuthAuthenticateRequest ¶
type AuthAuthenticateRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AuthAuthenticateRequest) Descriptor
deprecated
func (*AuthAuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthAuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthAuthenticateRequest) GetPassword ¶
func (x *AuthAuthenticateRequest) GetPassword() string
func (*AuthAuthenticateRequest) GetUsername ¶
func (x *AuthAuthenticateRequest) GetUsername() string
func (*AuthAuthenticateRequest) ProtoMessage ¶
func (*AuthAuthenticateRequest) ProtoMessage()
func (*AuthAuthenticateRequest) ProtoReflect ¶ added in v0.2.11
func (x *AuthAuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthAuthenticateRequest) Reset ¶
func (x *AuthAuthenticateRequest) Reset()
func (*AuthAuthenticateRequest) String ¶
func (x *AuthAuthenticateRequest) String() string
type AuthAuthenticateResponse ¶
type AuthAuthenticateResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthAuthenticateResponse) Descriptor
deprecated
func (*AuthAuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthAuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthAuthenticateResponse) GetToken ¶
func (x *AuthAuthenticateResponse) GetToken() string
func (*AuthAuthenticateResponse) ProtoMessage ¶
func (*AuthAuthenticateResponse) ProtoMessage()
func (*AuthAuthenticateResponse) ProtoReflect ¶ added in v0.2.11
func (x *AuthAuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthAuthenticateResponse) Reset ¶
func (x *AuthAuthenticateResponse) Reset()
func (*AuthAuthenticateResponse) String ¶
func (x *AuthAuthenticateResponse) String() string
type AuthServiceClient ¶
type AuthServiceClient interface { Status(ctx context.Context, in *AuthStatusRequest, opts ...grpc.CallOption) (*AuthStatusResponse, error) Authenticate(ctx context.Context, in *AuthAuthenticateRequest, opts ...grpc.CallOption) (*AuthAuthenticateResponse, error) }
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { Status(context.Context, *AuthStatusRequest) (*AuthStatusResponse, error) Authenticate(context.Context, *AuthAuthenticateRequest) (*AuthAuthenticateResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type AuthStatusRequest ¶
type AuthStatusRequest struct {
// contains filtered or unexported fields
}
func (*AuthStatusRequest) Descriptor
deprecated
func (*AuthStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthStatusRequest.ProtoReflect.Descriptor instead.
func (*AuthStatusRequest) ProtoMessage ¶
func (*AuthStatusRequest) ProtoMessage()
func (*AuthStatusRequest) ProtoReflect ¶ added in v0.2.11
func (x *AuthStatusRequest) ProtoReflect() protoreflect.Message
func (*AuthStatusRequest) Reset ¶
func (x *AuthStatusRequest) Reset()
func (*AuthStatusRequest) String ¶
func (x *AuthStatusRequest) String() string
type AuthStatusResponse ¶
type AuthStatusResponse struct { User *UserResponse_User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` IsRoot bool `protobuf:"varint,2,opt,name=is_root,json=isRoot,proto3" json:"is_root,omitempty"` // contains filtered or unexported fields }
func (*AuthStatusResponse) Descriptor
deprecated
func (*AuthStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthStatusResponse.ProtoReflect.Descriptor instead.
func (*AuthStatusResponse) GetIsRoot ¶ added in v0.2.0
func (x *AuthStatusResponse) GetIsRoot() bool
func (*AuthStatusResponse) GetUser ¶
func (x *AuthStatusResponse) GetUser() *UserResponse_User
func (*AuthStatusResponse) ProtoMessage ¶
func (*AuthStatusResponse) ProtoMessage()
func (*AuthStatusResponse) ProtoReflect ¶ added in v0.2.11
func (x *AuthStatusResponse) ProtoReflect() protoreflect.Message
func (*AuthStatusResponse) Reset ¶
func (x *AuthStatusResponse) Reset()
func (*AuthStatusResponse) String ¶
func (x *AuthStatusResponse) String() string
type Network ¶
type Network struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AssociatedUsernames []string `protobuf:"bytes,5,rep,name=associated_usernames,json=associatedUsernames,proto3" json:"associated_usernames,omitempty"` Via string `protobuf:"bytes,6,opt,name=via,proto3" json:"via,omitempty"` // contains filtered or unexported fields }
func (*Network) Descriptor
deprecated
func (*Network) GetAssociatedUsernames ¶
func (*Network) GetCreatedAt ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶ added in v0.2.11
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkAssociateRequest ¶
type NetworkAssociateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*NetworkAssociateRequest) Descriptor
deprecated
func (*NetworkAssociateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAssociateRequest.ProtoReflect.Descriptor instead.
func (*NetworkAssociateRequest) GetName ¶
func (x *NetworkAssociateRequest) GetName() string
func (*NetworkAssociateRequest) GetUsername ¶
func (x *NetworkAssociateRequest) GetUsername() string
func (*NetworkAssociateRequest) ProtoMessage ¶
func (*NetworkAssociateRequest) ProtoMessage()
func (*NetworkAssociateRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkAssociateRequest) ProtoReflect() protoreflect.Message
func (*NetworkAssociateRequest) Reset ¶
func (x *NetworkAssociateRequest) Reset()
func (*NetworkAssociateRequest) String ¶
func (x *NetworkAssociateRequest) String() string
type NetworkAssociateResponse ¶
type NetworkAssociateResponse struct {
// contains filtered or unexported fields
}
func (*NetworkAssociateResponse) Descriptor
deprecated
func (*NetworkAssociateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAssociateResponse.ProtoReflect.Descriptor instead.
func (*NetworkAssociateResponse) ProtoMessage ¶
func (*NetworkAssociateResponse) ProtoMessage()
func (*NetworkAssociateResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkAssociateResponse) ProtoReflect() protoreflect.Message
func (*NetworkAssociateResponse) Reset ¶
func (x *NetworkAssociateResponse) Reset()
func (*NetworkAssociateResponse) String ¶
func (x *NetworkAssociateResponse) String() string
type NetworkCreateRequest ¶
type NetworkCreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Cidr string `protobuf:"bytes,2,opt,name=cidr,proto3" json:"cidr,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Via string `protobuf:"bytes,4,opt,name=via,proto3" json:"via,omitempty"` // contains filtered or unexported fields }
func (*NetworkCreateRequest) Descriptor
deprecated
func (*NetworkCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkCreateRequest.ProtoReflect.Descriptor instead.
func (*NetworkCreateRequest) GetCidr ¶
func (x *NetworkCreateRequest) GetCidr() string
func (*NetworkCreateRequest) GetName ¶
func (x *NetworkCreateRequest) GetName() string
func (*NetworkCreateRequest) GetType ¶
func (x *NetworkCreateRequest) GetType() string
func (*NetworkCreateRequest) GetVia ¶
func (x *NetworkCreateRequest) GetVia() string
func (*NetworkCreateRequest) ProtoMessage ¶
func (*NetworkCreateRequest) ProtoMessage()
func (*NetworkCreateRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkCreateRequest) ProtoReflect() protoreflect.Message
func (*NetworkCreateRequest) Reset ¶
func (x *NetworkCreateRequest) Reset()
func (*NetworkCreateRequest) String ¶
func (x *NetworkCreateRequest) String() string
type NetworkCreateResponse ¶
type NetworkCreateResponse struct { Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*NetworkCreateResponse) Descriptor
deprecated
func (*NetworkCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkCreateResponse.ProtoReflect.Descriptor instead.
func (*NetworkCreateResponse) GetNetwork ¶
func (x *NetworkCreateResponse) GetNetwork() *Network
func (*NetworkCreateResponse) ProtoMessage ¶
func (*NetworkCreateResponse) ProtoMessage()
func (*NetworkCreateResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkCreateResponse) ProtoReflect() protoreflect.Message
func (*NetworkCreateResponse) Reset ¶
func (x *NetworkCreateResponse) Reset()
func (*NetworkCreateResponse) String ¶
func (x *NetworkCreateResponse) String() string
type NetworkDeleteRequest ¶
type NetworkDeleteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NetworkDeleteRequest) Descriptor
deprecated
func (*NetworkDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkDeleteRequest.ProtoReflect.Descriptor instead.
func (*NetworkDeleteRequest) GetName ¶
func (x *NetworkDeleteRequest) GetName() string
func (*NetworkDeleteRequest) ProtoMessage ¶
func (*NetworkDeleteRequest) ProtoMessage()
func (*NetworkDeleteRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkDeleteRequest) ProtoReflect() protoreflect.Message
func (*NetworkDeleteRequest) Reset ¶
func (x *NetworkDeleteRequest) Reset()
func (*NetworkDeleteRequest) String ¶
func (x *NetworkDeleteRequest) String() string
type NetworkDeleteResponse ¶
type NetworkDeleteResponse struct { Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*NetworkDeleteResponse) Descriptor
deprecated
func (*NetworkDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkDeleteResponse.ProtoReflect.Descriptor instead.
func (*NetworkDeleteResponse) GetNetwork ¶
func (x *NetworkDeleteResponse) GetNetwork() *Network
func (*NetworkDeleteResponse) ProtoMessage ¶
func (*NetworkDeleteResponse) ProtoMessage()
func (*NetworkDeleteResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkDeleteResponse) ProtoReflect() protoreflect.Message
func (*NetworkDeleteResponse) Reset ¶
func (x *NetworkDeleteResponse) Reset()
func (*NetworkDeleteResponse) String ¶
func (x *NetworkDeleteResponse) String() string
type NetworkDissociateRequest ¶
type NetworkDissociateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*NetworkDissociateRequest) Descriptor
deprecated
func (*NetworkDissociateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkDissociateRequest.ProtoReflect.Descriptor instead.
func (*NetworkDissociateRequest) GetName ¶
func (x *NetworkDissociateRequest) GetName() string
func (*NetworkDissociateRequest) GetUsername ¶
func (x *NetworkDissociateRequest) GetUsername() string
func (*NetworkDissociateRequest) ProtoMessage ¶
func (*NetworkDissociateRequest) ProtoMessage()
func (*NetworkDissociateRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkDissociateRequest) ProtoReflect() protoreflect.Message
func (*NetworkDissociateRequest) Reset ¶
func (x *NetworkDissociateRequest) Reset()
func (*NetworkDissociateRequest) String ¶
func (x *NetworkDissociateRequest) String() string
type NetworkDissociateResponse ¶
type NetworkDissociateResponse struct {
// contains filtered or unexported fields
}
func (*NetworkDissociateResponse) Descriptor
deprecated
func (*NetworkDissociateResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkDissociateResponse.ProtoReflect.Descriptor instead.
func (*NetworkDissociateResponse) ProtoMessage ¶
func (*NetworkDissociateResponse) ProtoMessage()
func (*NetworkDissociateResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkDissociateResponse) ProtoReflect() protoreflect.Message
func (*NetworkDissociateResponse) Reset ¶
func (x *NetworkDissociateResponse) Reset()
func (*NetworkDissociateResponse) String ¶
func (x *NetworkDissociateResponse) String() string
type NetworkGetAllTypesRequest ¶
type NetworkGetAllTypesRequest struct {
// contains filtered or unexported fields
}
func (*NetworkGetAllTypesRequest) Descriptor
deprecated
func (*NetworkGetAllTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkGetAllTypesRequest.ProtoReflect.Descriptor instead.
func (*NetworkGetAllTypesRequest) ProtoMessage ¶
func (*NetworkGetAllTypesRequest) ProtoMessage()
func (*NetworkGetAllTypesRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkGetAllTypesRequest) ProtoReflect() protoreflect.Message
func (*NetworkGetAllTypesRequest) Reset ¶
func (x *NetworkGetAllTypesRequest) Reset()
func (*NetworkGetAllTypesRequest) String ¶
func (x *NetworkGetAllTypesRequest) String() string
type NetworkGetAllTypesResponse ¶
type NetworkGetAllTypesResponse struct { Types []*NetworkType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` // contains filtered or unexported fields }
func (*NetworkGetAllTypesResponse) Descriptor
deprecated
func (*NetworkGetAllTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkGetAllTypesResponse.ProtoReflect.Descriptor instead.
func (*NetworkGetAllTypesResponse) GetTypes ¶
func (x *NetworkGetAllTypesResponse) GetTypes() []*NetworkType
func (*NetworkGetAllTypesResponse) ProtoMessage ¶
func (*NetworkGetAllTypesResponse) ProtoMessage()
func (*NetworkGetAllTypesResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkGetAllTypesResponse) ProtoReflect() protoreflect.Message
func (*NetworkGetAllTypesResponse) Reset ¶
func (x *NetworkGetAllTypesResponse) Reset()
func (*NetworkGetAllTypesResponse) String ¶
func (x *NetworkGetAllTypesResponse) String() string
type NetworkGetAssociatedUsersRequest ¶
type NetworkGetAssociatedUsersRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*NetworkGetAssociatedUsersRequest) Descriptor
deprecated
func (*NetworkGetAssociatedUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkGetAssociatedUsersRequest.ProtoReflect.Descriptor instead.
func (*NetworkGetAssociatedUsersRequest) GetName ¶
func (x *NetworkGetAssociatedUsersRequest) GetName() string
func (*NetworkGetAssociatedUsersRequest) ProtoMessage ¶
func (*NetworkGetAssociatedUsersRequest) ProtoMessage()
func (*NetworkGetAssociatedUsersRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkGetAssociatedUsersRequest) ProtoReflect() protoreflect.Message
func (*NetworkGetAssociatedUsersRequest) Reset ¶
func (x *NetworkGetAssociatedUsersRequest) Reset()
func (*NetworkGetAssociatedUsersRequest) String ¶
func (x *NetworkGetAssociatedUsersRequest) String() string
type NetworkGetAssociatedUsersResponse ¶
type NetworkGetAssociatedUsersResponse struct { Usernames []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"` // contains filtered or unexported fields }
func (*NetworkGetAssociatedUsersResponse) Descriptor
deprecated
func (*NetworkGetAssociatedUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkGetAssociatedUsersResponse.ProtoReflect.Descriptor instead.
func (*NetworkGetAssociatedUsersResponse) GetUsernames ¶
func (x *NetworkGetAssociatedUsersResponse) GetUsernames() []string
func (*NetworkGetAssociatedUsersResponse) ProtoMessage ¶
func (*NetworkGetAssociatedUsersResponse) ProtoMessage()
func (*NetworkGetAssociatedUsersResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkGetAssociatedUsersResponse) ProtoReflect() protoreflect.Message
func (*NetworkGetAssociatedUsersResponse) Reset ¶
func (x *NetworkGetAssociatedUsersResponse) Reset()
func (*NetworkGetAssociatedUsersResponse) String ¶
func (x *NetworkGetAssociatedUsersResponse) String() string
type NetworkListRequest ¶
type NetworkListRequest struct {
// contains filtered or unexported fields
}
func (*NetworkListRequest) Descriptor
deprecated
func (*NetworkListRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkListRequest.ProtoReflect.Descriptor instead.
func (*NetworkListRequest) ProtoMessage ¶
func (*NetworkListRequest) ProtoMessage()
func (*NetworkListRequest) ProtoReflect ¶ added in v0.2.11
func (x *NetworkListRequest) ProtoReflect() protoreflect.Message
func (*NetworkListRequest) Reset ¶
func (x *NetworkListRequest) Reset()
func (*NetworkListRequest) String ¶
func (x *NetworkListRequest) String() string
type NetworkListResponse ¶
type NetworkListResponse struct { Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` // contains filtered or unexported fields }
func (*NetworkListResponse) Descriptor
deprecated
func (*NetworkListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NetworkListResponse.ProtoReflect.Descriptor instead.
func (*NetworkListResponse) GetNetworks ¶
func (x *NetworkListResponse) GetNetworks() []*Network
func (*NetworkListResponse) ProtoMessage ¶
func (*NetworkListResponse) ProtoMessage()
func (*NetworkListResponse) ProtoReflect ¶ added in v0.2.11
func (x *NetworkListResponse) ProtoReflect() protoreflect.Message
func (*NetworkListResponse) Reset ¶
func (x *NetworkListResponse) Reset()
func (*NetworkListResponse) String ¶
func (x *NetworkListResponse) String() string
type NetworkServiceClient ¶
type NetworkServiceClient interface { Create(ctx context.Context, in *NetworkCreateRequest, opts ...grpc.CallOption) (*NetworkCreateResponse, error) List(ctx context.Context, in *NetworkListRequest, opts ...grpc.CallOption) (*NetworkListResponse, error) Delete(ctx context.Context, in *NetworkDeleteRequest, opts ...grpc.CallOption) (*NetworkDeleteResponse, error) GetAllTypes(ctx context.Context, in *NetworkGetAllTypesRequest, opts ...grpc.CallOption) (*NetworkGetAllTypesResponse, error) GetAssociatedUsers(ctx context.Context, in *NetworkGetAssociatedUsersRequest, opts ...grpc.CallOption) (*NetworkGetAssociatedUsersResponse, error) Associate(ctx context.Context, in *NetworkAssociateRequest, opts ...grpc.CallOption) (*NetworkAssociateResponse, error) Dissociate(ctx context.Context, in *NetworkDissociateRequest, opts ...grpc.CallOption) (*NetworkDissociateResponse, error) }
NetworkServiceClient is the client API for NetworkService 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 NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient
type NetworkServiceServer ¶
type NetworkServiceServer interface { Create(context.Context, *NetworkCreateRequest) (*NetworkCreateResponse, error) List(context.Context, *NetworkListRequest) (*NetworkListResponse, error) Delete(context.Context, *NetworkDeleteRequest) (*NetworkDeleteResponse, error) GetAllTypes(context.Context, *NetworkGetAllTypesRequest) (*NetworkGetAllTypesResponse, error) GetAssociatedUsers(context.Context, *NetworkGetAssociatedUsersRequest) (*NetworkGetAssociatedUsersResponse, error) Associate(context.Context, *NetworkAssociateRequest) (*NetworkAssociateResponse, error) Dissociate(context.Context, *NetworkDissociateRequest) (*NetworkDissociateResponse, error) // contains filtered or unexported methods }
NetworkServiceServer is the server API for NetworkService service. All implementations must embed UnimplementedNetworkServiceServer for forward compatibility
type NetworkType ¶
type NetworkType struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*NetworkType) Descriptor
deprecated
func (*NetworkType) Descriptor() ([]byte, []int)
Deprecated: Use NetworkType.ProtoReflect.Descriptor instead.
func (*NetworkType) GetDescription ¶
func (x *NetworkType) GetDescription() string
func (*NetworkType) GetType ¶
func (x *NetworkType) GetType() string
func (*NetworkType) ProtoMessage ¶
func (*NetworkType) ProtoMessage()
func (*NetworkType) ProtoReflect ¶ added in v0.2.11
func (x *NetworkType) ProtoReflect() protoreflect.Message
func (*NetworkType) Reset ¶
func (x *NetworkType) Reset()
func (*NetworkType) String ¶
func (x *NetworkType) String() string
type UnimplementedAuthServiceServer ¶ added in v0.2.8
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) Authenticate ¶ added in v0.2.8
func (UnimplementedAuthServiceServer) Authenticate(context.Context, *AuthAuthenticateRequest) (*AuthAuthenticateResponse, error)
func (UnimplementedAuthServiceServer) Status ¶ added in v0.2.8
func (UnimplementedAuthServiceServer) Status(context.Context, *AuthStatusRequest) (*AuthStatusResponse, error)
type UnimplementedNetworkServiceServer ¶ added in v0.2.8
type UnimplementedNetworkServiceServer struct { }
UnimplementedNetworkServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNetworkServiceServer) Associate ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) Associate(context.Context, *NetworkAssociateRequest) (*NetworkAssociateResponse, error)
func (UnimplementedNetworkServiceServer) Create ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) Create(context.Context, *NetworkCreateRequest) (*NetworkCreateResponse, error)
func (UnimplementedNetworkServiceServer) Delete ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) Delete(context.Context, *NetworkDeleteRequest) (*NetworkDeleteResponse, error)
func (UnimplementedNetworkServiceServer) Dissociate ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) Dissociate(context.Context, *NetworkDissociateRequest) (*NetworkDissociateResponse, error)
func (UnimplementedNetworkServiceServer) GetAllTypes ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) GetAllTypes(context.Context, *NetworkGetAllTypesRequest) (*NetworkGetAllTypesResponse, error)
func (UnimplementedNetworkServiceServer) GetAssociatedUsers ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) GetAssociatedUsers(context.Context, *NetworkGetAssociatedUsersRequest) (*NetworkGetAssociatedUsersResponse, error)
func (UnimplementedNetworkServiceServer) List ¶ added in v0.2.8
func (UnimplementedNetworkServiceServer) List(context.Context, *NetworkListRequest) (*NetworkListResponse, error)
type UnimplementedUserServiceServer ¶ added in v0.2.8
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) Create ¶ added in v0.2.8
func (UnimplementedUserServiceServer) Create(context.Context, *UserCreateRequest) (*UserResponse, error)
func (UnimplementedUserServiceServer) Delete ¶ added in v0.2.8
func (UnimplementedUserServiceServer) Delete(context.Context, *UserDeleteRequest) (*UserResponse, error)
func (UnimplementedUserServiceServer) GenConfig ¶ added in v0.2.8
func (UnimplementedUserServiceServer) GenConfig(context.Context, *UserGenConfigRequest) (*UserGenConfigResponse, error)
func (UnimplementedUserServiceServer) List ¶ added in v0.2.8
func (UnimplementedUserServiceServer) List(context.Context, *UserListRequest) (*UserResponse, error)
func (UnimplementedUserServiceServer) Renew ¶ added in v0.2.8
func (UnimplementedUserServiceServer) Renew(context.Context, *UserRenewRequest) (*UserResponse, error)
func (UnimplementedUserServiceServer) Update ¶ added in v0.2.8
func (UnimplementedUserServiceServer) Update(context.Context, *UserUpdateRequest) (*UserResponse, error)
type UnimplementedVPNServiceServer ¶ added in v0.2.8
type UnimplementedVPNServiceServer struct { }
UnimplementedVPNServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVPNServiceServer) Init ¶ added in v0.2.8
func (UnimplementedVPNServiceServer) Init(context.Context, *VPNInitRequest) (*VPNInitResponse, error)
func (UnimplementedVPNServiceServer) Restart ¶ added in v0.2.8
func (UnimplementedVPNServiceServer) Restart(context.Context, *VPNRestartRequest) (*VPNRestartResponse, error)
func (UnimplementedVPNServiceServer) Status ¶ added in v0.2.8
func (UnimplementedVPNServiceServer) Status(context.Context, *VPNStatusRequest) (*VPNStatusResponse, error)
func (UnimplementedVPNServiceServer) Update ¶ added in v0.2.8
func (UnimplementedVPNServiceServer) Update(context.Context, *VPNUpdateRequest) (*VPNUpdateResponse, error)
type UnsafeAuthServiceServer ¶ added in v0.2.11
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeNetworkServiceServer ¶ added in v0.2.11
type UnsafeNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶ added in v0.2.11
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UnsafeVPNServiceServer ¶ added in v0.2.11
type UnsafeVPNServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVPNServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VPNServiceServer will result in compilation errors.
type UserCreateRequest ¶
type UserCreateRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` NoGw bool `protobuf:"varint,3,opt,name=no_gw,json=noGw,proto3" json:"no_gw,omitempty"` HostId uint32 `protobuf:"varint,4,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` IsAdmin bool `protobuf:"varint,5,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UserCreateRequest) Descriptor
deprecated
func (*UserCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateRequest.ProtoReflect.Descriptor instead.
func (*UserCreateRequest) GetDescription ¶ added in v0.2.8
func (x *UserCreateRequest) GetDescription() string
func (*UserCreateRequest) GetHostId ¶
func (x *UserCreateRequest) GetHostId() uint32
func (*UserCreateRequest) GetIsAdmin ¶
func (x *UserCreateRequest) GetIsAdmin() bool
func (*UserCreateRequest) GetNoGw ¶ added in v0.2.0
func (x *UserCreateRequest) GetNoGw() bool
func (*UserCreateRequest) GetPassword ¶
func (x *UserCreateRequest) GetPassword() string
func (*UserCreateRequest) GetUsername ¶
func (x *UserCreateRequest) GetUsername() string
func (*UserCreateRequest) ProtoMessage ¶
func (*UserCreateRequest) ProtoMessage()
func (*UserCreateRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserCreateRequest) ProtoReflect() protoreflect.Message
func (*UserCreateRequest) Reset ¶
func (x *UserCreateRequest) Reset()
func (*UserCreateRequest) String ¶
func (x *UserCreateRequest) String() string
type UserDeleteRequest ¶
type UserDeleteRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserDeleteRequest) Descriptor
deprecated
func (*UserDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteRequest.ProtoReflect.Descriptor instead.
func (*UserDeleteRequest) GetUsername ¶
func (x *UserDeleteRequest) GetUsername() string
func (*UserDeleteRequest) ProtoMessage ¶
func (*UserDeleteRequest) ProtoMessage()
func (*UserDeleteRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserDeleteRequest) ProtoReflect() protoreflect.Message
func (*UserDeleteRequest) Reset ¶
func (x *UserDeleteRequest) Reset()
func (*UserDeleteRequest) String ¶
func (x *UserDeleteRequest) String() string
type UserGenConfigRequest ¶
type UserGenConfigRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserGenConfigRequest) Descriptor
deprecated
func (*UserGenConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserGenConfigRequest.ProtoReflect.Descriptor instead.
func (*UserGenConfigRequest) GetUsername ¶
func (x *UserGenConfigRequest) GetUsername() string
func (*UserGenConfigRequest) ProtoMessage ¶
func (*UserGenConfigRequest) ProtoMessage()
func (*UserGenConfigRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserGenConfigRequest) ProtoReflect() protoreflect.Message
func (*UserGenConfigRequest) Reset ¶
func (x *UserGenConfigRequest) Reset()
func (*UserGenConfigRequest) String ¶
func (x *UserGenConfigRequest) String() string
type UserGenConfigResponse ¶
type UserGenConfigResponse struct { ClientConfig string `protobuf:"bytes,1,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"` // contains filtered or unexported fields }
func (*UserGenConfigResponse) Descriptor
deprecated
func (*UserGenConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserGenConfigResponse.ProtoReflect.Descriptor instead.
func (*UserGenConfigResponse) GetClientConfig ¶
func (x *UserGenConfigResponse) GetClientConfig() string
func (*UserGenConfigResponse) ProtoMessage ¶
func (*UserGenConfigResponse) ProtoMessage()
func (*UserGenConfigResponse) ProtoReflect ¶ added in v0.2.11
func (x *UserGenConfigResponse) ProtoReflect() protoreflect.Message
func (*UserGenConfigResponse) Reset ¶
func (x *UserGenConfigResponse) Reset()
func (*UserGenConfigResponse) String ¶
func (x *UserGenConfigResponse) String() string
type UserListRequest ¶
type UserListRequest struct {
// contains filtered or unexported fields
}
func (*UserListRequest) Descriptor
deprecated
func (*UserListRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserListRequest.ProtoReflect.Descriptor instead.
func (*UserListRequest) ProtoMessage ¶
func (*UserListRequest) ProtoMessage()
func (*UserListRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserListRequest) ProtoReflect() protoreflect.Message
func (*UserListRequest) Reset ¶
func (x *UserListRequest) Reset()
func (*UserListRequest) String ¶
func (x *UserListRequest) String() string
type UserRenewRequest ¶
type UserRenewRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*UserRenewRequest) Descriptor
deprecated
func (*UserRenewRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRenewRequest.ProtoReflect.Descriptor instead.
func (*UserRenewRequest) GetUsername ¶
func (x *UserRenewRequest) GetUsername() string
func (*UserRenewRequest) ProtoMessage ¶
func (*UserRenewRequest) ProtoMessage()
func (*UserRenewRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserRenewRequest) ProtoReflect() protoreflect.Message
func (*UserRenewRequest) Reset ¶
func (x *UserRenewRequest) Reset()
func (*UserRenewRequest) String ¶
func (x *UserRenewRequest) String() string
type UserResponse ¶
type UserResponse struct { Users []*UserResponse_User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetUsers ¶
func (x *UserResponse) GetUsers() []*UserResponse_User
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶ added in v0.2.11
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string
type UserResponse_User ¶
type UserResponse_User struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` ServerSerialNumber string `protobuf:"bytes,2,opt,name=server_serial_number,json=serverSerialNumber,proto3" json:"server_serial_number,omitempty"` Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` IpNet string `protobuf:"bytes,5,opt,name=ip_net,json=ipNet,proto3" json:"ip_net,omitempty"` NoGw bool `protobuf:"varint,6,opt,name=no_gw,json=noGw,proto3" json:"no_gw,omitempty"` HostId uint32 `protobuf:"varint,7,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` IsAdmin bool `protobuf:"varint,8,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` IsConnected bool `protobuf:"varint,9,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` ConnectedSince string `protobuf:"bytes,10,opt,name=connected_since,json=connectedSince,proto3" json:"connected_since,omitempty"` BytesSent uint64 `protobuf:"varint,11,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"` BytesReceived uint64 `protobuf:"varint,12,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"` ExpiresAt string `protobuf:"bytes,13,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UserResponse_User) Descriptor
deprecated
func (*UserResponse_User) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse_User.ProtoReflect.Descriptor instead.
func (*UserResponse_User) GetBytesReceived ¶ added in v0.2.7
func (x *UserResponse_User) GetBytesReceived() uint64
func (*UserResponse_User) GetBytesSent ¶ added in v0.2.7
func (x *UserResponse_User) GetBytesSent() uint64
func (*UserResponse_User) GetCert ¶
func (x *UserResponse_User) GetCert() string
func (*UserResponse_User) GetConnectedSince ¶ added in v0.2.7
func (x *UserResponse_User) GetConnectedSince() string
func (*UserResponse_User) GetCreatedAt ¶
func (x *UserResponse_User) GetCreatedAt() string
func (*UserResponse_User) GetDescription ¶ added in v0.2.8
func (x *UserResponse_User) GetDescription() string
func (*UserResponse_User) GetExpiresAt ¶ added in v0.2.7
func (x *UserResponse_User) GetExpiresAt() string
func (*UserResponse_User) GetHostId ¶
func (x *UserResponse_User) GetHostId() uint32
func (*UserResponse_User) GetIpNet ¶
func (x *UserResponse_User) GetIpNet() string
func (*UserResponse_User) GetIsAdmin ¶
func (x *UserResponse_User) GetIsAdmin() bool
func (*UserResponse_User) GetIsConnected ¶ added in v0.2.7
func (x *UserResponse_User) GetIsConnected() bool
func (*UserResponse_User) GetNoGw ¶
func (x *UserResponse_User) GetNoGw() bool
func (*UserResponse_User) GetServerSerialNumber ¶
func (x *UserResponse_User) GetServerSerialNumber() string
func (*UserResponse_User) GetUsername ¶
func (x *UserResponse_User) GetUsername() string
func (*UserResponse_User) ProtoMessage ¶
func (*UserResponse_User) ProtoMessage()
func (*UserResponse_User) ProtoReflect ¶ added in v0.2.11
func (x *UserResponse_User) ProtoReflect() protoreflect.Message
func (*UserResponse_User) Reset ¶
func (x *UserResponse_User) Reset()
func (*UserResponse_User) String ¶
func (x *UserResponse_User) String() string
type UserServiceClient ¶
type UserServiceClient interface { List(ctx context.Context, in *UserListRequest, opts ...grpc.CallOption) (*UserResponse, error) Create(ctx context.Context, in *UserCreateRequest, opts ...grpc.CallOption) (*UserResponse, error) Update(ctx context.Context, in *UserUpdateRequest, opts ...grpc.CallOption) (*UserResponse, error) Delete(ctx context.Context, in *UserDeleteRequest, opts ...grpc.CallOption) (*UserResponse, error) Renew(ctx context.Context, in *UserRenewRequest, opts ...grpc.CallOption) (*UserResponse, error) GenConfig(ctx context.Context, in *UserGenConfigRequest, opts ...grpc.CallOption) (*UserGenConfigResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { List(context.Context, *UserListRequest) (*UserResponse, error) Create(context.Context, *UserCreateRequest) (*UserResponse, error) Update(context.Context, *UserUpdateRequest) (*UserResponse, error) Delete(context.Context, *UserDeleteRequest) (*UserResponse, error) Renew(context.Context, *UserRenewRequest) (*UserResponse, error) GenConfig(context.Context, *UserGenConfigRequest) (*UserGenConfigResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserUpdateRequest ¶
type UserUpdateRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Gwpref UserUpdateRequest_GWPref `protobuf:"varint,3,opt,name=gwpref,proto3,enum=pb.UserUpdateRequest_GWPref" json:"gwpref,omitempty"` HostId uint32 `protobuf:"varint,4,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` StaticPref UserUpdateRequest_StaticPref `` /* 129-byte string literal not displayed */ AdminPref UserUpdateRequest_AdminPref `protobuf:"varint,6,opt,name=admin_pref,json=adminPref,proto3,enum=pb.UserUpdateRequest_AdminPref" json:"admin_pref,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UserUpdateRequest) Descriptor
deprecated
func (*UserUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateRequest.ProtoReflect.Descriptor instead.
func (*UserUpdateRequest) GetAdminPref ¶
func (x *UserUpdateRequest) GetAdminPref() UserUpdateRequest_AdminPref
func (*UserUpdateRequest) GetDescription ¶ added in v0.2.8
func (x *UserUpdateRequest) GetDescription() string
func (*UserUpdateRequest) GetGwpref ¶
func (x *UserUpdateRequest) GetGwpref() UserUpdateRequest_GWPref
func (*UserUpdateRequest) GetHostId ¶
func (x *UserUpdateRequest) GetHostId() uint32
func (*UserUpdateRequest) GetPassword ¶
func (x *UserUpdateRequest) GetPassword() string
func (*UserUpdateRequest) GetStaticPref ¶
func (x *UserUpdateRequest) GetStaticPref() UserUpdateRequest_StaticPref
func (*UserUpdateRequest) GetUsername ¶
func (x *UserUpdateRequest) GetUsername() string
func (*UserUpdateRequest) ProtoMessage ¶
func (*UserUpdateRequest) ProtoMessage()
func (*UserUpdateRequest) ProtoReflect ¶ added in v0.2.11
func (x *UserUpdateRequest) ProtoReflect() protoreflect.Message
func (*UserUpdateRequest) Reset ¶
func (x *UserUpdateRequest) Reset()
func (*UserUpdateRequest) String ¶
func (x *UserUpdateRequest) String() string
type UserUpdateRequest_AdminPref ¶
type UserUpdateRequest_AdminPref int32
const ( UserUpdateRequest_NOPREFADMIN UserUpdateRequest_AdminPref = 0 UserUpdateRequest_NOADMIN UserUpdateRequest_AdminPref = 1 UserUpdateRequest_ADMIN UserUpdateRequest_AdminPref = 2 )
func (UserUpdateRequest_AdminPref) Descriptor ¶ added in v0.2.11
func (UserUpdateRequest_AdminPref) Descriptor() protoreflect.EnumDescriptor
func (UserUpdateRequest_AdminPref) Enum ¶ added in v0.2.11
func (x UserUpdateRequest_AdminPref) Enum() *UserUpdateRequest_AdminPref
func (UserUpdateRequest_AdminPref) EnumDescriptor
deprecated
func (UserUpdateRequest_AdminPref) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserUpdateRequest_AdminPref.Descriptor instead.
func (UserUpdateRequest_AdminPref) Number ¶ added in v0.2.11
func (x UserUpdateRequest_AdminPref) Number() protoreflect.EnumNumber
func (UserUpdateRequest_AdminPref) String ¶
func (x UserUpdateRequest_AdminPref) String() string
func (UserUpdateRequest_AdminPref) Type ¶ added in v0.2.11
func (UserUpdateRequest_AdminPref) Type() protoreflect.EnumType
type UserUpdateRequest_GWPref ¶
type UserUpdateRequest_GWPref int32
const ( UserUpdateRequest_NOPREF UserUpdateRequest_GWPref = 0 UserUpdateRequest_NOGW UserUpdateRequest_GWPref = 1 UserUpdateRequest_GW UserUpdateRequest_GWPref = 2 )
func (UserUpdateRequest_GWPref) Descriptor ¶ added in v0.2.11
func (UserUpdateRequest_GWPref) Descriptor() protoreflect.EnumDescriptor
func (UserUpdateRequest_GWPref) Enum ¶ added in v0.2.11
func (x UserUpdateRequest_GWPref) Enum() *UserUpdateRequest_GWPref
func (UserUpdateRequest_GWPref) EnumDescriptor
deprecated
func (UserUpdateRequest_GWPref) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserUpdateRequest_GWPref.Descriptor instead.
func (UserUpdateRequest_GWPref) Number ¶ added in v0.2.11
func (x UserUpdateRequest_GWPref) Number() protoreflect.EnumNumber
func (UserUpdateRequest_GWPref) String ¶
func (x UserUpdateRequest_GWPref) String() string
func (UserUpdateRequest_GWPref) Type ¶ added in v0.2.11
func (UserUpdateRequest_GWPref) Type() protoreflect.EnumType
type UserUpdateRequest_StaticPref ¶
type UserUpdateRequest_StaticPref int32
const ( UserUpdateRequest_NOPREFSTATIC UserUpdateRequest_StaticPref = 0 UserUpdateRequest_NOSTATIC UserUpdateRequest_StaticPref = 1 UserUpdateRequest_STATIC UserUpdateRequest_StaticPref = 2 )
func (UserUpdateRequest_StaticPref) Descriptor ¶ added in v0.2.11
func (UserUpdateRequest_StaticPref) Descriptor() protoreflect.EnumDescriptor
func (UserUpdateRequest_StaticPref) Enum ¶ added in v0.2.11
func (x UserUpdateRequest_StaticPref) Enum() *UserUpdateRequest_StaticPref
func (UserUpdateRequest_StaticPref) EnumDescriptor
deprecated
func (UserUpdateRequest_StaticPref) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserUpdateRequest_StaticPref.Descriptor instead.
func (UserUpdateRequest_StaticPref) Number ¶ added in v0.2.11
func (x UserUpdateRequest_StaticPref) Number() protoreflect.EnumNumber
func (UserUpdateRequest_StaticPref) String ¶
func (x UserUpdateRequest_StaticPref) String() string
func (UserUpdateRequest_StaticPref) Type ¶ added in v0.2.11
func (UserUpdateRequest_StaticPref) Type() protoreflect.EnumType
type VPNInitRequest ¶
type VPNInitRequest struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` ProtoPref VPNProto `protobuf:"varint,3,opt,name=proto_pref,json=protoPref,proto3,enum=pb.VPNProto" json:"proto_pref,omitempty"` IpBlock string `protobuf:"bytes,4,opt,name=ip_block,json=ipBlock,proto3" json:"ip_block,omitempty"` Dns string `protobuf:"bytes,5,opt,name=dns,proto3" json:"dns,omitempty"` KeepalivePeriod string `protobuf:"bytes,6,opt,name=keepalive_period,json=keepalivePeriod,proto3" json:"keepalive_period,omitempty"` KeepaliveTimeout string `protobuf:"bytes,7,opt,name=keepalive_timeout,json=keepaliveTimeout,proto3" json:"keepalive_timeout,omitempty"` UseLzo bool `protobuf:"varint,8,opt,name=use_lzo,json=useLzo,proto3" json:"use_lzo,omitempty"` // contains filtered or unexported fields }
func (*VPNInitRequest) Descriptor
deprecated
func (*VPNInitRequest) Descriptor() ([]byte, []int)
Deprecated: Use VPNInitRequest.ProtoReflect.Descriptor instead.
func (*VPNInitRequest) GetDns ¶
func (x *VPNInitRequest) GetDns() string
func (*VPNInitRequest) GetHostname ¶
func (x *VPNInitRequest) GetHostname() string
func (*VPNInitRequest) GetIpBlock ¶
func (x *VPNInitRequest) GetIpBlock() string
func (*VPNInitRequest) GetKeepalivePeriod ¶ added in v0.2.8
func (x *VPNInitRequest) GetKeepalivePeriod() string
func (*VPNInitRequest) GetKeepaliveTimeout ¶ added in v0.2.8
func (x *VPNInitRequest) GetKeepaliveTimeout() string
func (*VPNInitRequest) GetPort ¶
func (x *VPNInitRequest) GetPort() string
func (*VPNInitRequest) GetProtoPref ¶
func (x *VPNInitRequest) GetProtoPref() VPNProto
func (*VPNInitRequest) GetUseLzo ¶ added in v0.2.8
func (x *VPNInitRequest) GetUseLzo() bool
func (*VPNInitRequest) ProtoMessage ¶
func (*VPNInitRequest) ProtoMessage()
func (*VPNInitRequest) ProtoReflect ¶ added in v0.2.11
func (x *VPNInitRequest) ProtoReflect() protoreflect.Message
func (*VPNInitRequest) Reset ¶
func (x *VPNInitRequest) Reset()
func (*VPNInitRequest) String ¶
func (x *VPNInitRequest) String() string
type VPNInitResponse ¶
type VPNInitResponse struct {
// contains filtered or unexported fields
}
func (*VPNInitResponse) Descriptor
deprecated
func (*VPNInitResponse) Descriptor() ([]byte, []int)
Deprecated: Use VPNInitResponse.ProtoReflect.Descriptor instead.
func (*VPNInitResponse) ProtoMessage ¶
func (*VPNInitResponse) ProtoMessage()
func (*VPNInitResponse) ProtoReflect ¶ added in v0.2.11
func (x *VPNInitResponse) ProtoReflect() protoreflect.Message
func (*VPNInitResponse) Reset ¶
func (x *VPNInitResponse) Reset()
func (*VPNInitResponse) String ¶
func (x *VPNInitResponse) String() string
type VPNLZOPref ¶ added in v0.2.9
type VPNLZOPref int32
const ( VPNLZOPref_USE_LZO_NOPREF VPNLZOPref = 0 VPNLZOPref_USE_LZO_ENABLE VPNLZOPref = 1 VPNLZOPref_USE_LZO_DISABLE VPNLZOPref = 3 )
func (VPNLZOPref) Descriptor ¶ added in v0.2.11
func (VPNLZOPref) Descriptor() protoreflect.EnumDescriptor
func (VPNLZOPref) Enum ¶ added in v0.2.11
func (x VPNLZOPref) Enum() *VPNLZOPref
func (VPNLZOPref) EnumDescriptor
deprecated
added in
v0.2.9
func (VPNLZOPref) EnumDescriptor() ([]byte, []int)
Deprecated: Use VPNLZOPref.Descriptor instead.
func (VPNLZOPref) Number ¶ added in v0.2.11
func (x VPNLZOPref) Number() protoreflect.EnumNumber
func (VPNLZOPref) String ¶ added in v0.2.9
func (x VPNLZOPref) String() string
func (VPNLZOPref) Type ¶ added in v0.2.11
func (VPNLZOPref) Type() protoreflect.EnumType
type VPNProto ¶
type VPNProto int32
func (VPNProto) Descriptor ¶ added in v0.2.11
func (VPNProto) Descriptor() protoreflect.EnumDescriptor
func (VPNProto) EnumDescriptor
deprecated
func (VPNProto) Number ¶ added in v0.2.11
func (x VPNProto) Number() protoreflect.EnumNumber
func (VPNProto) Type ¶ added in v0.2.11
func (VPNProto) Type() protoreflect.EnumType
type VPNRestartRequest ¶ added in v0.2.5
type VPNRestartRequest struct {
// contains filtered or unexported fields
}
func (*VPNRestartRequest) Descriptor
deprecated
added in
v0.2.5
func (*VPNRestartRequest) Descriptor() ([]byte, []int)
Deprecated: Use VPNRestartRequest.ProtoReflect.Descriptor instead.
func (*VPNRestartRequest) ProtoMessage ¶ added in v0.2.5
func (*VPNRestartRequest) ProtoMessage()
func (*VPNRestartRequest) ProtoReflect ¶ added in v0.2.11
func (x *VPNRestartRequest) ProtoReflect() protoreflect.Message
func (*VPNRestartRequest) Reset ¶ added in v0.2.5
func (x *VPNRestartRequest) Reset()
func (*VPNRestartRequest) String ¶ added in v0.2.5
func (x *VPNRestartRequest) String() string
type VPNRestartResponse ¶ added in v0.2.5
type VPNRestartResponse struct {
// contains filtered or unexported fields
}
func (*VPNRestartResponse) Descriptor
deprecated
added in
v0.2.5
func (*VPNRestartResponse) Descriptor() ([]byte, []int)
Deprecated: Use VPNRestartResponse.ProtoReflect.Descriptor instead.
func (*VPNRestartResponse) ProtoMessage ¶ added in v0.2.5
func (*VPNRestartResponse) ProtoMessage()
func (*VPNRestartResponse) ProtoReflect ¶ added in v0.2.11
func (x *VPNRestartResponse) ProtoReflect() protoreflect.Message
func (*VPNRestartResponse) Reset ¶ added in v0.2.5
func (x *VPNRestartResponse) Reset()
func (*VPNRestartResponse) String ¶ added in v0.2.5
func (x *VPNRestartResponse) String() string
type VPNServiceClient ¶
type VPNServiceClient interface { Status(ctx context.Context, in *VPNStatusRequest, opts ...grpc.CallOption) (*VPNStatusResponse, error) Init(ctx context.Context, in *VPNInitRequest, opts ...grpc.CallOption) (*VPNInitResponse, error) Update(ctx context.Context, in *VPNUpdateRequest, opts ...grpc.CallOption) (*VPNUpdateResponse, error) Restart(ctx context.Context, in *VPNRestartRequest, opts ...grpc.CallOption) (*VPNRestartResponse, error) }
VPNServiceClient is the client API for VPNService 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 NewVPNServiceClient ¶
func NewVPNServiceClient(cc grpc.ClientConnInterface) VPNServiceClient
type VPNServiceServer ¶
type VPNServiceServer interface { Status(context.Context, *VPNStatusRequest) (*VPNStatusResponse, error) Init(context.Context, *VPNInitRequest) (*VPNInitResponse, error) Update(context.Context, *VPNUpdateRequest) (*VPNUpdateResponse, error) Restart(context.Context, *VPNRestartRequest) (*VPNRestartResponse, error) // contains filtered or unexported methods }
VPNServiceServer is the server API for VPNService service. All implementations must embed UnimplementedVPNServiceServer for forward compatibility
type VPNStatusRequest ¶
type VPNStatusRequest struct {
// contains filtered or unexported fields
}
func (*VPNStatusRequest) Descriptor
deprecated
func (*VPNStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use VPNStatusRequest.ProtoReflect.Descriptor instead.
func (*VPNStatusRequest) ProtoMessage ¶
func (*VPNStatusRequest) ProtoMessage()
func (*VPNStatusRequest) ProtoReflect ¶ added in v0.2.11
func (x *VPNStatusRequest) ProtoReflect() protoreflect.Message
func (*VPNStatusRequest) Reset ¶
func (x *VPNStatusRequest) Reset()
func (*VPNStatusRequest) String ¶
func (x *VPNStatusRequest) String() string
type VPNStatusResponse ¶
type VPNStatusResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SerialNumber string `protobuf:"bytes,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` Port string `protobuf:"bytes,4,opt,name=port,proto3" json:"port,omitempty"` Cert string `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"` CaCert string `protobuf:"bytes,6,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` Net string `protobuf:"bytes,7,opt,name=net,proto3" json:"net,omitempty"` Mask string `protobuf:"bytes,8,opt,name=mask,proto3" json:"mask,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Proto string `protobuf:"bytes,10,opt,name=proto,proto3" json:"proto,omitempty"` Dns string `protobuf:"bytes,11,opt,name=dns,proto3" json:"dns,omitempty"` ExpiresAt string `protobuf:"bytes,12,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` CaExpiresAt string `protobuf:"bytes,13,opt,name=ca_expires_at,json=caExpiresAt,proto3" json:"ca_expires_at,omitempty"` UseLzo bool `protobuf:"varint,14,opt,name=use_lzo,json=useLzo,proto3" json:"use_lzo,omitempty"` // contains filtered or unexported fields }
func (*VPNStatusResponse) Descriptor
deprecated
func (*VPNStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use VPNStatusResponse.ProtoReflect.Descriptor instead.
func (*VPNStatusResponse) GetCaCert ¶
func (x *VPNStatusResponse) GetCaCert() string
func (*VPNStatusResponse) GetCaExpiresAt ¶ added in v0.2.7
func (x *VPNStatusResponse) GetCaExpiresAt() string
func (*VPNStatusResponse) GetCert ¶
func (x *VPNStatusResponse) GetCert() string
func (*VPNStatusResponse) GetCreatedAt ¶
func (x *VPNStatusResponse) GetCreatedAt() string
func (*VPNStatusResponse) GetDns ¶
func (x *VPNStatusResponse) GetDns() string
func (*VPNStatusResponse) GetExpiresAt ¶ added in v0.2.7
func (x *VPNStatusResponse) GetExpiresAt() string
func (*VPNStatusResponse) GetHostname ¶
func (x *VPNStatusResponse) GetHostname() string
func (*VPNStatusResponse) GetMask ¶
func (x *VPNStatusResponse) GetMask() string
func (*VPNStatusResponse) GetName ¶
func (x *VPNStatusResponse) GetName() string
func (*VPNStatusResponse) GetNet ¶
func (x *VPNStatusResponse) GetNet() string
func (*VPNStatusResponse) GetPort ¶
func (x *VPNStatusResponse) GetPort() string
func (*VPNStatusResponse) GetProto ¶
func (x *VPNStatusResponse) GetProto() string
func (*VPNStatusResponse) GetSerialNumber ¶
func (x *VPNStatusResponse) GetSerialNumber() string
func (*VPNStatusResponse) GetUseLzo ¶ added in v0.2.9
func (x *VPNStatusResponse) GetUseLzo() bool
func (*VPNStatusResponse) ProtoMessage ¶
func (*VPNStatusResponse) ProtoMessage()
func (*VPNStatusResponse) ProtoReflect ¶ added in v0.2.11
func (x *VPNStatusResponse) ProtoReflect() protoreflect.Message
func (*VPNStatusResponse) Reset ¶
func (x *VPNStatusResponse) Reset()
func (*VPNStatusResponse) String ¶
func (x *VPNStatusResponse) String() string
type VPNUpdateRequest ¶
type VPNUpdateRequest struct { IpBlock string `protobuf:"bytes,1,opt,name=ip_block,json=ipBlock,proto3" json:"ip_block,omitempty"` Dns string `protobuf:"bytes,2,opt,name=dns,proto3" json:"dns,omitempty"` LzoPref VPNLZOPref `protobuf:"varint,3,opt,name=lzo_pref,json=lzoPref,proto3,enum=pb.VPNLZOPref" json:"lzo_pref,omitempty"` // contains filtered or unexported fields }
func (*VPNUpdateRequest) Descriptor
deprecated
func (*VPNUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use VPNUpdateRequest.ProtoReflect.Descriptor instead.
func (*VPNUpdateRequest) GetDns ¶
func (x *VPNUpdateRequest) GetDns() string
func (*VPNUpdateRequest) GetIpBlock ¶
func (x *VPNUpdateRequest) GetIpBlock() string
func (*VPNUpdateRequest) GetLzoPref ¶ added in v0.2.9
func (x *VPNUpdateRequest) GetLzoPref() VPNLZOPref
func (*VPNUpdateRequest) ProtoMessage ¶
func (*VPNUpdateRequest) ProtoMessage()
func (*VPNUpdateRequest) ProtoReflect ¶ added in v0.2.11
func (x *VPNUpdateRequest) ProtoReflect() protoreflect.Message
func (*VPNUpdateRequest) Reset ¶
func (x *VPNUpdateRequest) Reset()
func (*VPNUpdateRequest) String ¶
func (x *VPNUpdateRequest) String() string
type VPNUpdateResponse ¶
type VPNUpdateResponse struct {
// contains filtered or unexported fields
}
func (*VPNUpdateResponse) Descriptor
deprecated
func (*VPNUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use VPNUpdateResponse.ProtoReflect.Descriptor instead.
func (*VPNUpdateResponse) ProtoMessage ¶
func (*VPNUpdateResponse) ProtoMessage()
func (*VPNUpdateResponse) ProtoReflect ¶ added in v0.2.11
func (x *VPNUpdateResponse) ProtoReflect() protoreflect.Message
func (*VPNUpdateResponse) Reset ¶
func (x *VPNUpdateResponse) Reset()
func (*VPNUpdateResponse) String ¶
func (x *VPNUpdateResponse) String() string