iscsimanager

package
v0.0.0-...-08f12aa Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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.

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

Jump to

Keyboard shortcuts

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