Documentation ¶
Index ¶
- Variables
- type GpuDeviceInfo
- func (p *GpuDeviceInfo) BLength() int
- func (p *GpuDeviceInfo) DeepEqual(ano *GpuDeviceInfo) bool
- func (p *GpuDeviceInfo) FastRead(buf []byte) (int, error)
- func (p *GpuDeviceInfo) FastReadField1(buf []byte) (int, error)
- func (p *GpuDeviceInfo) FastReadField2(buf []byte) (int, error)
- func (p *GpuDeviceInfo) FastReadField3(buf []byte) (int, error)
- func (p *GpuDeviceInfo) FastWrite(buf []byte) int
- func (p *GpuDeviceInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GpuDeviceInfo) Field1DeepEqual(src string) bool
- func (p *GpuDeviceInfo) Field2DeepEqual(src int32) bool
- func (p *GpuDeviceInfo) Field3DeepEqual(src int32) bool
- func (p *GpuDeviceInfo) GetCount() (v int32)
- func (p *GpuDeviceInfo) GetMem() (v int32)
- func (p *GpuDeviceInfo) GetModel() (v string)
- func (p *GpuDeviceInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *GpuDeviceInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *GpuDeviceInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *GpuDeviceInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *GpuDeviceInfo) SetCount(val int32)
- func (p *GpuDeviceInfo) SetMem(val int32)
- func (p *GpuDeviceInfo) SetModel(val string)
- func (p *GpuDeviceInfo) String() string
- func (p *GpuDeviceInfo) Write(oprot thrift.TProtocol) (err error)
- type GpuInfo
- func (p *GpuInfo) BLength() int
- func (p *GpuInfo) DeepEqual(ano *GpuInfo) bool
- func (p *GpuInfo) FastRead(buf []byte) (int, error)
- func (p *GpuInfo) FastReadField1(buf []byte) (int, error)
- func (p *GpuInfo) FastReadField2(buf []byte) (int, error)
- func (p *GpuInfo) FastReadField3(buf []byte) (int, error)
- func (p *GpuInfo) FastWrite(buf []byte) int
- func (p *GpuInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GpuInfo) Field1DeepEqual(src int32) bool
- func (p *GpuInfo) Field2DeepEqual(src int32) bool
- func (p *GpuInfo) Field3DeepEqual(src []*GpuDeviceInfo) bool
- func (p *GpuInfo) GetGpuDevices() (v []*GpuDeviceInfo)
- func (p *GpuInfo) GetTotalCount() (v int32)
- func (p *GpuInfo) GetTotalMem() (v int32)
- func (p *GpuInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *GpuInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *GpuInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *GpuInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *GpuInfo) SetGpuDevices(val []*GpuDeviceInfo)
- func (p *GpuInfo) SetTotalCount(val int32)
- func (p *GpuInfo) SetTotalMem(val int32)
- func (p *GpuInfo) String() string
- func (p *GpuInfo) Write(oprot thrift.TProtocol) (err error)
- type InstanceType
- func (p *InstanceType) BLength() int
- func (p *InstanceType) DeepEqual(ano *InstanceType) bool
- func (p *InstanceType) FastRead(buf []byte) (int, error)
- func (p *InstanceType) FastReadField1(buf []byte) (int, error)
- func (p *InstanceType) FastReadField10(buf []byte) (int, error)
- func (p *InstanceType) FastReadField101(buf []byte) (int, error)
- func (p *InstanceType) FastReadField11(buf []byte) (int, error)
- func (p *InstanceType) FastReadField12(buf []byte) (int, error)
- func (p *InstanceType) FastReadField13(buf []byte) (int, error)
- func (p *InstanceType) FastReadField2(buf []byte) (int, error)
- func (p *InstanceType) FastReadField3(buf []byte) (int, error)
- func (p *InstanceType) FastReadField4(buf []byte) (int, error)
- func (p *InstanceType) FastReadField5(buf []byte) (int, error)
- func (p *InstanceType) FastReadField6(buf []byte) (int, error)
- func (p *InstanceType) FastReadField7(buf []byte) (int, error)
- func (p *InstanceType) FastReadField8(buf []byte) (int, error)
- func (p *InstanceType) FastReadField9(buf []byte) (int, error)
- func (p *InstanceType) FastWrite(buf []byte) int
- func (p *InstanceType) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *InstanceType) Field101DeepEqual(src string) bool
- func (p *InstanceType) Field10DeepEqual(src []string) bool
- func (p *InstanceType) Field11DeepEqual(src *GpuInfo) bool
- func (p *InstanceType) Field12DeepEqual(src string) bool
- func (p *InstanceType) Field13DeepEqual(src *RdmaMetadata) bool
- func (p *InstanceType) Field1DeepEqual(src string) bool
- func (p *InstanceType) Field2DeepEqual(src string) bool
- func (p *InstanceType) Field3DeepEqual(src int32) bool
- func (p *InstanceType) Field4DeepEqual(src int32) bool
- func (p *InstanceType) Field5DeepEqual(src int32) bool
- func (p *InstanceType) Field6DeepEqual(src int32) bool
- func (p *InstanceType) Field7DeepEqual(src int32) bool
- func (p *InstanceType) Field8DeepEqual(src int32) bool
- func (p *InstanceType) Field9DeepEqual(src string) bool
- func (p *InstanceType) GetArchitecture() (v string)
- func (p *InstanceType) GetCpu() (v int32)
- func (p *InstanceType) GetGpu() (v *GpuInfo)
- func (p *InstanceType) GetId() (v string)
- func (p *InstanceType) GetInstanceTypeFamily() (v string)
- func (p *InstanceType) GetMem() (v int32)
- func (p *InstanceType) GetNetKppsQuota() (v int32)
- func (p *InstanceType) GetNetMbpsQuota() (v int32)
- func (p *InstanceType) GetNetSessionQuota() (v int32)
- func (p *InstanceType) GetNetworkInterfaceNumQuota() (v int32)
- func (p *InstanceType) GetRdma() (v *RdmaMetadata)
- func (p *InstanceType) GetStatus() (v string)
- func (p *InstanceType) GetType() (v string)
- func (p *InstanceType) GetVolumeTypes() (v []string)
- func (p *InstanceType) IsSetGpu() bool
- func (p *InstanceType) IsSetRdma() bool
- func (p *InstanceType) Read(iprot thrift.TProtocol) (err error)
- func (p *InstanceType) ReadField1(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField10(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField101(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField11(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField12(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField13(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField2(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField3(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField4(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField5(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField6(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField7(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField8(iprot thrift.TProtocol) error
- func (p *InstanceType) ReadField9(iprot thrift.TProtocol) error
- func (p *InstanceType) SetArchitecture(val string)
- func (p *InstanceType) SetCpu(val int32)
- func (p *InstanceType) SetGpu(val *GpuInfo)
- func (p *InstanceType) SetId(val string)
- func (p *InstanceType) SetInstanceTypeFamily(val string)
- func (p *InstanceType) SetMem(val int32)
- func (p *InstanceType) SetNetKppsQuota(val int32)
- func (p *InstanceType) SetNetMbpsQuota(val int32)
- func (p *InstanceType) SetNetSessionQuota(val int32)
- func (p *InstanceType) SetNetworkInterfaceNumQuota(val int32)
- func (p *InstanceType) SetRdma(val *RdmaMetadata)
- func (p *InstanceType) SetStatus(val string)
- func (p *InstanceType) SetType(val string)
- func (p *InstanceType) SetVolumeTypes(val []string)
- func (p *InstanceType) String() string
- func (p *InstanceType) Write(oprot thrift.TProtocol) (err error)
- type NetworkInterface
- func (p *NetworkInterface) BLength() int
- func (p *NetworkInterface) DeepEqual(ano *NetworkInterface) bool
- func (p *NetworkInterface) FastRead(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField1(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField10(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField11(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField2(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField3(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField4(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField5(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField6(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField7(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField8(buf []byte) (int, error)
- func (p *NetworkInterface) FastReadField9(buf []byte) (int, error)
- func (p *NetworkInterface) FastWrite(buf []byte) int
- func (p *NetworkInterface) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NetworkInterface) Field10DeepEqual(src string) bool
- func (p *NetworkInterface) Field11DeepEqual(src string) bool
- func (p *NetworkInterface) Field1DeepEqual(src string) bool
- func (p *NetworkInterface) Field2DeepEqual(src string) bool
- func (p *NetworkInterface) Field3DeepEqual(src string) bool
- func (p *NetworkInterface) Field4DeepEqual(src string) bool
- func (p *NetworkInterface) Field5DeepEqual(src string) bool
- func (p *NetworkInterface) Field6DeepEqual(src string) bool
- func (p *NetworkInterface) Field7DeepEqual(src string) bool
- func (p *NetworkInterface) Field8DeepEqual(src []string) bool
- func (p *NetworkInterface) Field9DeepEqual(src string) bool
- func (p *NetworkInterface) GetEipAddress() (v string)
- func (p *NetworkInterface) GetMacAddress() (v string)
- func (p *NetworkInterface) GetNetworkInterfaceId() (v string)
- func (p *NetworkInterface) GetNetworkInterfaceName() (v string)
- func (p *NetworkInterface) GetPrimaryIpAddress() (v string)
- func (p *NetworkInterface) GetSecurityGroupIds() (v []string)
- func (p *NetworkInterface) GetStatus() (v string)
- func (p *NetworkInterface) GetSubnetId() (v string)
- func (p *NetworkInterface) GetType() (v string)
- func (p *NetworkInterface) GetVpcId() (v string)
- func (p *NetworkInterface) GetVpcName() (v string)
- func (p *NetworkInterface) Read(iprot thrift.TProtocol) (err error)
- func (p *NetworkInterface) ReadField1(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField10(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField11(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField2(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField3(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField4(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField5(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField6(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField7(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField8(iprot thrift.TProtocol) error
- func (p *NetworkInterface) ReadField9(iprot thrift.TProtocol) error
- func (p *NetworkInterface) SetEipAddress(val string)
- func (p *NetworkInterface) SetMacAddress(val string)
- func (p *NetworkInterface) SetNetworkInterfaceId(val string)
- func (p *NetworkInterface) SetNetworkInterfaceName(val string)
- func (p *NetworkInterface) SetPrimaryIpAddress(val string)
- func (p *NetworkInterface) SetSecurityGroupIds(val []string)
- func (p *NetworkInterface) SetStatus(val string)
- func (p *NetworkInterface) SetSubnetId(val string)
- func (p *NetworkInterface) SetType(val string)
- func (p *NetworkInterface) SetVpcId(val string)
- func (p *NetworkInterface) SetVpcName(val string)
- func (p *NetworkInterface) String() string
- func (p *NetworkInterface) Write(oprot thrift.TProtocol) (err error)
- type RdmaMetadata
- func (p *RdmaMetadata) BLength() int
- func (p *RdmaMetadata) DeepEqual(ano *RdmaMetadata) bool
- func (p *RdmaMetadata) FastRead(buf []byte) (int, error)
- func (p *RdmaMetadata) FastReadField1(buf []byte) (int, error)
- func (p *RdmaMetadata) FastReadField2(buf []byte) (int, error)
- func (p *RdmaMetadata) FastWrite(buf []byte) int
- func (p *RdmaMetadata) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *RdmaMetadata) Field1DeepEqual(src int32) bool
- func (p *RdmaMetadata) Field2DeepEqual(src string) bool
- func (p *RdmaMetadata) GetRdmaEniBandwidth() (v string)
- func (p *RdmaMetadata) GetRdmaEniCount() (v int32)
- func (p *RdmaMetadata) Read(iprot thrift.TProtocol) (err error)
- func (p *RdmaMetadata) ReadField1(iprot thrift.TProtocol) error
- func (p *RdmaMetadata) ReadField2(iprot thrift.TProtocol) error
- func (p *RdmaMetadata) SetRdmaEniBandwidth(val string)
- func (p *RdmaMetadata) SetRdmaEniCount(val int32)
- func (p *RdmaMetadata) String() string
- func (p *RdmaMetadata) Write(oprot thrift.TProtocol) (err error)
- type VolumeRes
- func (p *VolumeRes) BLength() int
- func (p *VolumeRes) DeepEqual(ano *VolumeRes) bool
- func (p *VolumeRes) FastRead(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField1(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField2(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField3(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField4(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField5(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField6(buf []byte) (int, error)
- func (p *VolumeRes) FastReadField7(buf []byte) (int, error)
- func (p *VolumeRes) FastWrite(buf []byte) int
- func (p *VolumeRes) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VolumeRes) Field1DeepEqual(src string) bool
- func (p *VolumeRes) Field2DeepEqual(src string) bool
- func (p *VolumeRes) Field3DeepEqual(src string) bool
- func (p *VolumeRes) Field4DeepEqual(src string) bool
- func (p *VolumeRes) Field5DeepEqual(src string) bool
- func (p *VolumeRes) Field6DeepEqual(src string) bool
- func (p *VolumeRes) Field7DeepEqual(src string) bool
- func (p *VolumeRes) GetImageId() (v string)
- func (p *VolumeRes) GetKind() (v string)
- func (p *VolumeRes) GetSize() (v string)
- func (p *VolumeRes) GetStatus() (v string)
- func (p *VolumeRes) GetVolumeId() (v string)
- func (p *VolumeRes) GetVolumeName() (v string)
- func (p *VolumeRes) GetVolumeType() (v string)
- func (p *VolumeRes) Read(iprot thrift.TProtocol) (err error)
- func (p *VolumeRes) ReadField1(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField2(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField3(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField4(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField5(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField6(iprot thrift.TProtocol) error
- func (p *VolumeRes) ReadField7(iprot thrift.TProtocol) error
- func (p *VolumeRes) SetImageId(val string)
- func (p *VolumeRes) SetKind(val string)
- func (p *VolumeRes) SetSize(val string)
- func (p *VolumeRes) SetStatus(val string)
- func (p *VolumeRes) SetVolumeId(val string)
- func (p *VolumeRes) SetVolumeName(val string)
- func (p *VolumeRes) SetVolumeType(val string)
- func (p *VolumeRes) String() string
- func (p *VolumeRes) Write(oprot thrift.TProtocol) (err error)
- type Zone
- func (p *Zone) BLength() int
- func (p *Zone) DeepEqual(ano *Zone) bool
- func (p *Zone) FastRead(buf []byte) (int, error)
- func (p *Zone) FastReadField1(buf []byte) (int, error)
- func (p *Zone) FastReadField2(buf []byte) (int, error)
- func (p *Zone) FastReadField3(buf []byte) (int, error)
- func (p *Zone) FastWrite(buf []byte) int
- func (p *Zone) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Zone) Field1DeepEqual(src string) bool
- func (p *Zone) Field2DeepEqual(src []string) bool
- func (p *Zone) Field3DeepEqual(src []string) bool
- func (p *Zone) GetId() (v string)
- func (p *Zone) GetInstanceTypes() (v []string)
- func (p *Zone) GetVolumeTypes() (v []string)
- func (p *Zone) Read(iprot thrift.TProtocol) (err error)
- func (p *Zone) ReadField1(iprot thrift.TProtocol) error
- func (p *Zone) ReadField2(iprot thrift.TProtocol) error
- func (p *Zone) ReadField3(iprot thrift.TProtocol) error
- func (p *Zone) SetId(val string)
- func (p *Zone) SetInstanceTypes(val []string)
- func (p *Zone) SetVolumeTypes(val []string)
- func (p *Zone) String() string
- func (p *Zone) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
Functions ¶
This section is empty.
Types ¶
type GpuDeviceInfo ¶
type GpuDeviceInfo struct { Model string `thrift:"Model,1,required" json:"Model"` Mem int32 `thrift:"Mem,2,required" json:"Mem"` Count int32 `thrift:"Count,3,required" json:"Count"` }
func NewGpuDeviceInfo ¶
func NewGpuDeviceInfo() *GpuDeviceInfo
func (*GpuDeviceInfo) BLength ¶
func (p *GpuDeviceInfo) BLength() int
func (*GpuDeviceInfo) DeepEqual ¶
func (p *GpuDeviceInfo) DeepEqual(ano *GpuDeviceInfo) bool
func (*GpuDeviceInfo) FastReadField1 ¶
func (p *GpuDeviceInfo) FastReadField1(buf []byte) (int, error)
func (*GpuDeviceInfo) FastReadField2 ¶
func (p *GpuDeviceInfo) FastReadField2(buf []byte) (int, error)
func (*GpuDeviceInfo) FastReadField3 ¶
func (p *GpuDeviceInfo) FastReadField3(buf []byte) (int, error)
func (*GpuDeviceInfo) FastWrite ¶
func (p *GpuDeviceInfo) FastWrite(buf []byte) int
for compatibility
func (*GpuDeviceInfo) FastWriteNocopy ¶
func (p *GpuDeviceInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GpuDeviceInfo) Field1DeepEqual ¶
func (p *GpuDeviceInfo) Field1DeepEqual(src string) bool
func (*GpuDeviceInfo) Field2DeepEqual ¶
func (p *GpuDeviceInfo) Field2DeepEqual(src int32) bool
func (*GpuDeviceInfo) Field3DeepEqual ¶
func (p *GpuDeviceInfo) Field3DeepEqual(src int32) bool
func (*GpuDeviceInfo) GetCount ¶
func (p *GpuDeviceInfo) GetCount() (v int32)
func (*GpuDeviceInfo) GetMem ¶
func (p *GpuDeviceInfo) GetMem() (v int32)
func (*GpuDeviceInfo) GetModel ¶
func (p *GpuDeviceInfo) GetModel() (v string)
func (*GpuDeviceInfo) ReadField1 ¶
func (p *GpuDeviceInfo) ReadField1(iprot thrift.TProtocol) error
func (*GpuDeviceInfo) ReadField2 ¶
func (p *GpuDeviceInfo) ReadField2(iprot thrift.TProtocol) error
func (*GpuDeviceInfo) ReadField3 ¶
func (p *GpuDeviceInfo) ReadField3(iprot thrift.TProtocol) error
func (*GpuDeviceInfo) SetCount ¶
func (p *GpuDeviceInfo) SetCount(val int32)
func (*GpuDeviceInfo) SetMem ¶
func (p *GpuDeviceInfo) SetMem(val int32)
func (*GpuDeviceInfo) SetModel ¶
func (p *GpuDeviceInfo) SetModel(val string)
func (*GpuDeviceInfo) String ¶
func (p *GpuDeviceInfo) String() string
type GpuInfo ¶
type GpuInfo struct { TotalCount int32 `thrift:"TotalCount,1,required" json:"TotalCount"` TotalMem int32 `thrift:"TotalMem,2,required" json:"TotalMem"` GpuDevices []*GpuDeviceInfo `thrift:"GpuDevices,3,required" json:"GpuDevices"` }
var InstanceType_Gpu_DEFAULT *GpuInfo
func NewGpuInfo ¶
func NewGpuInfo() *GpuInfo
func (*GpuInfo) FastWriteNocopy ¶
func (p *GpuInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GpuInfo) Field1DeepEqual ¶
func (*GpuInfo) Field2DeepEqual ¶
func (*GpuInfo) Field3DeepEqual ¶
func (p *GpuInfo) Field3DeepEqual(src []*GpuDeviceInfo) bool
func (*GpuInfo) GetGpuDevices ¶
func (p *GpuInfo) GetGpuDevices() (v []*GpuDeviceInfo)
func (*GpuInfo) GetTotalCount ¶
func (*GpuInfo) GetTotalMem ¶
func (*GpuInfo) SetGpuDevices ¶
func (p *GpuInfo) SetGpuDevices(val []*GpuDeviceInfo)
func (*GpuInfo) SetTotalCount ¶
func (*GpuInfo) SetTotalMem ¶
type InstanceType ¶
type InstanceType struct { Id string `thrift:"Id,1,required" json:"Id"` InstanceTypeFamily string `thrift:"InstanceTypeFamily,2,required" json:"InstanceTypeFamily"` Cpu int32 `thrift:"Cpu,3,required" json:"Cpu"` Mem int32 `thrift:"Mem,4,required" json:"Mem"` NetMbpsQuota int32 `thrift:"NetMbpsQuota,5,required" json:"NetMbpsQuota"` NetKppsQuota int32 `thrift:"NetKppsQuota,6,required" json:"NetKppsQuota"` NetSessionQuota int32 `thrift:"NetSessionQuota,7,required" json:"NetSessionQuota"` NetworkInterfaceNumQuota int32 `thrift:"NetworkInterfaceNumQuota,8,required" json:"NetworkInterfaceNumQuota"` Architecture string `thrift:"Architecture,9,required" json:"Architecture"` VolumeTypes []string `thrift:"VolumeTypes,10,required" json:"VolumeTypes"` Gpu *GpuInfo `thrift:"Gpu,11,required" json:"Gpu"` Type string `thrift:"Type,12,required" json:"Type"` Rdma *RdmaMetadata `thrift:"Rdma,13,required" json:"Rdma"` Status string `thrift:"Status,101,required" json:"Status"` }
func NewInstanceType ¶
func NewInstanceType() *InstanceType
func (*InstanceType) BLength ¶
func (p *InstanceType) BLength() int
func (*InstanceType) DeepEqual ¶
func (p *InstanceType) DeepEqual(ano *InstanceType) bool
func (*InstanceType) FastReadField1 ¶
func (p *InstanceType) FastReadField1(buf []byte) (int, error)
func (*InstanceType) FastReadField10 ¶
func (p *InstanceType) FastReadField10(buf []byte) (int, error)
func (*InstanceType) FastReadField101 ¶
func (p *InstanceType) FastReadField101(buf []byte) (int, error)
func (*InstanceType) FastReadField11 ¶
func (p *InstanceType) FastReadField11(buf []byte) (int, error)
func (*InstanceType) FastReadField12 ¶
func (p *InstanceType) FastReadField12(buf []byte) (int, error)
func (*InstanceType) FastReadField13 ¶
func (p *InstanceType) FastReadField13(buf []byte) (int, error)
func (*InstanceType) FastReadField2 ¶
func (p *InstanceType) FastReadField2(buf []byte) (int, error)
func (*InstanceType) FastReadField3 ¶
func (p *InstanceType) FastReadField3(buf []byte) (int, error)
func (*InstanceType) FastReadField4 ¶
func (p *InstanceType) FastReadField4(buf []byte) (int, error)
func (*InstanceType) FastReadField5 ¶
func (p *InstanceType) FastReadField5(buf []byte) (int, error)
func (*InstanceType) FastReadField6 ¶
func (p *InstanceType) FastReadField6(buf []byte) (int, error)
func (*InstanceType) FastReadField7 ¶
func (p *InstanceType) FastReadField7(buf []byte) (int, error)
func (*InstanceType) FastReadField8 ¶
func (p *InstanceType) FastReadField8(buf []byte) (int, error)
func (*InstanceType) FastReadField9 ¶
func (p *InstanceType) FastReadField9(buf []byte) (int, error)
func (*InstanceType) FastWriteNocopy ¶
func (p *InstanceType) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*InstanceType) Field101DeepEqual ¶
func (p *InstanceType) Field101DeepEqual(src string) bool
func (*InstanceType) Field10DeepEqual ¶
func (p *InstanceType) Field10DeepEqual(src []string) bool
func (*InstanceType) Field11DeepEqual ¶
func (p *InstanceType) Field11DeepEqual(src *GpuInfo) bool
func (*InstanceType) Field12DeepEqual ¶
func (p *InstanceType) Field12DeepEqual(src string) bool
func (*InstanceType) Field13DeepEqual ¶
func (p *InstanceType) Field13DeepEqual(src *RdmaMetadata) bool
func (*InstanceType) Field1DeepEqual ¶
func (p *InstanceType) Field1DeepEqual(src string) bool
func (*InstanceType) Field2DeepEqual ¶
func (p *InstanceType) Field2DeepEqual(src string) bool
func (*InstanceType) Field3DeepEqual ¶
func (p *InstanceType) Field3DeepEqual(src int32) bool
func (*InstanceType) Field4DeepEqual ¶
func (p *InstanceType) Field4DeepEqual(src int32) bool
func (*InstanceType) Field5DeepEqual ¶
func (p *InstanceType) Field5DeepEqual(src int32) bool
func (*InstanceType) Field6DeepEqual ¶
func (p *InstanceType) Field6DeepEqual(src int32) bool
func (*InstanceType) Field7DeepEqual ¶
func (p *InstanceType) Field7DeepEqual(src int32) bool
func (*InstanceType) Field8DeepEqual ¶
func (p *InstanceType) Field8DeepEqual(src int32) bool
func (*InstanceType) Field9DeepEqual ¶
func (p *InstanceType) Field9DeepEqual(src string) bool
func (*InstanceType) GetArchitecture ¶
func (p *InstanceType) GetArchitecture() (v string)
func (*InstanceType) GetCpu ¶
func (p *InstanceType) GetCpu() (v int32)
func (*InstanceType) GetGpu ¶
func (p *InstanceType) GetGpu() (v *GpuInfo)
func (*InstanceType) GetId ¶
func (p *InstanceType) GetId() (v string)
func (*InstanceType) GetInstanceTypeFamily ¶
func (p *InstanceType) GetInstanceTypeFamily() (v string)
func (*InstanceType) GetMem ¶
func (p *InstanceType) GetMem() (v int32)
func (*InstanceType) GetNetKppsQuota ¶
func (p *InstanceType) GetNetKppsQuota() (v int32)
func (*InstanceType) GetNetMbpsQuota ¶
func (p *InstanceType) GetNetMbpsQuota() (v int32)
func (*InstanceType) GetNetSessionQuota ¶
func (p *InstanceType) GetNetSessionQuota() (v int32)
func (*InstanceType) GetNetworkInterfaceNumQuota ¶
func (p *InstanceType) GetNetworkInterfaceNumQuota() (v int32)
func (*InstanceType) GetRdma ¶
func (p *InstanceType) GetRdma() (v *RdmaMetadata)
func (*InstanceType) GetStatus ¶
func (p *InstanceType) GetStatus() (v string)
func (*InstanceType) GetType ¶
func (p *InstanceType) GetType() (v string)
func (*InstanceType) GetVolumeTypes ¶
func (p *InstanceType) GetVolumeTypes() (v []string)
func (*InstanceType) IsSetGpu ¶
func (p *InstanceType) IsSetGpu() bool
func (*InstanceType) IsSetRdma ¶
func (p *InstanceType) IsSetRdma() bool
func (*InstanceType) ReadField1 ¶
func (p *InstanceType) ReadField1(iprot thrift.TProtocol) error
func (*InstanceType) ReadField10 ¶
func (p *InstanceType) ReadField10(iprot thrift.TProtocol) error
func (*InstanceType) ReadField101 ¶
func (p *InstanceType) ReadField101(iprot thrift.TProtocol) error
func (*InstanceType) ReadField11 ¶
func (p *InstanceType) ReadField11(iprot thrift.TProtocol) error
func (*InstanceType) ReadField12 ¶
func (p *InstanceType) ReadField12(iprot thrift.TProtocol) error
func (*InstanceType) ReadField13 ¶
func (p *InstanceType) ReadField13(iprot thrift.TProtocol) error
func (*InstanceType) ReadField2 ¶
func (p *InstanceType) ReadField2(iprot thrift.TProtocol) error
func (*InstanceType) ReadField3 ¶
func (p *InstanceType) ReadField3(iprot thrift.TProtocol) error
func (*InstanceType) ReadField4 ¶
func (p *InstanceType) ReadField4(iprot thrift.TProtocol) error
func (*InstanceType) ReadField5 ¶
func (p *InstanceType) ReadField5(iprot thrift.TProtocol) error
func (*InstanceType) ReadField6 ¶
func (p *InstanceType) ReadField6(iprot thrift.TProtocol) error
func (*InstanceType) ReadField7 ¶
func (p *InstanceType) ReadField7(iprot thrift.TProtocol) error
func (*InstanceType) ReadField8 ¶
func (p *InstanceType) ReadField8(iprot thrift.TProtocol) error
func (*InstanceType) ReadField9 ¶
func (p *InstanceType) ReadField9(iprot thrift.TProtocol) error
func (*InstanceType) SetArchitecture ¶
func (p *InstanceType) SetArchitecture(val string)
func (*InstanceType) SetCpu ¶
func (p *InstanceType) SetCpu(val int32)
func (*InstanceType) SetGpu ¶
func (p *InstanceType) SetGpu(val *GpuInfo)
func (*InstanceType) SetId ¶
func (p *InstanceType) SetId(val string)
func (*InstanceType) SetInstanceTypeFamily ¶
func (p *InstanceType) SetInstanceTypeFamily(val string)
func (*InstanceType) SetMem ¶
func (p *InstanceType) SetMem(val int32)
func (*InstanceType) SetNetKppsQuota ¶
func (p *InstanceType) SetNetKppsQuota(val int32)
func (*InstanceType) SetNetMbpsQuota ¶
func (p *InstanceType) SetNetMbpsQuota(val int32)
func (*InstanceType) SetNetSessionQuota ¶
func (p *InstanceType) SetNetSessionQuota(val int32)
func (*InstanceType) SetNetworkInterfaceNumQuota ¶
func (p *InstanceType) SetNetworkInterfaceNumQuota(val int32)
func (*InstanceType) SetRdma ¶
func (p *InstanceType) SetRdma(val *RdmaMetadata)
func (*InstanceType) SetStatus ¶
func (p *InstanceType) SetStatus(val string)
func (*InstanceType) SetType ¶
func (p *InstanceType) SetType(val string)
func (*InstanceType) SetVolumeTypes ¶
func (p *InstanceType) SetVolumeTypes(val []string)
func (*InstanceType) String ¶
func (p *InstanceType) String() string
type NetworkInterface ¶
type NetworkInterface struct { NetworkInterfaceId string `thrift:"NetworkInterfaceId,1,required" json:"NetworkInterfaceId"` NetworkInterfaceName string `thrift:"NetworkInterfaceName,2,required" json:"NetworkInterfaceName"` Type string `thrift:"Type,3,required" json:"Type"` MacAddress string `thrift:"MacAddress,4,required" json:"MacAddress"` Status string `thrift:"status,5,required" json:"status"` SubnetId string `thrift:"SubnetId,6,required" json:"SubnetId"` PrimaryIpAddress string `thrift:"PrimaryIpAddress,7,required" json:"PrimaryIpAddress"` SecurityGroupIds []string `thrift:"SecurityGroupIds,8,required" json:"SecurityGroupIds"` VpcId string `thrift:"VpcId,9,required" json:"VpcId"` VpcName string `thrift:"VpcName,10,required" json:"VpcName"` EipAddress string `thrift:"EipAddress,11,required" json:"EipAddress"` }
func NewNetworkInterface ¶
func NewNetworkInterface() *NetworkInterface
func (*NetworkInterface) BLength ¶
func (p *NetworkInterface) BLength() int
func (*NetworkInterface) DeepEqual ¶
func (p *NetworkInterface) DeepEqual(ano *NetworkInterface) bool
func (*NetworkInterface) FastReadField1 ¶
func (p *NetworkInterface) FastReadField1(buf []byte) (int, error)
func (*NetworkInterface) FastReadField10 ¶
func (p *NetworkInterface) FastReadField10(buf []byte) (int, error)
func (*NetworkInterface) FastReadField11 ¶
func (p *NetworkInterface) FastReadField11(buf []byte) (int, error)
func (*NetworkInterface) FastReadField2 ¶
func (p *NetworkInterface) FastReadField2(buf []byte) (int, error)
func (*NetworkInterface) FastReadField3 ¶
func (p *NetworkInterface) FastReadField3(buf []byte) (int, error)
func (*NetworkInterface) FastReadField4 ¶
func (p *NetworkInterface) FastReadField4(buf []byte) (int, error)
func (*NetworkInterface) FastReadField5 ¶
func (p *NetworkInterface) FastReadField5(buf []byte) (int, error)
func (*NetworkInterface) FastReadField6 ¶
func (p *NetworkInterface) FastReadField6(buf []byte) (int, error)
func (*NetworkInterface) FastReadField7 ¶
func (p *NetworkInterface) FastReadField7(buf []byte) (int, error)
func (*NetworkInterface) FastReadField8 ¶
func (p *NetworkInterface) FastReadField8(buf []byte) (int, error)
func (*NetworkInterface) FastReadField9 ¶
func (p *NetworkInterface) FastReadField9(buf []byte) (int, error)
func (*NetworkInterface) FastWrite ¶
func (p *NetworkInterface) FastWrite(buf []byte) int
for compatibility
func (*NetworkInterface) FastWriteNocopy ¶
func (p *NetworkInterface) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*NetworkInterface) Field10DeepEqual ¶
func (p *NetworkInterface) Field10DeepEqual(src string) bool
func (*NetworkInterface) Field11DeepEqual ¶
func (p *NetworkInterface) Field11DeepEqual(src string) bool
func (*NetworkInterface) Field1DeepEqual ¶
func (p *NetworkInterface) Field1DeepEqual(src string) bool
func (*NetworkInterface) Field2DeepEqual ¶
func (p *NetworkInterface) Field2DeepEqual(src string) bool
func (*NetworkInterface) Field3DeepEqual ¶
func (p *NetworkInterface) Field3DeepEqual(src string) bool
func (*NetworkInterface) Field4DeepEqual ¶
func (p *NetworkInterface) Field4DeepEqual(src string) bool
func (*NetworkInterface) Field5DeepEqual ¶
func (p *NetworkInterface) Field5DeepEqual(src string) bool
func (*NetworkInterface) Field6DeepEqual ¶
func (p *NetworkInterface) Field6DeepEqual(src string) bool
func (*NetworkInterface) Field7DeepEqual ¶
func (p *NetworkInterface) Field7DeepEqual(src string) bool
func (*NetworkInterface) Field8DeepEqual ¶
func (p *NetworkInterface) Field8DeepEqual(src []string) bool
func (*NetworkInterface) Field9DeepEqual ¶
func (p *NetworkInterface) Field9DeepEqual(src string) bool
func (*NetworkInterface) GetEipAddress ¶
func (p *NetworkInterface) GetEipAddress() (v string)
func (*NetworkInterface) GetMacAddress ¶
func (p *NetworkInterface) GetMacAddress() (v string)
func (*NetworkInterface) GetNetworkInterfaceId ¶
func (p *NetworkInterface) GetNetworkInterfaceId() (v string)
func (*NetworkInterface) GetNetworkInterfaceName ¶
func (p *NetworkInterface) GetNetworkInterfaceName() (v string)
func (*NetworkInterface) GetPrimaryIpAddress ¶
func (p *NetworkInterface) GetPrimaryIpAddress() (v string)
func (*NetworkInterface) GetSecurityGroupIds ¶
func (p *NetworkInterface) GetSecurityGroupIds() (v []string)
func (*NetworkInterface) GetStatus ¶
func (p *NetworkInterface) GetStatus() (v string)
func (*NetworkInterface) GetSubnetId ¶
func (p *NetworkInterface) GetSubnetId() (v string)
func (*NetworkInterface) GetType ¶
func (p *NetworkInterface) GetType() (v string)
func (*NetworkInterface) GetVpcId ¶
func (p *NetworkInterface) GetVpcId() (v string)
func (*NetworkInterface) GetVpcName ¶
func (p *NetworkInterface) GetVpcName() (v string)
func (*NetworkInterface) ReadField1 ¶
func (p *NetworkInterface) ReadField1(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField10 ¶
func (p *NetworkInterface) ReadField10(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField11 ¶
func (p *NetworkInterface) ReadField11(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField2 ¶
func (p *NetworkInterface) ReadField2(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField3 ¶
func (p *NetworkInterface) ReadField3(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField4 ¶
func (p *NetworkInterface) ReadField4(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField5 ¶
func (p *NetworkInterface) ReadField5(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField6 ¶
func (p *NetworkInterface) ReadField6(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField7 ¶
func (p *NetworkInterface) ReadField7(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField8 ¶
func (p *NetworkInterface) ReadField8(iprot thrift.TProtocol) error
func (*NetworkInterface) ReadField9 ¶
func (p *NetworkInterface) ReadField9(iprot thrift.TProtocol) error
func (*NetworkInterface) SetEipAddress ¶
func (p *NetworkInterface) SetEipAddress(val string)
func (*NetworkInterface) SetMacAddress ¶
func (p *NetworkInterface) SetMacAddress(val string)
func (*NetworkInterface) SetNetworkInterfaceId ¶
func (p *NetworkInterface) SetNetworkInterfaceId(val string)
func (*NetworkInterface) SetNetworkInterfaceName ¶
func (p *NetworkInterface) SetNetworkInterfaceName(val string)
func (*NetworkInterface) SetPrimaryIpAddress ¶
func (p *NetworkInterface) SetPrimaryIpAddress(val string)
func (*NetworkInterface) SetSecurityGroupIds ¶
func (p *NetworkInterface) SetSecurityGroupIds(val []string)
func (*NetworkInterface) SetStatus ¶
func (p *NetworkInterface) SetStatus(val string)
func (*NetworkInterface) SetSubnetId ¶
func (p *NetworkInterface) SetSubnetId(val string)
func (*NetworkInterface) SetType ¶
func (p *NetworkInterface) SetType(val string)
func (*NetworkInterface) SetVpcId ¶
func (p *NetworkInterface) SetVpcId(val string)
func (*NetworkInterface) SetVpcName ¶
func (p *NetworkInterface) SetVpcName(val string)
func (*NetworkInterface) String ¶
func (p *NetworkInterface) String() string
type RdmaMetadata ¶
type RdmaMetadata struct { RdmaEniCount int32 `thrift:"RdmaEniCount,1,required" json:"RdmaEniCount"` RdmaEniBandwidth string `thrift:"RdmaEniBandwidth,2,required" json:"RdmaEniBandwidth"` }
var InstanceType_Rdma_DEFAULT *RdmaMetadata
func NewRdmaMetadata ¶
func NewRdmaMetadata() *RdmaMetadata
func (*RdmaMetadata) BLength ¶
func (p *RdmaMetadata) BLength() int
func (*RdmaMetadata) DeepEqual ¶
func (p *RdmaMetadata) DeepEqual(ano *RdmaMetadata) bool
func (*RdmaMetadata) FastReadField1 ¶
func (p *RdmaMetadata) FastReadField1(buf []byte) (int, error)
func (*RdmaMetadata) FastReadField2 ¶
func (p *RdmaMetadata) FastReadField2(buf []byte) (int, error)
func (*RdmaMetadata) FastWriteNocopy ¶
func (p *RdmaMetadata) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*RdmaMetadata) Field1DeepEqual ¶
func (p *RdmaMetadata) Field1DeepEqual(src int32) bool
func (*RdmaMetadata) Field2DeepEqual ¶
func (p *RdmaMetadata) Field2DeepEqual(src string) bool
func (*RdmaMetadata) GetRdmaEniBandwidth ¶
func (p *RdmaMetadata) GetRdmaEniBandwidth() (v string)
func (*RdmaMetadata) GetRdmaEniCount ¶
func (p *RdmaMetadata) GetRdmaEniCount() (v int32)
func (*RdmaMetadata) ReadField1 ¶
func (p *RdmaMetadata) ReadField1(iprot thrift.TProtocol) error
func (*RdmaMetadata) ReadField2 ¶
func (p *RdmaMetadata) ReadField2(iprot thrift.TProtocol) error
func (*RdmaMetadata) SetRdmaEniBandwidth ¶
func (p *RdmaMetadata) SetRdmaEniBandwidth(val string)
func (*RdmaMetadata) SetRdmaEniCount ¶
func (p *RdmaMetadata) SetRdmaEniCount(val int32)
func (*RdmaMetadata) String ¶
func (p *RdmaMetadata) String() string
type VolumeRes ¶
type VolumeRes struct { VolumeId string `thrift:"VolumeId,1,required" json:"VolumeId"` VolumeName string `thrift:"VolumeName,2,required" json:"VolumeName"` VolumeType string `thrift:"VolumeType,3,required" json:"VolumeType"` ImageId string `thrift:"ImageId,4,required" json:"ImageId"` Size string `thrift:"Size,5,required" json:"Size"` Kind string `thrift:"Kind,6,required" json:"Kind"` Status string `thrift:"Status,7,required" json:"Status"` }
func NewVolumeRes ¶
func NewVolumeRes() *VolumeRes
func (*VolumeRes) FastWriteNocopy ¶
func (p *VolumeRes) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VolumeRes) Field1DeepEqual ¶
func (*VolumeRes) Field2DeepEqual ¶
func (*VolumeRes) Field3DeepEqual ¶
func (*VolumeRes) Field4DeepEqual ¶
func (*VolumeRes) Field5DeepEqual ¶
func (*VolumeRes) Field6DeepEqual ¶
func (*VolumeRes) Field7DeepEqual ¶
func (*VolumeRes) GetImageId ¶
func (*VolumeRes) GetVolumeId ¶
func (*VolumeRes) GetVolumeName ¶
func (*VolumeRes) GetVolumeType ¶
func (*VolumeRes) SetImageId ¶
func (*VolumeRes) SetVolumeId ¶
func (*VolumeRes) SetVolumeName ¶
func (*VolumeRes) SetVolumeType ¶
type Zone ¶
type Zone struct { Id string `thrift:"Id,1,required" json:"Id"` InstanceTypes []string `thrift:"InstanceTypes,2,required" json:"InstanceTypes"` VolumeTypes []string `thrift:"VolumeTypes,3,required" json:"VolumeTypes"` }
func (*Zone) FastWriteNocopy ¶
func (p *Zone) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Zone) Field1DeepEqual ¶
func (*Zone) Field2DeepEqual ¶
func (*Zone) Field3DeepEqual ¶
func (*Zone) GetInstanceTypes ¶
func (*Zone) GetVolumeTypes ¶
func (*Zone) SetInstanceTypes ¶
func (*Zone) SetVolumeTypes ¶
Click to show internal directories.
Click to hide internal directories.