proto

package
v0.0.0-...-ebdf8eb Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Admin_GetClusterOverview_FullMethodName = "/Admin/GetClusterOverview"
	Admin_GetRaftGroups_FullMethodName      = "/Admin/GetRaftGroups"
	Admin_GetAdapterSummary_FullMethodName  = "/Admin/GetAdapterSummary"
	Admin_GetKeyVizMatrix_FullMethodName    = "/Admin/GetKeyVizMatrix"
	Admin_GetRouteDetail_FullMethodName     = "/Admin/GetRouteDetail"
	Admin_StreamEvents_FullMethodName       = "/Admin/StreamEvents"
)
View Source
const (
	Distribution_GetRoute_FullMethodName     = "/Distribution/GetRoute"
	Distribution_GetTimestamp_FullMethodName = "/Distribution/GetTimestamp"
	Distribution_ListRoutes_FullMethodName   = "/Distribution/ListRoutes"
	Distribution_SplitRange_FullMethodName   = "/Distribution/SplitRange"
)
View Source
const (
	EncryptionAdmin_GetCapability_FullMethodName            = "/EncryptionAdmin/GetCapability"
	EncryptionAdmin_GetSidecarState_FullMethodName          = "/EncryptionAdmin/GetSidecarState"
	EncryptionAdmin_BootstrapEncryption_FullMethodName      = "/EncryptionAdmin/BootstrapEncryption"
	EncryptionAdmin_RotateDEK_FullMethodName                = "/EncryptionAdmin/RotateDEK"
	EncryptionAdmin_RegisterEncryptionWriter_FullMethodName = "/EncryptionAdmin/RegisterEncryptionWriter"
	EncryptionAdmin_ResyncSidecar_FullMethodName            = "/EncryptionAdmin/ResyncSidecar"
	EncryptionAdmin_EnableStorageEnvelope_FullMethodName    = "/EncryptionAdmin/EnableStorageEnvelope"
	EncryptionAdmin_EnableRaftEnvelope_FullMethodName       = "/EncryptionAdmin/EnableRaftEnvelope"
)
View Source
const (
	EtcdRaft_Send_FullMethodName         = "/EtcdRaft/Send"
	EtcdRaft_SendSnapshot_FullMethodName = "/EtcdRaft/SendSnapshot"
)
View Source
const (
	Internal_Forward_FullMethodName      = "/Internal/Forward"
	Internal_RelayPublish_FullMethodName = "/Internal/RelayPublish"
)
View Source
const (
	RawKV_RawPut_FullMethodName            = "/RawKV/RawPut"
	RawKV_RawGet_FullMethodName            = "/RawKV/RawGet"
	RawKV_RawDelete_FullMethodName         = "/RawKV/RawDelete"
	RawKV_RawLatestCommitTS_FullMethodName = "/RawKV/RawLatestCommitTS"
	RawKV_RawScanAt_FullMethodName         = "/RawKV/RawScanAt"
)
View Source
const (
	TransactionalKV_Put_FullMethodName      = "/TransactionalKV/Put"
	TransactionalKV_Get_FullMethodName      = "/TransactionalKV/Get"
	TransactionalKV_Delete_FullMethodName   = "/TransactionalKV/Delete"
	TransactionalKV_Scan_FullMethodName     = "/TransactionalKV/Scan"
	TransactionalKV_PreWrite_FullMethodName = "/TransactionalKV/PreWrite"
	TransactionalKV_Commit_FullMethodName   = "/TransactionalKV/Commit"
	TransactionalKV_Rollback_FullMethodName = "/TransactionalKV/Rollback"
)
View Source
const (
	RaftAdmin_Status_FullMethodName             = "/RaftAdmin/Status"
	RaftAdmin_Configuration_FullMethodName      = "/RaftAdmin/Configuration"
	RaftAdmin_AddVoter_FullMethodName           = "/RaftAdmin/AddVoter"
	RaftAdmin_AddLearner_FullMethodName         = "/RaftAdmin/AddLearner"
	RaftAdmin_PromoteLearner_FullMethodName     = "/RaftAdmin/PromoteLearner"
	RaftAdmin_RemoveServer_FullMethodName       = "/RaftAdmin/RemoveServer"
	RaftAdmin_TransferLeadership_FullMethodName = "/RaftAdmin/TransferLeadership"
)
View Source
const (
	AdminForward_Forward_FullMethodName = "/AdminForward/Forward"
)

Variables

View Source
var (
	KeyVizSeries_name = map[int32]string{
		0: "KEYVIZ_SERIES_UNSPECIFIED",
		1: "KEYVIZ_SERIES_READS",
		2: "KEYVIZ_SERIES_WRITES",
		3: "KEYVIZ_SERIES_READ_BYTES",
		4: "KEYVIZ_SERIES_WRITE_BYTES",
	}
	KeyVizSeries_value = map[string]int32{
		"KEYVIZ_SERIES_UNSPECIFIED": 0,
		"KEYVIZ_SERIES_READS":       1,
		"KEYVIZ_SERIES_WRITES":      2,
		"KEYVIZ_SERIES_READ_BYTES":  3,
		"KEYVIZ_SERIES_WRITE_BYTES": 4,
	}
)

Enum value maps for KeyVizSeries.

View Source
var (
	SampleRole_name = map[int32]string{
		0: "SAMPLE_ROLE_UNSPECIFIED",
		1: "SAMPLE_ROLE_LEADER_WRITE",
		2: "SAMPLE_ROLE_LEADER_READ",
		3: "SAMPLE_ROLE_FOLLOWER_READ",
	}
	SampleRole_value = map[string]int32{
		"SAMPLE_ROLE_UNSPECIFIED":   0,
		"SAMPLE_ROLE_LEADER_WRITE":  1,
		"SAMPLE_ROLE_LEADER_READ":   2,
		"SAMPLE_ROLE_FOLLOWER_READ": 3,
	}
)

Enum value maps for SampleRole.

View Source
var (
	AdminOperation_name = map[int32]string{
		0: "ADMIN_OP_UNSPECIFIED",
		1: "ADMIN_OP_CREATE_TABLE",
		2: "ADMIN_OP_DELETE_TABLE",
		3: "ADMIN_OP_CREATE_BUCKET",
		4: "ADMIN_OP_DELETE_BUCKET",
		5: "ADMIN_OP_PUT_BUCKET_ACL",
	}
	AdminOperation_value = map[string]int32{
		"ADMIN_OP_UNSPECIFIED":    0,
		"ADMIN_OP_CREATE_TABLE":   1,
		"ADMIN_OP_DELETE_TABLE":   2,
		"ADMIN_OP_CREATE_BUCKET":  3,
		"ADMIN_OP_DELETE_BUCKET":  4,
		"ADMIN_OP_PUT_BUCKET_ACL": 5,
	}
)

Enum value maps for AdminOperation.

View Source
var (
	RouteState_name = map[int32]string{
		0: "ROUTE_STATE_UNSPECIFIED",
		1: "ROUTE_STATE_ACTIVE",
		2: "ROUTE_STATE_WRITE_FENCED",
		3: "ROUTE_STATE_MIGRATING_SOURCE",
		4: "ROUTE_STATE_MIGRATING_TARGET",
	}
	RouteState_value = map[string]int32{
		"ROUTE_STATE_UNSPECIFIED":      0,
		"ROUTE_STATE_ACTIVE":           1,
		"ROUTE_STATE_WRITE_FENCED":     2,
		"ROUTE_STATE_MIGRATING_SOURCE": 3,
		"ROUTE_STATE_MIGRATING_TARGET": 4,
	}
)

Enum value maps for RouteState.

View Source
var (
	RotateDEKRequest_Purpose_name = map[int32]string{
		0: "PURPOSE_UNSPECIFIED",
		1: "PURPOSE_STORAGE",
		2: "PURPOSE_RAFT",
	}
	RotateDEKRequest_Purpose_value = map[string]int32{
		"PURPOSE_UNSPECIFIED": 0,
		"PURPOSE_STORAGE":     1,
		"PURPOSE_RAFT":        2,
	}
)

Enum value maps for RotateDEKRequest_Purpose.

View Source
var (
	Op_name = map[int32]string{
		0: "PUT",
		1: "DEL",
		2: "DEL_PREFIX",
	}
	Op_value = map[string]int32{
		"PUT":        0,
		"DEL":        1,
		"DEL_PREFIX": 2,
	}
)

Enum value maps for Op.

View Source
var (
	Phase_name = map[int32]string{
		0: "NONE",
		1: "PREPARE",
		2: "COMMIT",
		3: "ABORT",
	}
	Phase_value = map[string]int32{
		"NONE":    0,
		"PREPARE": 1,
		"COMMIT":  2,
		"ABORT":   3,
	}
)

Enum value maps for Phase.

View Source
var (
	RaftAdminState_name = map[int32]string{
		0: "RAFT_ADMIN_STATE_UNKNOWN",
		1: "RAFT_ADMIN_STATE_FOLLOWER",
		2: "RAFT_ADMIN_STATE_CANDIDATE",
		3: "RAFT_ADMIN_STATE_LEADER",
		4: "RAFT_ADMIN_STATE_SHUTDOWN",
	}
	RaftAdminState_value = map[string]int32{
		"RAFT_ADMIN_STATE_UNKNOWN":   0,
		"RAFT_ADMIN_STATE_FOLLOWER":  1,
		"RAFT_ADMIN_STATE_CANDIDATE": 2,
		"RAFT_ADMIN_STATE_LEADER":    3,
		"RAFT_ADMIN_STATE_SHUTDOWN":  4,
	}
)

Enum value maps for RaftAdminState.

View Source
var AdminForward_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "AdminForward",
	HandlerType: (*AdminForwardServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Forward",
			Handler:    _AdminForward_Forward_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "admin_forward.proto",
}

AdminForward_ServiceDesc is the grpc.ServiceDesc for AdminForward 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 Admin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Admin",
	HandlerType: (*AdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetClusterOverview",
			Handler:    _Admin_GetClusterOverview_Handler,
		},
		{
			MethodName: "GetRaftGroups",
			Handler:    _Admin_GetRaftGroups_Handler,
		},
		{
			MethodName: "GetAdapterSummary",
			Handler:    _Admin_GetAdapterSummary_Handler,
		},
		{
			MethodName: "GetKeyVizMatrix",
			Handler:    _Admin_GetKeyVizMatrix_Handler,
		},
		{
			MethodName: "GetRouteDetail",
			Handler:    _Admin_GetRouteDetail_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamEvents",
			Handler:       _Admin_StreamEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "admin.proto",
}

Admin_ServiceDesc is the grpc.ServiceDesc for Admin 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 Distribution_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Distribution",
	HandlerType: (*DistributionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRoute",
			Handler:    _Distribution_GetRoute_Handler,
		},
		{
			MethodName: "GetTimestamp",
			Handler:    _Distribution_GetTimestamp_Handler,
		},
		{
			MethodName: "ListRoutes",
			Handler:    _Distribution_ListRoutes_Handler,
		},
		{
			MethodName: "SplitRange",
			Handler:    _Distribution_SplitRange_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "distribution.proto",
}

Distribution_ServiceDesc is the grpc.ServiceDesc for Distribution 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 EncryptionAdmin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "EncryptionAdmin",
	HandlerType: (*EncryptionAdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCapability",
			Handler:    _EncryptionAdmin_GetCapability_Handler,
		},
		{
			MethodName: "GetSidecarState",
			Handler:    _EncryptionAdmin_GetSidecarState_Handler,
		},
		{
			MethodName: "BootstrapEncryption",
			Handler:    _EncryptionAdmin_BootstrapEncryption_Handler,
		},
		{
			MethodName: "RotateDEK",
			Handler:    _EncryptionAdmin_RotateDEK_Handler,
		},
		{
			MethodName: "RegisterEncryptionWriter",
			Handler:    _EncryptionAdmin_RegisterEncryptionWriter_Handler,
		},
		{
			MethodName: "ResyncSidecar",
			Handler:    _EncryptionAdmin_ResyncSidecar_Handler,
		},
		{
			MethodName: "EnableStorageEnvelope",
			Handler:    _EncryptionAdmin_EnableStorageEnvelope_Handler,
		},
		{
			MethodName: "EnableRaftEnvelope",
			Handler:    _EncryptionAdmin_EnableRaftEnvelope_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "encryption_admin.proto",
}

EncryptionAdmin_ServiceDesc is the grpc.ServiceDesc for EncryptionAdmin 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 EtcdRaft_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "EtcdRaft",
	HandlerType: (*EtcdRaftServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Send",
			Handler:    _EtcdRaft_Send_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendSnapshot",
			Handler:       _EtcdRaft_SendSnapshot_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "etcd_raft.proto",
}

EtcdRaft_ServiceDesc is the grpc.ServiceDesc for EtcdRaft 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_admin_forward_proto protoreflect.FileDescriptor
View Source
var File_admin_proto protoreflect.FileDescriptor
View Source
var File_distribution_proto protoreflect.FileDescriptor
View Source
var File_dynamodb_internal_proto protoreflect.FileDescriptor
View Source
var File_encryption_admin_proto protoreflect.FileDescriptor
View Source
var File_etcd_raft_proto protoreflect.FileDescriptor
View Source
var File_internal_proto protoreflect.FileDescriptor
View Source
var File_redis_internal_proto protoreflect.FileDescriptor
View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var Internal_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Internal",
	HandlerType: (*InternalServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Forward",
			Handler:    _Internal_Forward_Handler,
		},
		{
			MethodName: "RelayPublish",
			Handler:    _Internal_RelayPublish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/internal.proto",
}

