iaascommon

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) FastRead

func (p *GpuDeviceInfo) FastRead(buf []byte) (int, error)

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) Read

func (p *GpuDeviceInfo) Read(iprot thrift.TProtocol) (err error)

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

func (*GpuDeviceInfo) Write

func (p *GpuDeviceInfo) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *GpuInfo) BLength() int

func (*GpuInfo) DeepEqual

func (p *GpuInfo) DeepEqual(ano *GpuInfo) bool

func (*GpuInfo) FastRead

func (p *GpuInfo) FastRead(buf []byte) (int, error)

func (*GpuInfo) FastReadField1

func (p *GpuInfo) FastReadField1(buf []byte) (int, error)

func (*GpuInfo) FastReadField2

func (p *GpuInfo) FastReadField2(buf []byte) (int, error)

func (*GpuInfo) FastReadField3

func (p *GpuInfo) FastReadField3(buf []byte) (int, error)

func (*GpuInfo) FastWrite

func (p *GpuInfo) FastWrite(buf []byte) int

for compatibility

func (*GpuInfo) FastWriteNocopy

func (p *GpuInfo) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GpuInfo) Field1DeepEqual

func (p *GpuInfo) Field1DeepEqual(src int32) bool

func (*GpuInfo) Field2DeepEqual

func (p *GpuInfo) Field2DeepEqual(src int32) bool

func (*GpuInfo) Field3DeepEqual

func (p *GpuInfo) Field3DeepEqual(src []*GpuDeviceInfo) bool

func (*GpuInfo) GetGpuDevices

func (p *GpuInfo) GetGpuDevices() (v []*GpuDeviceInfo)

func (*GpuInfo) GetTotalCount

func (p *GpuInfo) GetTotalCount() (v int32)

func (*GpuInfo) GetTotalMem

func (p *GpuInfo) GetTotalMem() (v int32)

func (*GpuInfo) Read

func (p *GpuInfo) Read(iprot thrift.TProtocol) (err error)

func (*GpuInfo) ReadField1

func (p *GpuInfo) ReadField1(iprot thrift.TProtocol) error

func (*GpuInfo) ReadField2

func (p *GpuInfo) ReadField2(iprot thrift.TProtocol) error

func (*GpuInfo) ReadField3

func (p *GpuInfo) ReadField3(iprot thrift.TProtocol) error

func (*GpuInfo) SetGpuDevices

func (p *GpuInfo) SetGpuDevices(val []*GpuDeviceInfo)

func (*GpuInfo) SetTotalCount

func (p *GpuInfo) SetTotalCount(val int32)

func (*GpuInfo) SetTotalMem

func (p *GpuInfo) SetTotalMem(val int32)

func (*GpuInfo) String

func (p *GpuInfo) String() string

func (*GpuInfo) Write

func (p *GpuInfo) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *InstanceType) FastRead(buf []byte) (int, error)

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) FastWrite

func (p *InstanceType) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *InstanceType) Read(iprot thrift.TProtocol) (err error)

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

func (*InstanceType) Write

func (p *InstanceType) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *NetworkInterface) FastRead(buf []byte) (int, error)

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) Read

func (p *NetworkInterface) Read(iprot thrift.TProtocol) (err error)

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

func (*NetworkInterface) Write

func (p *NetworkInterface) Write(oprot thrift.TProtocol) (err error)

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) FastRead

func (p *RdmaMetadata) FastRead(buf []byte) (int, error)

func (*RdmaMetadata) FastReadField1

func (p *RdmaMetadata) FastReadField1(buf []byte) (int, error)

func (*RdmaMetadata) FastReadField2

func (p *RdmaMetadata) FastReadField2(buf []byte) (int, error)

func (*RdmaMetadata) FastWrite

func (p *RdmaMetadata) FastWrite(buf []byte) int

for compatibility

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) Read

func (p *RdmaMetadata) Read(iprot thrift.TProtocol) (err error)

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

func (*RdmaMetadata) Write

func (p *RdmaMetadata) Write(oprot thrift.TProtocol) (err error)

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) BLength

func (p *VolumeRes) BLength() int

func (*VolumeRes) DeepEqual

func (p *VolumeRes) DeepEqual(ano *VolumeRes) bool

func (*VolumeRes) FastRead

func (p *VolumeRes) FastRead(buf []byte) (int, error)

func (*VolumeRes) FastReadField1

func (p *VolumeRes) FastReadField1(buf []byte) (int, error)

func (*VolumeRes) FastReadField2

func (p *VolumeRes) FastReadField2(buf []byte) (int, error)

func (*VolumeRes) FastReadField3

func (p *VolumeRes) FastReadField3(buf []byte) (int, error)

func (*VolumeRes) FastReadField4

func (p *VolumeRes) FastReadField4(buf []byte) (int, error)

func (*VolumeRes) FastReadField5

func (p *VolumeRes) FastReadField5(buf []byte) (int, error)

func (*VolumeRes) FastReadField6

func (p *VolumeRes) FastReadField6(buf []byte) (int, error)

func (*VolumeRes) FastReadField7

func (p *VolumeRes) FastReadField7(buf []byte) (int, error)

func (*VolumeRes) FastWrite

func (p *VolumeRes) FastWrite(buf []byte) int

for compatibility

