rpc

package
v1.8.0-dev-20241006 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReplicaServer

func NewReplicaServer(volumeName, instanceName string, s *replica.Server) *grpc.Server

Types

type DataServer

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

func NewDataServer

func NewDataServer(protocol types.DataServerProtocol, address string, s *replica.Server) *DataServer

func (*DataServer) ListenAndServe

func (s *DataServer) ListenAndServe() error

type ReplicaHealthCheckServer

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

func NewReplicaHealthCheckServer

func NewReplicaHealthCheckServer(rs *ReplicaServer) *ReplicaHealthCheckServer

func (*ReplicaHealthCheckServer) Watch

type ReplicaServer

type ReplicaServer struct {
	enginerpc.UnimplementedReplicaServiceServer
	// contains filtered or unexported fields
}

func (*ReplicaServer) DiskRemove

func (*ReplicaServer) DiskReplace

func (*ReplicaServer) RebuildingSet

func (*ReplicaServer) ReplicaClose

func (*ReplicaServer) ReplicaCreate

func (*ReplicaServer) ReplicaDelete

func (rs *ReplicaServer) ReplicaDelete(ctx context.Context, req *emptypb.Empty) (*emptypb.Empty, error)

func (*ReplicaServer) ReplicaExpand

func (*ReplicaServer) ReplicaGet

func (*ReplicaServer) ReplicaOpen

func (*ReplicaServer) ReplicaReload

func (*ReplicaServer) ReplicaRevert

func (*ReplicaServer) ReplicaSnapshot

func (*ReplicaServer) SnapshotMaxCountSet added in v1.6.0

func (*ReplicaServer) SnapshotMaxSizeSet added in v1.6.0

func (*ReplicaServer) UnmapMarkDiskChainRemovedSet added in v1.4.0

Jump to

Keyboard shortcuts

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