rpc

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataServer

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

func NewDataServer

func NewDataServer(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 NewReplicaServer

func NewReplicaServer(s *replica.Server) *ReplicaServer

func (*ReplicaServer) DiskMarkAsRemoved

func (rs *ReplicaServer) DiskMarkAsRemoved(ctx context.Context, req *ptypes.DiskMarkAsRemovedRequest) (*ptypes.Replica, error)

func (*ReplicaServer) DiskPrepareRemove

func (*ReplicaServer) DiskRemove

func (rs *ReplicaServer) DiskRemove(ctx context.Context, req *ptypes.DiskRemoveRequest) (*ptypes.Replica, error)

func (*ReplicaServer) DiskReplace

func (rs *ReplicaServer) DiskReplace(ctx context.Context, req *ptypes.DiskReplaceRequest) (*ptypes.Replica, error)

func (*ReplicaServer) RebuildingSet

func (rs *ReplicaServer) RebuildingSet(ctx context.Context, req *ptypes.RebuildingSetRequest) (*ptypes.Replica, error)

func (*ReplicaServer) ReplicaClose

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

func (*ReplicaServer) ReplicaCreate

func (rs *ReplicaServer) ReplicaCreate(ctx context.Context, req *ptypes.ReplicaCreateRequest) (*ptypes.Replica, error)

func (*ReplicaServer) ReplicaDelete

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

func (*ReplicaServer) ReplicaExpand

func (rs *ReplicaServer) ReplicaExpand(ctx context.Context, req *ptypes.ReplicaExpandRequest) (*ptypes.Replica, error)

func (*ReplicaServer) ReplicaGet

func (rs *ReplicaServer) ReplicaGet(ctx context.Context, req *empty.Empty) (*ptypes.Replica, error)

func (*ReplicaServer) ReplicaOpen

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

func (*ReplicaServer) ReplicaReload

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

func (*ReplicaServer) ReplicaRevert

func (rs *ReplicaServer) ReplicaRevert(ctx context.Context, req *ptypes.ReplicaRevertRequest) (*ptypes.Replica, error)

func (*ReplicaServer) ReplicaSnapshot

func (rs *ReplicaServer) ReplicaSnapshot(ctx context.Context, req *ptypes.ReplicaSnapshotRequest) (*ptypes.Replica, error)

func (*ReplicaServer) RevisionCounterSet

func (rs *ReplicaServer) RevisionCounterSet(ctx context.Context, req *ptypes.RevisionCounterSetRequest) (*ptypes.Replica, error)

Jump to

Keyboard shortcuts

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