Documentation ¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateUserSettingResponseWrapper
- func (*CreateUserSettingResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateUserSettingResponseWrapper) GetCode() int32
- func (m *CreateUserSettingResponseWrapper) GetCodeExplain() string
- func (m *CreateUserSettingResponseWrapper) GetData() *types.Empty
- func (m *CreateUserSettingResponseWrapper) GetError() string
- func (*CreateUserSettingResponseWrapper) ProtoMessage()
- func (m *CreateUserSettingResponseWrapper) Reset()
- func (m *CreateUserSettingResponseWrapper) String() string
- func (this *CreateUserSettingResponseWrapper) Validate() error
- func (m *CreateUserSettingResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateUserSettingResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserSettingResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateUserSettingResponseWrapper) XXX_Size() int
- func (m *CreateUserSettingResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListDeviceTypeResponse
- func (*ListDeviceTypeResponse) Descriptor() ([]byte, []int)
- func (m *ListDeviceTypeResponse) GetDeviceTypes() []string
- func (*ListDeviceTypeResponse) ProtoMessage()
- func (m *ListDeviceTypeResponse) Reset()
- func (m *ListDeviceTypeResponse) String() string
- func (this *ListDeviceTypeResponse) Validate() error
- func (m *ListDeviceTypeResponse) XXX_DiscardUnknown()
- func (m *ListDeviceTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDeviceTypeResponse) XXX_Merge(src proto.Message)
- func (m *ListDeviceTypeResponse) XXX_Size() int
- func (m *ListDeviceTypeResponse) XXX_Unmarshal(b []byte) error
- type ListDeviceTypeResponseWrapper
- func (*ListDeviceTypeResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListDeviceTypeResponseWrapper) GetCode() int32
- func (m *ListDeviceTypeResponseWrapper) GetCodeExplain() string
- func (m *ListDeviceTypeResponseWrapper) GetData() *ListDeviceTypeResponse
- func (m *ListDeviceTypeResponseWrapper) GetError() string
- func (*ListDeviceTypeResponseWrapper) ProtoMessage()
- func (m *ListDeviceTypeResponseWrapper) Reset()
- func (m *ListDeviceTypeResponseWrapper) String() string
- func (this *ListDeviceTypeResponseWrapper) Validate() error
- func (m *ListDeviceTypeResponseWrapper) XXX_DiscardUnknown()
- func (m *ListDeviceTypeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDeviceTypeResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListDeviceTypeResponseWrapper) XXX_Size() int
- func (m *ListDeviceTypeResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListIDCRackRequest
- func (*ListIDCRackRequest) Descriptor() ([]byte, []int)
- func (m *ListIDCRackRequest) GetIdcrackIds() string
- func (*ListIDCRackRequest) ProtoMessage()
- func (m *ListIDCRackRequest) Reset()
- func (m *ListIDCRackRequest) String() string
- func (this *ListIDCRackRequest) Validate() error
- func (m *ListIDCRackRequest) XXX_DiscardUnknown()
- func (m *ListIDCRackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackRequest) XXX_Merge(src proto.Message)
- func (m *ListIDCRackRequest) XXX_Size() int
- func (m *ListIDCRackRequest) XXX_Unmarshal(b []byte) error
- type ListIDCRackResponse
- func (*ListIDCRackResponse) Descriptor() ([]byte, []int)
- func (m *ListIDCRackResponse) GetList() []*ListIDCRackResponse_List
- func (m *ListIDCRackResponse) GetPage() int32
- func (m *ListIDCRackResponse) GetPageSize() int32
- func (m *ListIDCRackResponse) GetTotal() int32
- func (*ListIDCRackResponse) ProtoMessage()
- func (m *ListIDCRackResponse) Reset()
- func (m *ListIDCRackResponse) String() string
- func (this *ListIDCRackResponse) Validate() error
- func (m *ListIDCRackResponse) XXX_DiscardUnknown()
- func (m *ListIDCRackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackResponse) XXX_Merge(src proto.Message)
- func (m *ListIDCRackResponse) XXX_Size() int
- func (m *ListIDCRackResponse) XXX_Unmarshal(b []byte) error
- type ListIDCRackResponseWrapper
- func (*ListIDCRackResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListIDCRackResponseWrapper) GetCode() int32
- func (m *ListIDCRackResponseWrapper) GetCodeExplain() string
- func (m *ListIDCRackResponseWrapper) GetData() *ListIDCRackResponse
- func (m *ListIDCRackResponseWrapper) GetError() string
- func (*ListIDCRackResponseWrapper) ProtoMessage()
- func (m *ListIDCRackResponseWrapper) Reset()
- func (m *ListIDCRackResponseWrapper) String() string
- func (this *ListIDCRackResponseWrapper) Validate() error
- func (m *ListIDCRackResponseWrapper) XXX_DiscardUnknown()
- func (m *ListIDCRackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListIDCRackResponseWrapper) XXX_Size() int
- func (m *ListIDCRackResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListIDCRackResponse_List
- func (*ListIDCRackResponse_List) Descriptor() ([]byte, []int)
- func (m *ListIDCRackResponse_List) GetCode() string
- func (m *ListIDCRackResponse_List) GetCreator() string
- func (m *ListIDCRackResponse_List) GetCtime() string
- func (m *ListIDCRackResponse_List) GetFirewalls() []*idcmanager.Firewall
- func (m *ListIDCRackResponse_List) GetFreeUnum() int32
- func (m *ListIDCRackResponse_List) GetHosts() []*idcmanager.Host
- func (m *ListIDCRackResponse_List) GetIdc() *idcmanager.IDC
- func (m *ListIDCRackResponse_List) GetInstanceId() string
- func (m *ListIDCRackResponse_List) GetLayout() []*ListIDCRackResponse_List_Layout
- func (m *ListIDCRackResponse_List) GetMemo() string
- func (m *ListIDCRackResponse_List) GetName() string
- func (m *ListIDCRackResponse_List) GetRouters() []*idcmanager.Router
- func (m *ListIDCRackResponse_List) GetStatus() string
- func (m *ListIDCRackResponse_List) GetSwitchs() []*idcmanager.Switch
- func (m *ListIDCRackResponse_List) GetType() string
- func (m *ListIDCRackResponse_List) GetUnum() int32
- func (*ListIDCRackResponse_List) ProtoMessage()
- func (m *ListIDCRackResponse_List) Reset()
- func (m *ListIDCRackResponse_List) String() string
- func (this *ListIDCRackResponse_List) Validate() error
- func (m *ListIDCRackResponse_List) XXX_DiscardUnknown()
- func (m *ListIDCRackResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackResponse_List) XXX_Merge(src proto.Message)
- func (m *ListIDCRackResponse_List) XXX_Size() int
- func (m *ListIDCRackResponse_List) XXX_Unmarshal(b []byte) error
- type ListIDCRackResponse_List_Layout
- func (*ListIDCRackResponse_List_Layout) Descriptor() ([]byte, []int)
- func (m *ListIDCRackResponse_List_Layout) GetInstanceId() string
- func (m *ListIDCRackResponse_List_Layout) GetOccupiedU() int32
- func (m *ListIDCRackResponse_List_Layout) GetStartU() int32
- func (m *ListIDCRackResponse_List_Layout) GetType() string
- func (*ListIDCRackResponse_List_Layout) ProtoMessage()
- func (m *ListIDCRackResponse_List_Layout) Reset()
- func (m *ListIDCRackResponse_List_Layout) String() string
- func (this *ListIDCRackResponse_List_Layout) Validate() error
- func (m *ListIDCRackResponse_List_Layout) XXX_DiscardUnknown()
- func (m *ListIDCRackResponse_List_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackResponse_List_Layout) XXX_Merge(src proto.Message)
- func (m *ListIDCRackResponse_List_Layout) XXX_Size() int
- func (m *ListIDCRackResponse_List_Layout) XXX_Unmarshal(b []byte) error
- type ListIDCRackV2Request
- func (*ListIDCRackV2Request) Descriptor() ([]byte, []int)
- func (m *ListIDCRackV2Request) GetIdcrackIds() string
- func (*ListIDCRackV2Request) ProtoMessage()
- func (m *ListIDCRackV2Request) Reset()
- func (m *ListIDCRackV2Request) String() string
- func (this *ListIDCRackV2Request) Validate() error
- func (m *ListIDCRackV2Request) XXX_DiscardUnknown()
- func (m *ListIDCRackV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackV2Request) XXX_Merge(src proto.Message)
- func (m *ListIDCRackV2Request) XXX_Size() int
- func (m *ListIDCRackV2Request) XXX_Unmarshal(b []byte) error
- type ListIDCRackV2Response
- func (*ListIDCRackV2Response) Descriptor() ([]byte, []int)
- func (m *ListIDCRackV2Response) GetList() []*ListIDCRackV2Response_List
- func (m *ListIDCRackV2Response) GetPage() int32
- func (m *ListIDCRackV2Response) GetPageSize() int32
- func (m *ListIDCRackV2Response) GetTotal() int32
- func (*ListIDCRackV2Response) ProtoMessage()
- func (m *ListIDCRackV2Response) Reset()
- func (m *ListIDCRackV2Response) String() string
- func (this *ListIDCRackV2Response) Validate() error
- func (m *ListIDCRackV2Response) XXX_DiscardUnknown()
- func (m *ListIDCRackV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackV2Response) XXX_Merge(src proto.Message)
- func (m *ListIDCRackV2Response) XXX_Size() int
- func (m *ListIDCRackV2Response) XXX_Unmarshal(b []byte) error
- type ListIDCRackV2ResponseWrapper
- func (*ListIDCRackV2ResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListIDCRackV2ResponseWrapper) GetCode() int32
- func (m *ListIDCRackV2ResponseWrapper) GetCodeExplain() string
- func (m *ListIDCRackV2ResponseWrapper) GetData() *ListIDCRackV2Response
- func (m *ListIDCRackV2ResponseWrapper) GetError() string
- func (*ListIDCRackV2ResponseWrapper) ProtoMessage()
- func (m *ListIDCRackV2ResponseWrapper) Reset()
- func (m *ListIDCRackV2ResponseWrapper) String() string
- func (this *ListIDCRackV2ResponseWrapper) Validate() error
- func (m *ListIDCRackV2ResponseWrapper) XXX_DiscardUnknown()
- func (m *ListIDCRackV2ResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackV2ResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListIDCRackV2ResponseWrapper) XXX_Size() int
- func (m *ListIDCRackV2ResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListIDCRackV2Response_List
- func (*ListIDCRackV2Response_List) Descriptor() ([]byte, []int)
- func (m *ListIDCRackV2Response_List) GetCode() string
- func (m *ListIDCRackV2Response_List) GetCreator() string
- func (m *ListIDCRackV2Response_List) GetCtime() string
- func (m *ListIDCRackV2Response_List) GetFreeUnum() int32
- func (m *ListIDCRackV2Response_List) GetIdc() *idcmanager.IDC
- func (m *ListIDCRackV2Response_List) GetInstanceId() string
- func (m *ListIDCRackV2Response_List) GetLayout() []*ListIDCRackV2Response_List_Layout
- func (m *ListIDCRackV2Response_List) GetName() string
- func (m *ListIDCRackV2Response_List) GetStatus() string
- func (m *ListIDCRackV2Response_List) GetType() string
- func (m *ListIDCRackV2Response_List) GetUnum() int32
- func (*ListIDCRackV2Response_List) ProtoMessage()
- func (m *ListIDCRackV2Response_List) Reset()
- func (m *ListIDCRackV2Response_List) String() string
- func (this *ListIDCRackV2Response_List) Validate() error
- func (m *ListIDCRackV2Response_List) XXX_DiscardUnknown()
- func (m *ListIDCRackV2Response_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackV2Response_List) XXX_Merge(src proto.Message)
- func (m *ListIDCRackV2Response_List) XXX_Size() int
- func (m *ListIDCRackV2Response_List) XXX_Unmarshal(b []byte) error
- type ListIDCRackV2Response_List_Layout
- func (*ListIDCRackV2Response_List_Layout) Descriptor() ([]byte, []int)
- func (m *ListIDCRackV2Response_List_Layout) GetDevice() *types.Struct
- func (m *ListIDCRackV2Response_List_Layout) GetInstanceId() string
- func (m *ListIDCRackV2Response_List_Layout) GetOccupiedU() int32
- func (m *ListIDCRackV2Response_List_Layout) GetStartU() int32
- func (m *ListIDCRackV2Response_List_Layout) GetType() string
- func (*ListIDCRackV2Response_List_Layout) ProtoMessage()
- func (m *ListIDCRackV2Response_List_Layout) Reset()
- func (m *ListIDCRackV2Response_List_Layout) String() string
- func (this *ListIDCRackV2Response_List_Layout) Validate() error
- func (m *ListIDCRackV2Response_List_Layout) XXX_DiscardUnknown()
- func (m *ListIDCRackV2Response_List_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListIDCRackV2Response_List_Layout) XXX_Merge(src proto.Message)
- func (m *ListIDCRackV2Response_List_Layout) XXX_Size() int
- func (m *ListIDCRackV2Response_List_Layout) XXX_Unmarshal(b []byte) error
- type ListUserSettingRequest
- func (*ListUserSettingRequest) Descriptor() ([]byte, []int)
- func (m *ListUserSettingRequest) GetPage() int32
- func (m *ListUserSettingRequest) GetPageSize() int32
- func (m *ListUserSettingRequest) GetTypes() string
- func (*ListUserSettingRequest) ProtoMessage()
- func (m *ListUserSettingRequest) Reset()
- func (m *ListUserSettingRequest) String() string
- func (this *ListUserSettingRequest) Validate() error
- func (m *ListUserSettingRequest) XXX_DiscardUnknown()
- func (m *ListUserSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserSettingRequest) XXX_Merge(src proto.Message)
- func (m *ListUserSettingRequest) XXX_Size() int
- func (m *ListUserSettingRequest) XXX_Unmarshal(b []byte) error
- type ListUserSettingResponse
- func (*ListUserSettingResponse) Descriptor() ([]byte, []int)
- func (m *ListUserSettingResponse) GetList() []*ListUserSettingResponse_List
- func (m *ListUserSettingResponse) GetPage() int32
- func (m *ListUserSettingResponse) GetPageSize() int32
- func (m *ListUserSettingResponse) GetTotal() int32
- func (*ListUserSettingResponse) ProtoMessage()
- func (m *ListUserSettingResponse) Reset()
- func (m *ListUserSettingResponse) String() string
- func (this *ListUserSettingResponse) Validate() error
- func (m *ListUserSettingResponse) XXX_DiscardUnknown()
- func (m *ListUserSettingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserSettingResponse) XXX_Merge(src proto.Message)
- func (m *ListUserSettingResponse) XXX_Size() int
- func (m *ListUserSettingResponse) XXX_Unmarshal(b []byte) error
- type ListUserSettingResponseWrapper
- func (*ListUserSettingResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListUserSettingResponseWrapper) GetCode() int32
- func (m *ListUserSettingResponseWrapper) GetCodeExplain() string
- func (m *ListUserSettingResponseWrapper) GetData() *ListUserSettingResponse
- func (m *ListUserSettingResponseWrapper) GetError() string
- func (*ListUserSettingResponseWrapper) ProtoMessage()
- func (m *ListUserSettingResponseWrapper) Reset()
- func (m *ListUserSettingResponseWrapper) String() string
- func (this *ListUserSettingResponseWrapper) Validate() error
- func (m *ListUserSettingResponseWrapper) XXX_DiscardUnknown()
- func (m *ListUserSettingResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserSettingResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListUserSettingResponseWrapper) XXX_Size() int
- func (m *ListUserSettingResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListUserSettingResponse_List
- func (*ListUserSettingResponse_List) Descriptor() ([]byte, []int)
- func (m *ListUserSettingResponse_List) GetDetailDisplayList() []*ListUserSettingResponse_List_DetailDisplayList
- func (m *ListUserSettingResponse_List) GetName() string
- func (m *ListUserSettingResponse_List) GetNameDisplayList() []string
- func (m *ListUserSettingResponse_List) GetType() string
- func (m *ListUserSettingResponse_List) GetUserName() string
- func (*ListUserSettingResponse_List) ProtoMessage()
- func (m *ListUserSettingResponse_List) Reset()
- func (m *ListUserSettingResponse_List) String() string
- func (this *ListUserSettingResponse_List) Validate() error
- func (m *ListUserSettingResponse_List) XXX_DiscardUnknown()
- func (m *ListUserSettingResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserSettingResponse_List) XXX_Merge(src proto.Message)
- func (m *ListUserSettingResponse_List) XXX_Size() int
- func (m *ListUserSettingResponse_List) XXX_Unmarshal(b []byte) error
- type ListUserSettingResponse_List_DetailDisplayList
- func (*ListUserSettingResponse_List_DetailDisplayList) Descriptor() ([]byte, []int)
- func (m *ListUserSettingResponse_List_DetailDisplayList) GetKey() string
- func (m *ListUserSettingResponse_List_DetailDisplayList) GetShow() bool
- func (m *ListUserSettingResponse_List_DetailDisplayList) GetValue() string
- func (*ListUserSettingResponse_List_DetailDisplayList) ProtoMessage()
- func (m *ListUserSettingResponse_List_DetailDisplayList) Reset()
- func (m *ListUserSettingResponse_List_DetailDisplayList) String() string
- func (this *ListUserSettingResponse_List_DetailDisplayList) Validate() error
- func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_DiscardUnknown()
- func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Merge(src proto.Message)
- func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Size() int
- func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateIDCRackLayoutRequest
- func (*UpdateIDCRackLayoutRequest) Descriptor() ([]byte, []int)
- func (m *UpdateIDCRackLayoutRequest) GetIdcrackId() string
- func (m *UpdateIDCRackLayoutRequest) GetLayout() []*UpdateIDCRackLayoutRequest_Layout
- func (*UpdateIDCRackLayoutRequest) ProtoMessage()
- func (m *UpdateIDCRackLayoutRequest) Reset()
- func (m *UpdateIDCRackLayoutRequest) String() string
- func (this *UpdateIDCRackLayoutRequest) Validate() error
- func (m *UpdateIDCRackLayoutRequest) XXX_DiscardUnknown()
- func (m *UpdateIDCRackLayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIDCRackLayoutRequest) XXX_Merge(src proto.Message)
- func (m *UpdateIDCRackLayoutRequest) XXX_Size() int
- func (m *UpdateIDCRackLayoutRequest) XXX_Unmarshal(b []byte) error
- type UpdateIDCRackLayoutRequest_Layout
- func (*UpdateIDCRackLayoutRequest_Layout) Descriptor() ([]byte, []int)
- func (m *UpdateIDCRackLayoutRequest_Layout) GetInstanceId() string
- func (m *UpdateIDCRackLayoutRequest_Layout) GetOccupiedU() int32
- func (m *UpdateIDCRackLayoutRequest_Layout) GetStartU() int32
- func (m *UpdateIDCRackLayoutRequest_Layout) GetType() string
- func (*UpdateIDCRackLayoutRequest_Layout) ProtoMessage()
- func (m *UpdateIDCRackLayoutRequest_Layout) Reset()
- func (m *UpdateIDCRackLayoutRequest_Layout) String() string
- func (this *UpdateIDCRackLayoutRequest_Layout) Validate() error
- func (m *UpdateIDCRackLayoutRequest_Layout) XXX_DiscardUnknown()
- func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Merge(src proto.Message)
- func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Size() int
- func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Unmarshal(b []byte) error
- type UpdateIDCRackLayoutResponse
- func (*UpdateIDCRackLayoutResponse) Descriptor() ([]byte, []int)
- func (m *UpdateIDCRackLayoutResponse) GetInstanceId() string
- func (*UpdateIDCRackLayoutResponse) ProtoMessage()
- func (m *UpdateIDCRackLayoutResponse) Reset()
- func (m *UpdateIDCRackLayoutResponse) String() string
- func (this *UpdateIDCRackLayoutResponse) Validate() error
- func (m *UpdateIDCRackLayoutResponse) XXX_DiscardUnknown()
- func (m *UpdateIDCRackLayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIDCRackLayoutResponse) XXX_Merge(src proto.Message)
- func (m *UpdateIDCRackLayoutResponse) XXX_Size() int
- func (m *UpdateIDCRackLayoutResponse) XXX_Unmarshal(b []byte) error
- type UpdateIDCRackLayoutResponseWrapper
- func (*UpdateIDCRackLayoutResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateIDCRackLayoutResponseWrapper) GetCode() int32
- func (m *UpdateIDCRackLayoutResponseWrapper) GetCodeExplain() string
- func (m *UpdateIDCRackLayoutResponseWrapper) GetData() *UpdateIDCRackLayoutResponse
- func (m *UpdateIDCRackLayoutResponseWrapper) GetError() string
- func (*UpdateIDCRackLayoutResponseWrapper) ProtoMessage()
- func (m *UpdateIDCRackLayoutResponseWrapper) Reset()
- func (m *UpdateIDCRackLayoutResponseWrapper) String() string
- func (this *UpdateIDCRackLayoutResponseWrapper) Validate() error
- func (m *UpdateIDCRackLayoutResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Size() int
- func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Unmarshal(b []byte) error
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 { CreateUserSetting(ctx context.Context, in *idcmanager.UserSetting) (*types.Empty, error) ListIDCRack(ctx context.Context, in *ListIDCRackRequest) (*ListIDCRackResponse, error) ListDeviceType(ctx context.Context, in *types.Empty) (*ListDeviceTypeResponse, error) ListUserSetting(ctx context.Context, in *ListUserSettingRequest) (*ListUserSettingResponse, error) ListIDCRackV2(ctx context.Context, in *ListIDCRackV2Request) (*ListIDCRackV2Response, error) UpdateIDCRackLayout(ctx context.Context, in *UpdateIDCRackLayoutRequest) (*UpdateIDCRackLayoutResponse, error) }
Client is the client API for idcrack 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 CreateUserSettingResponseWrapper ¶
type CreateUserSettingResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateUserSettingApi返回
func (*CreateUserSettingResponseWrapper) Descriptor ¶
func (*CreateUserSettingResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateUserSettingResponseWrapper) GetCode ¶
func (m *CreateUserSettingResponseWrapper) GetCode() int32
func (*CreateUserSettingResponseWrapper) GetCodeExplain ¶
func (m *CreateUserSettingResponseWrapper) GetCodeExplain() string
func (*CreateUserSettingResponseWrapper) GetData ¶
func (m *CreateUserSettingResponseWrapper) GetData() *types.Empty
func (*CreateUserSettingResponseWrapper) GetError ¶
func (m *CreateUserSettingResponseWrapper) GetError() string
func (*CreateUserSettingResponseWrapper) ProtoMessage ¶
func (*CreateUserSettingResponseWrapper) ProtoMessage()
func (*CreateUserSettingResponseWrapper) Reset ¶
func (m *CreateUserSettingResponseWrapper) Reset()
func (*CreateUserSettingResponseWrapper) String ¶
func (m *CreateUserSettingResponseWrapper) String() string
func (*CreateUserSettingResponseWrapper) Validate ¶
func (this *CreateUserSettingResponseWrapper) Validate() error
func (*CreateUserSettingResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateUserSettingResponseWrapper) XXX_DiscardUnknown()
func (*CreateUserSettingResponseWrapper) XXX_Marshal ¶
func (m *CreateUserSettingResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserSettingResponseWrapper) XXX_Merge ¶
func (m *CreateUserSettingResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateUserSettingResponseWrapper) XXX_Size ¶
func (m *CreateUserSettingResponseWrapper) XXX_Size() int
func (*CreateUserSettingResponseWrapper) XXX_Unmarshal ¶
func (m *CreateUserSettingResponseWrapper) XXX_Unmarshal(b []byte) error
type ListDeviceTypeResponse ¶
type ListDeviceTypeResponse struct { // //机柜上所有的设备类型列表,形如["HOST", "_SWITCH"] DeviceTypes []string `protobuf:"bytes,1,rep,name=deviceTypes,proto3" json:"deviceTypes" form:"deviceTypes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListDeviceType返回
func (*ListDeviceTypeResponse) Descriptor ¶
func (*ListDeviceTypeResponse) Descriptor() ([]byte, []int)
func (*ListDeviceTypeResponse) GetDeviceTypes ¶
func (m *ListDeviceTypeResponse) GetDeviceTypes() []string
func (*ListDeviceTypeResponse) ProtoMessage ¶
func (*ListDeviceTypeResponse) ProtoMessage()
func (*ListDeviceTypeResponse) Reset ¶
func (m *ListDeviceTypeResponse) Reset()
func (*ListDeviceTypeResponse) String ¶
func (m *ListDeviceTypeResponse) String() string
func (*ListDeviceTypeResponse) Validate ¶
func (this *ListDeviceTypeResponse) Validate() error
func (*ListDeviceTypeResponse) XXX_DiscardUnknown ¶
func (m *ListDeviceTypeResponse) XXX_DiscardUnknown()
func (*ListDeviceTypeResponse) XXX_Marshal ¶
func (m *ListDeviceTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDeviceTypeResponse) XXX_Merge ¶
func (m *ListDeviceTypeResponse) XXX_Merge(src proto.Message)
func (*ListDeviceTypeResponse) XXX_Size ¶
func (m *ListDeviceTypeResponse) XXX_Size() int
func (*ListDeviceTypeResponse) XXX_Unmarshal ¶
func (m *ListDeviceTypeResponse) XXX_Unmarshal(b []byte) error
type ListDeviceTypeResponseWrapper ¶
type ListDeviceTypeResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListDeviceTypeResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListDeviceTypeApi返回
func (*ListDeviceTypeResponseWrapper) Descriptor ¶
func (*ListDeviceTypeResponseWrapper) Descriptor() ([]byte, []int)
func (*ListDeviceTypeResponseWrapper) GetCode ¶
func (m *ListDeviceTypeResponseWrapper) GetCode() int32
func (*ListDeviceTypeResponseWrapper) GetCodeExplain ¶
func (m *ListDeviceTypeResponseWrapper) GetCodeExplain() string
func (*ListDeviceTypeResponseWrapper) GetData ¶
func (m *ListDeviceTypeResponseWrapper) GetData() *ListDeviceTypeResponse
func (*ListDeviceTypeResponseWrapper) GetError ¶
func (m *ListDeviceTypeResponseWrapper) GetError() string
func (*ListDeviceTypeResponseWrapper) ProtoMessage ¶
func (*ListDeviceTypeResponseWrapper) ProtoMessage()
func (*ListDeviceTypeResponseWrapper) Reset ¶
func (m *ListDeviceTypeResponseWrapper) Reset()
func (*ListDeviceTypeResponseWrapper) String ¶
func (m *ListDeviceTypeResponseWrapper) String() string
func (*ListDeviceTypeResponseWrapper) Validate ¶
func (this *ListDeviceTypeResponseWrapper) Validate() error
func (*ListDeviceTypeResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListDeviceTypeResponseWrapper) XXX_DiscardUnknown()
func (*ListDeviceTypeResponseWrapper) XXX_Marshal ¶
func (m *ListDeviceTypeResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDeviceTypeResponseWrapper) XXX_Merge ¶
func (m *ListDeviceTypeResponseWrapper) XXX_Merge(src proto.Message)
func (*ListDeviceTypeResponseWrapper) XXX_Size ¶
func (m *ListDeviceTypeResponseWrapper) XXX_Size() int
func (*ListDeviceTypeResponseWrapper) XXX_Unmarshal ¶
func (m *ListDeviceTypeResponseWrapper) XXX_Unmarshal(b []byte) error
type ListIDCRackRequest ¶
type ListIDCRackRequest struct { // //机柜ID列表,以,分割 IdcrackIds string `protobuf:"bytes,1,opt,name=idcrackIds,proto3" json:"idcrackIds" form:"idcrackIds"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRack请求
func (*ListIDCRackRequest) Descriptor ¶
func (*ListIDCRackRequest) Descriptor() ([]byte, []int)
func (*ListIDCRackRequest) GetIdcrackIds ¶
func (m *ListIDCRackRequest) GetIdcrackIds() string
func (*ListIDCRackRequest) ProtoMessage ¶
func (*ListIDCRackRequest) ProtoMessage()
func (*ListIDCRackRequest) Reset ¶
func (m *ListIDCRackRequest) Reset()
func (*ListIDCRackRequest) String ¶
func (m *ListIDCRackRequest) String() string
func (*ListIDCRackRequest) Validate ¶
func (this *ListIDCRackRequest) Validate() error
func (*ListIDCRackRequest) XXX_DiscardUnknown ¶
func (m *ListIDCRackRequest) XXX_DiscardUnknown()
func (*ListIDCRackRequest) XXX_Marshal ¶
func (m *ListIDCRackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackRequest) XXX_Merge ¶
func (m *ListIDCRackRequest) XXX_Merge(src proto.Message)
func (*ListIDCRackRequest) XXX_Size ¶
func (m *ListIDCRackRequest) XXX_Size() int
func (*ListIDCRackRequest) XXX_Unmarshal ¶
func (m *ListIDCRackRequest) XXX_Unmarshal(b []byte) error
type ListIDCRackResponse ¶
type ListIDCRackResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*ListIDCRackResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRack返回
func (*ListIDCRackResponse) Descriptor ¶
func (*ListIDCRackResponse) Descriptor() ([]byte, []int)
func (*ListIDCRackResponse) GetList ¶
func (m *ListIDCRackResponse) GetList() []*ListIDCRackResponse_List
func (*ListIDCRackResponse) GetPage ¶
func (m *ListIDCRackResponse) GetPage() int32
func (*ListIDCRackResponse) GetPageSize ¶
func (m *ListIDCRackResponse) GetPageSize() int32
func (*ListIDCRackResponse) GetTotal ¶
func (m *ListIDCRackResponse) GetTotal() int32
func (*ListIDCRackResponse) ProtoMessage ¶
func (*ListIDCRackResponse) ProtoMessage()
func (*ListIDCRackResponse) Reset ¶
func (m *ListIDCRackResponse) Reset()
func (*ListIDCRackResponse) String ¶
func (m *ListIDCRackResponse) String() string
func (*ListIDCRackResponse) Validate ¶
func (this *ListIDCRackResponse) Validate() error
func (*ListIDCRackResponse) XXX_DiscardUnknown ¶
func (m *ListIDCRackResponse) XXX_DiscardUnknown()
func (*ListIDCRackResponse) XXX_Marshal ¶
func (m *ListIDCRackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackResponse) XXX_Merge ¶
func (m *ListIDCRackResponse) XXX_Merge(src proto.Message)
func (*ListIDCRackResponse) XXX_Size ¶
func (m *ListIDCRackResponse) XXX_Size() int
func (*ListIDCRackResponse) XXX_Unmarshal ¶
func (m *ListIDCRackResponse) XXX_Unmarshal(b []byte) error
type ListIDCRackResponseWrapper ¶
type ListIDCRackResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListIDCRackResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRackApi返回
func (*ListIDCRackResponseWrapper) Descriptor ¶
func (*ListIDCRackResponseWrapper) Descriptor() ([]byte, []int)
func (*ListIDCRackResponseWrapper) GetCode ¶
func (m *ListIDCRackResponseWrapper) GetCode() int32
func (*ListIDCRackResponseWrapper) GetCodeExplain ¶
func (m *ListIDCRackResponseWrapper) GetCodeExplain() string
func (*ListIDCRackResponseWrapper) GetData ¶
func (m *ListIDCRackResponseWrapper) GetData() *ListIDCRackResponse
func (*ListIDCRackResponseWrapper) GetError ¶
func (m *ListIDCRackResponseWrapper) GetError() string
func (*ListIDCRackResponseWrapper) ProtoMessage ¶
func (*ListIDCRackResponseWrapper) ProtoMessage()
func (*ListIDCRackResponseWrapper) Reset ¶
func (m *ListIDCRackResponseWrapper) Reset()
func (*ListIDCRackResponseWrapper) String ¶
func (m *ListIDCRackResponseWrapper) String() string
func (*ListIDCRackResponseWrapper) Validate ¶
func (this *ListIDCRackResponseWrapper) Validate() error
func (*ListIDCRackResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListIDCRackResponseWrapper) XXX_DiscardUnknown()
func (*ListIDCRackResponseWrapper) XXX_Marshal ¶
func (m *ListIDCRackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackResponseWrapper) XXX_Merge ¶
func (m *ListIDCRackResponseWrapper) XXX_Merge(src proto.Message)
func (*ListIDCRackResponseWrapper) XXX_Size ¶
func (m *ListIDCRackResponseWrapper) XXX_Size() int
func (*ListIDCRackResponseWrapper) XXX_Unmarshal ¶
func (m *ListIDCRackResponseWrapper) XXX_Unmarshal(b []byte) error
type ListIDCRackResponse_List ¶
type ListIDCRackResponse_List struct { // //所在的机房 Idc *idcmanager.IDC `protobuf:"bytes,1,opt,name=idc,proto3" json:"idc" form:"idc"` // //机柜上的主机 Hosts []*idcmanager.Host `protobuf:"bytes,2,rep,name=hosts,proto3" json:"hosts" form:"hosts"` // //机柜上的交换机 Switchs []*idcmanager.Switch `protobuf:"bytes,3,rep,name=switchs,proto3" json:"switchs" form:"switchs"` // //机柜上的路由器 Routers []*idcmanager.Router `protobuf:"bytes,4,rep,name=routers,proto3" json:"routers" form:"routers"` // //机柜上的防火墙 Firewalls []*idcmanager.Firewall `protobuf:"bytes,5,rep,name=firewalls,proto3" json:"firewalls" form:"firewalls"` // //机柜ID InstanceId string `protobuf:"bytes,6,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //机柜名称 Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name" form:"name"` // //机柜编号 Code string `protobuf:"bytes,8,opt,name=code,proto3" json:"code" form:"code"` // //机柜状态 Status string `protobuf:"bytes,9,opt,name=status,proto3" json:"status" form:"status"` // //机柜类型 Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type" form:"type"` // //机柜U数 Unum int32 `protobuf:"varint,11,opt,name=unum,proto3" json:"unum" form:"unum"` // //空闲U位数 FreeUnum int32 `protobuf:"varint,12,opt,name=freeUnum,proto3" json:"freeUnum" form:"freeUnum"` // //备注 Memo string `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo" form:"memo"` // //机柜部局 Layout []*ListIDCRackResponse_List_Layout `protobuf:"bytes,14,rep,name=layout,proto3" json:"layout" form:"layout"` // //创建时间 Ctime string `protobuf:"bytes,15,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //创建者 Creator string `protobuf:"bytes,16,opt,name=creator,proto3" json:"creator" form:"creator"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIDCRackResponse_List) Descriptor ¶
func (*ListIDCRackResponse_List) Descriptor() ([]byte, []int)
func (*ListIDCRackResponse_List) GetCode ¶
func (m *ListIDCRackResponse_List) GetCode() string
func (*ListIDCRackResponse_List) GetCreator ¶
func (m *ListIDCRackResponse_List) GetCreator() string
func (*ListIDCRackResponse_List) GetCtime ¶
func (m *ListIDCRackResponse_List) GetCtime() string
func (*ListIDCRackResponse_List) GetFirewalls ¶
func (m *ListIDCRackResponse_List) GetFirewalls() []*idcmanager.Firewall
func (*ListIDCRackResponse_List) GetFreeUnum ¶
func (m *ListIDCRackResponse_List) GetFreeUnum() int32
func (*ListIDCRackResponse_List) GetHosts ¶
func (m *ListIDCRackResponse_List) GetHosts() []*idcmanager.Host
func (*ListIDCRackResponse_List) GetIdc ¶
func (m *ListIDCRackResponse_List) GetIdc() *idcmanager.IDC
func (*ListIDCRackResponse_List) GetInstanceId ¶
func (m *ListIDCRackResponse_List) GetInstanceId() string
func (*ListIDCRackResponse_List) GetLayout ¶
func (m *ListIDCRackResponse_List) GetLayout() []*ListIDCRackResponse_List_Layout
func (*ListIDCRackResponse_List) GetMemo ¶
func (m *ListIDCRackResponse_List) GetMemo() string
func (*ListIDCRackResponse_List) GetName ¶
func (m *ListIDCRackResponse_List) GetName() string
func (*ListIDCRackResponse_List) GetRouters ¶
func (m *ListIDCRackResponse_List) GetRouters() []*idcmanager.Router
func (*ListIDCRackResponse_List) GetStatus ¶
func (m *ListIDCRackResponse_List) GetStatus() string
func (*ListIDCRackResponse_List) GetSwitchs ¶
func (m *ListIDCRackResponse_List) GetSwitchs() []*idcmanager.Switch
func (*ListIDCRackResponse_List) GetType ¶
func (m *ListIDCRackResponse_List) GetType() string
func (*ListIDCRackResponse_List) GetUnum ¶
func (m *ListIDCRackResponse_List) GetUnum() int32
func (*ListIDCRackResponse_List) ProtoMessage ¶
func (*ListIDCRackResponse_List) ProtoMessage()
func (*ListIDCRackResponse_List) Reset ¶
func (m *ListIDCRackResponse_List) Reset()
func (*ListIDCRackResponse_List) String ¶
func (m *ListIDCRackResponse_List) String() string
func (*ListIDCRackResponse_List) Validate ¶
func (this *ListIDCRackResponse_List) Validate() error
func (*ListIDCRackResponse_List) XXX_DiscardUnknown ¶
func (m *ListIDCRackResponse_List) XXX_DiscardUnknown()
func (*ListIDCRackResponse_List) XXX_Marshal ¶
func (m *ListIDCRackResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackResponse_List) XXX_Merge ¶
func (m *ListIDCRackResponse_List) XXX_Merge(src proto.Message)
func (*ListIDCRackResponse_List) XXX_Size ¶
func (m *ListIDCRackResponse_List) XXX_Size() int
func (*ListIDCRackResponse_List) XXX_Unmarshal ¶
func (m *ListIDCRackResponse_List) XXX_Unmarshal(b []byte) error
type ListIDCRackResponse_List_Layout ¶
type ListIDCRackResponse_List_Layout struct { // //设备ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //设备类型(host,switch,router,firewall,disable) Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //起始U位 StartU int32 `protobuf:"varint,3,opt,name=startU,proto3" json:"startU" form:"startU"` // //占用U位 OccupiedU int32 `protobuf:"varint,4,opt,name=occupiedU,proto3" json:"occupiedU" form:"occupiedU"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIDCRackResponse_List_Layout) Descriptor ¶
func (*ListIDCRackResponse_List_Layout) Descriptor() ([]byte, []int)
func (*ListIDCRackResponse_List_Layout) GetInstanceId ¶
func (m *ListIDCRackResponse_List_Layout) GetInstanceId() string
func (*ListIDCRackResponse_List_Layout) GetOccupiedU ¶
func (m *ListIDCRackResponse_List_Layout) GetOccupiedU() int32
func (*ListIDCRackResponse_List_Layout) GetStartU ¶
func (m *ListIDCRackResponse_List_Layout) GetStartU() int32
func (*ListIDCRackResponse_List_Layout) GetType ¶
func (m *ListIDCRackResponse_List_Layout) GetType() string
func (*ListIDCRackResponse_List_Layout) ProtoMessage ¶
func (*ListIDCRackResponse_List_Layout) ProtoMessage()
func (*ListIDCRackResponse_List_Layout) Reset ¶
func (m *ListIDCRackResponse_List_Layout) Reset()
func (*ListIDCRackResponse_List_Layout) String ¶
func (m *ListIDCRackResponse_List_Layout) String() string
func (*ListIDCRackResponse_List_Layout) Validate ¶
func (this *ListIDCRackResponse_List_Layout) Validate() error
func (*ListIDCRackResponse_List_Layout) XXX_DiscardUnknown ¶
func (m *ListIDCRackResponse_List_Layout) XXX_DiscardUnknown()
func (*ListIDCRackResponse_List_Layout) XXX_Marshal ¶
func (m *ListIDCRackResponse_List_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackResponse_List_Layout) XXX_Merge ¶
func (m *ListIDCRackResponse_List_Layout) XXX_Merge(src proto.Message)
func (*ListIDCRackResponse_List_Layout) XXX_Size ¶
func (m *ListIDCRackResponse_List_Layout) XXX_Size() int
func (*ListIDCRackResponse_List_Layout) XXX_Unmarshal ¶
func (m *ListIDCRackResponse_List_Layout) XXX_Unmarshal(b []byte) error
type ListIDCRackV2Request ¶
type ListIDCRackV2Request struct { // //机柜ID列表,以,分割 IdcrackIds string `protobuf:"bytes,1,opt,name=idcrackIds,proto3" json:"idcrackIds" form:"idcrackIds"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRackV2请求
func (*ListIDCRackV2Request) Descriptor ¶
func (*ListIDCRackV2Request) Descriptor() ([]byte, []int)
func (*ListIDCRackV2Request) GetIdcrackIds ¶
func (m *ListIDCRackV2Request) GetIdcrackIds() string
func (*ListIDCRackV2Request) ProtoMessage ¶
func (*ListIDCRackV2Request) ProtoMessage()
func (*ListIDCRackV2Request) Reset ¶
func (m *ListIDCRackV2Request) Reset()
func (*ListIDCRackV2Request) String ¶
func (m *ListIDCRackV2Request) String() string
func (*ListIDCRackV2Request) Validate ¶
func (this *ListIDCRackV2Request) Validate() error
func (*ListIDCRackV2Request) XXX_DiscardUnknown ¶
func (m *ListIDCRackV2Request) XXX_DiscardUnknown()
func (*ListIDCRackV2Request) XXX_Marshal ¶
func (m *ListIDCRackV2Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackV2Request) XXX_Merge ¶
func (m *ListIDCRackV2Request) XXX_Merge(src proto.Message)
func (*ListIDCRackV2Request) XXX_Size ¶
func (m *ListIDCRackV2Request) XXX_Size() int
func (*ListIDCRackV2Request) XXX_Unmarshal ¶
func (m *ListIDCRackV2Request) XXX_Unmarshal(b []byte) error
type ListIDCRackV2Response ¶
type ListIDCRackV2Response struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*ListIDCRackV2Response_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRackV2返回
func (*ListIDCRackV2Response) Descriptor ¶
func (*ListIDCRackV2Response) Descriptor() ([]byte, []int)
func (*ListIDCRackV2Response) GetList ¶
func (m *ListIDCRackV2Response) GetList() []*ListIDCRackV2Response_List
func (*ListIDCRackV2Response) GetPage ¶
func (m *ListIDCRackV2Response) GetPage() int32
func (*ListIDCRackV2Response) GetPageSize ¶
func (m *ListIDCRackV2Response) GetPageSize() int32
func (*ListIDCRackV2Response) GetTotal ¶
func (m *ListIDCRackV2Response) GetTotal() int32
func (*ListIDCRackV2Response) ProtoMessage ¶
func (*ListIDCRackV2Response) ProtoMessage()
func (*ListIDCRackV2Response) Reset ¶
func (m *ListIDCRackV2Response) Reset()
func (*ListIDCRackV2Response) String ¶
func (m *ListIDCRackV2Response) String() string
func (*ListIDCRackV2Response) Validate ¶
func (this *ListIDCRackV2Response) Validate() error
func (*ListIDCRackV2Response) XXX_DiscardUnknown ¶
func (m *ListIDCRackV2Response) XXX_DiscardUnknown()
func (*ListIDCRackV2Response) XXX_Marshal ¶
func (m *ListIDCRackV2Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackV2Response) XXX_Merge ¶
func (m *ListIDCRackV2Response) XXX_Merge(src proto.Message)
func (*ListIDCRackV2Response) XXX_Size ¶
func (m *ListIDCRackV2Response) XXX_Size() int
func (*ListIDCRackV2Response) XXX_Unmarshal ¶
func (m *ListIDCRackV2Response) XXX_Unmarshal(b []byte) error
type ListIDCRackV2ResponseWrapper ¶
type ListIDCRackV2ResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListIDCRackV2Response `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListIDCRackV2Api返回
func (*ListIDCRackV2ResponseWrapper) Descriptor ¶
func (*ListIDCRackV2ResponseWrapper) Descriptor() ([]byte, []int)
func (*ListIDCRackV2ResponseWrapper) GetCode ¶
func (m *ListIDCRackV2ResponseWrapper) GetCode() int32
func (*ListIDCRackV2ResponseWrapper) GetCodeExplain ¶
func (m *ListIDCRackV2ResponseWrapper) GetCodeExplain() string
func (*ListIDCRackV2ResponseWrapper) GetData ¶
func (m *ListIDCRackV2ResponseWrapper) GetData() *ListIDCRackV2Response
func (*ListIDCRackV2ResponseWrapper) GetError ¶
func (m *ListIDCRackV2ResponseWrapper) GetError() string
func (*ListIDCRackV2ResponseWrapper) ProtoMessage ¶
func (*ListIDCRackV2ResponseWrapper) ProtoMessage()
func (*ListIDCRackV2ResponseWrapper) Reset ¶
func (m *ListIDCRackV2ResponseWrapper) Reset()
func (*ListIDCRackV2ResponseWrapper) String ¶
func (m *ListIDCRackV2ResponseWrapper) String() string
func (*ListIDCRackV2ResponseWrapper) Validate ¶
func (this *ListIDCRackV2ResponseWrapper) Validate() error
func (*ListIDCRackV2ResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListIDCRackV2ResponseWrapper) XXX_DiscardUnknown()
func (*ListIDCRackV2ResponseWrapper) XXX_Marshal ¶
func (m *ListIDCRackV2ResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackV2ResponseWrapper) XXX_Merge ¶
func (m *ListIDCRackV2ResponseWrapper) XXX_Merge(src proto.Message)
func (*ListIDCRackV2ResponseWrapper) XXX_Size ¶
func (m *ListIDCRackV2ResponseWrapper) XXX_Size() int
func (*ListIDCRackV2ResponseWrapper) XXX_Unmarshal ¶
func (m *ListIDCRackV2ResponseWrapper) XXX_Unmarshal(b []byte) error
type ListIDCRackV2Response_List ¶
type ListIDCRackV2Response_List struct { // //机柜布局 Layout []*ListIDCRackV2Response_List_Layout `protobuf:"bytes,1,rep,name=layout,proto3" json:"layout" form:"layout"` // //所在的机房 Idc *idcmanager.IDC `protobuf:"bytes,2,opt,name=idc,proto3" json:"idc" form:"idc"` // //机柜ID InstanceId string `protobuf:"bytes,3,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //机柜名称 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name" form:"name"` // //机柜编号 Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code" form:"code"` // //机柜状态 Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status" form:"status"` // //机柜类型 Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type" form:"type"` // //机柜U数 Unum int32 `protobuf:"varint,8,opt,name=unum,proto3" json:"unum" form:"unum"` // //空闲U位数 FreeUnum int32 `protobuf:"varint,9,opt,name=freeUnum,proto3" json:"freeUnum" form:"freeUnum"` // //创建时间 Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //创建者 Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator" form:"creator"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIDCRackV2Response_List) Descriptor ¶
func (*ListIDCRackV2Response_List) Descriptor() ([]byte, []int)
func (*ListIDCRackV2Response_List) GetCode ¶
func (m *ListIDCRackV2Response_List) GetCode() string
func (*ListIDCRackV2Response_List) GetCreator ¶
func (m *ListIDCRackV2Response_List) GetCreator() string
func (*ListIDCRackV2Response_List) GetCtime ¶
func (m *ListIDCRackV2Response_List) GetCtime() string
func (*ListIDCRackV2Response_List) GetFreeUnum ¶
func (m *ListIDCRackV2Response_List) GetFreeUnum() int32
func (*ListIDCRackV2Response_List) GetIdc ¶
func (m *ListIDCRackV2Response_List) GetIdc() *idcmanager.IDC
func (*ListIDCRackV2Response_List) GetInstanceId ¶
func (m *ListIDCRackV2Response_List) GetInstanceId() string
func (*ListIDCRackV2Response_List) GetLayout ¶
func (m *ListIDCRackV2Response_List) GetLayout() []*ListIDCRackV2Response_List_Layout
func (*ListIDCRackV2Response_List) GetName ¶
func (m *ListIDCRackV2Response_List) GetName() string
func (*ListIDCRackV2Response_List) GetStatus ¶
func (m *ListIDCRackV2Response_List) GetStatus() string
func (*ListIDCRackV2Response_List) GetType ¶
func (m *ListIDCRackV2Response_List) GetType() string
func (*ListIDCRackV2Response_List) GetUnum ¶
func (m *ListIDCRackV2Response_List) GetUnum() int32
func (*ListIDCRackV2Response_List) ProtoMessage ¶
func (*ListIDCRackV2Response_List) ProtoMessage()
func (*ListIDCRackV2Response_List) Reset ¶
func (m *ListIDCRackV2Response_List) Reset()
func (*ListIDCRackV2Response_List) String ¶
func (m *ListIDCRackV2Response_List) String() string
func (*ListIDCRackV2Response_List) Validate ¶
func (this *ListIDCRackV2Response_List) Validate() error
func (*ListIDCRackV2Response_List) XXX_DiscardUnknown ¶
func (m *ListIDCRackV2Response_List) XXX_DiscardUnknown()
func (*ListIDCRackV2Response_List) XXX_Marshal ¶
func (m *ListIDCRackV2Response_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackV2Response_List) XXX_Merge ¶
func (m *ListIDCRackV2Response_List) XXX_Merge(src proto.Message)
func (*ListIDCRackV2Response_List) XXX_Size ¶
func (m *ListIDCRackV2Response_List) XXX_Size() int
func (*ListIDCRackV2Response_List) XXX_Unmarshal ¶
func (m *ListIDCRackV2Response_List) XXX_Unmarshal(b []byte) error
type ListIDCRackV2Response_List_Layout ¶
type ListIDCRackV2Response_List_Layout struct { // //设备ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //设备类型(HOST, _SWITCH, _FIREWALL, _ROUTER, disable) Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //起始U位 StartU int32 `protobuf:"varint,3,opt,name=startU,proto3" json:"startU" form:"startU"` // //占用U位 OccupiedU int32 `protobuf:"varint,4,opt,name=occupiedU,proto3" json:"occupiedU" form:"occupiedU"` // //对应的设备的类型 Device *types.Struct `protobuf:"bytes,5,opt,name=device,proto3" json:"device" form:"device"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIDCRackV2Response_List_Layout) Descriptor ¶
func (*ListIDCRackV2Response_List_Layout) Descriptor() ([]byte, []int)
func (*ListIDCRackV2Response_List_Layout) GetDevice ¶
func (m *ListIDCRackV2Response_List_Layout) GetDevice() *types.Struct
func (*ListIDCRackV2Response_List_Layout) GetInstanceId ¶
func (m *ListIDCRackV2Response_List_Layout) GetInstanceId() string
func (*ListIDCRackV2Response_List_Layout) GetOccupiedU ¶
func (m *ListIDCRackV2Response_List_Layout) GetOccupiedU() int32
func (*ListIDCRackV2Response_List_Layout) GetStartU ¶
func (m *ListIDCRackV2Response_List_Layout) GetStartU() int32
func (*ListIDCRackV2Response_List_Layout) GetType ¶
func (m *ListIDCRackV2Response_List_Layout) GetType() string
func (*ListIDCRackV2Response_List_Layout) ProtoMessage ¶
func (*ListIDCRackV2Response_List_Layout) ProtoMessage()
func (*ListIDCRackV2Response_List_Layout) Reset ¶
func (m *ListIDCRackV2Response_List_Layout) Reset()
func (*ListIDCRackV2Response_List_Layout) String ¶
func (m *ListIDCRackV2Response_List_Layout) String() string
func (*ListIDCRackV2Response_List_Layout) Validate ¶
func (this *ListIDCRackV2Response_List_Layout) Validate() error
func (*ListIDCRackV2Response_List_Layout) XXX_DiscardUnknown ¶
func (m *ListIDCRackV2Response_List_Layout) XXX_DiscardUnknown()
func (*ListIDCRackV2Response_List_Layout) XXX_Marshal ¶
func (m *ListIDCRackV2Response_List_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIDCRackV2Response_List_Layout) XXX_Merge ¶
func (m *ListIDCRackV2Response_List_Layout) XXX_Merge(src proto.Message)
func (*ListIDCRackV2Response_List_Layout) XXX_Size ¶
func (m *ListIDCRackV2Response_List_Layout) XXX_Size() int
func (*ListIDCRackV2Response_List_Layout) XXX_Unmarshal ¶
func (m *ListIDCRackV2Response_List_Layout) XXX_Unmarshal(b []byte) error
type ListUserSettingRequest ¶
type ListUserSettingRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //每页大小 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` // //设备类型(设备模型ID)列表,以,分割 Types string `protobuf:"bytes,3,opt,name=types,proto3" json:"types" form:"types"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListUserSetting请求
func (*ListUserSettingRequest) Descriptor ¶
func (*ListUserSettingRequest) Descriptor() ([]byte, []int)
func (*ListUserSettingRequest) GetPage ¶
func (m *ListUserSettingRequest) GetPage() int32
func (*ListUserSettingRequest) GetPageSize ¶
func (m *ListUserSettingRequest) GetPageSize() int32
func (*ListUserSettingRequest) GetTypes ¶
func (m *ListUserSettingRequest) GetTypes() string
func (*ListUserSettingRequest) ProtoMessage ¶
func (*ListUserSettingRequest) ProtoMessage()
func (*ListUserSettingRequest) Reset ¶
func (m *ListUserSettingRequest) Reset()
func (*ListUserSettingRequest) String ¶
func (m *ListUserSettingRequest) String() string
func (*ListUserSettingRequest) Validate ¶
func (this *ListUserSettingRequest) Validate() error
func (*ListUserSettingRequest) XXX_DiscardUnknown ¶
func (m *ListUserSettingRequest) XXX_DiscardUnknown()
func (*ListUserSettingRequest) XXX_Marshal ¶
func (m *ListUserSettingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserSettingRequest) XXX_Merge ¶
func (m *ListUserSettingRequest) XXX_Merge(src proto.Message)
func (*ListUserSettingRequest) XXX_Size ¶
func (m *ListUserSettingRequest) XXX_Size() int
func (*ListUserSettingRequest) XXX_Unmarshal ¶
func (m *ListUserSettingRequest) XXX_Unmarshal(b []byte) error
type ListUserSettingResponse ¶
type ListUserSettingResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*ListUserSettingResponse_List `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListUserSetting返回
func (*ListUserSettingResponse) Descriptor ¶
func (*ListUserSettingResponse) Descriptor() ([]byte, []int)
func (*ListUserSettingResponse) GetList ¶
func (m *ListUserSettingResponse) GetList() []*ListUserSettingResponse_List
func (*ListUserSettingResponse) GetPage ¶
func (m *ListUserSettingResponse) GetPage() int32
func (*ListUserSettingResponse) GetPageSize ¶
func (m *ListUserSettingResponse) GetPageSize() int32
func (*ListUserSettingResponse) GetTotal ¶
func (m *ListUserSettingResponse) GetTotal() int32
func (*ListUserSettingResponse) ProtoMessage ¶
func (*ListUserSettingResponse) ProtoMessage()
func (*ListUserSettingResponse) Reset ¶
func (m *ListUserSettingResponse) Reset()
func (*ListUserSettingResponse) String ¶
func (m *ListUserSettingResponse) String() string
func (*ListUserSettingResponse) Validate ¶
func (this *ListUserSettingResponse) Validate() error
func (*ListUserSettingResponse) XXX_DiscardUnknown ¶
func (m *ListUserSettingResponse) XXX_DiscardUnknown()
func (*ListUserSettingResponse) XXX_Marshal ¶
func (m *ListUserSettingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserSettingResponse) XXX_Merge ¶
func (m *ListUserSettingResponse) XXX_Merge(src proto.Message)
func (*ListUserSettingResponse) XXX_Size ¶
func (m *ListUserSettingResponse) XXX_Size() int
func (*ListUserSettingResponse) XXX_Unmarshal ¶
func (m *ListUserSettingResponse) XXX_Unmarshal(b []byte) error
type ListUserSettingResponseWrapper ¶
type ListUserSettingResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListUserSettingResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListUserSettingApi返回
func (*ListUserSettingResponseWrapper) Descriptor ¶
func (*ListUserSettingResponseWrapper) Descriptor() ([]byte, []int)
func (*ListUserSettingResponseWrapper) GetCode ¶
func (m *ListUserSettingResponseWrapper) GetCode() int32
func (*ListUserSettingResponseWrapper) GetCodeExplain ¶
func (m *ListUserSettingResponseWrapper) GetCodeExplain() string
func (*ListUserSettingResponseWrapper) GetData ¶
func (m *ListUserSettingResponseWrapper) GetData() *ListUserSettingResponse
func (*ListUserSettingResponseWrapper) GetError ¶
func (m *ListUserSettingResponseWrapper) GetError() string
func (*ListUserSettingResponseWrapper) ProtoMessage ¶
func (*ListUserSettingResponseWrapper) ProtoMessage()
func (*ListUserSettingResponseWrapper) Reset ¶
func (m *ListUserSettingResponseWrapper) Reset()
func (*ListUserSettingResponseWrapper) String ¶
func (m *ListUserSettingResponseWrapper) String() string
func (*ListUserSettingResponseWrapper) Validate ¶
func (this *ListUserSettingResponseWrapper) Validate() error
func (*ListUserSettingResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListUserSettingResponseWrapper) XXX_DiscardUnknown()
func (*ListUserSettingResponseWrapper) XXX_Marshal ¶
func (m *ListUserSettingResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserSettingResponseWrapper) XXX_Merge ¶
func (m *ListUserSettingResponseWrapper) XXX_Merge(src proto.Message)
func (*ListUserSettingResponseWrapper) XXX_Size ¶
func (m *ListUserSettingResponseWrapper) XXX_Size() int
func (*ListUserSettingResponseWrapper) XXX_Unmarshal ¶
func (m *ListUserSettingResponseWrapper) XXX_Unmarshal(b []byte) error
type ListUserSettingResponse_List ¶
type ListUserSettingResponse_List struct { // //用户设置名称(user_name + type) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //用户名 UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name" form:"user_name"` // //设备类型 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"` // //名称展示字段列表,默认["name"] NameDisplayList []string `protobuf:"bytes,4,rep,name=name_display_list,json=nameDisplayList,proto3" json:"name_display_list" form:"name_display_list"` // //详情展示字段列表,默认:名称、起始U位、占用U位、管理IP、状态、资产编号、用途,示例: //"detail_display_list": [ //{"key":"name", "value":"名称", "show":true}, //{"key":"_startU", "value":"起始U位", "show":true}, //{"key":"_occupiedU", "value":"占用U位", "show":true}, //{"key":"ip", "value":"管理IP", "show":true}, //{"key":"status", "value":"状态", "show":true}, //{"key":"propertyid", "value":"资产编号", "show":true}, //{"key":"use", "value":"用途", "show":true} //] // DetailDisplayList []*ListUserSettingResponse_List_DetailDisplayList `` /* 131-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserSettingResponse_List) Descriptor ¶
func (*ListUserSettingResponse_List) Descriptor() ([]byte, []int)
func (*ListUserSettingResponse_List) GetDetailDisplayList ¶
func (m *ListUserSettingResponse_List) GetDetailDisplayList() []*ListUserSettingResponse_List_DetailDisplayList
func (*ListUserSettingResponse_List) GetName ¶
func (m *ListUserSettingResponse_List) GetName() string
func (*ListUserSettingResponse_List) GetNameDisplayList ¶
func (m *ListUserSettingResponse_List) GetNameDisplayList() []string
func (*ListUserSettingResponse_List) GetType ¶
func (m *ListUserSettingResponse_List) GetType() string
func (*ListUserSettingResponse_List) GetUserName ¶
func (m *ListUserSettingResponse_List) GetUserName() string
func (*ListUserSettingResponse_List) ProtoMessage ¶
func (*ListUserSettingResponse_List) ProtoMessage()
func (*ListUserSettingResponse_List) Reset ¶
func (m *ListUserSettingResponse_List) Reset()
func (*ListUserSettingResponse_List) String ¶
func (m *ListUserSettingResponse_List) String() string
func (*ListUserSettingResponse_List) Validate ¶
func (this *ListUserSettingResponse_List) Validate() error
func (*ListUserSettingResponse_List) XXX_DiscardUnknown ¶
func (m *ListUserSettingResponse_List) XXX_DiscardUnknown()
func (*ListUserSettingResponse_List) XXX_Marshal ¶
func (m *ListUserSettingResponse_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserSettingResponse_List) XXX_Merge ¶
func (m *ListUserSettingResponse_List) XXX_Merge(src proto.Message)
func (*ListUserSettingResponse_List) XXX_Size ¶
func (m *ListUserSettingResponse_List) XXX_Size() int
func (*ListUserSettingResponse_List) XXX_Unmarshal ¶
func (m *ListUserSettingResponse_List) XXX_Unmarshal(b []byte) error
type ListUserSettingResponse_List_DetailDisplayList ¶
type ListUserSettingResponse_List_DetailDisplayList struct { // //字段名 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"` // //字段中文名 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` // //是否展示(true 展示, 默认为 true) Show bool `protobuf:"varint,3,opt,name=show,proto3" json:"show" form:"show"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListUserSettingResponse_List_DetailDisplayList) Descriptor ¶
func (*ListUserSettingResponse_List_DetailDisplayList) Descriptor() ([]byte, []int)
func (*ListUserSettingResponse_List_DetailDisplayList) GetKey ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) GetKey() string
func (*ListUserSettingResponse_List_DetailDisplayList) GetShow ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) GetShow() bool
func (*ListUserSettingResponse_List_DetailDisplayList) GetValue ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) GetValue() string
func (*ListUserSettingResponse_List_DetailDisplayList) ProtoMessage ¶
func (*ListUserSettingResponse_List_DetailDisplayList) ProtoMessage()
func (*ListUserSettingResponse_List_DetailDisplayList) Reset ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) Reset()
func (*ListUserSettingResponse_List_DetailDisplayList) String ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) String() string
func (*ListUserSettingResponse_List_DetailDisplayList) Validate ¶
func (this *ListUserSettingResponse_List_DetailDisplayList) Validate() error
func (*ListUserSettingResponse_List_DetailDisplayList) XXX_DiscardUnknown ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_DiscardUnknown()
func (*ListUserSettingResponse_List_DetailDisplayList) XXX_Marshal ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserSettingResponse_List_DetailDisplayList) XXX_Merge ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Merge(src proto.Message)
func (*ListUserSettingResponse_List_DetailDisplayList) XXX_Size ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Size() int
func (*ListUserSettingResponse_List_DetailDisplayList) XXX_Unmarshal ¶
func (m *ListUserSettingResponse_List_DetailDisplayList) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateUserSetting(context.Context, *idcmanager.UserSetting) (*types.Empty, error) ListIDCRack(context.Context, *ListIDCRackRequest) (*ListIDCRackResponse, error) ListDeviceType(context.Context, *types.Empty) (*ListDeviceTypeResponse, error) ListUserSetting(context.Context, *ListUserSettingRequest) (*ListUserSettingResponse, error) ListIDCRackV2(context.Context, *ListIDCRackV2Request) (*ListIDCRackV2Response, error) UpdateIDCRackLayout(context.Context, *UpdateIDCRackLayoutRequest) (*UpdateIDCRackLayoutResponse, error) }
Service is the server API for idcrack service.
type UpdateIDCRackLayoutRequest ¶
type UpdateIDCRackLayoutRequest struct { // //机柜ID IdcrackId string `protobuf:"bytes,1,opt,name=idcrackId,proto3" json:"idcrackId" form:"idcrackId"` // //机柜部局 Layout []*UpdateIDCRackLayoutRequest_Layout `protobuf:"bytes,2,rep,name=layout,proto3" json:"layout" form:"layout"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateIDCRackLayout请求
func (*UpdateIDCRackLayoutRequest) Descriptor ¶
func (*UpdateIDCRackLayoutRequest) Descriptor() ([]byte, []int)
func (*UpdateIDCRackLayoutRequest) GetIdcrackId ¶
func (m *UpdateIDCRackLayoutRequest) GetIdcrackId() string
func (*UpdateIDCRackLayoutRequest) GetLayout ¶
func (m *UpdateIDCRackLayoutRequest) GetLayout() []*UpdateIDCRackLayoutRequest_Layout
func (*UpdateIDCRackLayoutRequest) ProtoMessage ¶
func (*UpdateIDCRackLayoutRequest) ProtoMessage()
func (*UpdateIDCRackLayoutRequest) Reset ¶
func (m *UpdateIDCRackLayoutRequest) Reset()
func (*UpdateIDCRackLayoutRequest) String ¶
func (m *UpdateIDCRackLayoutRequest) String() string
func (*UpdateIDCRackLayoutRequest) Validate ¶
func (this *UpdateIDCRackLayoutRequest) Validate() error
func (*UpdateIDCRackLayoutRequest) XXX_DiscardUnknown ¶
func (m *UpdateIDCRackLayoutRequest) XXX_DiscardUnknown()
func (*UpdateIDCRackLayoutRequest) XXX_Marshal ¶
func (m *UpdateIDCRackLayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIDCRackLayoutRequest) XXX_Merge ¶
func (m *UpdateIDCRackLayoutRequest) XXX_Merge(src proto.Message)
func (*UpdateIDCRackLayoutRequest) XXX_Size ¶
func (m *UpdateIDCRackLayoutRequest) XXX_Size() int
func (*UpdateIDCRackLayoutRequest) XXX_Unmarshal ¶
func (m *UpdateIDCRackLayoutRequest) XXX_Unmarshal(b []byte) error
type UpdateIDCRackLayoutRequest_Layout ¶
type UpdateIDCRackLayoutRequest_Layout struct { // //设备ID InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` // //设备类型(host,switch,router,firewall,disable) Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" form:"type"` // //起始U位 StartU int32 `protobuf:"varint,3,opt,name=startU,proto3" json:"startU" form:"startU"` // //占用U位 OccupiedU int32 `protobuf:"varint,4,opt,name=occupiedU,proto3" json:"occupiedU" form:"occupiedU"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateIDCRackLayoutRequest_Layout) Descriptor ¶
func (*UpdateIDCRackLayoutRequest_Layout) Descriptor() ([]byte, []int)
func (*UpdateIDCRackLayoutRequest_Layout) GetInstanceId ¶
func (m *UpdateIDCRackLayoutRequest_Layout) GetInstanceId() string
func (*UpdateIDCRackLayoutRequest_Layout) GetOccupiedU ¶
func (m *UpdateIDCRackLayoutRequest_Layout) GetOccupiedU() int32
func (*UpdateIDCRackLayoutRequest_Layout) GetStartU ¶
func (m *UpdateIDCRackLayoutRequest_Layout) GetStartU() int32
func (*UpdateIDCRackLayoutRequest_Layout) GetType ¶
func (m *UpdateIDCRackLayoutRequest_Layout) GetType() string
func (*UpdateIDCRackLayoutRequest_Layout) ProtoMessage ¶
func (*UpdateIDCRackLayoutRequest_Layout) ProtoMessage()
func (*UpdateIDCRackLayoutRequest_Layout) Reset ¶
func (m *UpdateIDCRackLayoutRequest_Layout) Reset()
func (*UpdateIDCRackLayoutRequest_Layout) String ¶
func (m *UpdateIDCRackLayoutRequest_Layout) String() string
func (*UpdateIDCRackLayoutRequest_Layout) Validate ¶
func (this *UpdateIDCRackLayoutRequest_Layout) Validate() error
func (*UpdateIDCRackLayoutRequest_Layout) XXX_DiscardUnknown ¶
func (m *UpdateIDCRackLayoutRequest_Layout) XXX_DiscardUnknown()
func (*UpdateIDCRackLayoutRequest_Layout) XXX_Marshal ¶
func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIDCRackLayoutRequest_Layout) XXX_Merge ¶
func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Merge(src proto.Message)
func (*UpdateIDCRackLayoutRequest_Layout) XXX_Size ¶
func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Size() int
func (*UpdateIDCRackLayoutRequest_Layout) XXX_Unmarshal ¶
func (m *UpdateIDCRackLayoutRequest_Layout) XXX_Unmarshal(b []byte) error
type UpdateIDCRackLayoutResponse ¶
type UpdateIDCRackLayoutResponse struct { // //补丁id InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateIDCRackLayout返回
func (*UpdateIDCRackLayoutResponse) Descriptor ¶
func (*UpdateIDCRackLayoutResponse) Descriptor() ([]byte, []int)
func (*UpdateIDCRackLayoutResponse) GetInstanceId ¶
func (m *UpdateIDCRackLayoutResponse) GetInstanceId() string
func (*UpdateIDCRackLayoutResponse) ProtoMessage ¶
func (*UpdateIDCRackLayoutResponse) ProtoMessage()
func (*UpdateIDCRackLayoutResponse) Reset ¶
func (m *UpdateIDCRackLayoutResponse) Reset()
func (*UpdateIDCRackLayoutResponse) String ¶
func (m *UpdateIDCRackLayoutResponse) String() string
func (*UpdateIDCRackLayoutResponse) Validate ¶
func (this *UpdateIDCRackLayoutResponse) Validate() error
func (*UpdateIDCRackLayoutResponse) XXX_DiscardUnknown ¶
func (m *UpdateIDCRackLayoutResponse) XXX_DiscardUnknown()
func (*UpdateIDCRackLayoutResponse) XXX_Marshal ¶
func (m *UpdateIDCRackLayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIDCRackLayoutResponse) XXX_Merge ¶
func (m *UpdateIDCRackLayoutResponse) XXX_Merge(src proto.Message)
func (*UpdateIDCRackLayoutResponse) XXX_Size ¶
func (m *UpdateIDCRackLayoutResponse) XXX_Size() int
func (*UpdateIDCRackLayoutResponse) XXX_Unmarshal ¶
func (m *UpdateIDCRackLayoutResponse) XXX_Unmarshal(b []byte) error
type UpdateIDCRackLayoutResponseWrapper ¶
type UpdateIDCRackLayoutResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *UpdateIDCRackLayoutResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateIDCRackLayoutApi返回
func (*UpdateIDCRackLayoutResponseWrapper) Descriptor ¶
func (*UpdateIDCRackLayoutResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateIDCRackLayoutResponseWrapper) GetCode ¶
func (m *UpdateIDCRackLayoutResponseWrapper) GetCode() int32
func (*UpdateIDCRackLayoutResponseWrapper) GetCodeExplain ¶
func (m *UpdateIDCRackLayoutResponseWrapper) GetCodeExplain() string
func (*UpdateIDCRackLayoutResponseWrapper) GetData ¶
func (m *UpdateIDCRackLayoutResponseWrapper) GetData() *UpdateIDCRackLayoutResponse
func (*UpdateIDCRackLayoutResponseWrapper) GetError ¶
func (m *UpdateIDCRackLayoutResponseWrapper) GetError() string
func (*UpdateIDCRackLayoutResponseWrapper) ProtoMessage ¶
func (*UpdateIDCRackLayoutResponseWrapper) ProtoMessage()
func (*UpdateIDCRackLayoutResponseWrapper) Reset ¶
func (m *UpdateIDCRackLayoutResponseWrapper) Reset()
func (*UpdateIDCRackLayoutResponseWrapper) String ¶
func (m *UpdateIDCRackLayoutResponseWrapper) String() string
func (*UpdateIDCRackLayoutResponseWrapper) Validate ¶
func (this *UpdateIDCRackLayoutResponseWrapper) Validate() error
func (*UpdateIDCRackLayoutResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateIDCRackLayoutResponseWrapper) XXX_DiscardUnknown()
func (*UpdateIDCRackLayoutResponseWrapper) XXX_Marshal ¶
func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateIDCRackLayoutResponseWrapper) XXX_Merge ¶
func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateIDCRackLayoutResponseWrapper) XXX_Size ¶
func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Size() int
func (*UpdateIDCRackLayoutResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateIDCRackLayoutResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files ¶
- create_user_setting.pb.go
- create_user_setting.validator.pb.go
- giraffe_service.giraffe.pb.go
- list.pb.go
- list.validator.pb.go
- list_device_type.pb.go
- list_device_type.validator.pb.go
- list_user_setting.pb.go
- list_user_setting.validator.pb.go
- list_v2.pb.go
- list_v2.validator.pb.go
- update_layout.pb.go
- update_layout.validator.pb.go
Click to show internal directories.
Click to hide internal directories.