api

package
v0.0.0-...-ec27ee4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Health_name = map[int32]string{
		0: "DEFAULT",
		1: "ONLINE",
	}
	Health_value = map[string]int32{
		"DEFAULT": 0,
		"ONLINE":  1,
	}
)

Enum value maps for Health.

View Source
var Clock_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Clock",
	HandlerType: (*ClockServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _Clock_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _Clock_Set_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

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

View Source
var Cluster_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Cluster",
	HandlerType: (*ClusterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Info",
			Handler:    _Cluster_Info_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Cluster_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _Cluster_Set_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

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

View Source
var File_api_api_proto protoreflect.FileDescriptor
View Source
var Node_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Node",
	HandlerType: (*NodeServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Health",
			Handler:    _Node_Health_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Node_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _Node_Set_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Info",
			Handler:       _Node_Info_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/api.proto",
}

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

Functions

func RegisterClockServer

func RegisterClockServer(s grpc.ServiceRegistrar, srv ClockServer)

func RegisterClusterServer

func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer)

func RegisterNodeServer

func RegisterNodeServer(s grpc.ServiceRegistrar, srv NodeServer)

Types

type ClockClient

type ClockClient interface {
	Get(ctx context.Context, in *ClockGetRequest, opts ...grpc.CallOption) (*ClockGetResponse, error)
	Set(ctx context.Context, in *ClockSetRequest, opts ...grpc.CallOption) (*ClockSetResponse, error)
}

ClockClient is the client API for Clock 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 NewClockClient

func NewClockClient(cc grpc.ClientConnInterface) ClockClient

type ClockGetRequest

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

func (*ClockGetRequest) Descriptor deprecated

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

Deprecated: Use ClockGetRequest.ProtoReflect.Descriptor instead.

func (*ClockGetRequest) ProtoMessage

func (*ClockGetRequest) ProtoMessage()

func (*ClockGetRequest) ProtoReflect

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

func (*ClockGetRequest) Reset

func (x *ClockGetRequest) Reset()

func (*ClockGetRequest) String

func (x *ClockGetRequest) String() string

type ClockGetResponse

type ClockGetResponse struct {
	Value *ClockValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ClockGetResponse) Descriptor deprecated

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

Deprecated: Use ClockGetResponse.ProtoReflect.Descriptor instead.

func (*ClockGetResponse) GetValue

func (x *ClockGetResponse) GetValue() *ClockValue

func (*ClockGetResponse) ProtoMessage

func (*ClockGetResponse) ProtoMessage()

func (*ClockGetResponse) ProtoReflect

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

func (*ClockGetResponse) Reset

func (x *ClockGetResponse) Reset()

func (*ClockGetResponse) String

func (x *ClockGetResponse) String() string

type ClockServer

type ClockServer interface {
	Get(context.Context, *ClockGetRequest) (*ClockGetResponse, error)
	Set(context.Context, *ClockSetRequest) (*ClockSetResponse, error)
	// contains filtered or unexported methods
}

ClockServer is the server API for Clock service. All implementations must embed UnimplementedClockServer for forward compatibility

type ClockSetRequest

type ClockSetRequest struct {
	Value *ClockValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ClockSetRequest) Descriptor deprecated

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

Deprecated: Use ClockSetRequest.ProtoReflect.Descriptor instead.

func (*ClockSetRequest) GetValue

func (x *ClockSetRequest) GetValue() *ClockValue

func (*ClockSetRequest) ProtoMessage

func (*ClockSetRequest) ProtoMessage()

func (*ClockSetRequest) ProtoReflect

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

func (*ClockSetRequest) Reset

func (x *ClockSetRequest) Reset()

func (*ClockSetRequest) String

func (x *ClockSetRequest) String() string

type ClockSetResponse

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

func (*ClockSetResponse) Descriptor deprecated

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

Deprecated: Use ClockSetResponse.ProtoReflect.Descriptor instead.

func (*ClockSetResponse) ProtoMessage

func (*ClockSetResponse) ProtoMessage()

func (*ClockSetResponse) ProtoReflect

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

func (*ClockSetResponse) Reset

func (x *ClockSetResponse) Reset()

func (*ClockSetResponse) String

func (x *ClockSetResponse) String() string

type ClockValue

type ClockValue struct {
	Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Clock uint64 `protobuf:"varint,2,opt,name=clock,proto3" json:"clock,omitempty"`
	// contains filtered or unexported fields
}

func (*ClockValue) Descriptor deprecated

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

Deprecated: Use ClockValue.ProtoReflect.Descriptor instead.

func (*ClockValue) GetClock

func (x *ClockValue) GetClock() uint64

func (*ClockValue) GetEpoch

func (x *ClockValue) GetEpoch() uint64

func (*ClockValue) ProtoMessage

func (*ClockValue) ProtoMessage()

func (*ClockValue) ProtoReflect

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

func (*ClockValue) Reset

func (x *ClockValue) Reset()

func (*ClockValue) String

func (x *ClockValue) String() string

type ClockedEntry

type ClockedEntry struct {
	Entry *Entry      `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
	Clock *ClockValue `protobuf:"bytes,2,opt,name=clock,proto3" json:"clock,omitempty"`
	// contains filtered or unexported fields
}

func (*ClockedEntry) Descriptor deprecated

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

Deprecated: Use ClockedEntry.ProtoReflect.Descriptor instead.

func (*ClockedEntry) GetClock

func (x *ClockedEntry) GetClock() *ClockValue

func (*ClockedEntry) GetEntry

func (x *ClockedEntry) GetEntry() *Entry

func (*ClockedEntry) ProtoMessage

func (*ClockedEntry) ProtoMessage()

func (*ClockedEntry) ProtoReflect

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

func (*ClockedEntry) Reset

func (x *ClockedEntry) Reset()

func (*ClockedEntry) String

func (x *ClockedEntry) String() string

type ClusterClient

type ClusterClient interface {
	Info(ctx context.Context, in *ClusterInfoRequest, opts ...grpc.CallOption) (*ClusterInfoResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
}

ClusterClient is the client API for Cluster 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 NewClusterClient

func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient

type ClusterInfoRequest

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

func (*ClusterInfoRequest) Descriptor deprecated

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

Deprecated: Use ClusterInfoRequest.ProtoReflect.Descriptor instead.

func (*ClusterInfoRequest) ProtoMessage

func (*ClusterInfoRequest) ProtoMessage()

func (*ClusterInfoRequest) ProtoReflect

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

func (*ClusterInfoRequest) Reset

func (x *ClusterInfoRequest) Reset()

func (*ClusterInfoRequest) String

func (x *ClusterInfoRequest) String() string

type ClusterInfoResponse

type ClusterInfoResponse struct {
	Uptime           *durationpb.Duration `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
	ReplicationLevel int64                `protobuf:"varint,2,opt,name=replication_level,json=replicationLevel,proto3" json:"replication_level,omitempty"`
	StorageNodes     []*StorageNode       `protobuf:"bytes,3,rep,name=storage_nodes,json=storageNodes,proto3" json:"storage_nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterInfoResponse) Descriptor deprecated

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

Deprecated: Use ClusterInfoResponse.ProtoReflect.Descriptor instead.

func (*ClusterInfoResponse) GetReplicationLevel

func (x *ClusterInfoResponse) GetReplicationLevel() int64

func (*ClusterInfoResponse) GetStorageNodes

func (x *ClusterInfoResponse) GetStorageNodes() []*StorageNode

func (*ClusterInfoResponse) GetUptime

func (x *ClusterInfoResponse) GetUptime() *durationpb.Duration

func (*ClusterInfoResponse) ProtoMessage

func (*ClusterInfoResponse) ProtoMessage()

func (*ClusterInfoResponse) ProtoReflect

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

func (*ClusterInfoResponse) Reset

func (x *ClusterInfoResponse) Reset()

func (*ClusterInfoResponse) String

func (x *ClusterInfoResponse) String() string

type ClusterServer

type ClusterServer interface {
	Info(context.Context, *ClusterInfoRequest) (*ClusterInfoResponse, error)
	Get(context.Context, *GetRequest) (*GetResponse, error)
	Set(context.Context, *SetRequest) (*SetResponse, error)
	// contains filtered or unexported methods
}

ClusterServer is the server API for Cluster service. All implementations must embed UnimplementedClusterServer for forward compatibility

type Entry

type Entry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Entry) Descriptor deprecated

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

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetKey

func (x *Entry) GetKey() string

func (*Entry) GetValue

func (x *Entry) GetValue() string

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

type GetRequest

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

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetKey

func (x *GetRequest) GetKey() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

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

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetEntry

func (x *GetResponse) GetEntry() *Entry

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type Health

type Health int32
const (
	Health_DEFAULT Health = 0
	Health_ONLINE  Health = 1
)

func (Health) Descriptor

func (Health) Descriptor() protoreflect.EnumDescriptor

func (Health) Enum

func (x Health) Enum() *Health

func (Health) EnumDescriptor deprecated

func (Health) EnumDescriptor() ([]byte, []int)

Deprecated: Use Health.Descriptor instead.

func (Health) Number

func (x Health) Number() protoreflect.EnumNumber

func (Health) String

func (x Health) String() string

func (Health) Type

func (Health) Type() protoreflect.EnumType

type HealthRequest

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

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

type HealthResponse struct {
	NodeId string               `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Status Health               `protobuf:"varint,2,opt,name=status,proto3,enum=api.Health" json:"status,omitempty"`
	Uptime *durationpb.Duration `protobuf:"bytes,3,opt,name=uptime,proto3" json:"uptime,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetNodeId

func (x *HealthResponse) GetNodeId() string

func (*HealthResponse) GetStatus

func (x *HealthResponse) GetStatus() Health

func (*HealthResponse) GetUptime

func (x *HealthResponse) GetUptime() *durationpb.Duration

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

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

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type InfoRequest

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

func (*InfoRequest) Descriptor deprecated

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

Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) ProtoReflect

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

func (*InfoRequest) Reset

func (x *InfoRequest) Reset()

func (*InfoRequest) String

func (x *InfoRequest) String() string

type InfoResponse

type InfoResponse struct {
	NodeId string               `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Uptime *durationpb.Duration `protobuf:"bytes,2,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Keys   []string             `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoResponse) Descriptor deprecated

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

Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.

func (*InfoResponse) GetKeys

func (x *InfoResponse) GetKeys() []string

func (*InfoResponse) GetNodeId

func (x *InfoResponse) GetNodeId() string

func (*InfoResponse) GetUptime

func (x *InfoResponse) GetUptime() *durationpb.Duration

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) ProtoReflect

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

