rpc

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 17 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 {
	// contains filtered or unexported fields
}

func (*ReplicaServer) DiskMarkAsRemoved

func (*ReplicaServer) DiskPrepareRemove

func (*ReplicaServer) DiskRemove

func (*ReplicaServer) DiskReplace

func (*ReplicaServer) RebuildingSet

func (*ReplicaServer) ReplicaClose

func (rs *ReplicaServer) ReplicaClose(ctx context.Context, req *emptypb.Empty) (*ptypes.ReplicaCloseResponse, error)

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 (rs *ReplicaServer) ReplicaGet(ctx context.Context, req *emptypb.Empty) (*ptypes.ReplicaGetResponse, error)

func (*ReplicaServer) ReplicaOpen

func (rs *ReplicaServer) ReplicaOpen(ctx context.Context, req *emptypb.Empty) (*ptypes.ReplicaOpenResponse, error)

func (*ReplicaServer) ReplicaReload

func (rs *ReplicaServer) ReplicaReload(ctx context.Context, req *emptypb.Empty) (*ptypes.ReplicaReloadResponse, error)

func (*ReplicaServer) ReplicaRevert

func (*ReplicaServer) ReplicaSnapshot

func (*ReplicaServer) RevisionCounterSet

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