Versions in this module Expand all Collapse all v0 v0.1.1 Feb 7, 2022 v0.1.0 Dec 27, 2021 Changes in this version + var KitexUnusedProtection = struct{} + type GpuDeviceInfo struct + Count int32 + Mem int32 + Model string + func NewGpuDeviceInfo() *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 struct + GpuDevices []*GpuDeviceInfo + TotalCount int32 + TotalMem int32 + var InstanceType_Gpu_DEFAULT *GpuInfo + func NewGpuInfo() *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 struct + Architecture string + Cpu int32 + Gpu *GpuInfo + Id string + InstanceTypeFamily string + Mem int32 + NetKppsQuota int32 + NetMbpsQuota int32 + NetSessionQuota int32 + NetworkInterfaceNumQuota int32 + Rdma *RdmaMetadata + Status string + Type string + VolumeTypes []string + func NewInstanceType() *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 struct + EipAddress string + MacAddress string + NetworkInterfaceId string + NetworkInterfaceName string + PrimaryIpAddress string + SecurityGroupIds []string + Status string + SubnetId string + Type string + VpcId string + VpcName string + func NewNetworkInterface() *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 struct + RdmaEniBandwidth string + RdmaEniCount int32 + var InstanceType_Rdma_DEFAULT *RdmaMetadata + func NewRdmaMetadata() *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 struct + ImageId string + Kind string + Size string + Status string + VolumeId string + VolumeName string + VolumeType string + func NewVolumeRes() *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 struct + Id string + InstanceTypes []string + VolumeTypes []string + func NewZone() *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)