func (*InfoResponse) Reset

func (x *InfoResponse) Reset()

func (*InfoResponse) String

func (x *InfoResponse) String() string

type NodeClient

type NodeClient interface {
	Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (Node_InfoClient, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*NodeGetResponse, error)
	Set(ctx context.Context, in *NodeSetRequest, opts ...grpc.CallOption) (*SetResponse, error)
}

NodeClient is the client API for Node 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 NewNodeClient

func NewNodeClient(cc grpc.ClientConnInterface) NodeClient

type NodeGetResponse

type NodeGetResponse struct {
	ClockedEntry *ClockedEntry `protobuf:"bytes,1,opt,name=clocked_entry,json=clockedEntry,proto3" json:"clocked_entry,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeGetResponse) Descriptor deprecated

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

Deprecated: Use NodeGetResponse.ProtoReflect.Descriptor instead.

func (*NodeGetResponse) GetClockedEntry

func (x *NodeGetResponse) GetClockedEntry() *ClockedEntry

func (*NodeGetResponse) ProtoMessage

func (*NodeGetResponse) ProtoMessage()

func (*NodeGetResponse) ProtoReflect

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

func (*NodeGetResponse) Reset

func (x *NodeGetResponse) Reset()

func (*NodeGetResponse) String

func (x *NodeGetResponse) String() string

type NodeServer

type NodeServer interface {
	Health(context.Context, *HealthRequest) (*HealthResponse, error)
	Info(*InfoRequest, Node_InfoServer) error
	Get(context.Context, *GetRequest) (*NodeGetResponse, error)
	Set(context.Context, *NodeSetRequest) (*SetResponse, error)
	// contains filtered or unexported methods
}

NodeServer is the server API for Node service. All implementations must embed UnimplementedNodeServer for forward compatibility

type NodeSetRequest

type NodeSetRequest struct {
	ClockedEntry *ClockedEntry `protobuf:"bytes,1,opt,name=clocked_entry,json=clockedEntry,proto3" json:"clocked_entry,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeSetRequest) Descriptor deprecated

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

Deprecated: Use NodeSetRequest.ProtoReflect.Descriptor instead.

func (*NodeSetRequest) GetClockedEntry

func (x *NodeSetRequest) GetClockedEntry() *ClockedEntry

func (*NodeSetRequest) ProtoMessage

func (*NodeSetRequest) ProtoMessage()

func (*NodeSetRequest) ProtoReflect

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

func (*NodeSetRequest) Reset

func (x *NodeSetRequest) Reset()

func (*NodeSetRequest) String

func (x *NodeSetRequest) String() string

type Node_InfoClient

type Node_InfoClient interface {
	Recv() (*InfoResponse, error)
	grpc.ClientStream
}

type Node_InfoServer

type Node_InfoServer interface {
	Send(*InfoResponse) error
	grpc.ServerStream
}

type SetRequest

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

func (*SetRequest) Descriptor deprecated

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) GetEntry

