Documentation
¶
Index ¶
- func RegisterBlockdServer(s *grpc.Server, srv BlockdServer)
- type BlockdClient
- type BlockdServer
- type ResizePartitionRequest
- func (*ResizePartitionRequest) Descriptor() ([]byte, []int)
- func (m *ResizePartitionRequest) GetNumber() int32
- func (m *ResizePartitionRequest) GetSize() int64
- func (*ResizePartitionRequest) ProtoMessage()
- func (m *ResizePartitionRequest) Reset()
- func (m *ResizePartitionRequest) String() string
- func (m *ResizePartitionRequest) XXX_DiscardUnknown()
- func (m *ResizePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResizePartitionRequest) XXX_Merge(src proto.Message)
- func (m *ResizePartitionRequest) XXX_Size() int
- func (m *ResizePartitionRequest) XXX_Unmarshal(b []byte) error
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
Click to show internal directories.
Click to hide internal directories.