Documentation ¶
Index ¶
- Variables
- func RegisterISCSIManagerServer(s *grpc.Server, srv ISCSIManagerServer)
- type CreateLUNRequest
- type CreateLUNResponse
- func (*CreateLUNResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLUNResponse) GetIqn() string
- func (x *CreateLUNResponse) GetLun() uint32
- func (*CreateLUNResponse) ProtoMessage()
- func (x *CreateLUNResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLUNResponse) Reset()
- func (x *CreateLUNResponse) String() string
- type ISCSIManagerClient
- type ISCSIManagerServer
- type UnimplementedISCSIManagerServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_iscsimanager_iscsi_manager_proto protoreflect.FileDescriptor
Functions ¶
func RegisterISCSIManagerServer ¶
func RegisterISCSIManagerServer(s *grpc.Server, srv ISCSIManagerServer)
Types ¶
type CreateLUNRequest ¶
type CreateLUNRequest struct { CapacityGb uint32 `protobuf:"varint,1,opt,name=capacity_gb,json=capacityGb,proto3" json:"capacity_gb,omitempty"` // contains filtered or unexported fields }
func (*CreateLUNRequest) Descriptor
deprecated
func (*CreateLUNRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLUNRequest.ProtoReflect.Descriptor instead.
func (*CreateLUNRequest) GetCapacityGb ¶
func (x *CreateLUNRequest) GetCapacityGb() uint32
func (*CreateLUNRequest) ProtoMessage ¶
func (*CreateLUNRequest) ProtoMessage()
func (*CreateLUNRequest) ProtoReflect ¶
func (x *CreateLUNRequest) ProtoReflect() protoreflect.Message
func (*CreateLUNRequest) Reset ¶
func (x *CreateLUNRequest) Reset()
func (*CreateLUNRequest) String ¶
func (x *CreateLUNRequest) String() string
type CreateLUNResponse ¶
type CreateLUNResponse struct { Iqn string `protobuf:"bytes,1,opt,name=iqn,proto3" json:"iqn,omitempty"` Lun uint32 `protobuf:"varint,2,opt,name=lun,proto3" json:"lun,omitempty"` // contains filtered or unexported fields }
func (*CreateLUNResponse) Descriptor
deprecated
func (*CreateLUNResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLUNResponse.ProtoReflect.Descriptor instead.
func (*CreateLUNResponse) GetIqn ¶
func (x *CreateLUNResponse) GetIqn() string
func (*CreateLUNResponse) GetLun ¶
func (x *CreateLUNResponse) GetLun() uint32
func (*CreateLUNResponse) ProtoMessage ¶
func (*CreateLUNResponse) ProtoMessage()
func (*CreateLUNResponse) ProtoReflect ¶
func (x *CreateLUNResponse) ProtoReflect() protoreflect.Message
func (*CreateLUNResponse) Reset ¶
func (x *CreateLUNResponse) Reset()
func (*CreateLUNResponse) String ¶
func (x *CreateLUNResponse) String() string
type ISCSIManagerClient ¶
type ISCSIManagerClient interface {
CreateLUN(ctx context.Context, in *CreateLUNRequest, opts ...grpc.CallOption) (*CreateLUNResponse, error)
}
ISCSIManagerClient is the client API for ISCSIManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewISCSIManagerClient ¶
func NewISCSIManagerClient(cc grpc.ClientConnInterface) ISCSIManagerClient
type ISCSIManagerServer ¶
type ISCSIManagerServer interface {
CreateLUN(context.Context, *CreateLUNRequest) (*CreateLUNResponse, error)
}
ISCSIManagerServer is the server API for ISCSIManager service.
type UnimplementedISCSIManagerServer ¶
type UnimplementedISCSIManagerServer struct { }
UnimplementedISCSIManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedISCSIManagerServer) CreateLUN ¶
func (*UnimplementedISCSIManagerServer) CreateLUN(context.Context, *CreateLUNRequest) (*CreateLUNResponse, error)
Click to show internal directories.
Click to hide internal directories.