func (x *SetRequest) GetEntry() *Entry

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect

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

func (*SetRequest) Reset

func (x *SetRequest) Reset()

func (*SetRequest) String

func (x *SetRequest) String() string

type SetResponse

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

func (*SetResponse) Descriptor deprecated

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

Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) ProtoReflect

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

func (*SetResponse) Reset

func (x *SetResponse) Reset()

func (*SetResponse) String

func (x *SetResponse) String() string

type StorageNode

type StorageNode struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageNode) Descriptor deprecated

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

Deprecated: Use StorageNode.ProtoReflect.Descriptor instead.

func (*StorageNode) GetAddress

func (x *StorageNode) GetAddress() string

func (*StorageNode) GetId

func (x *StorageNode) GetId() string

func (*StorageNode) ProtoMessage

func (*StorageNode) ProtoMessage()

func (*StorageNode) ProtoReflect

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

func (*StorageNode) Reset

func (x *StorageNode) Reset()

func (*StorageNode) String

func (x *StorageNode) String() string

type UnimplementedClockServer

type UnimplementedClockServer struct {
}

UnimplementedClockServer must be embedded to have forward compatible implementations.

func (UnimplementedClockServer) Get

func (UnimplementedClockServer) Set

type UnimplementedClusterServer

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer must be embedded to have forward compatible implementations.

func (UnimplementedClusterServer) Get

func (UnimplementedClusterServer) Info

func (UnimplementedClusterServer) Set

type UnimplementedNodeServer

type UnimplementedNodeServer struct {
}

UnimplementedNodeServer must be embedded to have forward compatible implementations.

func (UnimplementedNodeServer) Get

func (UnimplementedNodeServer) Health

func (UnimplementedNodeServer) Info

func (UnimplementedNodeServer) Set

type UnsafeClockServer

type UnsafeClockServer interface {
	// contains filtered or unexported methods
}

UnsafeClockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClockServer will result in compilation errors.

type UnsafeClusterServer

type UnsafeClusterServer interface {
	// contains filtered or unexported methods
}

UnsafeClusterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServer will result in compilation errors.

type UnsafeNodeServer

type UnsafeNodeServer interface {
	// contains filtered or unexported methods
}

UnsafeNodeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServer will result in compilation errors.

Jump to

Keyboard shortcuts

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