proto

package
v0.0.0-...-088a001 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBlockdServer

func RegisterBlockdServer(s *grpc.Server, srv BlockdServer)

Types

type BlockdClient

type BlockdClient interface {
	Resize(ctx context.Context, in *ResizePartitionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

BlockdClient is the client API for Blockd service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBlockdClient

func NewBlockdClient(cc *grpc.ClientConn) BlockdClient

type BlockdServer

type BlockdServer interface {
	Resize(context.Context, *ResizePartitionRequest) (*empty.Empty, error)
}

BlockdServer is the server API for Blockd service.

type ResizePartitionRequest

type ResizePartitionRequest struct {
	Number               int32    `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Size                 int64    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request message containing the process name.

func (*ResizePartitionRequest) Descriptor

func (*ResizePartitionRequest) Descriptor() ([]byte, []int)

func (*ResizePartitionRequest) GetNumber

func (m *ResizePartitionRequest) GetNumber() int32

func (*ResizePartitionRequest) GetSize

func (m *ResizePartitionRequest) GetSize() int64

func (*ResizePartitionRequest) ProtoMessage

func (*ResizePartitionRequest) ProtoMessage()

func (*ResizePartitionRequest) Reset

func (m *ResizePartitionRequest) Reset()

func (*ResizePartitionRequest) String

func (m *ResizePartitionRequest) String() string

func (*ResizePartitionRequest) XXX_DiscardUnknown

func (m *ResizePartitionRequest) XXX_DiscardUnknown()

func (*ResizePartitionRequest) XXX_Marshal

func (m *ResizePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResizePartitionRequest) XXX_Merge

func (m *ResizePartitionRequest) XXX_Merge(src proto.Message)

func (*ResizePartitionRequest) XXX_Size

func (m *ResizePartitionRequest) XXX_Size() int

func (*ResizePartitionRequest) XXX_Unmarshal

func (m *ResizePartitionRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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