server

package
v0.0.0-...-8469aa6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() pb.LVMServer

NewServer new server

Types

type Server

type Server struct {
}

Server lvm grpc server

func (Server) AddTagLV

func (s Server) AddTagLV(ctx context.Context, in *pb.AddTagLVRequest) (*pb.AddTagLVReply, error)

AddTagLV add lv tag

func (Server) CloneLV

func (s Server) CloneLV(ctx context.Context, in *pb.CloneLVRequest) (*pb.CloneLVReply, error)

CloneLV clone lv

func (Server) CreateLV

func (s Server) CreateLV(ctx context.Context, in *pb.CreateLVRequest) (*pb.CreateLVReply, error)

CreateLV create lv

func (Server) CreatePV

func (s Server) CreatePV(ctx context.Context, in *pb.CreatePVRequest) (*pb.CreatePVReply, error)

CreatePV create pv

func (Server) CreateVG

func (s Server) CreateVG(ctx context.Context, in *pb.CreateVGRequest) (*pb.CreateVGReply, error)

CreateVG create vg

func (Server) Destory

func (s Server) Destory(ctx context.Context, in *pb.DestoryRequest) (*pb.DestoryReply, error)

Destory destory block

func (Server) ExtendLV

func (s Server) ExtendLV(ctx context.Context, in *pb.ExtendLVRequest) (*pb.ExtendLVReply, error)

ExtendLV extend lv

func (Server) ExtendVG

func (s Server) ExtendVG(ctx context.Context, in *pb.ExtendVGRequest) (*pb.ExtendVGReply, error)

ExtendVG extend vg

func (Server) GetPVNum

func (s Server) GetPVNum(ctx context.Context, in *pb.CreateVGRequest) (*pb.GetPVNumReply, error)

GetPVNum get pv number

func (Server) ListLV

func (s Server) ListLV(ctx context.Context, in *pb.ListLVRequest) (*pb.ListLVReply, error)

ListLV list lv

func (Server) ListPV

func (s Server) ListPV(ctx context.Context, in *pb.ListPVRequest) (*pb.ListPVReply, error)

ListPV list pv

func (Server) ListVG

func (s Server) ListVG(ctx context.Context, in *pb.ListVGRequest) (*pb.ListVGReply, error)

ListVG list vg

func (Server) Match

func (s Server) Match(ctx context.Context, in *pb.MatchRequest) (*pb.MatchReply, error)

Match match block

func (Server) ReduceVG

func (s Server) ReduceVG(ctx context.Context, in *pb.ExtendVGRequest) (*pb.ExtendVGReply, error)

ReduceVG reduce vg

func (Server) RemoveLV

func (s Server) RemoveLV(ctx context.Context, in *pb.RemoveLVRequest) (*pb.RemoveLVReply, error)

RemoveLV remove lv

func (Server) RemovePV

func (s Server) RemovePV(ctx context.Context, in *pb.RemovePVRequest) (*pb.RemovePVReply, error)

RemovePV remove pv

func (Server) RemoveTagLV

func (s Server) RemoveTagLV(ctx context.Context, in *pb.RemoveTagLVRequest) (*pb.RemoveTagLVReply, error)

RemoveTagLV remove lv tag

func (Server) RemoveVG

func (s Server) RemoveVG(ctx context.Context, in *pb.CreateVGRequest) (*pb.RemoveVGReply, error)

RemoveVG remove vg

func (Server) Validate

func (s Server) Validate(ctx context.Context, in *pb.ValidateRequest) (*pb.ValidateReply, error)

Validate validate

Jump to

Keyboard shortcuts

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