Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)
- func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
- type ApplicationServiceClient
- type ApplicationServiceServer
- type CreateNodeRequest
- type DeleteNodeRequest
- type GetNodeRequest
- type GetPreferencesRequest
- func (*GetPreferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPreferencesRequest) GetUsername() string
- func (*GetPreferencesRequest) ProtoMessage()
- func (x *GetPreferencesRequest) ProtoReflect() protoreflect.Message
- func (x *GetPreferencesRequest) Reset()
- func (x *GetPreferencesRequest) String() string
- type GetPreferencesResponse
- func (*GetPreferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPreferencesResponse) GetPreferences() *Preferences
- func (*GetPreferencesResponse) ProtoMessage()
- func (x *GetPreferencesResponse) ProtoReflect() protoreflect.Message
- func (x *GetPreferencesResponse) Reset()
- func (x *GetPreferencesResponse) String() string
- type ListNodesRequest
- func (*ListNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNodesRequest) GetLimit() int32
- func (x *ListNodesRequest) GetOffset() int32
- func (*ListNodesRequest) ProtoMessage()
- func (x *ListNodesRequest) ProtoReflect() protoreflect.Message
- func (x *ListNodesRequest) Reset()
- func (x *ListNodesRequest) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetCreatedAt() *timestamppb.Timestamp
- func (x *Node) GetDeletedAt() *timestamppb.Timestamp
- func (x *Node) GetHost() string
- func (x *Node) GetId() string
- func (x *Node) GetName() string
- func (x *Node) GetPassword() string
- func (x *Node) GetPort() int32
- func (x *Node) GetSsl() bool
- func (x *Node) GetSslCa() string
- func (x *Node) GetSslCert() string
- func (x *Node) GetSslKey() string
- func (x *Node) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Node) GetUsername() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeServiceClient
- type NodeServiceServer
- type NodeService_ListNodesClient
- type NodeService_ListNodesServer
- type PingAppResponse
- type Preferences
- func (*Preferences) Descriptor() ([]byte, []int)deprecated
- func (x *Preferences) GetUsername() string
- func (x *Preferences) GetView() ViewType
- func (*Preferences) ProtoMessage()
- func (x *Preferences) ProtoReflect() protoreflect.Message
- func (x *Preferences) Reset()
- func (x *Preferences) String() string
- type SetPreferencesRequest
- func (*SetPreferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPreferencesRequest) GetUsername() string
- func (x *SetPreferencesRequest) GetView() ViewType
- func (*SetPreferencesRequest) ProtoMessage()
- func (x *SetPreferencesRequest) ProtoReflect() protoreflect.Message
- func (x *SetPreferencesRequest) Reset()
- func (x *SetPreferencesRequest) String() string
- type SetPreferencesResponse
- func (*SetPreferencesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetPreferencesResponse) GetPreferences() *Preferences
- func (*SetPreferencesResponse) ProtoMessage()
- func (x *SetPreferencesResponse) ProtoReflect() protoreflect.Message
- func (x *SetPreferencesResponse) Reset()
- func (x *SetPreferencesResponse) String() string
- type UnimplementedApplicationServiceServer
- func (UnimplementedApplicationServiceServer) GetPreferences(context.Context, *GetPreferencesRequest) (*GetPreferencesResponse, error)
- func (UnimplementedApplicationServiceServer) PingAppService(context.Context, *emptypb.Empty) (*PingAppResponse, error)
- func (UnimplementedApplicationServiceServer) SetPreferences(context.Context, *SetPreferencesRequest) (*SetPreferencesResponse, error)
- type UnimplementedNodeServiceServer
- func (UnimplementedNodeServiceServer) CreateNode(context.Context, *CreateNodeRequest) (*Node, error)
- func (UnimplementedNodeServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*emptypb.Empty, error)
- func (UnimplementedNodeServiceServer) GetNode(context.Context, *GetNodeRequest) (*Node, error)
- func (UnimplementedNodeServiceServer) ListNodes(*ListNodesRequest, NodeService_ListNodesServer) error
- func (UnimplementedNodeServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*Node, error)
- type UnsafeApplicationServiceServer
- type UnsafeNodeServiceServer
- type UpdateNodeRequest
- func (*UpdateNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeRequest) GetId() string
- func (x *UpdateNodeRequest) GetNode() *Node
- func (*UpdateNodeRequest) ProtoMessage()
- func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeRequest) Reset()
- func (x *UpdateNodeRequest) String() string
- type ViewType
Constants ¶
const ( NodeService_GetNode_FullMethodName = "/NodeService/GetNode" NodeService_ListNodes_FullMethodName = "/NodeService/ListNodes" NodeService_CreateNode_FullMethodName = "/NodeService/CreateNode" NodeService_UpdateNode_FullMethodName = "/NodeService/UpdateNode" NodeService_DeleteNode_FullMethodName = "/NodeService/DeleteNode" )
const ( ApplicationService_PingAppService_FullMethodName = "/ApplicationService/PingAppService" ApplicationService_GetPreferences_FullMethodName = "/ApplicationService/GetPreferences" ApplicationService_SetPreferences_FullMethodName = "/ApplicationService/SetPreferences" )
Variables ¶
var ( ViewType_name = map[int32]string{ 0: "LIST", 1: "GRID", } ViewType_value = map[string]int32{ "LIST": 0, "GRID": 1, } )
Enum value maps for ViewType.
var ApplicationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ApplicationService", HandlerType: (*ApplicationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PingAppService", Handler: _ApplicationService_PingAppService_Handler, }, { MethodName: "GetPreferences", Handler: _ApplicationService_GetPreferences_Handler, }, { MethodName: "SetPreferences", Handler: _ApplicationService_SetPreferences_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "application/service.proto", }
ApplicationService_ServiceDesc is the grpc.ServiceDesc for ApplicationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_application_node_proto protoreflect.FileDescriptor
var File_application_service_proto protoreflect.FileDescriptor
var NodeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "NodeService", HandlerType: (*NodeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNode", Handler: _NodeService_GetNode_Handler, }, { MethodName: "CreateNode", Handler: _NodeService_CreateNode_Handler, }, { MethodName: "UpdateNode", Handler: _NodeService_UpdateNode_Handler, }, { MethodName: "DeleteNode", Handler: _NodeService_DeleteNode_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListNodes", Handler: _NodeService_ListNodes_Handler, ServerStreams: true, }, }, Metadata: "application/node.proto", }
NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterApplicationServiceServer ¶
func RegisterApplicationServiceServer(s grpc.ServiceRegistrar, srv ApplicationServiceServer)
func RegisterNodeServiceServer ¶ added in v0.0.3
func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
Types ¶
type ApplicationServiceClient ¶
type ApplicationServiceClient interface { PingAppService(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PingAppResponse, error) GetPreferences(ctx context.Context, in *GetPreferencesRequest, opts ...grpc.CallOption) (*GetPreferencesResponse, error) SetPreferences(ctx context.Context, in *SetPreferencesRequest, opts ...grpc.CallOption) (*SetPreferencesResponse, error) }
ApplicationServiceClient is the client API for ApplicationService 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 NewApplicationServiceClient ¶
func NewApplicationServiceClient(cc grpc.ClientConnInterface) ApplicationServiceClient
type ApplicationServiceServer ¶
type ApplicationServiceServer interface { PingAppService(context.Context, *emptypb.Empty) (*PingAppResponse, error) GetPreferences(context.Context, *GetPreferencesRequest) (*GetPreferencesResponse, error) SetPreferences(context.Context, *SetPreferencesRequest) (*SetPreferencesResponse, error) // contains filtered or unexported methods }
ApplicationServiceServer is the server API for ApplicationService service. All implementations must embed UnimplementedApplicationServiceServer for forward compatibility
type CreateNodeRequest ¶ added in v0.0.3
type CreateNodeRequest struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*CreateNodeRequest) Descriptor
deprecated
added in
v0.0.3
func (*CreateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodeRequest.ProtoReflect.Descriptor instead.
func (*CreateNodeRequest) GetNode ¶ added in v0.0.3
func (x *CreateNodeRequest) GetNode() *Node
func (*CreateNodeRequest) ProtoMessage ¶ added in v0.0.3
func (*CreateNodeRequest) ProtoMessage()
func (*CreateNodeRequest) ProtoReflect ¶ added in v0.0.3
func (x *CreateNodeRequest) ProtoReflect() protoreflect.Message
func (*CreateNodeRequest) Reset ¶ added in v0.0.3
func (x *CreateNodeRequest) Reset()
func (*CreateNodeRequest) String ¶ added in v0.0.3
func (x *CreateNodeRequest) String() string
type DeleteNodeRequest ¶ added in v0.0.3
type DeleteNodeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodeRequest) Descriptor
deprecated
added in
v0.0.3
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) GetId ¶ added in v0.0.3
func (x *DeleteNodeRequest) GetId() string
func (*DeleteNodeRequest) ProtoMessage ¶ added in v0.0.3
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) ProtoReflect ¶ added in v0.0.3
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeRequest) Reset ¶ added in v0.0.3
func (x *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶ added in v0.0.3
func (x *DeleteNodeRequest) String() string
type GetNodeRequest ¶ added in v0.0.3
type GetNodeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetNodeRequest) Descriptor
deprecated
added in
v0.0.3
func (*GetNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
func (*GetNodeRequest) GetId ¶ added in v0.0.3
func (x *GetNodeRequest) GetId() string
func (*GetNodeRequest) ProtoMessage ¶ added in v0.0.3
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) ProtoReflect ¶ added in v0.0.3
func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
func (*GetNodeRequest) Reset ¶ added in v0.0.3
func (x *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶ added in v0.0.3
func (x *GetNodeRequest) String() string
type GetPreferencesRequest ¶ added in v0.0.3
type GetPreferencesRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetPreferencesRequest) Descriptor
deprecated
added in
v0.0.3
func (*GetPreferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPreferencesRequest.ProtoReflect.Descriptor instead.
func (*GetPreferencesRequest) GetUsername ¶ added in v0.0.3
func (x *GetPreferencesRequest) GetUsername() string
func (*GetPreferencesRequest) ProtoMessage ¶ added in v0.0.3
func (*GetPreferencesRequest) ProtoMessage()
func (*GetPreferencesRequest) ProtoReflect ¶ added in v0.0.3
func (x *GetPreferencesRequest) ProtoReflect() protoreflect.Message
func (*GetPreferencesRequest) Reset ¶ added in v0.0.3
func (x *GetPreferencesRequest) Reset()
func (*GetPreferencesRequest) String ¶ added in v0.0.3
func (x *GetPreferencesRequest) String() string
type GetPreferencesResponse ¶ added in v0.0.3
type GetPreferencesResponse struct { Preferences *Preferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"` // contains filtered or unexported fields }
func (*GetPreferencesResponse) Descriptor
deprecated
added in
v0.0.3
func (*GetPreferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPreferencesResponse.ProtoReflect.Descriptor instead.
func (*GetPreferencesResponse) GetPreferences ¶ added in v0.0.3
func (x *GetPreferencesResponse) GetPreferences() *Preferences
func (*GetPreferencesResponse) ProtoMessage ¶ added in v0.0.3
func (*GetPreferencesResponse) ProtoMessage()
func (*GetPreferencesResponse) ProtoReflect ¶ added in v0.0.3
func (x *GetPreferencesResponse) ProtoReflect() protoreflect.Message
func (*GetPreferencesResponse) Reset ¶ added in v0.0.3
func (x *GetPreferencesResponse) Reset()
func (*GetPreferencesResponse) String ¶ added in v0.0.3
func (x *GetPreferencesResponse) String() string
type ListNodesRequest ¶ added in v0.0.3
type ListNodesRequest struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*ListNodesRequest) Descriptor
deprecated
added in
v0.0.3
func (*ListNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodesRequest.ProtoReflect.Descriptor instead.
func (*ListNodesRequest) GetLimit ¶ added in v0.0.3
func (x *ListNodesRequest) GetLimit() int32
func (*ListNodesRequest) GetOffset ¶ added in v0.0.3
func (x *ListNodesRequest) GetOffset() int32
func (*ListNodesRequest) ProtoMessage ¶ added in v0.0.3
func (*ListNodesRequest) ProtoMessage()
func (*ListNodesRequest) ProtoReflect ¶ added in v0.0.3
func (x *ListNodesRequest) ProtoReflect() protoreflect.Message
func (*ListNodesRequest) Reset ¶ added in v0.0.3
func (x *ListNodesRequest) Reset()
func (*ListNodesRequest) String ¶ added in v0.0.3
func (x *ListNodesRequest) String() string
type Node ¶ added in v0.0.3
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` Ssl bool `protobuf:"varint,7,opt,name=ssl,proto3" json:"ssl,omitempty"` SslCert string `protobuf:"bytes,8,opt,name=ssl_cert,json=sslCert,proto3" json:"ssl_cert,omitempty"` SslKey string `protobuf:"bytes,9,opt,name=ssl_key,json=sslKey,proto3" json:"ssl_key,omitempty"` SslCa string `protobuf:"bytes,10,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
added in
v0.0.3
func (*Node) GetCreatedAt ¶ added in v0.0.3
func (x *Node) GetCreatedAt() *timestamppb.Timestamp
func (*Node) GetDeletedAt ¶ added in v0.0.3
func (x *Node) GetDeletedAt() *timestamppb.Timestamp
func (*Node) GetPassword ¶ added in v0.0.3
func (*Node) GetSslCert ¶ added in v0.0.3
func (*Node) GetUpdatedAt ¶ added in v0.0.3
func (x *Node) GetUpdatedAt() *timestamppb.Timestamp
func (*Node) GetUsername ¶ added in v0.0.3
func (*Node) ProtoMessage ¶ added in v0.0.3
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.0.3
func (x *Node) ProtoReflect() protoreflect.Message
type NodeServiceClient ¶ added in v0.0.3
type NodeServiceClient interface { GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*Node, error) ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (NodeService_ListNodesClient, error) CreateNode(ctx context.Context, in *CreateNodeRequest, opts ...grpc.CallOption) (*Node, error) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*Node, error) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
NodeServiceClient is the client API for NodeService 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 NewNodeServiceClient ¶ added in v0.0.3
func NewNodeServiceClient(cc grpc.ClientConnInterface) NodeServiceClient
type NodeServiceServer ¶ added in v0.0.3
type NodeServiceServer interface { GetNode(context.Context, *GetNodeRequest) (*Node, error) ListNodes(*ListNodesRequest, NodeService_ListNodesServer) error CreateNode(context.Context, *CreateNodeRequest) (*Node, error) UpdateNode(context.Context, *UpdateNodeRequest) (*Node, error) DeleteNode(context.Context, *DeleteNodeRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
NodeServiceServer is the server API for NodeService service. All implementations must embed UnimplementedNodeServiceServer for forward compatibility
type NodeService_ListNodesClient ¶ added in v0.0.3
type NodeService_ListNodesClient interface { Recv() (*Node, error) grpc.ClientStream }
type NodeService_ListNodesServer ¶ added in v0.0.3
type NodeService_ListNodesServer interface { Send(*Node) error grpc.ServerStream }
type PingAppResponse ¶ added in v0.0.6
type PingAppResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingAppResponse) Descriptor
deprecated
added in
v0.0.6
func (*PingAppResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingAppResponse.ProtoReflect.Descriptor instead.
func (*PingAppResponse) GetMessage ¶ added in v0.0.6
func (x *PingAppResponse) GetMessage() string
func (*PingAppResponse) ProtoMessage ¶ added in v0.0.6
func (*PingAppResponse) ProtoMessage()
func (*PingAppResponse) ProtoReflect ¶ added in v0.0.6
func (x *PingAppResponse) ProtoReflect() protoreflect.Message
func (*PingAppResponse) Reset ¶ added in v0.0.6
func (x *PingAppResponse) Reset()
func (*PingAppResponse) String ¶ added in v0.0.6
func (x *PingAppResponse) String() string
type Preferences ¶ added in v0.0.2
type Preferences struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` View ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=ViewType" json:"view,omitempty"` // Use the enum as a field type // contains filtered or unexported fields }
Preferences message
func (*Preferences) Descriptor
deprecated
added in
v0.0.2
func (*Preferences) Descriptor() ([]byte, []int)
Deprecated: Use Preferences.ProtoReflect.Descriptor instead.
func (*Preferences) GetUsername ¶ added in v0.0.2
func (x *Preferences) GetUsername() string
func (*Preferences) GetView ¶ added in v0.0.2
func (x *Preferences) GetView() ViewType
func (*Preferences) ProtoMessage ¶ added in v0.0.2
func (*Preferences) ProtoMessage()
func (*Preferences) ProtoReflect ¶ added in v0.0.2
func (x *Preferences) ProtoReflect() protoreflect.Message
func (*Preferences) Reset ¶ added in v0.0.2
func (x *Preferences) Reset()
func (*Preferences) String ¶ added in v0.0.2
func (x *Preferences) String() string
type SetPreferencesRequest ¶ added in v0.0.3
type SetPreferencesRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` View ViewType `protobuf:"varint,2,opt,name=view,proto3,enum=ViewType" json:"view,omitempty"` // Use the enum as a field type // contains filtered or unexported fields }
func (*SetPreferencesRequest) Descriptor
deprecated
added in
v0.0.3
func (*SetPreferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPreferencesRequest.ProtoReflect.Descriptor instead.
func (*SetPreferencesRequest) GetUsername ¶ added in v0.0.3
func (x *SetPreferencesRequest) GetUsername() string
func (*SetPreferencesRequest) GetView ¶ added in v0.0.3
func (x *SetPreferencesRequest) GetView() ViewType
func (*SetPreferencesRequest) ProtoMessage ¶ added in v0.0.3
func (*SetPreferencesRequest) ProtoMessage()
func (*SetPreferencesRequest) ProtoReflect ¶ added in v0.0.3
func (x *SetPreferencesRequest) ProtoReflect() protoreflect.Message
func (*SetPreferencesRequest) Reset ¶ added in v0.0.3
func (x *SetPreferencesRequest) Reset()
func (*SetPreferencesRequest) String ¶ added in v0.0.3
func (x *SetPreferencesRequest) String() string
type SetPreferencesResponse ¶ added in v0.0.3
type SetPreferencesResponse struct { Preferences *Preferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"` // contains filtered or unexported fields }
func (*SetPreferencesResponse) Descriptor
deprecated
added in
v0.0.3
func (*SetPreferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetPreferencesResponse.ProtoReflect.Descriptor instead.
func (*SetPreferencesResponse) GetPreferences ¶ added in v0.0.3
func (x *SetPreferencesResponse) GetPreferences() *Preferences
func (*SetPreferencesResponse) ProtoMessage ¶ added in v0.0.3
func (*SetPreferencesResponse) ProtoMessage()
func (*SetPreferencesResponse) ProtoReflect ¶ added in v0.0.3
func (x *SetPreferencesResponse) ProtoReflect() protoreflect.Message
func (*SetPreferencesResponse) Reset ¶ added in v0.0.3
func (x *SetPreferencesResponse) Reset()
func (*SetPreferencesResponse) String ¶ added in v0.0.3
func (x *SetPreferencesResponse) String() string
type UnimplementedApplicationServiceServer ¶
type UnimplementedApplicationServiceServer struct { }
UnimplementedApplicationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedApplicationServiceServer) GetPreferences ¶ added in v0.0.2
func (UnimplementedApplicationServiceServer) GetPreferences(context.Context, *GetPreferencesRequest) (*GetPreferencesResponse, error)
func (UnimplementedApplicationServiceServer) PingAppService ¶ added in v0.0.6
func (UnimplementedApplicationServiceServer) PingAppService(context.Context, *emptypb.Empty) (*PingAppResponse, error)
func (UnimplementedApplicationServiceServer) SetPreferences ¶ added in v0.0.2
func (UnimplementedApplicationServiceServer) SetPreferences(context.Context, *SetPreferencesRequest) (*SetPreferencesResponse, error)
type UnimplementedNodeServiceServer ¶ added in v0.0.3
type UnimplementedNodeServiceServer struct { }
UnimplementedNodeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeServiceServer) CreateNode ¶ added in v0.0.3
func (UnimplementedNodeServiceServer) CreateNode(context.Context, *CreateNodeRequest) (*Node, error)
func (UnimplementedNodeServiceServer) DeleteNode ¶ added in v0.0.3
func (UnimplementedNodeServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*emptypb.Empty, error)
func (UnimplementedNodeServiceServer) GetNode ¶ added in v0.0.3
func (UnimplementedNodeServiceServer) GetNode(context.Context, *GetNodeRequest) (*Node, error)
func (UnimplementedNodeServiceServer) ListNodes ¶ added in v0.0.3
func (UnimplementedNodeServiceServer) ListNodes(*ListNodesRequest, NodeService_ListNodesServer) error
func (UnimplementedNodeServiceServer) UpdateNode ¶ added in v0.0.3
func (UnimplementedNodeServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*Node, error)
type UnsafeApplicationServiceServer ¶
type UnsafeApplicationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeApplicationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApplicationServiceServer will result in compilation errors.
type UnsafeNodeServiceServer ¶ added in v0.0.3
type UnsafeNodeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.
type UpdateNodeRequest ¶ added in v0.0.3
type UpdateNodeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*UpdateNodeRequest) Descriptor
deprecated
added in
v0.0.3
func (*UpdateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeRequest) GetId ¶ added in v0.0.3
func (x *UpdateNodeRequest) GetId() string
func (*UpdateNodeRequest) GetNode ¶ added in v0.0.3
func (x *UpdateNodeRequest) GetNode() *Node
func (*UpdateNodeRequest) ProtoMessage ¶ added in v0.0.3
func (*UpdateNodeRequest) ProtoMessage()
func (*UpdateNodeRequest) ProtoReflect ¶ added in v0.0.3
func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodeRequest) Reset ¶ added in v0.0.3
func (x *UpdateNodeRequest) Reset()
func (*UpdateNodeRequest) String ¶ added in v0.0.3
func (x *UpdateNodeRequest) String() string
type ViewType ¶ added in v0.0.2
type ViewType int32
Define an enum for view types
func (ViewType) Descriptor ¶ added in v0.0.2
func (ViewType) Descriptor() protoreflect.EnumDescriptor
func (ViewType) EnumDescriptor
deprecated
added in
v0.0.2
func (ViewType) Number ¶ added in v0.0.2
func (x ViewType) Number() protoreflect.EnumNumber
func (ViewType) Type ¶ added in v0.0.2
func (ViewType) Type() protoreflect.EnumType