func (*VolumeRes) FastWriteNocopy

func (p *VolumeRes) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*VolumeRes) Field1DeepEqual

func (p *VolumeRes) Field1DeepEqual(src string) bool

func (*VolumeRes) Field2DeepEqual

func (p *VolumeRes) Field2DeepEqual(src string) bool

func (*VolumeRes) Field3DeepEqual

func (p *VolumeRes) Field3DeepEqual(src string) bool

func (*VolumeRes) Field4DeepEqual

func (p *VolumeRes) Field4DeepEqual(src string) bool

func (*VolumeRes) Field5DeepEqual

func (p *VolumeRes) Field5DeepEqual(src string) bool

func (*VolumeRes) Field6DeepEqual

func (p *VolumeRes) Field6DeepEqual(src string) bool

func (*VolumeRes) Field7DeepEqual

func (p *VolumeRes) Field7DeepEqual(src string) bool

func (*VolumeRes) GetImageId

func (p *VolumeRes) GetImageId() (v string)

func (*VolumeRes) GetKind

func (p *VolumeRes) GetKind() (v string)

func (*VolumeRes) GetSize

func (p *VolumeRes) GetSize() (v string)

func (*VolumeRes) GetStatus

func (p *VolumeRes) GetStatus() (v string)

func (*VolumeRes) GetVolumeId

func (p *VolumeRes) GetVolumeId() (v string)

func (*VolumeRes) GetVolumeName

func (p *VolumeRes) GetVolumeName() (v string)

func (*VolumeRes) GetVolumeType

func (p *VolumeRes) GetVolumeType() (v string)

func (*VolumeRes) Read

func (p *VolumeRes) Read(iprot thrift.TProtocol) (err error)

func (*VolumeRes) ReadField1

func (p *VolumeRes) ReadField1(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField2

func (p *VolumeRes) ReadField2(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField3

func (p *VolumeRes) ReadField3(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField4

func (p *VolumeRes) ReadField4(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField5

func (p *VolumeRes) ReadField5(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField6

func (p *VolumeRes) ReadField6(iprot thrift.TProtocol) error

func (*VolumeRes) ReadField7

func (p *VolumeRes) ReadField7(iprot thrift.TProtocol) error

func (*VolumeRes) SetImageId

func (p *VolumeRes) SetImageId(val string)

func (*VolumeRes) SetKind

func (p *VolumeRes) SetKind(val string)

func (*VolumeRes) SetSize

func (p *VolumeRes) SetSize(val string)

func (*VolumeRes) SetStatus

func (p *VolumeRes) SetStatus(val string)

func (*VolumeRes) SetVolumeId

func (p *VolumeRes) SetVolumeId(val string)

func (*VolumeRes) SetVolumeName

func (p *VolumeRes) SetVolumeName(val string)

func (*VolumeRes) SetVolumeType

func (p *VolumeRes) SetVolumeType(val string)

func (*VolumeRes) String

func (p *VolumeRes) String() string

func (*VolumeRes) Write

func (p *VolumeRes) Write(oprot thrift.TProtocol) (err error)

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 NewZone

func NewZone() *Zone

func (*Zone) BLength

func (p *Zone) BLength() int

func (*Zone) DeepEqual

func (p *Zone) DeepEqual(ano *Zone) bool

func (*Zone) FastRead

func (p *Zone) FastRead(buf []byte) (int, error)

func (*Zone) FastReadField1

func (p *Zone) FastReadField1(buf []byte) (int, error)

func (*Zone) FastReadField2

func (p *Zone) FastReadField2(buf []byte) (int, error)

func (*Zone) FastReadField3

func (p *Zone) FastReadField3(buf []byte) (int, error)

func (*Zone) FastWrite

func (p *Zone) FastWrite(buf []byte) int

for compatibility

func (*Zone) FastWriteNocopy

func (p *Zone) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Zone) Field1DeepEqual

func (p *Zone) Field1DeepEqual(src string) bool

func (*Zone) Field2DeepEqual

func (p *Zone) Field2DeepEqual(src []string) bool

func (*Zone) Field3DeepEqual

func (p *Zone) Field3DeepEqual(src []string) bool

func (*Zone) GetId

func (p *Zone) GetId() (v string)

func (*Zone) GetInstanceTypes

func (p *Zone) GetInstanceTypes() (v []string)

func (*Zone) GetVolumeTypes

func (p *Zone) GetVolumeTypes() (v []string)

func (*Zone) Read

func (p *Zone) Read(iprot thrift.TProtocol) (err error)

func (*Zone) ReadField1

func (p *Zone) ReadField1(iprot thrift.TProtocol) error

func (*Zone) ReadField2

func (p *Zone) ReadField2(iprot thrift.TProtocol) error

func (*Zone) ReadField3

func (p *Zone) ReadField3(iprot thrift.TProtocol) error

func (*Zone) SetId

func (p *Zone) SetId(val string)

func (*Zone) SetInstanceTypes

func (p *Zone) SetInstanceTypes(val []string)

func (*Zone) SetVolumeTypes

func (p *Zone) SetVolumeTypes(val []string)

func (*Zone) String

func (p *Zone) String() string

func (*Zone) Write

func (p *Zone) Write(oprot thrift.TProtocol) (err error)

Jump to

Keyboard shortcuts

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