Internal_ServiceDesc is the grpc.ServiceDesc for Internal 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 RaftAdmin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "RaftAdmin",
	HandlerType: (*RaftAdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Status",
			Handler:    _RaftAdmin_Status_Handler,
		},
		{
			MethodName: "Configuration",
			Handler:    _RaftAdmin_Configuration_Handler,
		},
		{
			MethodName: "AddVoter",
			Handler:    _RaftAdmin_AddVoter_Handler,
		},
		{
			MethodName: "AddLearner",
			Handler:    _RaftAdmin_AddLearner_Handler,
		},
		{
			MethodName: "PromoteLearner",
			Handler:    _RaftAdmin_PromoteLearner_Handler,
		},
		{
			MethodName: "RemoveServer",
			Handler:    _RaftAdmin_RemoveServer_Handler,
		},
		{
			MethodName: "TransferLeadership",
			Handler:    _RaftAdmin_TransferLeadership_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

RaftAdmin_ServiceDesc is the grpc.ServiceDesc for RaftAdmin 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 RawKV_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "RawKV",
	HandlerType: (*RawKVServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RawPut",
			Handler:    _RawKV_RawPut_Handler,
		},
		{
			MethodName: "RawGet",
			Handler:    _RawKV_RawGet_Handler,
		},
		{
			MethodName: "RawDelete",
			Handler:    _RawKV_RawDelete_Handler,
		},
		{
			MethodName: "RawLatestCommitTS",
			Handler:    _RawKV_RawLatestCommitTS_Handler,
		},
		{
			MethodName: "RawScanAt",
			Handler:    _RawKV_RawScanAt_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

RawKV_ServiceDesc is the grpc.ServiceDesc for RawKV 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 TransactionalKV_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "TransactionalKV",
	HandlerType: (*TransactionalKVServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Put",
			Handler:    _TransactionalKV_Put_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _TransactionalKV_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _TransactionalKV_Delete_Handler,
		},
		{
			MethodName: "Scan",
			Handler:    _TransactionalKV_Scan_Handler,
		},
		{
			MethodName: "PreWrite",
			Handler:    _TransactionalKV_PreWrite_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _TransactionalKV_Commit_Handler,
		},
		{
			MethodName: "Rollback",
			Handler:    _TransactionalKV_Rollback_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

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

Functions

func RegisterAdminForwardServer

func RegisterAdminForwardServer(s grpc.ServiceRegistrar, srv AdminForwardServer)

func RegisterAdminServer

func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)

func RegisterDistributionServer

func RegisterDistributionServer(s grpc.ServiceRegistrar, srv DistributionServer)

func RegisterEncryptionAdminServer

func RegisterEncryptionAdminServer(s grpc.ServiceRegistrar, srv EncryptionAdminServer)

func RegisterEtcdRaftServer

func RegisterEtcdRaftServer(s grpc.ServiceRegistrar, srv EtcdRaftServer)

func RegisterInternalServer

func RegisterInternalServer(s grpc.ServiceRegistrar, srv InternalServer)

func RegisterRaftAdminServer

func RegisterRaftAdminServer(s grpc.ServiceRegistrar, srv RaftAdminServer)

func RegisterRawKVServer

func RegisterRawKVServer(s grpc.ServiceRegistrar, srv RawKVServer)

func RegisterTransactionalKVServer

func RegisterTransactionalKVServer(s grpc.ServiceRegistrar, srv TransactionalKVServer)

Types

type AdapterSummary

type AdapterSummary struct {
	Adapter   string  `protobuf:"bytes,1,opt,name=adapter,proto3" json:"adapter,omitempty"`
	Operation string  `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	Requests  uint64  `protobuf:"varint,3,opt,name=requests,proto3" json:"requests,omitempty"`
	InFlight  uint64  `protobuf:"varint,4,opt,name=in_flight,json=inFlight,proto3" json:"in_flight,omitempty"`
	BytesIn   uint64  `protobuf:"varint,5,opt,name=bytes_in,json=bytesIn,proto3" json:"bytes_in,omitempty"`
	BytesOut  uint64  `protobuf:"varint,6,opt,name=bytes_out,json=bytesOut,proto3" json:"bytes_out,omitempty"`
	P50Ns     float64 `protobuf:"fixed64,7,opt,name=p50_ns,json=p50Ns,proto3" json:"p50_ns,omitempty"`
	P95Ns     float64 `protobuf:"fixed64,8,opt,name=p95_ns,json=p95Ns,proto3" json:"p95_ns,omitempty"`
	P99Ns     float64 `protobuf:"fixed64,9,opt,name=p99_ns,json=p99Ns,proto3" json:"p99_ns,omitempty"`
	// contains filtered or unexported fields
}

func (*AdapterSummary) Descriptor deprecated

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

Deprecated: Use AdapterSummary.ProtoReflect.Descriptor instead.

func (*AdapterSummary) GetAdapter

func (x *AdapterSummary) GetAdapter() string

func (*AdapterSummary) GetBytesIn

func (x *AdapterSummary) GetBytesIn() uint64

func (*AdapterSummary) GetBytesOut

func (x *AdapterSummary) GetBytesOut() uint64

func (*AdapterSummary) GetInFlight

func (x *AdapterSummary) GetInFlight() uint64

func (*AdapterSummary) GetOperation

func (x *AdapterSummary) GetOperation() string

func (*AdapterSummary) GetP50Ns

func (x *AdapterSummary) GetP50Ns() float64

func (*AdapterSummary) GetP95Ns

func (x *AdapterSummary) GetP95Ns() float64

func (*AdapterSummary) GetP99Ns

func (x *AdapterSummary) GetP99Ns() float64

func (*AdapterSummary) GetRequests

func (x *AdapterSummary) GetRequests() uint64

func (*AdapterSummary) ProtoMessage

func (*AdapterSummary) ProtoMessage()

func (*AdapterSummary) ProtoReflect

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

func (*AdapterSummary) Reset

func (x *AdapterSummary) Reset()

func (*AdapterSummary) String

func (x *AdapterSummary) String() string

type AdminClient

AdminClient is the client API for Admin 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.

Admin is the node-side read-only admin gRPC service consumed by cmd/elastickv-admin. Every method requires "authorization: Bearer <token>" metadata unless the node was started with --adminInsecureNoAuth. See docs/admin_ui_key_visualizer_design.md §4 (Layer A).

func NewAdminClient

func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

type AdminForwardClient

type AdminForwardClient interface {
	// Forward dispatches an admin write operation on the leader's
	// behalf. Returns a structured response carrying the same JSON
	// payload the leader's handler would have written to the wire.
	Forward(ctx context.Context, in *AdminForwardRequest, opts ...grpc.CallOption) (*AdminForwardResponse, error)
}

AdminForwardClient is the client API for AdminForward 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.

AdminForward is the SigV4-bypass RPC the admin dashboard uses to reach the Raft leader from a follower. Design Section 3.3.

The admin's HTTP layer authenticates the caller with a JWT cookie, resolves an access-key + role principal, and — if the local node is not the verified Raft leader — calls Forward over this RPC.

The leader does NOT trust the inbound principal: it re-evaluates access-key membership and role against its own access-key configuration before dispatching to the adapter (Section 3.3.1 "principal-aware internal RPC"). A follower whose configuration is mid-rolling-update can therefore not bypass the leader's view of authorisation.

AdminForward is intentionally separate from the existing `Internal.Forward` RPC, which carries SigV4 traffic and has no principal field — sharing the same RPC would force the admin path to either smuggle a principal through reserved fields or strip the SigV4-only assumptions out of the existing Forward server.

type AdminForwardRequest

type AdminForwardRequest struct {
	Principal *AdminPrincipal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Operation AdminOperation  `protobuf:"varint,2,opt,name=operation,proto3,enum=AdminOperation" json:"operation,omitempty"`
	// payload is the JSON-encoded operation-specific request body —
	// the same bytes the SPA sent to the follower's HTTP endpoint.
	// The leader decodes this with the operation's known schema.
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	// forwarded_from is the follower's node id; the leader echoes it
	// into the audit log line for the operation so operators can
	// trace which follower carried the request (design Section 3.3.2
	// acceptance criteria 6).
	ForwardedFrom string `protobuf:"bytes,4,opt,name=forwarded_from,json=forwardedFrom,proto3" json:"forwarded_from,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminForwardRequest) Descriptor deprecated

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

Deprecated: Use AdminForwardRequest.ProtoReflect.Descriptor instead.

func (*AdminForwardRequest) GetForwardedFrom

func (x *AdminForwardRequest) GetForwardedFrom() string

func (*AdminForwardRequest) GetOperation

func (x *AdminForwardRequest) GetOperation() AdminOperation

func (*AdminForwardRequest) GetPayload

func (x *AdminForwardRequest) GetPayload() []byte

func (*AdminForwardRequest) GetPrincipal

func (x *AdminForwardRequest) GetPrincipal() *AdminPrincipal

func (*AdminForwardRequest) ProtoMessage

func (*AdminForwardRequest) ProtoMessage()

func (*AdminForwardRequest) ProtoReflect

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

func (*AdminForwardRequest) Reset

func (x *AdminForwardRequest) Reset()

func (*AdminForwardRequest) String

func (x *AdminForwardRequest) String() string

type AdminForwardResponse

type AdminForwardResponse struct {

	// status_code is the HTTP status the leader's handler would have
	// written. The follower returns this verbatim to the SPA so the
	// failure semantics (404 vs 409 vs 400) match a leader-direct
	// call exactly.
	StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// payload is the JSON-encoded response body. Empty when
	// status_code is 204 No Content (DELETE success).
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// content_type is the response content type the leader chose; in
	// practice always "application/json; charset=utf-8" but echoed
	// explicitly so the follower does not have to guess.
	ContentType string `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// retry_after_seconds carries a Retry-After hint the follower's
	// bridge translates back into an HTTP Retry-After header. The
	// direct HTTP path sets Retry-After: 1 on 503 leader_unavailable
	// (mid-dispatch leadership churn); without this field the same
	// response shape would lose its retry timing once forwarded —
	// clients would see 503 with no Retry-After and fall back to
	// their default backoff. Codex P2 on PR #635 flagged the gap.
	// Zero means "no Retry-After header"; the field is only meaningful
	// for status codes that traditionally carry one (typically 503).
	RetryAfterSeconds int32 `protobuf:"varint,4,opt,name=retry_after_seconds,json=retryAfterSeconds,proto3" json:"retry_after_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminForwardResponse) Descriptor deprecated

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

Deprecated: Use AdminForwardResponse.ProtoReflect.Descriptor instead.

func (*AdminForwardResponse) GetContentType

func (x *AdminForwardResponse) GetContentType() string

func (*AdminForwardResponse) GetPayload

func (x *AdminForwardResponse) GetPayload() []byte

func (*AdminForwardResponse) GetRetryAfterSeconds

func (x *AdminForwardResponse) GetRetryAfterSeconds() int32

func (*AdminForwardResponse) GetStatusCode

func (x *AdminForwardResponse) GetStatusCode() int32

func (*AdminForwardResponse) ProtoMessage

func (*AdminForwardResponse) ProtoMessage()

func (*AdminForwardResponse) ProtoReflect

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

func (*AdminForwardResponse) Reset

func (x *AdminForwardResponse) Reset()

func (*AdminForwardResponse) String

func (x *AdminForwardResponse) String() string

type AdminForwardServer

type AdminForwardServer interface {
	// Forward dispatches an admin write operation on the leader's
	// behalf. Returns a structured response carrying the same JSON
	// payload the leader's handler would have written to the wire.
	Forward(context.Context, *AdminForwardRequest) (*AdminForwardResponse, error)
	// contains filtered or unexported methods
}

AdminForwardServer is the server API for AdminForward service. All implementations must embed UnimplementedAdminForwardServer for forward compatibility.

AdminForward is the SigV4-bypass RPC the admin dashboard uses to reach the Raft leader from a follower. Design Section 3.3.

The admin's HTTP layer authenticates the caller with a JWT cookie, resolves an access-key + role principal, and — if the local node is not the verified Raft leader — calls Forward over this RPC.

The leader does NOT trust the inbound principal: it re-evaluates access-key membership and role against its own access-key configuration before dispatching to the adapter (Section 3.3.1 "principal-aware internal RPC"). A follower whose configuration is mid-rolling-update can therefore not bypass the leader's view of authorisation.

AdminForward is intentionally separate from the existing `Internal.Forward` RPC, which carries SigV4 traffic and has no principal field — sharing the same RPC would force the admin path to either smuggle a principal through reserved fields or strip the SigV4-only assumptions out of the existing Forward server.

type AdminOperation

type AdminOperation int32

AdminOperation enumerates the operations the dashboard can issue. Adding a new operation requires both ends of the cluster to understand it; mismatches are caught by the version compatibility flag (`admin.leader_forward_v2`) before the call goes out.

const (
	AdminOperation_ADMIN_OP_UNSPECIFIED  AdminOperation = 0
	AdminOperation_ADMIN_OP_CREATE_TABLE AdminOperation = 1
	AdminOperation_ADMIN_OP_DELETE_TABLE AdminOperation = 2
	// S3 bucket admin operations (P2 slice 2b). New values appended
	// after the Dynamo block so the wire-format integers for the
	// existing operations stay stable.
	AdminOperation_ADMIN_OP_CREATE_BUCKET  AdminOperation = 3
	AdminOperation_ADMIN_OP_DELETE_BUCKET  AdminOperation = 4
	AdminOperation_ADMIN_OP_PUT_BUCKET_ACL AdminOperation = 5
)

func (AdminOperation) Descriptor

func (AdminOperation) Enum

func (x AdminOperation) Enum() *AdminOperation

func (AdminOperation) EnumDescriptor deprecated

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

Deprecated: Use AdminOperation.Descriptor instead.

func (AdminOperation) Number

func (AdminOperation) String

func (x AdminOperation) String() string

func (AdminOperation) Type

type AdminPrincipal

type AdminPrincipal struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	Role      string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // "read_only" | "full"
	// contains filtered or unexported fields
}

AdminPrincipal captures the access-key + role the follower resolved from the inbound JWT. The leader re-validates this against its own access-key map before acting on it; the follower could be operating with a stale role assignment.

func (*AdminPrincipal) Descriptor deprecated

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

Deprecated: Use AdminPrincipal.ProtoReflect.Descriptor instead.

func (*AdminPrincipal) GetAccessKey

func (x *AdminPrincipal) GetAccessKey() string

func (*AdminPrincipal) GetRole

func (x *AdminPrincipal) GetRole() string

func (*AdminPrincipal) ProtoMessage

func (*AdminPrincipal) ProtoMessage()

func (*AdminPrincipal) ProtoReflect

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

func (*AdminPrincipal) Reset

func (x *AdminPrincipal) Reset()

func (*AdminPrincipal) String

func (x *AdminPrincipal) String() string

type AdminServer

AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility.

Admin is the node-side read-only admin gRPC service consumed by cmd/elastickv-admin. Every method requires "authorization: Bearer <token>" metadata unless the node was started with --adminInsecureNoAuth. See docs/admin_ui_key_visualizer_design.md §4 (Layer A).

type Admin_StreamEventsClient

type Admin_StreamEventsClient = grpc.ServerStreamingClient[StreamEventsEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Admin_StreamEventsServer

type Admin_StreamEventsServer = grpc.ServerStreamingServer[StreamEventsEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type BootstrapEncryptionRequest

type BootstrapEncryptionRequest struct {
	WrappedStorageDek []byte                 `protobuf:"bytes,1,opt,name=wrapped_storage_dek,json=wrappedStorageDek,proto3" json:"wrapped_storage_dek,omitempty"`
	WrappedRaftDek    []byte                 `protobuf:"bytes,2,opt,name=wrapped_raft_dek,json=wrappedRaftDek,proto3" json:"wrapped_raft_dek,omitempty"`
	StorageDekId      uint32                 `protobuf:"varint,3,opt,name=storage_dek_id,json=storageDekId,proto3" json:"storage_dek_id,omitempty"`
	RaftDekId         uint32                 `protobuf:"varint,4,opt,name=raft_dek_id,json=raftDekId,proto3" json:"raft_dek_id,omitempty"`
	WriterBatch       []*WriterRegistryEntry `protobuf:"bytes,5,rep,name=writer_batch,json=writerBatch,proto3" json:"writer_batch,omitempty"`
	// contains filtered or unexported fields
}

BootstrapEncryptionRequest carries the freshly-generated wrapped DEKs and the writer-registry batch the leader gathered from every member's GetCapability response. The server validates each local_epoch is in range before composing the §11.3 0x04 OpBootstrap body.

func (*BootstrapEncryptionRequest) Descriptor deprecated

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

Deprecated: Use BootstrapEncryptionRequest.ProtoReflect.Descriptor instead.

func (*BootstrapEncryptionRequest) GetRaftDekId

func (x *BootstrapEncryptionRequest) GetRaftDekId() uint32

func (*BootstrapEncryptionRequest) GetStorageDekId

func (x *BootstrapEncryptionRequest) GetStorageDekId() uint32

func (*BootstrapEncryptionRequest) GetWrappedRaftDek

func (x *BootstrapEncryptionRequest) GetWrappedRaftDek() []byte

func (*BootstrapEncryptionRequest) GetWrappedStorageDek

func (x *BootstrapEncryptionRequest) GetWrappedStorageDek() []byte

func (*BootstrapEncryptionRequest) GetWriterBatch

func (x *BootstrapEncryptionRequest) GetWriterBatch() []*WriterRegistryEntry

func (*BootstrapEncryptionRequest) ProtoMessage

func (*BootstrapEncryptionRequest) ProtoMessage()

func (*BootstrapEncryptionRequest) ProtoReflect

func (*BootstrapEncryptionRequest) Reset

func (x *BootstrapEncryptionRequest) Reset()

func (*BootstrapEncryptionRequest) String

func (x *BootstrapEncryptionRequest) String() string

type BootstrapEncryptionResponse

type BootstrapEncryptionResponse struct {
	AppliedIndex uint64 `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapEncryptionResponse) Descriptor deprecated

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

Deprecated: Use BootstrapEncryptionResponse.ProtoReflect.Descriptor instead.

func (*BootstrapEncryptionResponse) GetAppliedIndex

func (x *BootstrapEncryptionResponse) GetAppliedIndex() uint64

func (*BootstrapEncryptionResponse) ProtoMessage

func (*BootstrapEncryptionResponse) ProtoMessage()

func (*BootstrapEncryptionResponse) ProtoReflect

func (*BootstrapEncryptionResponse) Reset

func (x *BootstrapEncryptionResponse) Reset()

func (*BootstrapEncryptionResponse) String

func (x *BootstrapEncryptionResponse) String() string

type CapabilityReport

type CapabilityReport struct {
	EncryptionCapable bool   `protobuf:"varint,1,opt,name=encryption_capable,json=encryptionCapable,proto3" json:"encryption_capable,omitempty"`
	BuildSha          string `protobuf:"bytes,2,opt,name=build_sha,json=buildSha,proto3" json:"build_sha,omitempty"`
	SidecarPresent    bool   `protobuf:"varint,3,opt,name=sidecar_present,json=sidecarPresent,proto3" json:"sidecar_present,omitempty"`
	FullNodeId        uint64 `protobuf:"varint,4,opt,name=full_node_id,json=fullNodeId,proto3" json:"full_node_id,omitempty"`
	LocalEpoch        uint32 `protobuf:"varint,5,opt,name=local_epoch,json=localEpoch,proto3" json:"local_epoch,omitempty"` // MUST be <= 0xFFFF on the wire.
	// contains filtered or unexported fields
}

CapabilityReport mirrors §6.1 admin.go's CapabilityReport. Served on every node regardless of leadership state. A node that has never run with --encryption-enabled returns encryption_capable=false with local_epoch=0 and full_node_id=0, and the cutover command refuses with ErrCapabilityCheckFailed so the empty epoch never reaches the writer registry.

func (*CapabilityReport) Descriptor deprecated

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

Deprecated: Use CapabilityReport.ProtoReflect.Descriptor instead.

func (*CapabilityReport) GetBuildSha

func (x *CapabilityReport) GetBuildSha() string

func (*CapabilityReport) GetEncryptionCapable

func (x *CapabilityReport) GetEncryptionCapable() bool

func (*CapabilityReport) GetFullNodeId

func (x *CapabilityReport) GetFullNodeId() uint64

func (*CapabilityReport) GetLocalEpoch

func (x *CapabilityReport) GetLocalEpoch() uint32

func (*CapabilityReport) GetSidecarPresent

func (x *CapabilityReport) GetSidecarPresent() bool

func (*CapabilityReport) ProtoMessage

func (*CapabilityReport) ProtoMessage()

func (*CapabilityReport) ProtoReflect

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

func (*CapabilityReport) Reset

func (x *CapabilityReport) Reset()

func (*CapabilityReport) String

func (x *CapabilityReport) String() string

type CapabilityVerdict

type CapabilityVerdict struct {
	FullNodeId        uint64 `protobuf:"varint,1,opt,name=full_node_id,json=fullNodeId,proto3" json:"full_node_id,omitempty"`
	EncryptionCapable bool   `protobuf:"varint,2,opt,name=encryption_capable,json=encryptionCapable,proto3" json:"encryption_capable,omitempty"`
	BuildSha          string `protobuf:"bytes,3,opt,name=build_sha,json=buildSha,proto3" json:"build_sha,omitempty"`
	SidecarPresent    bool   `protobuf:"varint,4,opt,name=sidecar_present,json=sidecarPresent,proto3" json:"sidecar_present,omitempty"`
	// contains filtered or unexported fields
}

CapabilityVerdict is one row of the §4 fan-out summary the cutover RPC returns. full_node_id is the route member the leader probed; the remaining fields mirror the corresponding member's CapabilityReport. A cluster where any verdict has encryption_capable=false MUST NOT reach the propose step; the summary in the response is the post-hoc record for operators.

func (*CapabilityVerdict) Descriptor deprecated

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

Deprecated: Use CapabilityVerdict.ProtoReflect.Descriptor instead.

func (*CapabilityVerdict) GetBuildSha

func (x *CapabilityVerdict) GetBuildSha() string

func (*CapabilityVerdict) GetEncryptionCapable

func (x *CapabilityVerdict) GetEncryptionCapable() bool

func (*CapabilityVerdict) GetFullNodeId

func (x *CapabilityVerdict) GetFullNodeId() uint64

func (*CapabilityVerdict) GetSidecarPresent

func (x *CapabilityVerdict) GetSidecarPresent() bool

func (*CapabilityVerdict) ProtoMessage

func (*CapabilityVerdict) ProtoMessage()

func (*CapabilityVerdict) ProtoReflect

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

func (*CapabilityVerdict) Reset

func (x *CapabilityVerdict) Reset()

func (*CapabilityVerdict) String

func (x *CapabilityVerdict) String() string

type CommitRequest

type CommitRequest struct {

	// start_ts is the timestamp of prewrite request.
	StartTs uint64   `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	Keys    [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitRequest) Descriptor deprecated

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

Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead.

func (*CommitRequest) GetKeys

func (x *CommitRequest) GetKeys() [][]byte

func (*CommitRequest) GetStartTs

func (x *CommitRequest) GetStartTs() uint64

func (*CommitRequest) ProtoMessage

func (*CommitRequest) ProtoMessage()

func (*CommitRequest) ProtoReflect

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

func (*CommitRequest) Reset

func (x *CommitRequest) Reset()

func (*CommitRequest) String

func (x *CommitRequest) String() string

type CommitResponse

type CommitResponse struct {
	CommitIndex uint64      `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	Success     bool        `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	Errors      []*KeyError `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) GetCommitIndex

func (x *CommitResponse) GetCommitIndex() uint64

func (*CommitResponse) GetErrors

func (x *CommitResponse) GetErrors() []*KeyError

func (*CommitResponse) GetSuccess

func (x *CommitResponse) GetSuccess() bool

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect

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

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) String

func (x *CommitResponse) String() string

type DeleteRequest

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

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetKey

func (x *DeleteRequest) GetKey() []byte

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	CommitIndex uint64 `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	Success     bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetCommitIndex

func (x *DeleteResponse) GetCommitIndex() uint64

func (*DeleteResponse) GetSuccess

func (x *DeleteResponse) GetSuccess() bool

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DistributionClient

type DistributionClient interface {
	GetRoute(ctx context.Context, in *GetRouteRequest, opts ...grpc.CallOption) (*GetRouteResponse, error)
	GetTimestamp(ctx context.Context, in *GetTimestampRequest, opts ...grpc.CallOption) (*GetTimestampResponse, error)
	ListRoutes(ctx context.Context, in *ListRoutesRequest, opts ...grpc.CallOption) (*ListRoutesResponse, error)
	SplitRange(ctx context.Context, in *SplitRangeRequest, opts ...grpc.CallOption) (*SplitRangeResponse, error)
}

DistributionClient is the client API for Distribution 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.

type DistributionServer

type DistributionServer interface {
	GetRoute(context.Context, *GetRouteRequest) (*GetRouteResponse, error)
	GetTimestamp(context.Context, *GetTimestampRequest) (*GetTimestampResponse, error)
	ListRoutes(context.Context, *ListRoutesRequest) (*ListRoutesResponse, error)
	SplitRange(context.Context, *SplitRangeRequest) (*SplitRangeResponse, error)
	// contains filtered or unexported methods
}

DistributionServer is the server API for Distribution service. All implementations must embed UnimplementedDistributionServer for forward compatibility.

type DynamoAttributeValue

type DynamoAttributeValue struct {

	// Types that are valid to be assigned to Value:
	//
	//	*DynamoAttributeValue_S
	//	*DynamoAttributeValue_N
	//	*DynamoAttributeValue_B
	//	*DynamoAttributeValue_BoolValue
	//	*DynamoAttributeValue_NullValue
	//	*DynamoAttributeValue_Ss
	//	*DynamoAttributeValue_Ns
	//	*DynamoAttributeValue_Bs
	//	*DynamoAttributeValue_L
	//	*DynamoAttributeValue_M
	Value isDynamoAttributeValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*DynamoAttributeValue) Descriptor deprecated

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

Deprecated: Use DynamoAttributeValue.ProtoReflect.Descriptor instead.

func (*DynamoAttributeValue) GetB

func (x *DynamoAttributeValue) GetB() []byte

func (*DynamoAttributeValue) GetBoolValue

func (x *DynamoAttributeValue) GetBoolValue() bool

func (*DynamoAttributeValue) GetBs

func (*DynamoAttributeValue) GetL

func (*DynamoAttributeValue) GetM

func (*DynamoAttributeValue) GetN

func (x *DynamoAttributeValue) GetN() string

func (*DynamoAttributeValue) GetNs

func (*DynamoAttributeValue) GetNullValue

func (x *DynamoAttributeValue) GetNullValue() bool

func (*DynamoAttributeValue) GetS

func (x *DynamoAttributeValue) GetS() string

func (*DynamoAttributeValue) GetSs

func (*DynamoAttributeValue) GetValue

func (x *DynamoAttributeValue) GetValue() isDynamoAttributeValue_Value

func (*DynamoAttributeValue) ProtoMessage

func (*DynamoAttributeValue) ProtoMessage()

func (*DynamoAttributeValue) ProtoReflect

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

func (*DynamoAttributeValue) Reset

func (x *DynamoAttributeValue) Reset()

func (*DynamoAttributeValue) String

func (x *DynamoAttributeValue) String() string

type DynamoAttributeValueList

type DynamoAttributeValueList struct {
	Values []*DynamoAttributeValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoAttributeValueList) Descriptor deprecated

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

Deprecated: Use DynamoAttributeValueList.ProtoReflect.Descriptor instead.

func (*DynamoAttributeValueList) GetValues

func (*DynamoAttributeValueList) ProtoMessage

func (*DynamoAttributeValueList) ProtoMessage()

func (*DynamoAttributeValueList) ProtoReflect

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

func (*DynamoAttributeValueList) Reset

func (x *DynamoAttributeValueList) Reset()

func (*DynamoAttributeValueList) String

func (x *DynamoAttributeValueList) String() string

type DynamoAttributeValueMap

type DynamoAttributeValueMap struct {
	Values map[string]*DynamoAttributeValue `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynamoAttributeValueMap) Descriptor deprecated

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

Deprecated: Use DynamoAttributeValueMap.ProtoReflect.Descriptor instead.

func (*DynamoAttributeValueMap) GetValues

func (*DynamoAttributeValueMap) ProtoMessage

func (*DynamoAttributeValueMap) ProtoMessage()

func (*DynamoAttributeValueMap) ProtoReflect

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

func (*DynamoAttributeValueMap) Reset

func (x *DynamoAttributeValueMap) Reset()

func (*DynamoAttributeValueMap) String

func (x *DynamoAttributeValueMap) String() string

type DynamoAttributeValue_B

type DynamoAttributeValue_B struct {
	B []byte `protobuf:"bytes,3,opt,name=b,proto3,oneof"`
}

type DynamoAttributeValue_BoolValue

type DynamoAttributeValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type DynamoAttributeValue_Bs

type DynamoAttributeValue_Bs struct {
	Bs *DynamoBinarySet `protobuf:"bytes,8,opt,name=bs,proto3,oneof"`
}

type DynamoAttributeValue_L

type DynamoAttributeValue_L struct {
	L *DynamoAttributeValueList `protobuf:"bytes,9,opt,name=l,proto3,oneof"`
}

type DynamoAttributeValue_M

type DynamoAttributeValue_M struct {
	M *DynamoAttributeValueMap `protobuf:"bytes,10,opt,name=m,proto3,oneof"`
}

type DynamoAttributeValue_N

type DynamoAttributeValue_N struct {
	N string `protobuf:"bytes,2,opt,name=n,proto3,oneof"`
}

type DynamoAttributeValue_Ns

type DynamoAttributeValue_Ns struct {
	Ns *DynamoNumberSet `protobuf:"bytes,7,opt,name=ns,proto3,oneof"`
}

type DynamoAttributeValue_NullValue

type DynamoAttributeValue_NullValue struct {
	NullValue bool `protobuf:"varint,5,opt,name=null_value,json=nullValue,proto3,oneof"`
}

type DynamoAttributeValue_S

type DynamoAttributeValue_S struct {
	S string `protobuf:"bytes,1,opt,name=s,proto3,oneof"`
}

type DynamoAttributeValue_Ss

type DynamoAttributeValue_Ss struct {
	Ss *DynamoStringSet `protobuf:"bytes,6,opt,name=ss,proto3,oneof"`
}

type DynamoBinarySet

type DynamoBinarySet struct {
	Values [][]byte `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoBinarySet) Descriptor deprecated

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

Deprecated: Use DynamoBinarySet.ProtoReflect.Descriptor instead.

func (*DynamoBinarySet) GetValues

func (x *DynamoBinarySet) GetValues() [][]byte

func (*DynamoBinarySet) ProtoMessage

func (*DynamoBinarySet) ProtoMessage()

func (*DynamoBinarySet) ProtoReflect

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

func (*DynamoBinarySet) Reset

func (x *DynamoBinarySet) Reset()

func (*DynamoBinarySet) String

func (x *DynamoBinarySet) String() string

type DynamoGSIProjection

type DynamoGSIProjection struct {
	ProjectionType   string   `protobuf:"bytes,1,opt,name=projection_type,json=projectionType,proto3" json:"projection_type,omitempty"`
	NonKeyAttributes []string `protobuf:"bytes,2,rep,name=non_key_attributes,json=nonKeyAttributes,proto3" json:"non_key_attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoGSIProjection) Descriptor deprecated

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

Deprecated: Use DynamoGSIProjection.ProtoReflect.Descriptor instead.

func (*DynamoGSIProjection) GetNonKeyAttributes

func (x *DynamoGSIProjection) GetNonKeyAttributes() []string

func (*DynamoGSIProjection) GetProjectionType

func (x *DynamoGSIProjection) GetProjectionType() string

func (*DynamoGSIProjection) ProtoMessage

func (*DynamoGSIProjection) ProtoMessage()

func (*DynamoGSIProjection) ProtoReflect

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

func (*DynamoGSIProjection) Reset

func (x *DynamoGSIProjection) Reset()

func (*DynamoGSIProjection) String

func (x *DynamoGSIProjection) String() string

type DynamoGlobalSecondaryIndex

type DynamoGlobalSecondaryIndex struct {
	KeySchema  *DynamoKeySchema     `protobuf:"bytes,1,opt,name=key_schema,json=keySchema,proto3" json:"key_schema,omitempty"`
	Projection *DynamoGSIProjection `protobuf:"bytes,2,opt,name=projection,proto3" json:"projection,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoGlobalSecondaryIndex) Descriptor deprecated

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

Deprecated: Use DynamoGlobalSecondaryIndex.ProtoReflect.Descriptor instead.

func (*DynamoGlobalSecondaryIndex) GetKeySchema

func (x *DynamoGlobalSecondaryIndex) GetKeySchema() *DynamoKeySchema

func (*DynamoGlobalSecondaryIndex) GetProjection

func (x *DynamoGlobalSecondaryIndex) GetProjection() *DynamoGSIProjection

func (*DynamoGlobalSecondaryIndex) ProtoMessage

func (*DynamoGlobalSecondaryIndex) ProtoMessage()

func (*DynamoGlobalSecondaryIndex) ProtoReflect

func (*DynamoGlobalSecondaryIndex) Reset

func (x *DynamoGlobalSecondaryIndex) Reset()

func (*DynamoGlobalSecondaryIndex) String

func (x *DynamoGlobalSecondaryIndex) String() string

type DynamoItem

type DynamoItem struct {
	Attributes map[string]*DynamoAttributeValue `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DynamoItem) Descriptor deprecated

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

Deprecated: Use DynamoItem.ProtoReflect.Descriptor instead.

func (*DynamoItem) GetAttributes

func (x *DynamoItem) GetAttributes() map[string]*DynamoAttributeValue

func (*DynamoItem) ProtoMessage

func (*DynamoItem) ProtoMessage()

func (*DynamoItem) ProtoReflect

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

func (*DynamoItem) Reset

func (x *DynamoItem) Reset()

func (*DynamoItem) String

func (x *DynamoItem) String() string

type DynamoKeySchema

type DynamoKeySchema struct {
	HashKey  string `protobuf:"bytes,1,opt,name=hash_key,json=hashKey,proto3" json:"hash_key,omitempty"`
	RangeKey string `protobuf:"bytes,2,opt,name=range_key,json=rangeKey,proto3" json:"range_key,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoKeySchema) Descriptor deprecated

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

Deprecated: Use DynamoKeySchema.ProtoReflect.Descriptor instead.

func (*DynamoKeySchema) GetHashKey

func (x *DynamoKeySchema) GetHashKey() string

func (*DynamoKeySchema) GetRangeKey

func (x *DynamoKeySchema) GetRangeKey() string

func (*DynamoKeySchema) ProtoMessage

func (*DynamoKeySchema) ProtoMessage()

func (*DynamoKeySchema) ProtoReflect

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

func (*DynamoKeySchema) Reset

func (x *DynamoKeySchema) Reset()

func (*DynamoKeySchema) String

func (x *DynamoKeySchema) String() string

type DynamoNumberSet

type DynamoNumberSet struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoNumberSet) Descriptor deprecated

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

Deprecated: Use DynamoNumberSet.ProtoReflect.Descriptor instead.

func (*DynamoNumberSet) GetValues

func (x *DynamoNumberSet) GetValues() []string

func (*DynamoNumberSet) ProtoMessage

func (*DynamoNumberSet) ProtoMessage()

func (*DynamoNumberSet) ProtoReflect

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

func (*DynamoNumberSet) Reset

func (x *DynamoNumberSet) Reset()

func (*DynamoNumberSet) String

func (x *DynamoNumberSet) String() string

type DynamoStringSet

type DynamoStringSet struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoStringSet) Descriptor deprecated

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

Deprecated: Use DynamoStringSet.ProtoReflect.Descriptor instead.

func (*DynamoStringSet) GetValues

func (x *DynamoStringSet) GetValues() []string

func (*DynamoStringSet) ProtoMessage

func (*DynamoStringSet) ProtoMessage()

func (*DynamoStringSet) ProtoReflect

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

func (*DynamoStringSet) Reset

func (x *DynamoStringSet) Reset()

func (*DynamoStringSet) String

func (x *DynamoStringSet) String() string

type DynamoTableSchema

type DynamoTableSchema struct {
	TableName               string                                 `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	AttributeDefinitions    map[string]string                      `` /* 195-byte string literal not displayed */
	PrimaryKey              *DynamoKeySchema                       `protobuf:"bytes,3,opt,name=primary_key,json=primaryKey,proto3" json:"primary_key,omitempty"`
	GlobalSecondaryIndexes  map[string]*DynamoGlobalSecondaryIndex `` /* 203-byte string literal not displayed */
	KeyEncodingVersion      uint64                                 `protobuf:"varint,5,opt,name=key_encoding_version,json=keyEncodingVersion,proto3" json:"key_encoding_version,omitempty"`
	MigratingFromGeneration uint64                                 `` /* 133-byte string literal not displayed */
	Generation              uint64                                 `protobuf:"varint,7,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamoTableSchema) Descriptor deprecated

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

Deprecated: Use DynamoTableSchema.ProtoReflect.Descriptor instead.

func (*DynamoTableSchema) GetAttributeDefinitions

func (x *DynamoTableSchema) GetAttributeDefinitions() map[string]string

func (*DynamoTableSchema) GetGeneration

func (x *DynamoTableSchema) GetGeneration() uint64

func (*DynamoTableSchema) GetGlobalSecondaryIndexes

func (x *DynamoTableSchema) GetGlobalSecondaryIndexes() map[string]*DynamoGlobalSecondaryIndex

func (*DynamoTableSchema) GetKeyEncodingVersion

func (x *DynamoTableSchema) GetKeyEncodingVersion() uint64

func (*DynamoTableSchema) GetMigratingFromGeneration

func (x *DynamoTableSchema) GetMigratingFromGeneration() uint64

func (*DynamoTableSchema) GetPrimaryKey

func (x *DynamoTableSchema) GetPrimaryKey() *DynamoKeySchema

func (*DynamoTableSchema) GetTableName

func (x *DynamoTableSchema) GetTableName() string

func (*DynamoTableSchema) ProtoMessage

func (*DynamoTableSchema) ProtoMessage()

func (*DynamoTableSchema) ProtoReflect

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

func (*DynamoTableSchema) Reset

func (x *DynamoTableSchema) Reset()

func (*DynamoTableSchema) String

func (x *DynamoTableSchema) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type EnableRaftEnvelopeRequest

type EnableRaftEnvelopeRequest struct {
	ProposerNodeId     uint64 `protobuf:"varint,1,opt,name=proposer_node_id,json=proposerNodeId,proto3" json:"proposer_node_id,omitempty"`
	ProposerLocalEpoch uint32 `protobuf:"varint,2,opt,name=proposer_local_epoch,json=proposerLocalEpoch,proto3" json:"proposer_local_epoch,omitempty"` // MUST be <= 0xFFFF on the wire.
	// contains filtered or unexported fields
}

EnableRaftEnvelopeRequest proposes the Stage 6E Phase 2 cutover from cleartext Raft proposals to §4.2-envelope Raft proposals. Defined in the 6E design doc §3.1; the server composes a RotationPayload with SubTag = RotateSubEnableRaftEnvelope (0x05) and routes it through the default Raft group's leader as a §11.3 0x05 OpRotation entry. Structural mirror of EnableStorageEnvelopeRequest; the difference is the target Purpose (PurposeRaft) and the source DEK slot (sidecar.Active.Raft).

proposer_node_id MUST be non-zero (the §6.1 "not-capable" sentinel is rejected at the server boundary, matching the existing RotateDEK / BootstrapEncryption / EnableStorageEnvelope posture).

proposer_local_epoch carries the §4.1 16-bit nonce field as uint32 (proto3 has no uint16); values above 0xFFFF are rejected at the server boundary before any Raft proposal is composed. ApplyRotation re-validates at apply time (defense-in-depth).

func (*EnableRaftEnvelopeRequest) Descriptor deprecated

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

Deprecated: Use EnableRaftEnvelopeRequest.ProtoReflect.Descriptor instead.

func (*EnableRaftEnvelopeRequest) GetProposerLocalEpoch

func (x *EnableRaftEnvelopeRequest) GetProposerLocalEpoch() uint32

func (*EnableRaftEnvelopeRequest) GetProposerNodeId

func (x *EnableRaftEnvelopeRequest) GetProposerNodeId() uint64

func (*EnableRaftEnvelopeRequest) ProtoMessage

func (*EnableRaftEnvelopeRequest) ProtoMessage()

func (*EnableRaftEnvelopeRequest) ProtoReflect

func (*EnableRaftEnvelopeRequest) Reset

func (x *EnableRaftEnvelopeRequest) Reset()

func (*EnableRaftEnvelopeRequest) String

func (x *EnableRaftEnvelopeRequest) String() string

type EnableRaftEnvelopeResponse

type EnableRaftEnvelopeResponse struct {
	AppliedIndex      uint64               `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	CapabilitySummary []*CapabilityVerdict `protobuf:"bytes,2,rep,name=capability_summary,json=capabilitySummary,proto3" json:"capability_summary,omitempty"`
	WasAlreadyActive  bool                 `protobuf:"varint,3,opt,name=was_already_active,json=wasAlreadyActive,proto3" json:"was_already_active,omitempty"`
	// contains filtered or unexported fields
}

EnableRaftEnvelopeResponse reports the outcome of a raft-envelope cutover proposal. Structural mirror of EnableStorageEnvelopeResponse with one rename to match the raft variant's sole "Phase-2 active" sentinel:

  • was_already_active reflects sidecar.RaftEnvelopeCutoverIndex != 0 on the precheck (the raft variant has no separate bool flag — non-zero cutover index IS the active sentinel).

On a fresh cutover (was_already_active == false), applied_index is the Raft index of the entry the leader just proposed and waited to apply. On a retried call, applied_index is the recorded sidecar.RaftEnvelopeCutoverIndex from the ORIGINAL cutover — stable across arbitrary subsequent encryption-relevant Raft activity.

capability_summary records which (full_node_id) members were probed during the pre-flight gate and what they reported. Empty on idempotent retries; the membership view of the original cutover is not retained.

func (*EnableRaftEnvelopeResponse) Descriptor deprecated

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

Deprecated: Use EnableRaftEnvelopeResponse.ProtoReflect.Descriptor instead.

func (*EnableRaftEnvelopeResponse) GetAppliedIndex

func (x *EnableRaftEnvelopeResponse) GetAppliedIndex() uint64

func (*EnableRaftEnvelopeResponse) GetCapabilitySummary

func (x *EnableRaftEnvelopeResponse) GetCapabilitySummary() []*CapabilityVerdict

func (*EnableRaftEnvelopeResponse) GetWasAlreadyActive

func (x *EnableRaftEnvelopeResponse) GetWasAlreadyActive() bool

func (*EnableRaftEnvelopeResponse) ProtoMessage

func (*EnableRaftEnvelopeResponse) ProtoMessage()

func (*EnableRaftEnvelopeResponse) ProtoReflect

func (*EnableRaftEnvelopeResponse) Reset

func (x *EnableRaftEnvelopeResponse) Reset()

func (*EnableRaftEnvelopeResponse) String

func (x *EnableRaftEnvelopeResponse) String() string

type EnableStorageEnvelopeRequest

type EnableStorageEnvelopeRequest struct {
	ProposerNodeId     uint64 `protobuf:"varint,1,opt,name=proposer_node_id,json=proposerNodeId,proto3" json:"proposer_node_id,omitempty"`
	ProposerLocalEpoch uint32 `protobuf:"varint,2,opt,name=proposer_local_epoch,json=proposerLocalEpoch,proto3" json:"proposer_local_epoch,omitempty"` // MUST be <= 0xFFFF on the wire.
	// contains filtered or unexported fields
}

EnableStorageEnvelopeRequest proposes the §7.1 Phase 1 cutover that flips the cluster from cleartext storage writes to §4.1 envelope writes. Defined in the 6D design doc §3.1; the server composes a RotationPayload with SubTag = RotateSubEnableStorageEnvelope (0x04) and routes it through the default Raft group's leader as a §11.3 0x05 OpRotation entry.

proposer_node_id MUST be non-zero (the §6.1 "not-capable" sentinel is rejected at the server boundary, matching the existing RotateDEK / BootstrapEncryption posture).

proposer_local_epoch carries the §4.1 16-bit nonce field as uint32 (proto3 has no uint16); values above 0xFFFF are rejected at the server boundary before any Raft proposal is composed. ApplyRotation re-validates at apply time (defense-in-depth).

func (*EnableStorageEnvelopeRequest) Descriptor deprecated

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

Deprecated: Use EnableStorageEnvelopeRequest.ProtoReflect.Descriptor instead.

func (*EnableStorageEnvelopeRequest) GetProposerLocalEpoch

func (x *EnableStorageEnvelopeRequest) GetProposerLocalEpoch() uint32

func (*EnableStorageEnvelopeRequest) GetProposerNodeId

func (x *EnableStorageEnvelopeRequest) GetProposerNodeId() uint64

func (*EnableStorageEnvelopeRequest) ProtoMessage

func (*EnableStorageEnvelopeRequest) ProtoMessage()

func (*EnableStorageEnvelopeRequest) ProtoReflect

func (*EnableStorageEnvelopeRequest) Reset

func (x *EnableStorageEnvelopeRequest) Reset()

func (*EnableStorageEnvelopeRequest) String

type EnableStorageEnvelopeResponse

type EnableStorageEnvelopeResponse struct {
	AppliedIndex        uint64               `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	CapabilitySummary   []*CapabilityVerdict `protobuf:"bytes,2,rep,name=capability_summary,json=capabilitySummary,proto3" json:"capability_summary,omitempty"`
	CutoverIndexUnknown bool                 `protobuf:"varint,3,opt,name=cutover_index_unknown,json=cutoverIndexUnknown,proto3" json:"cutover_index_unknown,omitempty"`
	WasAlreadyActive    bool                 `protobuf:"varint,4,opt,name=was_already_active,json=wasAlreadyActive,proto3" json:"was_already_active,omitempty"`
	// contains filtered or unexported fields
}

EnableStorageEnvelopeResponse reports the outcome of a cutover proposal. The §6.4 idempotency contract is encoded as an OK status with `was_already_active = true` (NOT AlreadyExists, since unary gRPC drops the response body on non-OK status; the applied_index must be reachable on the success path).

On a fresh cutover (was_already_active == false), applied_index is the Raft index of the entry the leader just proposed and waited to apply. On a retried call, applied_index is the recorded sidecar.StorageEnvelopeCutoverIndex from the ORIGINAL cutover (§6.4) — stable across arbitrary subsequent encryption-relevant Raft activity.

capability_summary records which (full_node_id) members were probed during the pre-flight gate and what they reported. Empty on idempotent retries (was_already_active=true); the membership view of the original cutover is not retained.

cutover_index_unknown is the §6.4 defensive fallback: it only fires if a sidecar reports StorageEnvelopeActive=true with StorageEnvelopeCutoverIndex=0 (operationally impossible under normal apply, but hedged against future schema rollback). On healthy clusters this stays false. The field is only meaningful when was_already_active=true.

func (*EnableStorageEnvelopeResponse) Descriptor deprecated

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

Deprecated: Use EnableStorageEnvelopeResponse.ProtoReflect.Descriptor instead.

func (*EnableStorageEnvelopeResponse) GetAppliedIndex

func (x *EnableStorageEnvelopeResponse) GetAppliedIndex() uint64

func (*EnableStorageEnvelopeResponse) GetCapabilitySummary

func (x *EnableStorageEnvelopeResponse) GetCapabilitySummary() []*CapabilityVerdict

func (*EnableStorageEnvelopeResponse) GetCutoverIndexUnknown

func (x *EnableStorageEnvelopeResponse) GetCutoverIndexUnknown() bool

func (*EnableStorageEnvelopeResponse) GetWasAlreadyActive

func (x *EnableStorageEnvelopeResponse) GetWasAlreadyActive() bool

func (*EnableStorageEnvelopeResponse) ProtoMessage

func (*EnableStorageEnvelopeResponse) ProtoMessage()

func (*EnableStorageEnvelopeResponse) ProtoReflect

func (*EnableStorageEnvelopeResponse) Reset

func (x *EnableStorageEnvelopeResponse) Reset()

func (*EnableStorageEnvelopeResponse) String

type EncryptionAdminClient

type EncryptionAdminClient interface {
	GetCapability(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CapabilityReport, error)
	GetSidecarState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SidecarStateReport, error)
	BootstrapEncryption(ctx context.Context, in *BootstrapEncryptionRequest, opts ...grpc.CallOption) (*BootstrapEncryptionResponse, error)
	RotateDEK(ctx context.Context, in *RotateDEKRequest, opts ...grpc.CallOption) (*RotateDEKResponse, error)
	RegisterEncryptionWriter(ctx context.Context, in *RegisterEncryptionWriterRequest, opts ...grpc.CallOption) (*RegisterEncryptionWriterResponse, error)
	ResyncSidecar(ctx context.Context, in *ResyncSidecarRequest, opts ...grpc.CallOption) (*ResyncSidecarResponse, error)
	EnableStorageEnvelope(ctx context.Context, in *EnableStorageEnvelopeRequest, opts ...grpc.CallOption) (*EnableStorageEnvelopeResponse, error)
	EnableRaftEnvelope(ctx context.Context, in *EnableRaftEnvelopeRequest, opts ...grpc.CallOption) (*EnableRaftEnvelopeResponse, error)
}

EncryptionAdminClient is the client API for EncryptionAdmin 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.

EncryptionAdmin is the operator-facing control plane for the data-at-rest encryption feature described in docs/design/2026_04_29_partial_data_at_rest_encryption.md. The service is split into two groups:

  1. Read-only, leaderless probes (GetCapability, GetSidecarState, ResyncSidecar). Safe to call on any member including learners; each returns the responding node's local view. The §5.6 / §7.1 cutover paths fan GetCapability out across every member of every Raft group to drive the pre-flight capability check and to collect the (full_node_id, local_epoch) batch that goes into the bootstrap-encryption Raft entry. GetSidecarState and ResyncSidecar share the §5.5 sidecar-recovery role: a follower whose sidecar fell behind a Raft-log compaction window calls either RPC against the leader and rewrites its local keys.json from the response. ResyncSidecar is addressed at the leader because the recovery flow only consults the leader's record; GetSidecarState answers from any node and is the broader observability surface.

  2. Mutating RPCs that propose FSM-internal entries through the default Raft group's leader (BootstrapEncryption, RotateDEK, RegisterEncryptionWriter). They route to the leader; followers return FailedPrecondition with the currently-known leader so the operator's CLI can retry against the right node.

Wire-format notes:

  • local_epoch is the §4.1 16-bit nonce field carried as uint32 (proto3 has no uint16). Every decode site MUST validate value <= 0xFFFF; values above 0xFFFF return ErrLocalEpochOutOfRange. The mutating RPCs that accept a writer-registry batch (BootstrapEncryption) MUST apply the same check at the server boundary before the batch is forwarded into the Raft proposal.
  • wrapped_dek payloads are sidecar-format bytes (DEK wrapped under the current KEK) and are leakage-safe: an RPC response that exposes them is no worse than reading the on-disk sidecar.

type EncryptionAdminServer

EncryptionAdminServer is the server API for EncryptionAdmin service. All implementations must embed UnimplementedEncryptionAdminServer for forward compatibility.

EncryptionAdmin is the operator-facing control plane for the data-at-rest encryption feature described in docs/design/2026_04_29_partial_data_at_rest_encryption.md. The service is split into two groups:

  1. Read-only, leaderless probes (GetCapability, GetSidecarState, ResyncSidecar). Safe to call on any member including learners; each returns the responding node's local view. The §5.6 / §7.1 cutover paths fan GetCapability out across every member of every Raft group to drive the pre-flight capability check and to collect the (full_node_id, local_epoch) batch that goes into the bootstrap-encryption Raft entry. GetSidecarState and ResyncSidecar share the §5.5 sidecar-recovery role: a follower whose sidecar fell behind a Raft-log compaction window calls either RPC against the leader and rewrites its local keys.json from the response. ResyncSidecar is addressed at the leader because the recovery flow only consults the leader's record; GetSidecarState answers from any node and is the broader observability surface.

  2. Mutating RPCs that propose FSM-internal entries through the default Raft group's leader (BootstrapEncryption, RotateDEK, RegisterEncryptionWriter). They route to the leader; followers return FailedPrecondition with the currently-known leader so the operator's CLI can retry against the right node.

Wire-format notes:

  • local_epoch is the §4.1 16-bit nonce field carried as uint32 (proto3 has no uint16). Every decode site MUST validate value <= 0xFFFF; values above 0xFFFF return ErrLocalEpochOutOfRange. The mutating RPCs that accept a writer-registry batch (BootstrapEncryption) MUST apply the same check at the server boundary before the batch is forwarded into the Raft proposal.
  • wrapped_dek payloads are sidecar-format bytes (DEK wrapped under the current KEK) and are leakage-safe: an RPC response that exposes them is no worse than reading the on-disk sidecar.

type EtcdRaftAck

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

func (*EtcdRaftAck) Descriptor deprecated

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

Deprecated: Use EtcdRaftAck.ProtoReflect.Descriptor instead.

func (*EtcdRaftAck) ProtoMessage

func (*EtcdRaftAck) ProtoMessage()

func (*EtcdRaftAck) ProtoReflect

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

func (*EtcdRaftAck) Reset

func (x *EtcdRaftAck) Reset()

func (*EtcdRaftAck) String

func (x *EtcdRaftAck) String() string

type EtcdRaftClient

type EtcdRaftClient interface {
	Send(ctx context.Context, in *EtcdRaftMessage, opts ...grpc.CallOption) (*EtcdRaftAck, error)
	SendSnapshot(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[EtcdRaftSnapshotChunk, EtcdRaftAck], error)
}

EtcdRaftClient is the client API for EtcdRaft 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 NewEtcdRaftClient

func NewEtcdRaftClient(cc grpc.ClientConnInterface) EtcdRaftClient

type EtcdRaftMessage

type EtcdRaftMessage struct {
	Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*EtcdRaftMessage) Descriptor deprecated

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

Deprecated: Use EtcdRaftMessage.ProtoReflect.Descriptor instead.

func (*EtcdRaftMessage) GetMessage

func (x *EtcdRaftMessage) GetMessage() []byte

func (*EtcdRaftMessage) ProtoMessage

func (*EtcdRaftMessage) ProtoMessage()

func (*EtcdRaftMessage) ProtoReflect

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

func (*EtcdRaftMessage) Reset

func (x *EtcdRaftMessage) Reset()

func (*EtcdRaftMessage) String

func (x *EtcdRaftMessage) String() string

type EtcdRaftServer

type EtcdRaftServer interface {
	Send(context.Context, *EtcdRaftMessage) (*EtcdRaftAck, error)
	SendSnapshot(grpc.ClientStreamingServer[EtcdRaftSnapshotChunk, EtcdRaftAck]) error
	// contains filtered or unexported methods
}

EtcdRaftServer is the server API for EtcdRaft service. All implementations must embed UnimplementedEtcdRaftServer for forward compatibility.

type EtcdRaftSnapshotChunk

type EtcdRaftSnapshotChunk struct {
	Metadata []byte `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Chunk    []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
	Final    bool   `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"`
	// contains filtered or unexported fields
}

func (*EtcdRaftSnapshotChunk) Descriptor deprecated

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

Deprecated: Use EtcdRaftSnapshotChunk.ProtoReflect.Descriptor instead.

func (*EtcdRaftSnapshotChunk) GetChunk

func (x *EtcdRaftSnapshotChunk) GetChunk() []byte

func (*EtcdRaftSnapshotChunk) GetFinal

func (x *EtcdRaftSnapshotChunk) GetFinal() bool

func (*EtcdRaftSnapshotChunk) GetMetadata

func (x *EtcdRaftSnapshotChunk) GetMetadata() []byte

func (*EtcdRaftSnapshotChunk) ProtoMessage

func (*EtcdRaftSnapshotChunk) ProtoMessage()

func (*EtcdRaftSnapshotChunk) ProtoReflect

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

func (*EtcdRaftSnapshotChunk) Reset

func (x *EtcdRaftSnapshotChunk) Reset()

func (*EtcdRaftSnapshotChunk) String

func (x *EtcdRaftSnapshotChunk) String() string

type EtcdRaft_SendSnapshotClient

type EtcdRaft_SendSnapshotClient = grpc.ClientStreamingClient[EtcdRaftSnapshotChunk, EtcdRaftAck]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type EtcdRaft_SendSnapshotServer

type EtcdRaft_SendSnapshotServer = grpc.ClientStreamingServer[EtcdRaftSnapshotChunk, EtcdRaftAck]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ForwardRequest

type ForwardRequest struct {
	IsTxn    bool       `protobuf:"varint,1,opt,name=is_txn,json=isTxn,proto3" json:"is_txn,omitempty"`
	Requests []*Request `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*ForwardRequest) Descriptor deprecated

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

Deprecated: Use ForwardRequest.ProtoReflect.Descriptor instead.

func (*ForwardRequest) GetIsTxn

func (x *ForwardRequest) GetIsTxn() bool

func (*ForwardRequest) GetRequests

func (x *ForwardRequest) GetRequests() []*Request

func (*ForwardRequest) ProtoMessage

func (*ForwardRequest) ProtoMessage()

func (*ForwardRequest) ProtoReflect

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

func (*ForwardRequest) Reset

func (x *ForwardRequest) Reset()

func (*ForwardRequest) String

func (x *ForwardRequest) String() string

type ForwardResponse

type ForwardResponse struct {
	Success     bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	CommitIndex uint64 `protobuf:"varint,2,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	// contains filtered or unexported fields
}

for internal leader redirect

func (*ForwardResponse) Descriptor deprecated

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

Deprecated: Use ForwardResponse.ProtoReflect.Descriptor instead.

func (*ForwardResponse) GetCommitIndex

func (x *ForwardResponse) GetCommitIndex() uint64

func (*ForwardResponse) GetSuccess

func (x *ForwardResponse) GetSuccess() bool

func (*ForwardResponse) ProtoMessage

func (*ForwardResponse) ProtoMessage()

func (*ForwardResponse) ProtoReflect

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

func (*ForwardResponse) Reset

func (x *ForwardResponse) Reset()

func (*ForwardResponse) String

func (x *ForwardResponse) String() string

type GetAdapterSummaryRequest

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

func (*GetAdapterSummaryRequest) Descriptor deprecated

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

Deprecated: Use GetAdapterSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetAdapterSummaryRequest) ProtoMessage

func (*GetAdapterSummaryRequest) ProtoMessage()

func (*GetAdapterSummaryRequest) ProtoReflect

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

func (*GetAdapterSummaryRequest) Reset

func (x *GetAdapterSummaryRequest) Reset()

func (*GetAdapterSummaryRequest) String

func (x *GetAdapterSummaryRequest) String() string

type GetAdapterSummaryResponse

type GetAdapterSummaryResponse struct {
	Summaries []*AdapterSummary `protobuf:"bytes,1,rep,name=summaries,proto3" json:"summaries,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAdapterSummaryResponse) Descriptor deprecated

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

Deprecated: Use GetAdapterSummaryResponse.ProtoReflect.Descriptor instead.

func (*GetAdapterSummaryResponse) GetSummaries

func (x *GetAdapterSummaryResponse) GetSummaries() []*AdapterSummary

func (*GetAdapterSummaryResponse) ProtoMessage

func (*GetAdapterSummaryResponse) ProtoMessage()

func (*GetAdapterSummaryResponse) ProtoReflect

func (*GetAdapterSummaryResponse) Reset

func (x *GetAdapterSummaryResponse) Reset()

func (*GetAdapterSummaryResponse) String

func (x *GetAdapterSummaryResponse) String() string

type GetClusterOverviewRequest

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

func (*GetClusterOverviewRequest) Descriptor deprecated

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

Deprecated: Use GetClusterOverviewRequest.ProtoReflect.Descriptor instead.

func (*GetClusterOverviewRequest) ProtoMessage

func (*GetClusterOverviewRequest) ProtoMessage()

func (*GetClusterOverviewRequest) ProtoReflect

func (*GetClusterOverviewRequest) Reset

func (x *GetClusterOverviewRequest) Reset()

func (*GetClusterOverviewRequest) String

func (x *GetClusterOverviewRequest) String() string

type GetClusterOverviewResponse

type GetClusterOverviewResponse struct {
	Self         *NodeIdentity   `protobuf:"bytes,1,opt,name=self,proto3" json:"self,omitempty"`
	Members      []*NodeIdentity `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	GroupLeaders []*GroupLeader  `protobuf:"bytes,3,rep,name=group_leaders,json=groupLeaders,proto3" json:"group_leaders,omitempty"`
	AggregateQps uint64          `protobuf:"varint,4,opt,name=aggregate_qps,json=aggregateQps,proto3" json:"aggregate_qps,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterOverviewResponse) Descriptor deprecated

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

Deprecated: Use GetClusterOverviewResponse.ProtoReflect.Descriptor instead.

func (*GetClusterOverviewResponse) GetAggregateQps

func (x *GetClusterOverviewResponse) GetAggregateQps() uint64

func (*GetClusterOverviewResponse) GetGroupLeaders

func (x *GetClusterOverviewResponse) GetGroupLeaders() []*GroupLeader

func (*GetClusterOverviewResponse) GetMembers

func (x *GetClusterOverviewResponse) GetMembers() []*NodeIdentity

func (*GetClusterOverviewResponse) GetSelf

func (*GetClusterOverviewResponse) ProtoMessage

func (*GetClusterOverviewResponse) ProtoMessage()

func (*GetClusterOverviewResponse) ProtoReflect

func (*GetClusterOverviewResponse) Reset

func (x *GetClusterOverviewResponse) Reset()

func (*GetClusterOverviewResponse) String

func (x *GetClusterOverviewResponse) String() string

type GetKeyVizMatrixRequest

type GetKeyVizMatrixRequest struct {
	Series     KeyVizSeries `protobuf:"varint,1,opt,name=series,proto3,enum=KeyVizSeries" json:"series,omitempty"`
	FromUnixMs int64        `protobuf:"varint,2,opt,name=from_unix_ms,json=fromUnixMs,proto3" json:"from_unix_ms,omitempty"`
	ToUnixMs   int64        `protobuf:"varint,3,opt,name=to_unix_ms,json=toUnixMs,proto3" json:"to_unix_ms,omitempty"`
	Rows       uint32       `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyVizMatrixRequest) Descriptor deprecated

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

Deprecated: Use GetKeyVizMatrixRequest.ProtoReflect.Descriptor instead.

func (*GetKeyVizMatrixRequest) GetFromUnixMs

func (x *GetKeyVizMatrixRequest) GetFromUnixMs() int64

func (*GetKeyVizMatrixRequest) GetRows

func (x *GetKeyVizMatrixRequest) GetRows() uint32

func (*GetKeyVizMatrixRequest) GetSeries

func (x *GetKeyVizMatrixRequest) GetSeries() KeyVizSeries

func (*GetKeyVizMatrixRequest) GetToUnixMs

func (x *GetKeyVizMatrixRequest) GetToUnixMs() int64

func (*GetKeyVizMatrixRequest) ProtoMessage

func (*GetKeyVizMatrixRequest) ProtoMessage()

func (*GetKeyVizMatrixRequest) ProtoReflect

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

func (*GetKeyVizMatrixRequest) Reset

func (x *GetKeyVizMatrixRequest) Reset()

func (*GetKeyVizMatrixRequest) String

func (x *GetKeyVizMatrixRequest) String() string

type GetKeyVizMatrixResponse

type GetKeyVizMatrixResponse struct {
	ColumnUnixMs []int64      `protobuf:"varint,1,rep,packed,name=column_unix_ms,json=columnUnixMs,proto3" json:"column_unix_ms,omitempty"`
	Rows         []*KeyVizRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyVizMatrixResponse) Descriptor deprecated

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

Deprecated: Use GetKeyVizMatrixResponse.ProtoReflect.Descriptor instead.

func (*GetKeyVizMatrixResponse) GetColumnUnixMs

func (x *GetKeyVizMatrixResponse) GetColumnUnixMs() []int64

func (*GetKeyVizMatrixResponse) GetRows

func (x *GetKeyVizMatrixResponse) GetRows() []*KeyVizRow

func (*GetKeyVizMatrixResponse) ProtoMessage

func (*GetKeyVizMatrixResponse) ProtoMessage()

func (*GetKeyVizMatrixResponse) ProtoReflect

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

func (*GetKeyVizMatrixResponse) Reset

func (x *GetKeyVizMatrixResponse) Reset()

func (*GetKeyVizMatrixResponse) String

func (x *GetKeyVizMatrixResponse) String() string

type GetRaftGroupsRequest

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

func (*GetRaftGroupsRequest) Descriptor deprecated

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

Deprecated: Use GetRaftGroupsRequest.ProtoReflect.Descriptor instead.

func (*GetRaftGroupsRequest) ProtoMessage

func (*GetRaftGroupsRequest) ProtoMessage()

func (*GetRaftGroupsRequest) ProtoReflect

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

func (*GetRaftGroupsRequest) Reset

func (x *GetRaftGroupsRequest) Reset()

func (*GetRaftGroupsRequest) String

func (x *GetRaftGroupsRequest) String() string

type GetRaftGroupsResponse

type GetRaftGroupsResponse struct {
	Groups []*RaftGroupState `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRaftGroupsResponse) Descriptor deprecated

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

Deprecated: Use GetRaftGroupsResponse.ProtoReflect.Descriptor instead.

func (*GetRaftGroupsResponse) GetGroups

func (x *GetRaftGroupsResponse) GetGroups() []*RaftGroupState

func (*GetRaftGroupsResponse) ProtoMessage

func (*GetRaftGroupsResponse) ProtoMessage()

func (*GetRaftGroupsResponse) ProtoReflect

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

func (*GetRaftGroupsResponse) Reset

func (x *GetRaftGroupsResponse) Reset()

func (*GetRaftGroupsResponse) String

func (x *GetRaftGroupsResponse) String() string

type GetRequest

type GetRequest struct {
	Key []byte `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() []byte

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 {
	ReadAtIndex uint64 `protobuf:"varint,1,opt,name=read_at_index,json=readAtIndex,proto3" json:"read_at_index,omitempty"`
	Value       []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetReadAtIndex

func (x *GetResponse) GetReadAtIndex() uint64

func (*GetResponse) GetValue

func (x *GetResponse) GetValue() []byte

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 GetRouteDetailRequest

type GetRouteDetailRequest struct {

	// Either a concrete route:<routeID> or a virtual:<id> emitted in a previous
	// GetKeyVizMatrix response.
	BucketId   string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	FromUnixMs int64  `protobuf:"varint,2,opt,name=from_unix_ms,json=fromUnixMs,proto3" json:"from_unix_ms,omitempty"`
	ToUnixMs   int64  `protobuf:"varint,3,opt,name=to_unix_ms,json=toUnixMs,proto3" json:"to_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRouteDetailRequest) Descriptor deprecated

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

Deprecated: Use GetRouteDetailRequest.ProtoReflect.Descriptor instead.

func (*GetRouteDetailRequest) GetBucketId

func (x *GetRouteDetailRequest) GetBucketId() string

func (*GetRouteDetailRequest) GetFromUnixMs

func (x *GetRouteDetailRequest) GetFromUnixMs() int64

func (*GetRouteDetailRequest) GetToUnixMs

func (x *GetRouteDetailRequest) GetToUnixMs() int64

func (*GetRouteDetailRequest) ProtoMessage

func (*GetRouteDetailRequest) ProtoMessage()

func (*GetRouteDetailRequest) ProtoReflect

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

func (*GetRouteDetailRequest) Reset

func (x *GetRouteDetailRequest) Reset()

func (*GetRouteDetailRequest) String

func (x *GetRouteDetailRequest) String() string

type GetRouteDetailResponse

type GetRouteDetailResponse struct {
	Row        *KeyVizRow        `protobuf:"bytes,1,opt,name=row,proto3" json:"row,omitempty"`
	PerAdapter []*AdapterSummary `protobuf:"bytes,2,rep,name=per_adapter,json=perAdapter,proto3" json:"per_adapter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRouteDetailResponse) Descriptor deprecated

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

Deprecated: Use GetRouteDetailResponse.ProtoReflect.Descriptor instead.

func (*GetRouteDetailResponse) GetPerAdapter

func (x *GetRouteDetailResponse) GetPerAdapter() []*AdapterSummary

func (*GetRouteDetailResponse) GetRow

func (x *GetRouteDetailResponse) GetRow() *KeyVizRow

func (*GetRouteDetailResponse) ProtoMessage

func (*GetRouteDetailResponse) ProtoMessage()

func (*GetRouteDetailResponse) ProtoReflect

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

func (*GetRouteDetailResponse) Reset

func (x *GetRouteDetailResponse) Reset()

func (*GetRouteDetailResponse) String

func (x *GetRouteDetailResponse) String() string

type GetRouteRequest

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

func (*GetRouteRequest) Descriptor deprecated

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

Deprecated: Use GetRouteRequest.ProtoReflect.Descriptor instead.

func (*GetRouteRequest) GetKey

func (x *GetRouteRequest) GetKey() []byte

func (*GetRouteRequest) ProtoMessage

func (*GetRouteRequest) ProtoMessage()

func (*GetRouteRequest) ProtoReflect

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

func (*GetRouteRequest) Reset

func (x *GetRouteRequest) Reset()

func (*GetRouteRequest) String

func (x *GetRouteRequest) String() string

type GetRouteResponse

type GetRouteResponse struct {

	// start is inclusive and end is exclusive. A missing end denotes an
	// unbounded range extending to positive infinity.
	Start       []byte `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End         []byte `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	RaftGroupId uint64 `protobuf:"varint,3,opt,name=raft_group_id,json=raftGroupId,proto3" json:"raft_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRouteResponse) Descriptor deprecated

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

Deprecated: Use GetRouteResponse.ProtoReflect.Descriptor instead.

func (*GetRouteResponse) GetEnd

func (x *GetRouteResponse) GetEnd() []byte

func (*GetRouteResponse) GetRaftGroupId

func (x *GetRouteResponse) GetRaftGroupId() uint64

func (*GetRouteResponse) GetStart

func (x *GetRouteResponse) GetStart() []byte

func (*GetRouteResponse) ProtoMessage

func (*GetRouteResponse) ProtoMessage()

func (*GetRouteResponse) ProtoReflect

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

func (*GetRouteResponse) Reset

func (x *GetRouteResponse) Reset()

func (*GetRouteResponse) String

func (x *GetRouteResponse) String() string

type GetTimestampRequest

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

func (*GetTimestampRequest) Descriptor deprecated

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

Deprecated: Use GetTimestampRequest.ProtoReflect.Descriptor instead.

func (*GetTimestampRequest) ProtoMessage

func (*GetTimestampRequest) ProtoMessage()

func (*GetTimestampRequest) ProtoReflect

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

func (*GetTimestampRequest) Reset

func (x *GetTimestampRequest) Reset()

func (*GetTimestampRequest) String

func (x *GetTimestampRequest) String() string

type GetTimestampResponse

type GetTimestampResponse struct {
	Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTimestampResponse) Descriptor deprecated

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

Deprecated: Use GetTimestampResponse.ProtoReflect.Descriptor instead.

func (*GetTimestampResponse) GetTimestamp

func (x *GetTimestampResponse) GetTimestamp() uint64

func (*GetTimestampResponse) ProtoMessage

func (*GetTimestampResponse) ProtoMessage()

func (*GetTimestampResponse) ProtoReflect

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

func (*GetTimestampResponse) Reset

func (x *GetTimestampResponse) Reset()

func (*GetTimestampResponse) String

func (x *GetTimestampResponse) String() string

type GroupLeader

type GroupLeader struct {
	RaftGroupId  uint64 `protobuf:"varint,1,opt,name=raft_group_id,json=raftGroupId,proto3" json:"raft_group_id,omitempty"`
	LeaderNodeId string `protobuf:"bytes,2,opt,name=leader_node_id,json=leaderNodeId,proto3" json:"leader_node_id,omitempty"`
	LeaderTerm   uint64 `protobuf:"varint,3,opt,name=leader_term,json=leaderTerm,proto3" json:"leader_term,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupLeader) Descriptor deprecated

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

Deprecated: Use GroupLeader.ProtoReflect.Descriptor instead.

func (*GroupLeader) GetLeaderNodeId

func (x *GroupLeader) GetLeaderNodeId() string

func (*GroupLeader) GetLeaderTerm

func (x *GroupLeader) GetLeaderTerm() uint64

func (*GroupLeader) GetRaftGroupId

func (x *GroupLeader) GetRaftGroupId() uint64

func (*GroupLeader) ProtoMessage

func (*GroupLeader) ProtoMessage()

func (*GroupLeader) ProtoReflect

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

func (*GroupLeader) Reset

func (x *GroupLeader) Reset()

func (*GroupLeader) String

func (x *GroupLeader) String() string

type InternalClient

type InternalClient interface {
	// for internal leader redirect only
	Forward(ctx context.Context, in *ForwardRequest, opts ...grpc.CallOption) (*ForwardResponse, error)
	RelayPublish(ctx context.Context, in *RelayPublishRequest, opts ...grpc.CallOption) (*RelayPublishResponse, error)
}

InternalClient is the client API for Internal 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 NewInternalClient

func NewInternalClient(cc grpc.ClientConnInterface) InternalClient

type InternalServer

type InternalServer interface {
	// for internal leader redirect only
	Forward(context.Context, *ForwardRequest) (*ForwardResponse, error)
	RelayPublish(context.Context, *RelayPublishRequest) (*RelayPublishResponse, error)
	// contains filtered or unexported methods
}

InternalServer is the server API for Internal service. All implementations must embed UnimplementedInternalServer for forward compatibility.

type KeyError

type KeyError struct {
	Message   string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Retryable bool   `protobuf:"varint,2,opt,name=retryable,proto3" json:"retryable,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyError) Descriptor deprecated

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

Deprecated: Use KeyError.ProtoReflect.Descriptor instead.

func (*KeyError) GetMessage

func (x *KeyError) GetMessage() string

func (*KeyError) GetRetryable

func (x *KeyError) GetRetryable() bool

func (*KeyError) ProtoMessage

func (*KeyError) ProtoMessage()

func (*KeyError) ProtoReflect

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

func (*KeyError) Reset

func (x *KeyError) Reset()

func (*KeyError) String

func (x *KeyError) String() string

type KeyVizColumn

type KeyVizColumn struct {
	ColumnUnixMs int64        `protobuf:"varint,1,opt,name=column_unix_ms,json=columnUnixMs,proto3" json:"column_unix_ms,omitempty"`
	Series       KeyVizSeries `protobuf:"varint,2,opt,name=series,proto3,enum=KeyVizSeries" json:"series,omitempty"`
	Rows         []*KeyVizRow `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyVizColumn) Descriptor deprecated

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

Deprecated: Use KeyVizColumn.ProtoReflect.Descriptor instead.

func (*KeyVizColumn) GetColumnUnixMs

func (x *KeyVizColumn) GetColumnUnixMs() int64

func (*KeyVizColumn) GetRows

func (x *KeyVizColumn) GetRows() []*KeyVizRow

func (*KeyVizColumn) GetSeries

func (x *KeyVizColumn) GetSeries() KeyVizSeries

func (*KeyVizColumn) ProtoMessage

func (*KeyVizColumn) ProtoMessage()

func (*KeyVizColumn) ProtoReflect

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

func (*KeyVizColumn) Reset

func (x *KeyVizColumn) Reset()

func (*KeyVizColumn) String

func (x *KeyVizColumn) String() string

type KeyVizRow

type KeyVizRow struct {

	// bucket_id is either "route:<routeID>" or "virtual:<lineageID-or-hash>".
	BucketId          string       `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"`
	Start             []byte       `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End               []byte       `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	Label             string       `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	Aggregate         bool         `protobuf:"varint,5,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
	RouteIds          []uint64     `protobuf:"varint,6,rep,packed,name=route_ids,json=routeIds,proto3" json:"route_ids,omitempty"`
	RouteIdsTruncated bool         `protobuf:"varint,7,opt,name=route_ids_truncated,json=routeIdsTruncated,proto3" json:"route_ids_truncated,omitempty"`
	RouteCount        uint64       `protobuf:"varint,8,opt,name=route_count,json=routeCount,proto3" json:"route_count,omitempty"`
	SampleRoles       []SampleRole `protobuf:"varint,9,rep,packed,name=sample_roles,json=sampleRoles,proto3,enum=SampleRole" json:"sample_roles,omitempty"`
	LineageId         string       `protobuf:"bytes,10,opt,name=lineage_id,json=lineageId,proto3" json:"lineage_id,omitempty"`
	// values[j] is the series value at time column j.
	Values []uint64 `protobuf:"varint,11,rep,packed,name=values,proto3" json:"values,omitempty"`
	// soft_columns[j] is true when the j-th column missed the estimator SLO.
	SoftColumns []bool `protobuf:"varint,12,rep,packed,name=soft_columns,json=softColumns,proto3" json:"soft_columns,omitempty"`
	// raft_group_ids[j] and leader_terms[j] carry the route's Raft
	// identity at the time column j was flushed. Phase 2-C+ fan-out
	// uses (bucket_id, raft_group_id, leader_term, column) as the
	// dedupe key, so writes from a leader and the previous leader of
	// the same group can be summed across terms instead of
	// conservatively max-merged. Per-cell representation (parallel to
	// values[] and soft_columns[]) is required because leadership can
	// flip within the requested window; a single row-level scalar
	// would only capture the first column's identity and cause
	// incorrect dedupe for later columns (Gemini HIGH on PR #720).
	// Zero values mean "term not tracked" (single-group legacy
	// deployments, virtual aggregate buckets, or nodes that have not
	// yet wired the leader-term publisher) — the aggregator falls
	// back to the legacy max-merge for those cells.
	//
	// Both slices are either empty (legacy server, no per-column
	// identity to share — older clients reading the response can
	// treat empty as "all zeros") or `len(raft_group_ids) ==
	// len(leader_terms) == len(values)`. The server never emits a
	// partial-length slice.
	RaftGroupIds []uint64 `protobuf:"varint,13,rep,packed,name=raft_group_ids,json=raftGroupIds,proto3" json:"raft_group_ids,omitempty"`
	LeaderTerms  []uint64 `protobuf:"varint,14,rep,packed,name=leader_terms,json=leaderTerms,proto3" json:"leader_terms,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyVizRow) Descriptor deprecated

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

Deprecated: Use KeyVizRow.ProtoReflect.Descriptor instead.

func (*KeyVizRow) GetAggregate

func (x *KeyVizRow) GetAggregate() bool

func (*KeyVizRow) GetBucketId

func (x *KeyVizRow) GetBucketId() string

func (*KeyVizRow) GetEnd

func (x *KeyVizRow) GetEnd() []byte

func (*KeyVizRow) GetLabel

func (x *KeyVizRow) GetLabel() string

func (*KeyVizRow) GetLeaderTerms

func (x *KeyVizRow) GetLeaderTerms() []uint64

func (*KeyVizRow) GetLineageId

func (x *KeyVizRow) GetLineageId() string

func (*KeyVizRow) GetRaftGroupIds

func (x *KeyVizRow) GetRaftGroupIds() []uint64

func (*KeyVizRow) GetRouteCount

func (x *KeyVizRow) GetRouteCount() uint64

func (*KeyVizRow) GetRouteIds

func (x *KeyVizRow) GetRouteIds() []uint64

func (*KeyVizRow) GetRouteIdsTruncated

func (x *KeyVizRow) GetRouteIdsTruncated() bool

func (*KeyVizRow) GetSampleRoles

func (x *KeyVizRow) GetSampleRoles() []SampleRole

func (*KeyVizRow) GetSoftColumns

func (x *KeyVizRow) GetSoftColumns() []bool

func (*KeyVizRow) GetStart

func (x *KeyVizRow) GetStart() []byte

func (*KeyVizRow) GetValues

func (x *KeyVizRow) GetValues() []uint64

func (*KeyVizRow) ProtoMessage

func (*KeyVizRow) ProtoMessage()

func (*KeyVizRow) ProtoReflect

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

func (*KeyVizRow) Reset

func (x *KeyVizRow) Reset()

func (*KeyVizRow) String

func (x *KeyVizRow) String() string

type KeyVizSeries

type KeyVizSeries int32
const (
	KeyVizSeries_KEYVIZ_SERIES_UNSPECIFIED KeyVizSeries = 0
	KeyVizSeries_KEYVIZ_SERIES_READS       KeyVizSeries = 1
	KeyVizSeries_KEYVIZ_SERIES_WRITES      KeyVizSeries = 2
	KeyVizSeries_KEYVIZ_SERIES_READ_BYTES  KeyVizSeries = 3
	KeyVizSeries_KEYVIZ_SERIES_WRITE_BYTES KeyVizSeries = 4
)

func (KeyVizSeries) Descriptor

func (KeyVizSeries) Enum

func (x KeyVizSeries) Enum() *KeyVizSeries

func (KeyVizSeries) EnumDescriptor deprecated

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

Deprecated: Use KeyVizSeries.Descriptor instead.

func (KeyVizSeries) Number

func (KeyVizSeries) String

func (x KeyVizSeries) String() string

func (KeyVizSeries) Type

type Kv

type Kv struct {
	Error *KeyError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Key   []byte    `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte    `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Kv) Descriptor deprecated

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

Deprecated: Use Kv.ProtoReflect.Descriptor instead.

func (*Kv) GetError

func (x *Kv) GetError() *KeyError

func (*Kv) GetKey

func (x *Kv) GetKey() []byte

func (*Kv) GetValue

func (x *Kv) GetValue() []byte

func (*Kv) ProtoMessage

func (*Kv) ProtoMessage()

func (*Kv) ProtoReflect

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

func (*Kv) Reset

func (x *Kv) Reset()

func (*Kv) String

func (x *Kv) String() string

type ListRoutesRequest

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

func (*ListRoutesRequest) Descriptor deprecated

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

Deprecated: Use ListRoutesRequest.ProtoReflect.Descriptor instead.

func (*ListRoutesRequest) ProtoMessage

func (*ListRoutesRequest) ProtoMessage()

func (*ListRoutesRequest) ProtoReflect

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

func (*ListRoutesRequest) Reset

func (x *ListRoutesRequest) Reset()

func (*ListRoutesRequest) String

func (x *ListRoutesRequest) String() string

type ListRoutesResponse

type ListRoutesResponse struct {
	CatalogVersion uint64             `protobuf:"varint,1,opt,name=catalog_version,json=catalogVersion,proto3" json:"catalog_version,omitempty"`
	Routes         []*RouteDescriptor `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRoutesResponse) Descriptor deprecated

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

Deprecated: Use ListRoutesResponse.ProtoReflect.Descriptor instead.

func (*ListRoutesResponse) GetCatalogVersion

func (x *ListRoutesResponse) GetCatalogVersion() uint64

func (*ListRoutesResponse) GetRoutes

func (x *ListRoutesResponse) GetRoutes() []*RouteDescriptor

func (*ListRoutesResponse) ProtoMessage

func (*ListRoutesResponse) ProtoMessage()

func (*ListRoutesResponse) ProtoReflect

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

func (*ListRoutesResponse) Reset

func (x *ListRoutesResponse) Reset()

func (*ListRoutesResponse) String

func (x *ListRoutesResponse) String() string

type Mutation

type Mutation struct {
	Op    Op     `protobuf:"varint,1,opt,name=op,proto3,enum=Op" json:"op,omitempty"`
	Key   []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Mutation) Descriptor deprecated

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

Deprecated: Use Mutation.ProtoReflect.Descriptor instead.

func (*Mutation) GetKey

func (x *Mutation) GetKey() []byte

func (*Mutation) GetOp

func (x *Mutation) GetOp() Op

func (*Mutation) GetValue

func (x *Mutation) GetValue() []byte

func (*Mutation) ProtoMessage

func (*Mutation) ProtoMessage()

func (*Mutation) ProtoReflect

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

func (*Mutation) Reset

func (x *Mutation) Reset()

func (*Mutation) String

func (x *Mutation) String() string

type NodeIdentity

type NodeIdentity struct {
	NodeId      string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	GrpcAddress string `protobuf:"bytes,2,opt,name=grpc_address,json=grpcAddress,proto3" json:"grpc_address,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeIdentity) Descriptor deprecated

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

Deprecated: Use NodeIdentity.ProtoReflect.Descriptor instead.

func (*NodeIdentity) GetGrpcAddress

func (x *NodeIdentity) GetGrpcAddress() string

func (*NodeIdentity) GetNodeId

func (x *NodeIdentity) GetNodeId() string

func (*NodeIdentity) ProtoMessage

func (*NodeIdentity) ProtoMessage()

func (*NodeIdentity) ProtoReflect

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

func (*NodeIdentity) Reset

func (x *NodeIdentity) Reset()

func (*NodeIdentity) String

func (x *NodeIdentity) String() string

type Op

type Op int32

internal.proto is node to node communication message in raft replication.

const (
	Op_PUT Op = 0
	Op_DEL Op = 1
	// DEL_PREFIX deletes all visible keys matching the prefix stored in `key`.
	// An empty key means "all keys". Transaction-internal keys (!txn|) are
	// always excluded.  This operation is applied locally by the FSM on each
	// node, so the Raft log contains only a single mutation regardless of how
	// many keys are deleted.
	Op_DEL_PREFIX Op = 2
)

func (Op) Descriptor

func (Op) Descriptor() protoreflect.EnumDescriptor

func (Op) Enum

func (x Op) Enum() *Op

func (Op) EnumDescriptor deprecated

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

Deprecated: Use Op.Descriptor instead.

func (Op) Number

func (x Op) Number() protoreflect.EnumNumber

func (Op) String

func (x Op) String() string

func (Op) Type

func (Op) Type() protoreflect.EnumType

type Phase

type Phase int32
const (
	Phase_NONE    Phase = 0
	Phase_PREPARE Phase = 1
	Phase_COMMIT  Phase = 2
	Phase_ABORT   Phase = 3
)

func (Phase) Descriptor

func (Phase) Descriptor() protoreflect.EnumDescriptor

func (Phase) Enum

func (x Phase) Enum() *Phase

func (Phase) EnumDescriptor deprecated

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

Deprecated: Use Phase.Descriptor instead.

func (Phase) Number

func (x Phase) Number() protoreflect.EnumNumber

func (Phase) String

func (x Phase) String() string

func (Phase) Type

func (Phase) Type() protoreflect.EnumType

type PreCommitResponse

type PreCommitResponse struct {
	Errors []*KeyError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*PreCommitResponse) Descriptor deprecated

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

Deprecated: Use PreCommitResponse.ProtoReflect.Descriptor instead.

func (*PreCommitResponse) GetErrors

func (x *PreCommitResponse) GetErrors() []*KeyError

func (*PreCommitResponse) ProtoMessage

func (*PreCommitResponse) ProtoMessage()

func (*PreCommitResponse) ProtoReflect

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

func (*PreCommitResponse) Reset

func (x *PreCommitResponse) Reset()

func (*PreCommitResponse) String

func (x *PreCommitResponse) String() string

type PreWriteRequest

type PreWriteRequest struct {

	// mutations is the list of mutations to apply atomically.
	Mutations []*Kv `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"`
	// start_ts is the timestamp of the transaction.
	StartTs uint64 `protobuf:"varint,3,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	// lock_ttl is the TTL of the lock in milliseconds.
	LockTtl uint64 `protobuf:"varint,4,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*PreWriteRequest) Descriptor deprecated

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

Deprecated: Use PreWriteRequest.ProtoReflect.Descriptor instead.

func (*PreWriteRequest) GetLockTtl

func (x *PreWriteRequest) GetLockTtl() uint64

func (*PreWriteRequest) GetMutations

func (x *PreWriteRequest) GetMutations() []*Kv

func (*PreWriteRequest) GetStartTs

func (x *PreWriteRequest) GetStartTs() uint64

func (*PreWriteRequest) ProtoMessage

func (*PreWriteRequest) ProtoMessage()

func (*PreWriteRequest) ProtoReflect

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

func (*PreWriteRequest) Reset

func (x *PreWriteRequest) Reset()

func (*PreWriteRequest) String

func (x *PreWriteRequest) String() string

type PutRequest

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

func (*PutRequest) Descriptor deprecated

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

Deprecated: Use PutRequest.ProtoReflect.Descriptor instead.

func (*PutRequest) GetKey

func (x *PutRequest) GetKey() []byte

func (*PutRequest) GetValue

func (x *PutRequest) GetValue() []byte

func (*PutRequest) ProtoMessage

func (*PutRequest) ProtoMessage()

func (*PutRequest) ProtoReflect

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

func (*PutRequest) Reset

func (x *PutRequest) Reset()

func (*PutRequest) String

func (x *PutRequest) String() string

type PutResponse

type PutResponse struct {
	CommitIndex uint64 `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	Success     bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*PutResponse) Descriptor deprecated

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

Deprecated: Use PutResponse.ProtoReflect.Descriptor instead.

func (*PutResponse) GetCommitIndex

func (x *PutResponse) GetCommitIndex() uint64

func (*PutResponse) GetSuccess

func (x *PutResponse) GetSuccess() bool

func (*PutResponse) ProtoMessage

func (*PutResponse) ProtoMessage()

func (*PutResponse) ProtoReflect

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

func (*PutResponse) Reset

func (x *PutResponse) Reset()

func (*PutResponse) String

func (x *PutResponse) String() string

type RaftAdminAddLearnerRequest

type RaftAdminAddLearnerRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PreviousIndex uint64 `protobuf:"varint,3,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminAddLearnerRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminAddLearnerRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminAddLearnerRequest) GetAddress

func (x *RaftAdminAddLearnerRequest) GetAddress() string

func (*RaftAdminAddLearnerRequest) GetId

func (*RaftAdminAddLearnerRequest) GetPreviousIndex

func (x *RaftAdminAddLearnerRequest) GetPreviousIndex() uint64

func (*RaftAdminAddLearnerRequest) ProtoMessage

func (*RaftAdminAddLearnerRequest) ProtoMessage()

func (*RaftAdminAddLearnerRequest) ProtoReflect

func (*RaftAdminAddLearnerRequest) Reset

func (x *RaftAdminAddLearnerRequest) Reset()

func (*RaftAdminAddLearnerRequest) String

func (x *RaftAdminAddLearnerRequest) String() string

type RaftAdminAddVoterRequest

type RaftAdminAddVoterRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PreviousIndex uint64 `protobuf:"varint,3,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminAddVoterRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminAddVoterRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminAddVoterRequest) GetAddress

func (x *RaftAdminAddVoterRequest) GetAddress() string

func (*RaftAdminAddVoterRequest) GetId

func (x *RaftAdminAddVoterRequest) GetId() string

func (*RaftAdminAddVoterRequest) GetPreviousIndex

func (x *RaftAdminAddVoterRequest) GetPreviousIndex() uint64

func (*RaftAdminAddVoterRequest) ProtoMessage

func (*RaftAdminAddVoterRequest) ProtoMessage()

func (*RaftAdminAddVoterRequest) ProtoReflect

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

func (*RaftAdminAddVoterRequest) Reset

func (x *RaftAdminAddVoterRequest) Reset()

func (*RaftAdminAddVoterRequest) String

func (x *RaftAdminAddVoterRequest) String() string

type RaftAdminConfigurationChangeResponse

type RaftAdminConfigurationChangeResponse struct {
	Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminConfigurationChangeResponse) Descriptor deprecated

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

Deprecated: Use RaftAdminConfigurationChangeResponse.ProtoReflect.Descriptor instead.

func (*RaftAdminConfigurationChangeResponse) GetIndex

func (*RaftAdminConfigurationChangeResponse) ProtoMessage

func (*RaftAdminConfigurationChangeResponse) ProtoMessage()

func (*RaftAdminConfigurationChangeResponse) ProtoReflect

func (*RaftAdminConfigurationChangeResponse) Reset

func (*RaftAdminConfigurationChangeResponse) String

type RaftAdminConfigurationRequest

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

func (*RaftAdminConfigurationRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminConfigurationRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminConfigurationRequest) ProtoMessage

func (*RaftAdminConfigurationRequest) ProtoMessage()

func (*RaftAdminConfigurationRequest) ProtoReflect

func (*RaftAdminConfigurationRequest) Reset

func (x *RaftAdminConfigurationRequest) Reset()

func (*RaftAdminConfigurationRequest) String

type RaftAdminConfigurationResponse

type RaftAdminConfigurationResponse struct {
	Servers []*RaftAdminMember `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminConfigurationResponse) Descriptor deprecated

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

Deprecated: Use RaftAdminConfigurationResponse.ProtoReflect.Descriptor instead.

func (*RaftAdminConfigurationResponse) GetServers

func (*RaftAdminConfigurationResponse) ProtoMessage

func (*RaftAdminConfigurationResponse) ProtoMessage()

func (*RaftAdminConfigurationResponse) ProtoReflect

func (*RaftAdminConfigurationResponse) Reset

func (x *RaftAdminConfigurationResponse) Reset()

func (*RaftAdminConfigurationResponse) String

type RaftAdminMember

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

func (*RaftAdminMember) Descriptor deprecated

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

Deprecated: Use RaftAdminMember.ProtoReflect.Descriptor instead.

func (*RaftAdminMember) GetAddress

func (x *RaftAdminMember) GetAddress() string

func (*RaftAdminMember) GetId

func (x *RaftAdminMember) GetId() string

func (*RaftAdminMember) GetSuffrage

func (x *RaftAdminMember) GetSuffrage() string

func (*RaftAdminMember) ProtoMessage

func (*RaftAdminMember) ProtoMessage()

func (*RaftAdminMember) ProtoReflect

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

func (*RaftAdminMember) Reset

func (x *RaftAdminMember) Reset()

func (*RaftAdminMember) String

func (x *RaftAdminMember) String() string

type RaftAdminPromoteLearnerRequest

type RaftAdminPromoteLearnerRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PreviousIndex uint64 `protobuf:"varint,2,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"`
	// min_applied_index is the catch-up precondition: the learner's
	// leader-side Progress.Match must be >= min_applied_index for the
	// promote conf change to be proposed. The server REJECTS
	// min_applied_index == 0 unless skip_min_applied_check is also
	// set, so an operator who copy-pastes a script that omits the
	// catch-up check gets a clean FailedPrecondition instead of a
	// silent quorum stall. See learner runbook step 5.
	MinAppliedIndex uint64 `protobuf:"varint,3,opt,name=min_applied_index,json=minAppliedIndex,proto3" json:"min_applied_index,omitempty"`
	// skip_min_applied_check explicitly opts out of the catch-up
	// precondition. Strongly discouraged in production -- only set
	// when promoting a learner that the operator has independently
	// confirmed is up to date (e.g., bootstrap-time scaffolding).
	SkipMinAppliedCheck bool `protobuf:"varint,4,opt,name=skip_min_applied_check,json=skipMinAppliedCheck,proto3" json:"skip_min_applied_check,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminPromoteLearnerRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminPromoteLearnerRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminPromoteLearnerRequest) GetId

func (*RaftAdminPromoteLearnerRequest) GetMinAppliedIndex

func (x *RaftAdminPromoteLearnerRequest) GetMinAppliedIndex() uint64

func (*RaftAdminPromoteLearnerRequest) GetPreviousIndex

func (x *RaftAdminPromoteLearnerRequest) GetPreviousIndex() uint64

func (*RaftAdminPromoteLearnerRequest) GetSkipMinAppliedCheck

func (x *RaftAdminPromoteLearnerRequest) GetSkipMinAppliedCheck() bool

func (*RaftAdminPromoteLearnerRequest) ProtoMessage

func (*RaftAdminPromoteLearnerRequest) ProtoMessage()

func (*RaftAdminPromoteLearnerRequest) ProtoReflect

func (*RaftAdminPromoteLearnerRequest) Reset

func (x *RaftAdminPromoteLearnerRequest) Reset()

func (*RaftAdminPromoteLearnerRequest) String

type RaftAdminRemoveServerRequest

type RaftAdminRemoveServerRequest struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PreviousIndex uint64 `protobuf:"varint,2,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminRemoveServerRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminRemoveServerRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminRemoveServerRequest) GetId

func (*RaftAdminRemoveServerRequest) GetPreviousIndex

func (x *RaftAdminRemoveServerRequest) GetPreviousIndex() uint64

func (*RaftAdminRemoveServerRequest) ProtoMessage

func (*RaftAdminRemoveServerRequest) ProtoMessage()

func (*RaftAdminRemoveServerRequest) ProtoReflect

func (*RaftAdminRemoveServerRequest) Reset

func (x *RaftAdminRemoveServerRequest) Reset()

func (*RaftAdminRemoveServerRequest) String

type RaftAdminServer

RaftAdminServer is the server API for RaftAdmin service. All implementations must embed UnimplementedRaftAdminServer for forward compatibility.

type RaftAdminState

type RaftAdminState int32
const (
	RaftAdminState_RAFT_ADMIN_STATE_UNKNOWN   RaftAdminState = 0
	RaftAdminState_RAFT_ADMIN_STATE_FOLLOWER  RaftAdminState = 1
	RaftAdminState_RAFT_ADMIN_STATE_CANDIDATE RaftAdminState = 2
	RaftAdminState_RAFT_ADMIN_STATE_LEADER    RaftAdminState = 3
	RaftAdminState_RAFT_ADMIN_STATE_SHUTDOWN  RaftAdminState = 4
)

func (RaftAdminState) Descriptor

func (RaftAdminState) Enum

func (x RaftAdminState) Enum() *RaftAdminState

func (RaftAdminState) EnumDescriptor deprecated

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

Deprecated: Use RaftAdminState.Descriptor instead.

func (RaftAdminState) Number

func (RaftAdminState) String

func (x RaftAdminState) String() string

func (RaftAdminState) Type

type RaftAdminStatusRequest

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

func (*RaftAdminStatusRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminStatusRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminStatusRequest) ProtoMessage

func (*RaftAdminStatusRequest) ProtoMessage()

func (*RaftAdminStatusRequest) ProtoReflect

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

func (*RaftAdminStatusRequest) Reset

func (x *RaftAdminStatusRequest) Reset()

func (*RaftAdminStatusRequest) String

func (x *RaftAdminStatusRequest) String() string

type RaftAdminStatusResponse

type RaftAdminStatusResponse struct {
	State             RaftAdminState `protobuf:"varint,1,opt,name=state,proto3,enum=RaftAdminState" json:"state,omitempty"`
	LeaderId          string         `protobuf:"bytes,2,opt,name=leader_id,json=leaderId,proto3" json:"leader_id,omitempty"`
	LeaderAddress     string         `protobuf:"bytes,3,opt,name=leader_address,json=leaderAddress,proto3" json:"leader_address,omitempty"`
	Term              uint64         `protobuf:"varint,4,opt,name=term,proto3" json:"term,omitempty"`
	CommitIndex       uint64         `protobuf:"varint,5,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	AppliedIndex      uint64         `protobuf:"varint,6,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	LastLogIndex      uint64         `protobuf:"varint,7,opt,name=last_log_index,json=lastLogIndex,proto3" json:"last_log_index,omitempty"`
	LastSnapshotIndex uint64         `protobuf:"varint,8,opt,name=last_snapshot_index,json=lastSnapshotIndex,proto3" json:"last_snapshot_index,omitempty"`
	FsmPending        uint64         `protobuf:"varint,9,opt,name=fsm_pending,json=fsmPending,proto3" json:"fsm_pending,omitempty"`
	NumPeers          uint64         `protobuf:"varint,10,opt,name=num_peers,json=numPeers,proto3" json:"num_peers,omitempty"`
	LastContactNanos  int64          `protobuf:"varint,11,opt,name=last_contact_nanos,json=lastContactNanos,proto3" json:"last_contact_nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminStatusResponse) Descriptor deprecated

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

Deprecated: Use RaftAdminStatusResponse.ProtoReflect.Descriptor instead.

func (*RaftAdminStatusResponse) GetAppliedIndex

func (x *RaftAdminStatusResponse) GetAppliedIndex() uint64

func (*RaftAdminStatusResponse) GetCommitIndex

func (x *RaftAdminStatusResponse) GetCommitIndex() uint64

func (*RaftAdminStatusResponse) GetFsmPending

func (x *RaftAdminStatusResponse) GetFsmPending() uint64

func (*RaftAdminStatusResponse) GetLastContactNanos

func (x *RaftAdminStatusResponse) GetLastContactNanos() int64

func (*RaftAdminStatusResponse) GetLastLogIndex

func (x *RaftAdminStatusResponse) GetLastLogIndex() uint64

func (*RaftAdminStatusResponse) GetLastSnapshotIndex

func (x *RaftAdminStatusResponse) GetLastSnapshotIndex() uint64

func (*RaftAdminStatusResponse) GetLeaderAddress

func (x *RaftAdminStatusResponse) GetLeaderAddress() string

func (*RaftAdminStatusResponse) GetLeaderId

func (x *RaftAdminStatusResponse) GetLeaderId() string

func (*RaftAdminStatusResponse) GetNumPeers

func (x *RaftAdminStatusResponse) GetNumPeers() uint64

func (*RaftAdminStatusResponse) GetState

func (*RaftAdminStatusResponse) GetTerm

func (x *RaftAdminStatusResponse) GetTerm() uint64

func (*RaftAdminStatusResponse) ProtoMessage

func (*RaftAdminStatusResponse) ProtoMessage()

func (*RaftAdminStatusResponse) ProtoReflect

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

func (*RaftAdminStatusResponse) Reset

func (x *RaftAdminStatusResponse) Reset()

func (*RaftAdminStatusResponse) String

func (x *RaftAdminStatusResponse) String() string

type RaftAdminTransferLeadershipRequest

type RaftAdminTransferLeadershipRequest struct {
	TargetId      string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	TargetAddress string `protobuf:"bytes,2,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftAdminTransferLeadershipRequest) Descriptor deprecated

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

Deprecated: Use RaftAdminTransferLeadershipRequest.ProtoReflect.Descriptor instead.

func (*RaftAdminTransferLeadershipRequest) GetTargetAddress

func (x *RaftAdminTransferLeadershipRequest) GetTargetAddress() string

func (*RaftAdminTransferLeadershipRequest) GetTargetId

func (x *RaftAdminTransferLeadershipRequest) GetTargetId() string

func (*RaftAdminTransferLeadershipRequest) ProtoMessage

func (*RaftAdminTransferLeadershipRequest) ProtoMessage()

func (*RaftAdminTransferLeadershipRequest) ProtoReflect

func (*RaftAdminTransferLeadershipRequest) Reset

func (*RaftAdminTransferLeadershipRequest) String

type RaftAdminTransferLeadershipResponse

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

func (*RaftAdminTransferLeadershipResponse) Descriptor deprecated

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

Deprecated: Use RaftAdminTransferLeadershipResponse.ProtoReflect.Descriptor instead.

func (*RaftAdminTransferLeadershipResponse) ProtoMessage

func (*RaftAdminTransferLeadershipResponse) ProtoMessage()

func (*RaftAdminTransferLeadershipResponse) ProtoReflect

func (*RaftAdminTransferLeadershipResponse) Reset

func (*RaftAdminTransferLeadershipResponse) String

type RaftCommand

type RaftCommand struct {
	Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftCommand) Descriptor deprecated

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

Deprecated: Use RaftCommand.ProtoReflect.Descriptor instead.

func (*RaftCommand) GetRequests

func (x *RaftCommand) GetRequests() []*Request

func (*RaftCommand) ProtoMessage

func (*RaftCommand) ProtoMessage()

func (*RaftCommand) ProtoReflect

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

func (*RaftCommand) Reset

func (x *RaftCommand) Reset()

func (*RaftCommand) String

func (x *RaftCommand) String() string

type RaftGroupState

type RaftGroupState struct {
	RaftGroupId  uint64 `protobuf:"varint,1,opt,name=raft_group_id,json=raftGroupId,proto3" json:"raft_group_id,omitempty"`
	LeaderNodeId string `protobuf:"bytes,2,opt,name=leader_node_id,json=leaderNodeId,proto3" json:"leader_node_id,omitempty"`
	LeaderTerm   uint64 `protobuf:"varint,3,opt,name=leader_term,json=leaderTerm,proto3" json:"leader_term,omitempty"`
	CommitIndex  uint64 `protobuf:"varint,4,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	AppliedIndex uint64 `protobuf:"varint,5,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	// last_contact_unix_ms is the unix-ms timestamp of the most recent leader
	// contact observed on this node. Zero means "unknown" (for example, the
	// engine is a follower that has never heard from a leader); UIs should
	// render that case as "unknown" rather than "contacted at epoch".
	LastContactUnixMs int64 `protobuf:"varint,6,opt,name=last_contact_unix_ms,json=lastContactUnixMs,proto3" json:"last_contact_unix_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftGroupState) Descriptor deprecated

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

Deprecated: Use RaftGroupState.ProtoReflect.Descriptor instead.

func (*RaftGroupState) GetAppliedIndex

func (x *RaftGroupState) GetAppliedIndex() uint64

func (*RaftGroupState) GetCommitIndex

func (x *RaftGroupState) GetCommitIndex() uint64

func (*RaftGroupState) GetLastContactUnixMs

func (x *RaftGroupState) GetLastContactUnixMs() int64

func (*RaftGroupState) GetLeaderNodeId

func (x *RaftGroupState) GetLeaderNodeId() string

func (*RaftGroupState) GetLeaderTerm

func (x *RaftGroupState) GetLeaderTerm() uint64

func (*RaftGroupState) GetRaftGroupId

func (x *RaftGroupState) GetRaftGroupId() uint64

func (*RaftGroupState) ProtoMessage

func (*RaftGroupState) ProtoMessage()

func (*RaftGroupState) ProtoReflect

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

func (*RaftGroupState) Reset

func (x *RaftGroupState) Reset()

func (*RaftGroupState) String

func (x *RaftGroupState) String() string

type RawDeleteRequest

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

func (*RawDeleteRequest) Descriptor deprecated

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

Deprecated: Use RawDeleteRequest.ProtoReflect.Descriptor instead.

func (*RawDeleteRequest) GetKey

func (x *RawDeleteRequest) GetKey() []byte

func (*RawDeleteRequest) ProtoMessage

func (*RawDeleteRequest) ProtoMessage()

func (*RawDeleteRequest) ProtoReflect

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

func (*RawDeleteRequest) Reset

func (x *RawDeleteRequest) Reset()

func (*RawDeleteRequest) String

func (x *RawDeleteRequest) String() string

type RawDeleteResponse

type RawDeleteResponse struct {
	CommitIndex uint64 `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	Success     bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RawDeleteResponse) Descriptor deprecated

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

Deprecated: Use RawDeleteResponse.ProtoReflect.Descriptor instead.

func (*RawDeleteResponse) GetCommitIndex

func (x *RawDeleteResponse) GetCommitIndex() uint64

func (*RawDeleteResponse) GetSuccess

func (x *RawDeleteResponse) GetSuccess() bool

func (*RawDeleteResponse) ProtoMessage

func (*RawDeleteResponse) ProtoMessage()

func (*RawDeleteResponse) ProtoReflect

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

func (*RawDeleteResponse) Reset

func (x *RawDeleteResponse) Reset()

func (*RawDeleteResponse) String

func (x *RawDeleteResponse) String() string

type RawGetRequest

type RawGetRequest struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Ts  uint64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` // optional read timestamp; if zero, server uses current HLC
	// contains filtered or unexported fields
}

func (*RawGetRequest) Descriptor deprecated

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

Deprecated: Use RawGetRequest.ProtoReflect.Descriptor instead.

func (*RawGetRequest) GetKey

func (x *RawGetRequest) GetKey() []byte

func (*RawGetRequest) GetTs

func (x *RawGetRequest) GetTs() uint64

func (*RawGetRequest) ProtoMessage

func (*RawGetRequest) ProtoMessage()

func (*RawGetRequest) ProtoReflect

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

func (*RawGetRequest) Reset

func (x *RawGetRequest) Reset()

func (*RawGetRequest) String

func (x *RawGetRequest) String() string

type RawGetResponse

type RawGetResponse struct {
	ReadAtIndex uint64 `protobuf:"varint,1,opt,name=read_at_index,json=readAtIndex,proto3" json:"read_at_index,omitempty"`
	Value       []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Exists      bool   `protobuf:"varint,3,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*RawGetResponse) Descriptor deprecated

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

Deprecated: Use RawGetResponse.ProtoReflect.Descriptor instead.

func (*RawGetResponse) GetExists

func (x *RawGetResponse) GetExists() bool

func (*RawGetResponse) GetReadAtIndex

func (x *RawGetResponse) GetReadAtIndex() uint64

func (*RawGetResponse) GetValue

func (x *RawGetResponse) GetValue() []byte

func (*RawGetResponse) ProtoMessage

func (*RawGetResponse) ProtoMessage()

func (*RawGetResponse) ProtoReflect

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

func (*RawGetResponse) Reset

func (x *RawGetResponse) Reset()

func (*RawGetResponse) String

func (x *RawGetResponse) String() string

type RawKVClient

type RawKVClient interface {
	RawPut(ctx context.Context, in *RawPutRequest, opts ...grpc.CallOption) (*RawPutResponse, error)
	RawGet(ctx context.Context, in *RawGetRequest, opts ...grpc.CallOption) (*RawGetResponse, error)
	RawDelete(ctx context.Context, in *RawDeleteRequest, opts ...grpc.CallOption) (*RawDeleteResponse, error)
	RawLatestCommitTS(ctx context.Context, in *RawLatestCommitTSRequest, opts ...grpc.CallOption) (*RawLatestCommitTSResponse, error)
	RawScanAt(ctx context.Context, in *RawScanAtRequest, opts ...grpc.CallOption) (*RawScanAtResponse, error)
}

RawKVClient is the client API for RawKV 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 NewRawKVClient

func NewRawKVClient(cc grpc.ClientConnInterface) RawKVClient

type RawKVPair

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

func (*RawKVPair) Descriptor deprecated

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

Deprecated: Use RawKVPair.ProtoReflect.Descriptor instead.

func (*RawKVPair) GetKey

func (x *RawKVPair) GetKey() []byte

func (*RawKVPair) GetValue

func (x *RawKVPair) GetValue() []byte

func (*RawKVPair) ProtoMessage

func (*RawKVPair) ProtoMessage()

func (*RawKVPair) ProtoReflect

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

func (*RawKVPair) Reset

func (x *RawKVPair) Reset()

func (*RawKVPair) String

func (x *RawKVPair) String() string

type RawKVServer

type RawKVServer interface {
	RawPut(context.Context, *RawPutRequest) (*RawPutResponse, error)
	RawGet(context.Context, *RawGetRequest) (*RawGetResponse, error)
	RawDelete(context.Context, *RawDeleteRequest) (*RawDeleteResponse, error)
	RawLatestCommitTS(context.Context, *RawLatestCommitTSRequest) (*RawLatestCommitTSResponse, error)
	RawScanAt(context.Context, *RawScanAtRequest) (*RawScanAtResponse, error)
	// contains filtered or unexported methods
}

RawKVServer is the server API for RawKV service. All implementations must embed UnimplementedRawKVServer for forward compatibility.

type RawLatestCommitTSRequest

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

func (*RawLatestCommitTSRequest) Descriptor deprecated

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

Deprecated: Use RawLatestCommitTSRequest.ProtoReflect.Descriptor instead.

func (*RawLatestCommitTSRequest) GetKey

func (x *RawLatestCommitTSRequest) GetKey() []byte

func (*RawLatestCommitTSRequest) ProtoMessage

func (*RawLatestCommitTSRequest) ProtoMessage()

func (*RawLatestCommitTSRequest) ProtoReflect

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

func (*RawLatestCommitTSRequest) Reset

func (x *RawLatestCommitTSRequest) Reset()

func (*RawLatestCommitTSRequest) String

func (x *RawLatestCommitTSRequest) String() string

type RawLatestCommitTSResponse

type RawLatestCommitTSResponse struct {
	Ts     uint64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Exists bool   `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*RawLatestCommitTSResponse) Descriptor deprecated

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

Deprecated: Use RawLatestCommitTSResponse.ProtoReflect.Descriptor instead.

func (*RawLatestCommitTSResponse) GetExists

func (x *RawLatestCommitTSResponse) GetExists() bool

func (*RawLatestCommitTSResponse) GetTs

func (x *RawLatestCommitTSResponse) GetTs() uint64

func (*RawLatestCommitTSResponse) ProtoMessage

func (*RawLatestCommitTSResponse) ProtoMessage()

func (*RawLatestCommitTSResponse) ProtoReflect

func (*RawLatestCommitTSResponse) Reset

func (x *RawLatestCommitTSResponse) Reset()

func (*RawLatestCommitTSResponse) String

func (x *RawLatestCommitTSResponse) String() string

type RawPutRequest

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

func (*RawPutRequest) Descriptor deprecated

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

Deprecated: Use RawPutRequest.ProtoReflect.Descriptor instead.

func (*RawPutRequest) GetKey

func (x *RawPutRequest) GetKey() []byte

func (*RawPutRequest) GetValue

func (x *RawPutRequest) GetValue() []byte

func (*RawPutRequest) ProtoMessage

func (*RawPutRequest) ProtoMessage()

func (*RawPutRequest) ProtoReflect

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

func (*RawPutRequest) Reset

func (x *RawPutRequest) Reset()

func (*RawPutRequest) String

func (x *RawPutRequest) String() string

type RawPutResponse

type RawPutResponse struct {
	CommitIndex uint64 `protobuf:"varint,1,opt,name=commit_index,json=commitIndex,proto3" json:"commit_index,omitempty"`
	Success     bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RawPutResponse) Descriptor deprecated

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

Deprecated: Use RawPutResponse.ProtoReflect.Descriptor instead.

func (*RawPutResponse) GetCommitIndex

func (x *RawPutResponse) GetCommitIndex() uint64

func (*RawPutResponse) GetSuccess

func (x *RawPutResponse) GetSuccess() bool

func (*RawPutResponse) ProtoMessage

func (*RawPutResponse) ProtoMessage()

func (*RawPutResponse) ProtoReflect

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

func (*RawPutResponse) Reset

func (x *RawPutResponse) Reset()

func (*RawPutResponse) String

func (x *RawPutResponse) String() string

type RawScanAtRequest

type RawScanAtRequest struct {
	StartKey []byte `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"`
	EndKey   []byte `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
	Limit    int64  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // validated against host int size; large values may be rejected
	Ts       uint64 `protobuf:"varint,4,opt,name=ts,proto3" json:"ts,omitempty"`       // optional read timestamp; if zero, server uses current HLC
	Reverse  bool   `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*RawScanAtRequest) Descriptor deprecated

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

Deprecated: Use RawScanAtRequest.ProtoReflect.Descriptor instead.

func (*RawScanAtRequest) GetEndKey

func (x *RawScanAtRequest) GetEndKey() []byte

func (*RawScanAtRequest) GetLimit

func (x *RawScanAtRequest) GetLimit() int64

func (*RawScanAtRequest) GetReverse

func (x *RawScanAtRequest) GetReverse() bool

func (*RawScanAtRequest) GetStartKey

func (x *RawScanAtRequest) GetStartKey() []byte

func (*RawScanAtRequest) GetTs

func (x *RawScanAtRequest) GetTs() uint64

func (*RawScanAtRequest) ProtoMessage

func (*RawScanAtRequest) ProtoMessage()

func (*RawScanAtRequest) ProtoReflect

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

func (*RawScanAtRequest) Reset

func (x *RawScanAtRequest) Reset()

func (*RawScanAtRequest) String

func (x *RawScanAtRequest) String() string

type RawScanAtResponse

type RawScanAtResponse struct {
	Kv []*RawKVPair `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"`
	// contains filtered or unexported fields
}

func (*RawScanAtResponse) Descriptor deprecated

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

Deprecated: Use RawScanAtResponse.ProtoReflect.Descriptor instead.

func (*RawScanAtResponse) GetKv

func (x *RawScanAtResponse) GetKv() []*RawKVPair

func (*RawScanAtResponse) ProtoMessage

func (*RawScanAtResponse) ProtoMessage()

func (*RawScanAtResponse) ProtoReflect

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

func (*RawScanAtResponse) Reset

func (x *RawScanAtResponse) Reset()

func (*RawScanAtResponse) String

func (x *RawScanAtResponse) String() string

type RedisHashValue

type RedisHashValue struct {
	Entries map[string]string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RedisHashValue) Descriptor deprecated

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

Deprecated: Use RedisHashValue.ProtoReflect.Descriptor instead.

func (*RedisHashValue) GetEntries

func (x *RedisHashValue) GetEntries() map[string]string

func (*RedisHashValue) ProtoMessage

func (*RedisHashValue) ProtoMessage()

func (*RedisHashValue) ProtoReflect

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

func (*RedisHashValue) Reset

func (x *RedisHashValue) Reset()

func (*RedisHashValue) String

func (x *RedisHashValue) String() string

type RedisSetValue

type RedisSetValue struct {
	Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisSetValue) Descriptor deprecated

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

Deprecated: Use RedisSetValue.ProtoReflect.Descriptor instead.

func (*RedisSetValue) GetMembers

func (x *RedisSetValue) GetMembers() []string

func (*RedisSetValue) ProtoMessage

func (*RedisSetValue) ProtoMessage()

func (*RedisSetValue) ProtoReflect

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

func (*RedisSetValue) Reset

func (x *RedisSetValue) Reset()

func (*RedisSetValue) String

func (x *RedisSetValue) String() string

type RedisStreamEntry

type RedisStreamEntry struct {
	Id     string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisStreamEntry) Descriptor deprecated

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

Deprecated: Use RedisStreamEntry.ProtoReflect.Descriptor instead.

func (*RedisStreamEntry) GetFields

func (x *RedisStreamEntry) GetFields() []string

func (*RedisStreamEntry) GetId

func (x *RedisStreamEntry) GetId() string

func (*RedisStreamEntry) ProtoMessage

func (*RedisStreamEntry) ProtoMessage()

func (*RedisStreamEntry) ProtoReflect

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

func (*RedisStreamEntry) Reset

func (x *RedisStreamEntry) Reset()

func (*RedisStreamEntry) String

func (x *RedisStreamEntry) String() string

type RedisStreamValue

type RedisStreamValue struct {
	Entries []*RedisStreamEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisStreamValue) Descriptor deprecated

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

Deprecated: Use RedisStreamValue.ProtoReflect.Descriptor instead.

func (*RedisStreamValue) GetEntries

func (x *RedisStreamValue) GetEntries() []*RedisStreamEntry

func (*RedisStreamValue) ProtoMessage

func (*RedisStreamValue) ProtoMessage()

func (*RedisStreamValue) ProtoReflect

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

func (*RedisStreamValue) Reset

func (x *RedisStreamValue) Reset()

func (*RedisStreamValue) String

func (x *RedisStreamValue) String() string

type RedisZSetEntry

type RedisZSetEntry struct {
	Member string  `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	Score  float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisZSetEntry) Descriptor deprecated

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

Deprecated: Use RedisZSetEntry.ProtoReflect.Descriptor instead.

func (*RedisZSetEntry) GetMember

func (x *RedisZSetEntry) GetMember() string

func (*RedisZSetEntry) GetScore

func (x *RedisZSetEntry) GetScore() float64

func (*RedisZSetEntry) ProtoMessage

func (*RedisZSetEntry) ProtoMessage()

func (*RedisZSetEntry) ProtoReflect

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

func (*RedisZSetEntry) Reset

func (x *RedisZSetEntry) Reset()

func (*RedisZSetEntry) String

func (x *RedisZSetEntry) String() string

type RedisZSetValue

type RedisZSetValue struct {
	Entries []*RedisZSetEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisZSetValue) Descriptor deprecated

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

Deprecated: Use RedisZSetValue.ProtoReflect.Descriptor instead.

func (*RedisZSetValue) GetEntries

func (x *RedisZSetValue) GetEntries() []*RedisZSetEntry

func (*RedisZSetValue) ProtoMessage

func (*RedisZSetValue) ProtoMessage()

func (*RedisZSetValue) ProtoReflect

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

func (*RedisZSetValue) Reset

func (x *RedisZSetValue) Reset()

func (*RedisZSetValue) String

func (x *RedisZSetValue) String() string

type RegisterEncryptionWriterRequest

type RegisterEncryptionWriterRequest struct {
	DekId   uint32                 `protobuf:"varint,1,opt,name=dek_id,json=dekId,proto3" json:"dek_id,omitempty"`
	Writers []*WriterRegistryEntry `protobuf:"bytes,2,rep,name=writers,proto3" json:"writers,omitempty"`
	// contains filtered or unexported fields
}

RegisterEncryptionWriterRequest proposes a §11.3 0x03 OpRegistration entry for the calling node. Used by nodes that joined the cluster after bootstrap (§5.6 step 4).

func (*RegisterEncryptionWriterRequest) Descriptor deprecated

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

Deprecated: Use RegisterEncryptionWriterRequest.ProtoReflect.Descriptor instead.

func (*RegisterEncryptionWriterRequest) GetDekId

func (*RegisterEncryptionWriterRequest) GetWriters

func (*RegisterEncryptionWriterRequest) ProtoMessage

func (*RegisterEncryptionWriterRequest) ProtoMessage()

func (*RegisterEncryptionWriterRequest) ProtoReflect

func (*RegisterEncryptionWriterRequest) Reset

func (*RegisterEncryptionWriterRequest) String

type RegisterEncryptionWriterResponse

type RegisterEncryptionWriterResponse struct {
	AppliedIndex uint64 `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterEncryptionWriterResponse) Descriptor deprecated

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

Deprecated: Use RegisterEncryptionWriterResponse.ProtoReflect.Descriptor instead.

func (*RegisterEncryptionWriterResponse) GetAppliedIndex

func (x *RegisterEncryptionWriterResponse) GetAppliedIndex() uint64

func (*RegisterEncryptionWriterResponse) ProtoMessage

func (*RegisterEncryptionWriterResponse) ProtoMessage()

func (*RegisterEncryptionWriterResponse) ProtoReflect

func (*RegisterEncryptionWriterResponse) Reset

func (*RegisterEncryptionWriterResponse) String

type RelayPublishRequest

type RelayPublishRequest struct {
	Channel []byte `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayPublishRequest) Descriptor deprecated

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

Deprecated: Use RelayPublishRequest.ProtoReflect.Descriptor instead.

func (*RelayPublishRequest) GetChannel

func (x *RelayPublishRequest) GetChannel() []byte

func (*RelayPublishRequest) GetMessage

func (x *RelayPublishRequest) GetMessage() []byte

func (*RelayPublishRequest) ProtoMessage

func (*RelayPublishRequest) ProtoMessage()

func (*RelayPublishRequest) ProtoReflect

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

func (*RelayPublishRequest) Reset

func (x *RelayPublishRequest) Reset()

func (*RelayPublishRequest) String

func (x *RelayPublishRequest) String() string

type RelayPublishResponse

type RelayPublishResponse struct {
	Subscribers int64 `protobuf:"varint,1,opt,name=subscribers,proto3" json:"subscribers,omitempty"`
	// contains filtered or unexported fields
}

func (*RelayPublishResponse) Descriptor deprecated

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

Deprecated: Use RelayPublishResponse.ProtoReflect.Descriptor instead.

func (*RelayPublishResponse) GetSubscribers

func (x *RelayPublishResponse) GetSubscribers() int64

func (*RelayPublishResponse) ProtoMessage

func (*RelayPublishResponse) ProtoMessage()

func (*RelayPublishResponse) ProtoReflect

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

func (*RelayPublishResponse) Reset

func (x *RelayPublishResponse) Reset()

func (*RelayPublishResponse) String

func (x *RelayPublishResponse) String() string

type Request

type Request struct {
	IsTxn     bool        `protobuf:"varint,1,opt,name=is_txn,json=isTxn,proto3" json:"is_txn,omitempty"`
	Phase     Phase       `protobuf:"varint,2,opt,name=phase,proto3,enum=Phase" json:"phase,omitempty"`
	Ts        uint64      `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"`
	Mutations []*Mutation `protobuf:"bytes,4,rep,name=mutations,proto3" json:"mutations,omitempty"`
	// read_keys carries the transaction's read set so that the FSM can validate
	// read-write conflicts atomically with the commit. Each entry is a storage
	// key that was read during the transaction; the FSM checks that none of them
	// were written after ts (the transaction's start timestamp).
	ReadKeys [][]byte `protobuf:"bytes,5,rep,name=read_keys,json=readKeys,proto3" json:"read_keys,omitempty"`
	// observed_route_version is the durable catalog version the
	// transaction's read set was captured at (set on BeginTxn from
	// distribution.Engine.Version()). Zero means "unpinned" (legacy
	// callers + read-only paths). M3 of the Composed-1 design
	// (docs/design/2026_05_29_partial_composed1_cross_group_commit_guard.md)
	// will gate the FSM apply path on it; M1 (this field's introduction)
	// is plumbing only — the FSM ignores the value, so all existing
	// callers see no behaviour change.
	ObservedRouteVersion uint64 `protobuf:"varint,6,opt,name=observed_route_version,json=observedRouteVersion,proto3" json:"observed_route_version,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetIsTxn

func (x *Request) GetIsTxn() bool

func (*Request) GetMutations

func (x *Request) GetMutations() []*Mutation

func (*Request) GetObservedRouteVersion

func (x *Request) GetObservedRouteVersion() uint64

func (*Request) GetPhase

func (x *Request) GetPhase() Phase

func (*Request) GetReadKeys

func (x *Request) GetReadKeys() [][]byte

func (*Request) GetTs

func (x *Request) GetTs() uint64

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type ResyncSidecarRequest

type ResyncSidecarRequest struct {
	CallerFullNodeId uint64 `protobuf:"varint,1,opt,name=caller_full_node_id,json=callerFullNodeId,proto3" json:"caller_full_node_id,omitempty"`
	// contains filtered or unexported fields
}

ResyncSidecarRequest is the §5.5 follower-repair RPC. The caller asks the leader to ship its current wrapped DEK set so the follower can rewrite its sidecar. Read-only on the leader (no Raft proposal is involved).

func (*ResyncSidecarRequest) Descriptor deprecated

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

Deprecated: Use ResyncSidecarRequest.ProtoReflect.Descriptor instead.

func (*ResyncSidecarRequest) GetCallerFullNodeId

func (x *ResyncSidecarRequest) GetCallerFullNodeId() uint64

func (*ResyncSidecarRequest) ProtoMessage

func (*ResyncSidecarRequest) ProtoMessage()

func (*ResyncSidecarRequest) ProtoReflect

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

func (*ResyncSidecarRequest) Reset

func (x *ResyncSidecarRequest) Reset()

func (*ResyncSidecarRequest) String

func (x *ResyncSidecarRequest) String() string

type ResyncSidecarResponse

type ResyncSidecarResponse struct {
	WrappedDeksById          map[uint32][]byte `` /* 185-byte string literal not displayed */
	ActiveStorageId          uint32            `protobuf:"varint,2,opt,name=active_storage_id,json=activeStorageId,proto3" json:"active_storage_id,omitempty"`
	ActiveRaftId             uint32            `protobuf:"varint,3,opt,name=active_raft_id,json=activeRaftId,proto3" json:"active_raft_id,omitempty"`
	LeaderLatestAppliedIndex uint64            `` /* 138-byte string literal not displayed */
	// writer_registry_for_caller carries the leader's recorded
	// (dek_id, last_seen_local_epoch) for the calling node so the
	// follower can re-derive its §4.1 local_epoch monotonically.
	// Values MUST be <= 0xFFFF and the decode site MUST enforce
	// that bound. Empty until Stage 7 wires the registry; the
	// §5.5 recovery flow tolerates an empty map because a node
	// recovering before any DEK exists has nothing to re-derive.
	WriterRegistryForCaller map[uint32]uint32 `` /* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResyncSidecarResponse) Descriptor deprecated

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

Deprecated: Use ResyncSidecarResponse.ProtoReflect.Descriptor instead.

func (*ResyncSidecarResponse) GetActiveRaftId

func (x *ResyncSidecarResponse) GetActiveRaftId() uint32

func (*ResyncSidecarResponse) GetActiveStorageId

func (x *ResyncSidecarResponse) GetActiveStorageId() uint32

func (*ResyncSidecarResponse) GetLeaderLatestAppliedIndex

func (x *ResyncSidecarResponse) GetLeaderLatestAppliedIndex() uint64

func (*ResyncSidecarResponse) GetWrappedDeksById

func (x *ResyncSidecarResponse) GetWrappedDeksById() map[uint32][]byte

func (*ResyncSidecarResponse) GetWriterRegistryForCaller

func (x *ResyncSidecarResponse) GetWriterRegistryForCaller() map[uint32]uint32

func (*ResyncSidecarResponse) ProtoMessage

func (*ResyncSidecarResponse) ProtoMessage()

func (*ResyncSidecarResponse) ProtoReflect

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

func (*ResyncSidecarResponse) Reset

func (x *ResyncSidecarResponse) Reset()

func (*ResyncSidecarResponse) String

func (x *ResyncSidecarResponse) String() string

type RollbackRequest

type RollbackRequest struct {
	StartTs uint64 `protobuf:"varint,1,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackRequest) Descriptor deprecated

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

Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead.

func (*RollbackRequest) GetStartTs

func (x *RollbackRequest) GetStartTs() uint64

func (*RollbackRequest) ProtoMessage

func (*RollbackRequest) ProtoMessage()

func (*RollbackRequest) ProtoReflect

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

func (*RollbackRequest) Reset

func (x *RollbackRequest) Reset()

func (*RollbackRequest) String

func (x *RollbackRequest) String() string

type RollbackResponse

type RollbackResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*RollbackResponse) Descriptor deprecated

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

Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead.

func (*RollbackResponse) GetSuccess

func (x *RollbackResponse) GetSuccess() bool

func (*RollbackResponse) ProtoMessage

func (*RollbackResponse) ProtoMessage()

func (*RollbackResponse) ProtoReflect

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

func (*RollbackResponse) Reset

func (x *RollbackResponse) Reset()

func (*RollbackResponse) String

func (x *RollbackResponse) String() string

type RotateDEKRequest

type RotateDEKRequest struct {
	Purpose            RotateDEKRequest_Purpose `protobuf:"varint,1,opt,name=purpose,proto3,enum=RotateDEKRequest_Purpose" json:"purpose,omitempty"`
	WrappedNewDek      []byte                   `protobuf:"bytes,2,opt,name=wrapped_new_dek,json=wrappedNewDek,proto3" json:"wrapped_new_dek,omitempty"`
	NewDekId           uint32                   `protobuf:"varint,3,opt,name=new_dek_id,json=newDekId,proto3" json:"new_dek_id,omitempty"`
	ProposerNodeId     uint64                   `protobuf:"varint,4,opt,name=proposer_node_id,json=proposerNodeId,proto3" json:"proposer_node_id,omitempty"`             // proposer registration payload, §5.2
	ProposerLocalEpoch uint32                   `protobuf:"varint,5,opt,name=proposer_local_epoch,json=proposerLocalEpoch,proto3" json:"proposer_local_epoch,omitempty"` // MUST be <= 0xFFFF on the wire.
	// contains filtered or unexported fields
}

RotateDEKRequest proposes a §5.2 rotation as a §11.3 0x05 OpRotation entry. purpose distinguishes the two key purposes; the storage rotation appends a new storage DEK and shifts active_storage_id, and the raft rotation does the same for raft.

func (*RotateDEKRequest) Descriptor deprecated

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

Deprecated: Use RotateDEKRequest.ProtoReflect.Descriptor instead.

func (*RotateDEKRequest) GetNewDekId

func (x *RotateDEKRequest) GetNewDekId() uint32

func (*RotateDEKRequest) GetProposerLocalEpoch

func (x *RotateDEKRequest) GetProposerLocalEpoch() uint32

func (*RotateDEKRequest) GetProposerNodeId

func (x *RotateDEKRequest) GetProposerNodeId() uint64

func (*RotateDEKRequest) GetPurpose

func (*RotateDEKRequest) GetWrappedNewDek

func (x *RotateDEKRequest) GetWrappedNewDek() []byte

func (*RotateDEKRequest) ProtoMessage

func (*RotateDEKRequest) ProtoMessage()

func (*RotateDEKRequest) ProtoReflect

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

func (*RotateDEKRequest) Reset

func (x *RotateDEKRequest) Reset()

func (*RotateDEKRequest) String

func (x *RotateDEKRequest) String() string

type RotateDEKRequest_Purpose

type RotateDEKRequest_Purpose int32
const (
	RotateDEKRequest_PURPOSE_UNSPECIFIED RotateDEKRequest_Purpose = 0
	RotateDEKRequest_PURPOSE_STORAGE     RotateDEKRequest_Purpose = 1
	RotateDEKRequest_PURPOSE_RAFT        RotateDEKRequest_Purpose = 2
)

func (RotateDEKRequest_Purpose) Descriptor

func (RotateDEKRequest_Purpose) Enum

func (RotateDEKRequest_Purpose) EnumDescriptor deprecated

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

Deprecated: Use RotateDEKRequest_Purpose.Descriptor instead.

func (RotateDEKRequest_Purpose) Number

func (RotateDEKRequest_Purpose) String

func (x RotateDEKRequest_Purpose) String() string

func (RotateDEKRequest_Purpose) Type

type RotateDEKResponse

type RotateDEKResponse struct {
	AppliedIndex uint64 `protobuf:"varint,1,opt,name=applied_index,json=appliedIndex,proto3" json:"applied_index,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateDEKResponse) Descriptor deprecated

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

Deprecated: Use RotateDEKResponse.ProtoReflect.Descriptor instead.

func (*RotateDEKResponse) GetAppliedIndex

func (x *RotateDEKResponse) GetAppliedIndex() uint64

func (*RotateDEKResponse) ProtoMessage

func (*RotateDEKResponse) ProtoMessage()

func (*RotateDEKResponse) ProtoReflect

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

func (*RotateDEKResponse) Reset

func (x *RotateDEKResponse) Reset()

func (*RotateDEKResponse) String

func (x *RotateDEKResponse) String() string

type RouteDescriptor

type RouteDescriptor struct {
	RouteId       uint64     `protobuf:"varint,1,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	Start         []byte     `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
	End           []byte     `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
	RaftGroupId   uint64     `protobuf:"varint,4,opt,name=raft_group_id,json=raftGroupId,proto3" json:"raft_group_id,omitempty"`
	State         RouteState `protobuf:"varint,5,opt,name=state,proto3,enum=RouteState" json:"state,omitempty"`
	ParentRouteId uint64     `protobuf:"varint,6,opt,name=parent_route_id,json=parentRouteId,proto3" json:"parent_route_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteDescriptor) Descriptor deprecated

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

Deprecated: Use RouteDescriptor.ProtoReflect.Descriptor instead.

func (*RouteDescriptor) GetEnd

func (x *RouteDescriptor) GetEnd() []byte

func (*RouteDescriptor) GetParentRouteId

func (x *RouteDescriptor) GetParentRouteId() uint64

func (*RouteDescriptor) GetRaftGroupId

func (x *RouteDescriptor) GetRaftGroupId() uint64

func (*RouteDescriptor) GetRouteId

func (x *RouteDescriptor) GetRouteId() uint64

func (*RouteDescriptor) GetStart

func (x *RouteDescriptor) GetStart() []byte

func (*RouteDescriptor) GetState

func (x *RouteDescriptor) GetState() RouteState

func (*RouteDescriptor) ProtoMessage

func (*RouteDescriptor) ProtoMessage()

func (*RouteDescriptor) ProtoReflect

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

func (*RouteDescriptor) Reset

func (x *RouteDescriptor) Reset()

func (*RouteDescriptor) String

func (x *RouteDescriptor) String() string

type RouteState

type RouteState int32
const (
	RouteState_ROUTE_STATE_UNSPECIFIED      RouteState = 0
	RouteState_ROUTE_STATE_ACTIVE           RouteState = 1
	RouteState_ROUTE_STATE_WRITE_FENCED     RouteState = 2
	RouteState_ROUTE_STATE_MIGRATING_SOURCE RouteState = 3
	RouteState_ROUTE_STATE_MIGRATING_TARGET RouteState = 4
)

func (RouteState) Descriptor

func (RouteState) Descriptor() protoreflect.EnumDescriptor

func (RouteState) Enum

func (x RouteState) Enum() *RouteState

func (RouteState) EnumDescriptor deprecated

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

Deprecated: Use RouteState.Descriptor instead.

func (RouteState) Number

func (x RouteState) Number() protoreflect.EnumNumber

func (RouteState) String

func (x RouteState) String() string

func (RouteState) Type

type RouteTransition

type RouteTransition struct {
	ParentRouteId uint64   `protobuf:"varint,1,opt,name=parent_route_id,json=parentRouteId,proto3" json:"parent_route_id,omitempty"`
	ChildRouteIds []uint64 `protobuf:"varint,2,rep,packed,name=child_route_ids,json=childRouteIds,proto3" json:"child_route_ids,omitempty"`
	LineageId     string   `protobuf:"bytes,3,opt,name=lineage_id,json=lineageId,proto3" json:"lineage_id,omitempty"`
	UnixMs        int64    `protobuf:"varint,4,opt,name=unix_ms,json=unixMs,proto3" json:"unix_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteTransition) Descriptor deprecated

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

Deprecated: Use RouteTransition.ProtoReflect.Descriptor instead.

func (*RouteTransition) GetChildRouteIds

func (x *RouteTransition) GetChildRouteIds() []uint64

func (*RouteTransition) GetLineageId

func (x *RouteTransition) GetLineageId() string

func (*RouteTransition) GetParentRouteId

func (x *RouteTransition) GetParentRouteId() uint64

func (*RouteTransition) GetUnixMs

func (x *RouteTransition) GetUnixMs() int64

func (*RouteTransition) ProtoMessage

func (*RouteTransition) ProtoMessage()

func (*RouteTransition) ProtoReflect

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

func (*RouteTransition) Reset

func (x *RouteTransition) Reset()

func (*RouteTransition) String

func (x *RouteTransition) String() string

type SampleRole

type SampleRole int32
const (
	SampleRole_SAMPLE_ROLE_UNSPECIFIED   SampleRole = 0
	SampleRole_SAMPLE_ROLE_LEADER_WRITE  SampleRole = 1
	SampleRole_SAMPLE_ROLE_LEADER_READ   SampleRole = 2
	SampleRole_SAMPLE_ROLE_FOLLOWER_READ SampleRole = 3
)

func (SampleRole) Descriptor

func (SampleRole) Descriptor() protoreflect.EnumDescriptor

func (SampleRole) Enum

func (x SampleRole) Enum() *SampleRole

func (SampleRole) EnumDescriptor deprecated

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

Deprecated: Use SampleRole.Descriptor instead.

func (SampleRole) Number

func (x SampleRole) Number() protoreflect.EnumNumber

func (SampleRole) String

func (x SampleRole) String() string

func (SampleRole) Type

type ScanRequest

type ScanRequest struct {
	StartKey []byte `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"`
	EndKey   []byte `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
	Limit    uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanRequest) Descriptor deprecated

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

Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.

func (*ScanRequest) GetEndKey

func (x *ScanRequest) GetEndKey() []byte

func (*ScanRequest) GetLimit

func (x *ScanRequest) GetLimit() uint64

func (*ScanRequest) GetStartKey

func (x *ScanRequest) GetStartKey() []byte

func (*ScanRequest) ProtoMessage

func (*ScanRequest) ProtoMessage()

func (*ScanRequest) ProtoReflect

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

func (*ScanRequest) Reset

func (x *ScanRequest) Reset()

func (*ScanRequest) String

func (x *ScanRequest) String() string

type ScanResponse

type ScanResponse struct {
	Kv []*Kv `protobuf:"bytes,1,rep,name=kv,proto3" json:"kv,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanResponse) Descriptor deprecated

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

Deprecated: Use ScanResponse.ProtoReflect.Descriptor instead.

func (*ScanResponse) GetKv

func (x *ScanResponse) GetKv() []*Kv

func (*ScanResponse) ProtoMessage

func (*ScanResponse) ProtoMessage()

func (*ScanResponse) ProtoReflect

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

func (*ScanResponse) Reset

func (x *ScanResponse) Reset()

func (*ScanResponse) String

func (x *ScanResponse) String() string

type SidecarStateReport

type SidecarStateReport struct {
	WrappedDeksById          map[uint32][]byte `` /* 185-byte string literal not displayed */
	ActiveStorageId          uint32            `protobuf:"varint,2,opt,name=active_storage_id,json=activeStorageId,proto3" json:"active_storage_id,omitempty"`
	ActiveRaftId             uint32            `protobuf:"varint,3,opt,name=active_raft_id,json=activeRaftId,proto3" json:"active_raft_id,omitempty"`
	StorageEnvelopeActive    bool              `` /* 127-byte string literal not displayed */
	RaftEnvelopeCutoverIndex uint64            `` /* 138-byte string literal not displayed */
	LatestAppliedIndex       uint64            `protobuf:"varint,6,opt,name=latest_applied_index,json=latestAppliedIndex,proto3" json:"latest_applied_index,omitempty"`
	WriterRegistryForCaller  map[uint32]uint32 `` // values MUST be <= 0xFFFF.
	/* 210-byte string literal not displayed */
	// contains filtered or unexported fields
}

SidecarStateReport is the §5.5 compaction-fallback RPC. Served on every node but the cutover-recovery flow only consults the leader's response. wrapped_deks_by_id covers every unretired DEK.

func (*SidecarStateReport) Descriptor deprecated

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

Deprecated: Use SidecarStateReport.ProtoReflect.Descriptor instead.

func (*SidecarStateReport) GetActiveRaftId

func (x *SidecarStateReport) GetActiveRaftId() uint32

func (*SidecarStateReport) GetActiveStorageId

func (x *SidecarStateReport) GetActiveStorageId() uint32

func (*SidecarStateReport) GetLatestAppliedIndex

func (x *SidecarStateReport) GetLatestAppliedIndex() uint64

func (*SidecarStateReport) GetRaftEnvelopeCutoverIndex

func (x *SidecarStateReport) GetRaftEnvelopeCutoverIndex() uint64

func (*SidecarStateReport) GetStorageEnvelopeActive

func (x *SidecarStateReport) GetStorageEnvelopeActive() bool

func (*SidecarStateReport) GetWrappedDeksById

func (x *SidecarStateReport) GetWrappedDeksById() map[uint32][]byte

func (*SidecarStateReport) GetWriterRegistryForCaller

func (x *SidecarStateReport) GetWriterRegistryForCaller() map[uint32]uint32

func (*SidecarStateReport) ProtoMessage

func (*SidecarStateReport) ProtoMessage()

func (*SidecarStateReport) ProtoReflect

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

func (*SidecarStateReport) Reset

func (x *SidecarStateReport) Reset()

func (*SidecarStateReport) String

func (x *SidecarStateReport) String() string

type SplitRangeRequest

type SplitRangeRequest struct {
	ExpectedCatalogVersion uint64 `` /* 130-byte string literal not displayed */
	RouteId                uint64 `protobuf:"varint,2,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	SplitKey               []byte `protobuf:"bytes,3,opt,name=split_key,json=splitKey,proto3" json:"split_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitRangeRequest) Descriptor deprecated

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

Deprecated: Use SplitRangeRequest.ProtoReflect.Descriptor instead.

func (*SplitRangeRequest) GetExpectedCatalogVersion

func (x *SplitRangeRequest) GetExpectedCatalogVersion() uint64

func (*SplitRangeRequest) GetRouteId

func (x *SplitRangeRequest) GetRouteId() uint64

func (*SplitRangeRequest) GetSplitKey

func (x *SplitRangeRequest) GetSplitKey() []byte

func (*SplitRangeRequest) ProtoMessage

func (*SplitRangeRequest) ProtoMessage()

func (*SplitRangeRequest) ProtoReflect

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

func (*SplitRangeRequest) Reset

func (x *SplitRangeRequest) Reset()

func (*SplitRangeRequest) String

func (x *SplitRangeRequest) String() string

type SplitRangeResponse

type SplitRangeResponse struct {
	CatalogVersion uint64           `protobuf:"varint,1,opt,name=catalog_version,json=catalogVersion,proto3" json:"catalog_version,omitempty"`
	Left           *RouteDescriptor `protobuf:"bytes,2,opt,name=left,proto3" json:"left,omitempty"`
	Right          *RouteDescriptor `protobuf:"bytes,3,opt,name=right,proto3" json:"right,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitRangeResponse) Descriptor deprecated

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

Deprecated: Use SplitRangeResponse.ProtoReflect.Descriptor instead.

func (*SplitRangeResponse) GetCatalogVersion

func (x *SplitRangeResponse) GetCatalogVersion() uint64

func (*SplitRangeResponse) GetLeft

func (x *SplitRangeResponse) GetLeft() *RouteDescriptor

func (*SplitRangeResponse) GetRight

func (x *SplitRangeResponse) GetRight() *RouteDescriptor

func (*SplitRangeResponse) ProtoMessage

func (*SplitRangeResponse) ProtoMessage()

func (*SplitRangeResponse) ProtoReflect

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

func (*SplitRangeResponse) Reset

func (x *SplitRangeResponse) Reset()

func (*SplitRangeResponse) String

func (x *SplitRangeResponse) String() string

type StreamEventsEvent

type StreamEventsEvent struct {

	// Types that are valid to be assigned to Event:
	//
	//	*StreamEventsEvent_RouteTransition
	//	*StreamEventsEvent_KeyvizColumn
	Event isStreamEventsEvent_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*StreamEventsEvent) Descriptor deprecated

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

Deprecated: Use StreamEventsEvent.ProtoReflect.Descriptor instead.

func (*StreamEventsEvent) GetEvent

func (x *StreamEventsEvent) GetEvent() isStreamEventsEvent_Event

func (*StreamEventsEvent) GetKeyvizColumn

func (x *StreamEventsEvent) GetKeyvizColumn() *KeyVizColumn

func (*StreamEventsEvent) GetRouteTransition

func (x *StreamEventsEvent) GetRouteTransition() *RouteTransition

func (*StreamEventsEvent) ProtoMessage

func (*StreamEventsEvent) ProtoMessage()

func (*StreamEventsEvent) ProtoReflect

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

func (*StreamEventsEvent) Reset

func (x *StreamEventsEvent) Reset()

func (*StreamEventsEvent) String

func (x *StreamEventsEvent) String() string

type StreamEventsEvent_KeyvizColumn

type StreamEventsEvent_KeyvizColumn struct {
	KeyvizColumn *KeyVizColumn `protobuf:"bytes,2,opt,name=keyviz_column,json=keyvizColumn,proto3,oneof"`
}

type StreamEventsEvent_RouteTransition

type StreamEventsEvent_RouteTransition struct {
	RouteTransition *RouteTransition `protobuf:"bytes,1,opt,name=route_transition,json=routeTransition,proto3,oneof"`
}

type StreamEventsRequest

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

func (*StreamEventsRequest) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) ProtoMessage

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect

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

func (*StreamEventsRequest) Reset

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) String

func (x *StreamEventsRequest) String() string

type TransactionalKVClient

type TransactionalKVClient interface {
	Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	Scan(ctx context.Context, in *ScanRequest, opts ...grpc.CallOption) (*ScanResponse, error)
	PreWrite(ctx context.Context, in *PreWriteRequest, opts ...grpc.CallOption) (*PreCommitResponse, error)
	Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error)
	Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error)
}

TransactionalKVClient is the client API for TransactionalKV 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.

type TransactionalKVServer

type TransactionalKVServer interface {
	Put(context.Context, *PutRequest) (*PutResponse, error)
	Get(context.Context, *GetRequest) (*GetResponse, error)
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	Scan(context.Context, *ScanRequest) (*ScanResponse, error)
	PreWrite(context.Context, *PreWriteRequest) (*PreCommitResponse, error)
	Commit(context.Context, *CommitRequest) (*CommitResponse, error)
	Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error)
	// contains filtered or unexported methods
}

TransactionalKVServer is the server API for TransactionalKV service. All implementations must embed UnimplementedTransactionalKVServer for forward compatibility.

type UnimplementedAdminForwardServer

type UnimplementedAdminForwardServer struct{}

UnimplementedAdminForwardServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAdminForwardServer) Forward

type UnimplementedAdminServer

type UnimplementedAdminServer struct{}

UnimplementedAdminServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAdminServer) GetKeyVizMatrix

func (UnimplementedAdminServer) GetRaftGroups

func (UnimplementedAdminServer) GetRouteDetail

type UnimplementedDistributionServer

type UnimplementedDistributionServer struct{}

UnimplementedDistributionServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDistributionServer) GetRoute

func (UnimplementedDistributionServer) GetTimestamp

func (UnimplementedDistributionServer) ListRoutes

func (UnimplementedDistributionServer) SplitRange

type UnimplementedEncryptionAdminServer

type UnimplementedEncryptionAdminServer struct{}

UnimplementedEncryptionAdminServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEncryptionAdminServer) BootstrapEncryption

func (UnimplementedEncryptionAdminServer) EnableRaftEnvelope

func (UnimplementedEncryptionAdminServer) GetCapability

func (UnimplementedEncryptionAdminServer) GetSidecarState

func (UnimplementedEncryptionAdminServer) ResyncSidecar

func (UnimplementedEncryptionAdminServer) RotateDEK

type UnimplementedEtcdRaftServer

type UnimplementedEtcdRaftServer struct{}

UnimplementedEtcdRaftServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedEtcdRaftServer) Send

type UnimplementedInternalServer

type UnimplementedInternalServer struct{}

UnimplementedInternalServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedInternalServer) Forward

func (UnimplementedInternalServer) RelayPublish

type UnimplementedRaftAdminServer

type UnimplementedRaftAdminServer struct{}

UnimplementedRaftAdminServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnimplementedRawKVServer

type UnimplementedRawKVServer struct{}

UnimplementedRawKVServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRawKVServer) RawDelete

func (UnimplementedRawKVServer) RawGet

func (UnimplementedRawKVServer) RawPut

func (UnimplementedRawKVServer) RawScanAt

type UnimplementedTransactionalKVServer

type UnimplementedTransactionalKVServer struct{}

UnimplementedTransactionalKVServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTransactionalKVServer) Commit

func (UnimplementedTransactionalKVServer) Delete

func (UnimplementedTransactionalKVServer) Get

func (UnimplementedTransactionalKVServer) PreWrite

func (UnimplementedTransactionalKVServer) Put

func (UnimplementedTransactionalKVServer) Rollback

func (UnimplementedTransactionalKVServer) Scan

type UnsafeAdminForwardServer

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

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

type UnsafeAdminServer

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

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

type UnsafeDistributionServer

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

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

type UnsafeEncryptionAdminServer

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

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

type UnsafeEtcdRaftServer

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

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

type UnsafeInternalServer

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

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

type UnsafeRaftAdminServer

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

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

type UnsafeRawKVServer

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

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

type UnsafeTransactionalKVServer

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

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

type WriterRegistryEntry

type WriterRegistryEntry struct {
	FullNodeId uint64 `protobuf:"varint,1,opt,name=full_node_id,json=fullNodeId,proto3" json:"full_node_id,omitempty"`
	LocalEpoch uint32 `protobuf:"varint,2,opt,name=local_epoch,json=localEpoch,proto3" json:"local_epoch,omitempty"` // MUST be <= 0xFFFF on the wire.
	// contains filtered or unexported fields
}

WriterRegistryEntry is the per-member input the leader collects during the §5.6 step 1a batch. The two uint32 fields cover the 64-bit full_node_id and the 16-bit local_epoch (carried as uint32; <= 0xFFFF validated at the server boundary).

func (*WriterRegistryEntry) Descriptor deprecated

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

Deprecated: Use WriterRegistryEntry.ProtoReflect.Descriptor instead.

func (*WriterRegistryEntry) GetFullNodeId

func (x *WriterRegistryEntry) GetFullNodeId() uint64

func (*WriterRegistryEntry) GetLocalEpoch

func (x *WriterRegistryEntry) GetLocalEpoch() uint32

func (*WriterRegistryEntry) ProtoMessage

func (*WriterRegistryEntry) ProtoMessage()

func (*WriterRegistryEntry) ProtoReflect

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

func (*WriterRegistryEntry) Reset

func (x *WriterRegistryEntry) Reset()

func (*WriterRegistryEntry) String

func (x *WriterRegistryEntry) String() string

Jump to

Keyboard shortcuts

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