excel

package
v0.0.0-...-b63aa1a Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterService

func RegisterService(s giraffe_micro.Server, srv Service)

Types

type Client

type Client interface {
}

Client is the client API for excel service.

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

func NewClient

func NewClient(c giraffe_micro.Client) Client

type GetIDCDeviceExcelRequest

type GetIDCDeviceExcelRequest struct {
	//
	//机房ID
	IdcId string `protobuf:"bytes,1,opt,name=idcId,proto3" json:"idcId" form:"idcId"`
	//
	//文件名
	FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName" form:"fileName"`
	//
	//设备信息
	Data                 []*GetIDCDeviceExcelRequest_Data `protobuf:"bytes,3,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

GetIDCDeviceExcel请求

func (*GetIDCDeviceExcelRequest) Descriptor

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

func (*GetIDCDeviceExcelRequest) GetData

func (*GetIDCDeviceExcelRequest) GetFileName

func (m *GetIDCDeviceExcelRequest) GetFileName() string

func (*GetIDCDeviceExcelRequest) GetIdcId

func (m *GetIDCDeviceExcelRequest) GetIdcId() string

func (*GetIDCDeviceExcelRequest) ProtoMessage

func (*GetIDCDeviceExcelRequest) ProtoMessage()

func (*GetIDCDeviceExcelRequest) Reset

func (m *GetIDCDeviceExcelRequest) Reset()

func (*GetIDCDeviceExcelRequest) String

func (m *GetIDCDeviceExcelRequest) String() string

func (*GetIDCDeviceExcelRequest) Validate

func (this *GetIDCDeviceExcelRequest) Validate() error

func (*GetIDCDeviceExcelRequest) XXX_DiscardUnknown

func (m *GetIDCDeviceExcelRequest) XXX_DiscardUnknown()

func (*GetIDCDeviceExcelRequest) XXX_Marshal

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

func (*GetIDCDeviceExcelRequest) XXX_Merge

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

func (*GetIDCDeviceExcelRequest) XXX_Size

func (m *GetIDCDeviceExcelRequest) XXX_Size() int

func (*GetIDCDeviceExcelRequest) XXX_Unmarshal

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

type GetIDCDeviceExcelRequest_Data

type GetIDCDeviceExcelRequest_Data struct {
	//
	//设备名称
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"`
	//
	//所在机房
	IdcName string `protobuf:"bytes,2,opt,name=idcName,proto3" json:"idcName" form:"idcName"`
	//
	//所属机柜名称
	RackName string `protobuf:"bytes,3,opt,name=rackName,proto3" json:"rackName" form:"rackName"`
	//
	//所属机柜编号
	RackCode string `protobuf:"bytes,4,opt,name=rackCode,proto3" json:"rackCode" form:"rackCode"`
	//
	//设备类型
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type" form:"type"`
	//
	//起始U位
	StartU int32 `protobuf:"varint,6,opt,name=startU,proto3" json:"startU" form:"startU"`
	//
	//占用U位
	OccupiedU int32 `protobuf:"varint,7,opt,name=occupiedU,proto3" json:"occupiedU" form:"occupiedU"`
	//
	//管理IP
	Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip" form:"ip"`
	//
	//状态
	Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status" form:"status"`
	//
	//资产编号
	PropertyId string `protobuf:"bytes,10,opt,name=propertyId,proto3" json:"propertyId" form:"propertyId"`
	//
	//用途
	Use string `protobuf:"bytes,11,opt,name=use,proto3" json:"use" form:"use"`
	//
	//是否是单电源设备
	IsSinglePowerDevice bool `protobuf:"varint,12,opt,name=isSinglePowerDevice,proto3" json:"isSinglePowerDevice" form:"isSinglePowerDevice"`
	//
	//关联的客户
	Customers string `protobuf:"bytes,13,opt,name=customers,proto3" json:"customers" form:"customers"`
	//
	//关联产品线
	Products             string   `protobuf:"bytes,14,opt,name=products,proto3" json:"products" form:"products"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetIDCDeviceExcelRequest_Data) Descriptor

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

func (*GetIDCDeviceExcelRequest_Data) GetCustomers

func (m *GetIDCDeviceExcelRequest_Data) GetCustomers() string

func (*GetIDCDeviceExcelRequest_Data) GetIdcName

func (m *GetIDCDeviceExcelRequest_Data) GetIdcName() string

func (*GetIDCDeviceExcelRequest_Data) GetIp

func (*GetIDCDeviceExcelRequest_Data) GetIsSinglePowerDevice

func (m *GetIDCDeviceExcelRequest_Data) GetIsSinglePowerDevice() bool

func (*GetIDCDeviceExcelRequest_Data) GetName

func (*GetIDCDeviceExcelRequest_Data) GetOccupiedU

func (m *GetIDCDeviceExcelRequest_Data) GetOccupiedU() int32

func (*GetIDCDeviceExcelRequest_Data) GetProducts

func (m *GetIDCDeviceExcelRequest_Data) GetProducts() string

func (*GetIDCDeviceExcelRequest_Data) GetPropertyId

func (m *GetIDCDeviceExcelRequest_Data) GetPropertyId() string

func (*GetIDCDeviceExcelRequest_Data) GetRackCode

func (m *GetIDCDeviceExcelRequest_Data) GetRackCode() string

func (*GetIDCDeviceExcelRequest_Data) GetRackName

func (m *GetIDCDeviceExcelRequest_Data) GetRackName() string

func (*GetIDCDeviceExcelRequest_Data) GetStartU

func (m *GetIDCDeviceExcelRequest_Data) GetStartU() int32

func (*GetIDCDeviceExcelRequest_Data) GetStatus

func (m *GetIDCDeviceExcelRequest_Data) GetStatus() string

func (*GetIDCDeviceExcelRequest_Data) GetType

func (*GetIDCDeviceExcelRequest_Data) GetUse

func (*GetIDCDeviceExcelRequest_Data) ProtoMessage

func (*GetIDCDeviceExcelRequest_Data) ProtoMessage()

func (*GetIDCDeviceExcelRequest_Data) Reset

func (m *GetIDCDeviceExcelRequest_Data) Reset()

func (*GetIDCDeviceExcelRequest_Data) String

func (*GetIDCDeviceExcelRequest_Data) Validate

func (this *GetIDCDeviceExcelRequest_Data) Validate() error

func (*GetIDCDeviceExcelRequest_Data) XXX_DiscardUnknown

func (m *GetIDCDeviceExcelRequest_Data) XXX_DiscardUnknown()

func (*GetIDCDeviceExcelRequest_Data) XXX_Marshal

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

func (*GetIDCDeviceExcelRequest_Data) XXX_Merge

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

func (*GetIDCDeviceExcelRequest_Data) XXX_Size

func (m *GetIDCDeviceExcelRequest_Data) XXX_Size() int

func (*GetIDCDeviceExcelRequest_Data) XXX_Unmarshal

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

type GetIDCRackExcelRequest

type GetIDCRackExcelRequest struct {
	//
	//机房ID
	IdcId string `protobuf:"bytes,1,opt,name=idcId,proto3" json:"idcId" form:"idcId"`
	//
	//文件名
	FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName" form:"fileName"`
	//
	//机柜信息
	Data                 []*GetIDCRackExcelRequest_Data `protobuf:"bytes,3,rep,name=data,proto3" json:"data" form:"data"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

GetIDCRackExcel请求

func (*GetIDCRackExcelRequest) Descriptor

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

func (*GetIDCRackExcelRequest) GetData

func (*GetIDCRackExcelRequest) GetFileName

func (m *GetIDCRackExcelRequest) GetFileName() string

func (*GetIDCRackExcelRequest) GetIdcId

func (m *GetIDCRackExcelRequest) GetIdcId() string

func (*GetIDCRackExcelRequest) ProtoMessage

func (*GetIDCRackExcelRequest) ProtoMessage()

func (*GetIDCRackExcelRequest) Reset

func (m *GetIDCRackExcelRequest) Reset()

func (*GetIDCRackExcelRequest) String

func (m *GetIDCRackExcelRequest) String() string

func (*GetIDCRackExcelRequest) Validate

func (this *GetIDCRackExcelRequest) Validate() error

func (*GetIDCRackExcelRequest) XXX_DiscardUnknown

func (m *GetIDCRackExcelRequest) XXX_DiscardUnknown()

func (*GetIDCRackExcelRequest) XXX_Marshal

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

func (*GetIDCRackExcelRequest) XXX_Merge

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

func (*GetIDCRackExcelRequest) XXX_Size

func (m *GetIDCRackExcelRequest) XXX_Size() int

func (*GetIDCRackExcelRequest) XXX_Unmarshal

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

type GetIDCRackExcelRequest_Data

type GetIDCRackExcelRequest_Data struct {
	//
	//所属机房
	IdcName string `protobuf:"bytes,1,opt,name=idcName,proto3" json:"idcName" form:"idcName"`
	//
	//状态
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status" form:"status"`
	//
	//机柜类型
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"`
	//
	//已使用U数
	OccupiedU int32 `protobuf:"varint,4,opt,name=occupiedU,proto3" json:"occupiedU" form:"occupiedU"`
	//
	//占用率(如:98.1%)
	OccupiedUPercentage string `protobuf:"bytes,5,opt,name=occupiedUPercentage,proto3" json:"occupiedUPercentage" form:"occupiedUPercentage"`
	//
	//最大连续可用U数
	MaxuSize int32 `protobuf:"varint,6,opt,name=maxuSize,proto3" json:"maxuSize" form:"maxuSize"`
	//
	//关联产品线
	Products string `protobuf:"bytes,7,opt,name=products,proto3" json:"products" form:"products"`
	//
	//关联的客户
	Customers string `protobuf:"bytes,8,opt,name=customers,proto3" json:"customers" form:"customers"`
	//
	//是否包含单电源设备
	HasSinglePowerDevice bool `protobuf:"varint,9,opt,name=hasSinglePowerDevice,proto3" json:"hasSinglePowerDevice" form:"hasSinglePowerDevice"`
	//
	//备注
	Memo string `protobuf:"bytes,10,opt,name=memo,proto3" json:"memo" form:"memo"`
	//
	//机柜ID
	InstanceId string `protobuf:"bytes,11,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
	//
	//机柜名称
	Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name" form:"name"`
	//
	//机柜编号
	Code string `protobuf:"bytes,13,opt,name=code,proto3" json:"code" form:"code"`
	//
	//机柜U数
	Unum int32 `protobuf:"varint,14,opt,name=unum,proto3" json:"unum" form:"unum"`
	//
	//空闲U位数
	FreeUnum             int32    `protobuf:"varint,15,opt,name=freeUnum,proto3" json:"freeUnum" form:"freeUnum"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetIDCRackExcelRequest_Data) Descriptor

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

func (*GetIDCRackExcelRequest_Data) GetCode

func (m *GetIDCRackExcelRequest_Data) GetCode() string

func (*GetIDCRackExcelRequest_Data) GetCustomers

func (m *GetIDCRackExcelRequest_Data) GetCustomers() string

func (*GetIDCRackExcelRequest_Data) GetFreeUnum

func (m *GetIDCRackExcelRequest_Data) GetFreeUnum() int32

func (*GetIDCRackExcelRequest_Data) GetHasSinglePowerDevice

func (m *GetIDCRackExcelRequest_Data) GetHasSinglePowerDevice() bool

func (*GetIDCRackExcelRequest_Data) GetIdcName

func (m *GetIDCRackExcelRequest_Data) GetIdcName() string

func (*GetIDCRackExcelRequest_Data) GetInstanceId

func (m *GetIDCRackExcelRequest_Data) GetInstanceId() string

func (*GetIDCRackExcelRequest_Data) GetMaxuSize

func (m *GetIDCRackExcelRequest_Data) GetMaxuSize() int32

func (*GetIDCRackExcelRequest_Data) GetMemo

func (m *GetIDCRackExcelRequest_Data) GetMemo() string

func (*GetIDCRackExcelRequest_Data) GetName

func (m *GetIDCRackExcelRequest_Data) GetName() string

func (*GetIDCRackExcelRequest_Data) GetOccupiedU

func (m *GetIDCRackExcelRequest_Data) GetOccupiedU() int32

func (*GetIDCRackExcelRequest_Data) GetOccupiedUPercentage

func (m *GetIDCRackExcelRequest_Data) GetOccupiedUPercentage() string

func (*GetIDCRackExcelRequest_Data) GetProducts

func (m *GetIDCRackExcelRequest_Data) GetProducts() string

func (*GetIDCRackExcelRequest_Data) GetStatus

func (m *GetIDCRackExcelRequest_Data) GetStatus() string

func (*GetIDCRackExcelRequest_Data) GetType

func (m *GetIDCRackExcelRequest_Data) GetType() string

func (*GetIDCRackExcelRequest_Data) GetUnum

func (m *GetIDCRackExcelRequest_Data) GetUnum() int32

func (*GetIDCRackExcelRequest_Data) ProtoMessage

func (*GetIDCRackExcelRequest_Data) ProtoMessage()

func (*GetIDCRackExcelRequest_Data) Reset

func (m *GetIDCRackExcelRequest_Data) Reset()

func (*GetIDCRackExcelRequest_Data) String

func (m *GetIDCRackExcelRequest_Data) String() string

func (*GetIDCRackExcelRequest_Data) Validate

func (this *GetIDCRackExcelRequest_Data) Validate() error

func (*GetIDCRackExcelRequest_Data) XXX_DiscardUnknown

func (m *GetIDCRackExcelRequest_Data) XXX_DiscardUnknown()

func (*GetIDCRackExcelRequest_Data) XXX_Marshal

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

func (*GetIDCRackExcelRequest_Data) XXX_Merge

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

func (*GetIDCRackExcelRequest_Data) XXX_Size

func (m *GetIDCRackExcelRequest_Data) XXX_Size() int

func (*GetIDCRackExcelRequest_Data) XXX_Unmarshal

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

type Service

type Service interface {
}

Service is the server API for excel service.

Jump to

Keyboard shortcuts

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