rpc

package
v1.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GRPCRetryCount = 5
)

Variables

This section is empty.

Functions

func GetControllerGRPCServer

func GetControllerGRPCServer(volumeName, instanceName string, c *controller.Controller) *grpc.Server

Types

type ControllerHealthCheckServer

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

func NewControllerHealthCheckServer

func NewControllerHealthCheckServer(cs *ControllerServer) *ControllerHealthCheckServer

func (*ControllerHealthCheckServer) Check

func (*ControllerHealthCheckServer) Watch

type ControllerServer

type ControllerServer struct {
	enginerpc.UnimplementedControllerServiceServer
	// contains filtered or unexported fields
}

func NewControllerServer

func NewControllerServer(c *controller.Controller) *ControllerServer

func (*ControllerServer) ControllerReplicaCreate added in v1.1.0

func (*ControllerServer) JournalList

func (*ControllerServer) MetricsGet added in v1.4.0

func (*ControllerServer) ReplicaDelete

func (cs *ControllerServer) ReplicaDelete(ctx context.Context, req *enginerpc.ReplicaAddress) (*emptypb.Empty, error)

func (*ControllerServer) ReplicaGet

func (*ControllerServer) ReplicaList

func (*ControllerServer) ReplicaPrepareRebuild

func (*ControllerServer) ReplicaUpdate

func (*ControllerServer) ReplicaVerifyRebuild

func (cs *ControllerServer) ReplicaVerifyRebuild(ctx context.Context, req *enginerpc.ReplicaAddress) (*enginerpc.ControllerReplica, error)

func (*ControllerServer) VersionDetailGet

func (cs *ControllerServer) VersionDetailGet(ctx context.Context, req *emptypb.Empty) (*enginerpc.VersionDetailGetReply, error)

func (*ControllerServer) VolumeExpand

func (*ControllerServer) VolumeFrontendShutdown

func (cs *ControllerServer) VolumeFrontendShutdown(ctx context.Context, req *emptypb.Empty) (*enginerpc.Volume, error)

func (*ControllerServer) VolumeFrontendStart

func (*ControllerServer) VolumeGet

func (cs *ControllerServer) VolumeGet(ctx context.Context, req *emptypb.Empty) (*enginerpc.Volume, error)

func (*ControllerServer) VolumeRevert

func (*ControllerServer) VolumeShutdown

func (cs *ControllerServer) VolumeShutdown(ctx context.Context, req *emptypb.Empty) (*enginerpc.Volume, error)

func (*ControllerServer) VolumeSnapshot

func (*ControllerServer) VolumeSnapshotMaxCountSet added in v1.6.0

func (cs *ControllerServer) VolumeSnapshotMaxCountSet(ctx context.Context, req *enginerpc.VolumeSnapshotMaxCountSetRequest) (*enginerpc.Volume, error)

func (*ControllerServer) VolumeSnapshotMaxSizeSet added in v1.6.0

func (cs *ControllerServer) VolumeSnapshotMaxSizeSet(ctx context.Context, req *enginerpc.VolumeSnapshotMaxSizeSetRequest) (*enginerpc.Volume, error)

func (*ControllerServer) VolumeStart

func (*ControllerServer) VolumeUnmapMarkSnapChainRemovedSet added in v1.4.0

func (cs *ControllerServer) VolumeUnmapMarkSnapChainRemovedSet(ctx context.Context, req *enginerpc.VolumeUnmapMarkSnapChainRemovedSetRequest) (*enginerpc.Volume, error)

Jump to

Keyboard shortcuts

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