baremachine

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImportTypeManual = "Manual"

	ImportTypeFile = "File"

	BareMachineStatusCreating = "Creating"

	BareMachineStatusFailed = "Failed"

	BareMachineStatusReadyAndAllocatable = "ReadyAndAllocatable"

	BareMachineStatusReadyAndAllocated = "ReadyAndAllocated"

	BareMachineStatusErrorAndAllocated = "ErrorAndAllocated"

	BareMachineStatusErrorAndAllocatable = "ErrorAndAllocatable"

	BareMachineStatusRemoving = "Removing"

	BareMachineStatusUnknown = "Unknown"

	BareMachineTypeOnPremise = "OnPremise"

	BareMachineExpectOsCentos792009 = "centos 7.9.2009"

	BareMachineExpectOsDebian1010 = "debian 10.10"
)

Variables

View Source
var BareMachineItem_ErrorMessage_DEFAULT string = ""
View Source
var CreateBareMachineRequest_Base_DEFAULT *base.Base
View Source
var CreateBareMachineRequest_Top_DEFAULT *base.TopParam
View Source
var CreateBareMachineResponse_Base_DEFAULT *base.Base
View Source
var DeleteBareMachineRequest_Base_DEFAULT *base.Base
View Source
var DeleteBareMachineRequest_Top_DEFAULT *base.TopParam
View Source
var GetBareMachineImportExcelTemplateRequest_Base_DEFAULT *base.Base
View Source
var GetBareMachineImportExcelTemplateRequest_Top_DEFAULT *base.TopParam
View Source
var GetBareMachineImportExcelTemplateResponse_Base_DEFAULT *base.Base
View Source
var GetBareMachineRequest_Base_DEFAULT *base.Base
View Source
var GetBareMachineRequest_Top_DEFAULT *base.TopParam
View Source
var GetBareMachineResponse_Base_DEFAULT *base.Base
View Source
var GetBareMachineResponse_ErrorMessage_DEFAULT string = ""
View Source
var GetBareMachineSshPublicKeyRequest_Base_DEFAULT *base.Base
View Source
var GetBareMachineSshPublicKeyRequest_Top_DEFAULT *base.TopParam
View Source
var GetBareMachineSshPublicKeyResponse_Base_DEFAULT *base.Base
View Source
var HardwareInfo_Gpus_DEFAULT map[string]int32
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var ListBareMachineExpectOsRequest_Base_DEFAULT *base.Base
View Source
var ListBareMachineExpectOsRequest_Top_DEFAULT *base.TopParam
View Source
var ListBareMachineExpectOsResponse_Base_DEFAULT *base.Base
View Source
var ListBareMachineRequest_Base_DEFAULT *base.Base
View Source
var ListBareMachineRequest_Filters_DEFAULT map[string][]string
View Source
var ListBareMachineRequest_Limit_DEFAULT int32 = 10
View Source
var ListBareMachineRequest_Start_DEFAULT int32 = 0
View Source
var ListBareMachineRequest_Top_DEFAULT *base.TopParam
View Source
var ListBareMachineResponse_Base_DEFAULT *base.Base
View Source
var Login_Password_DEFAULT string
View Source
var UpdateBareMachineRequest_Base_DEFAULT *base.Base
View Source
var UpdateBareMachineRequest_Labels_DEFAULT []*helper.Label
View Source
var UpdateBareMachineRequest_Name_DEFAULT string
View Source
var UpdateBareMachineRequest_Top_DEFAULT *base.TopParam
View Source
var UpdateBareMachineResponse_Base_DEFAULT *base.Base

Functions

This section is empty.

Types

type BareMachineConfig

type BareMachineConfig struct {
	Name     string `thrift:"Name,1,required" json:"Name"`
	Address  string `thrift:"Address,2,required" json:"Address"`
	Login    *Login `thrift:"Login,3,required" json:"Login"`
	ExpectOs string `thrift:"ExpectOs,4,required" json:"ExpectOs"`
}

func NewBareMachineConfig

func NewBareMachineConfig() *BareMachineConfig

func (*BareMachineConfig) BLength

func (p *BareMachineConfig) BLength() int

func (*BareMachineConfig) DeepEqual

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

func (*BareMachineConfig) FastRead

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

func (*BareMachineConfig) FastReadField1

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

func (*BareMachineConfig) FastReadField2

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

func (*BareMachineConfig) FastReadField3

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

func (*BareMachineConfig) FastReadField4

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

func (*BareMachineConfig) FastWrite

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

for compatibility

func (*BareMachineConfig) FastWriteNocopy

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

func (*BareMachineConfig) Field1DeepEqual

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

func (*BareMachineConfig) Field2DeepEqual

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

func (*BareMachineConfig) Field3DeepEqual

func (p *BareMachineConfig) Field3DeepEqual(src *Login) bool

func (*BareMachineConfig) Field4DeepEqual

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

func (*BareMachineConfig) GetAddress

func (p *BareMachineConfig) GetAddress() (v string)

func (*BareMachineConfig) GetExpectOs

func (p *BareMachineConfig) GetExpectOs() (v string)

func (*BareMachineConfig) GetLogin

func (p *BareMachineConfig) GetLogin() (v *Login)

func (*BareMachineConfig) GetName

func (p *BareMachineConfig) GetName() (v string)

func (*BareMachineConfig) IsSetLogin

func (p *BareMachineConfig) IsSetLogin() bool

func (*BareMachineConfig) Read

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

func (*BareMachineConfig) ReadField1

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

func (*BareMachineConfig) ReadField2

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

func (*BareMachineConfig) ReadField3

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

func (*BareMachineConfig) ReadField4

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

func (*BareMachineConfig) SetAddress

func (p *BareMachineConfig) SetAddress(val string)

func (*BareMachineConfig) SetExpectOs

func (p *BareMachineConfig) SetExpectOs(val string)

func (*BareMachineConfig) SetLogin

func (p *BareMachineConfig) SetLogin(val *Login)

func (*BareMachineConfig) SetName

func (p *BareMachineConfig) SetName(val string)

func (*BareMachineConfig) String

func (p *BareMachineConfig) String() string

func (*BareMachineConfig) Write

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

type BareMachineItem

type BareMachineItem struct {
	Id           string          `thrift:"Id,1,required" json:"Id"`
	Name         string          `thrift:"Name,2,required" json:"Name"`
	ClusterId    string          `thrift:"ClusterId,3,required" json:"ClusterId"`
	ClusterName  string          `thrift:"ClusterName,4,required" json:"ClusterName"`
	Type         string          `thrift:"Type,5,required" json:"Type"`
	Addresses    []string        `thrift:"Addresses,6,required" json:"Addresses"`
	Status       string          `thrift:"Status,7,required" json:"Status"`
	ErrorMessage string          `thrift:"ErrorMessage,8" json:"ErrorMessage,omitempty"`
	Cpu          int32           `thrift:"Cpu,9,required" json:"Cpu"`
	Memory       int64           `thrift:"Memory,10,required" json:"Memory"`
	Labels       []*helper.Label `thrift:"Labels,11,required" json:"Labels"`
	Login        *Login          `thrift:"Login,12,required" json:"Login"`
}

func NewBareMachineItem

func NewBareMachineItem() *BareMachineItem

func (*BareMachineItem) BLength

func (p *BareMachineItem) BLength() int

func (*BareMachineItem) DeepEqual

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

func (*BareMachineItem) FastRead

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

func (*BareMachineItem) FastReadField1

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

func (*BareMachineItem) FastReadField10

func (p *BareMachineItem) FastReadField10(buf []byte) (int, error)

func (*BareMachineItem) FastReadField11

func (p *BareMachineItem) FastReadField11(buf []byte) (int, error)

func (*BareMachineItem) FastReadField12

func (p *BareMachineItem) FastReadField12(buf []byte) (int, error)

func (*BareMachineItem) FastReadField2

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

func (*BareMachineItem) FastReadField3

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

func (*BareMachineItem) FastReadField4

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

func (*BareMachineItem) FastReadField5

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

func (*BareMachineItem) FastReadField6

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

func (*BareMachineItem) FastReadField7

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

func (*BareMachineItem) FastReadField8

func (p *BareMachineItem) FastReadField8(buf []byte) (int, error)

func (*BareMachineItem) FastReadField9

func (p *BareMachineItem) FastReadField9(buf []byte) (int, error)

func (*BareMachineItem) FastWrite

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

for compatibility

func (*BareMachineItem) FastWriteNocopy

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

func (*BareMachineItem) Field10DeepEqual

func (p *BareMachineItem) Field10DeepEqual(src int64) bool

func (*BareMachineItem) Field11DeepEqual

func (p *BareMachineItem) Field11DeepEqual(src []*helper.Label) bool

func (*BareMachineItem) Field12DeepEqual

func (p *BareMachineItem) Field12DeepEqual(src *Login) bool

func (*BareMachineItem) Field1DeepEqual

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

func (*BareMachineItem) Field2DeepEqual

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

func (*BareMachineItem) Field3DeepEqual

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

func (*BareMachineItem) Field4DeepEqual

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

func (*BareMachineItem) Field5DeepEqual

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

func (*BareMachineItem) Field6DeepEqual

func (p *BareMachineItem) Field6DeepEqual(src []string) bool

func (*BareMachineItem) Field7DeepEqual

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

func (*BareMachineItem) Field8DeepEqual

func (p *BareMachineItem) Field8DeepEqual(src string) bool

func (*BareMachineItem) Field9DeepEqual

func (p *BareMachineItem) Field9DeepEqual(src int32) bool

func (*BareMachineItem) GetAddresses

func (p *BareMachineItem) GetAddresses() (v []string)

func (*BareMachineItem) GetClusterId

func (p *BareMachineItem) GetClusterId() (v string)

func (*BareMachineItem) GetClusterName

func (p *BareMachineItem) GetClusterName() (v string)

func (*BareMachineItem) GetCpu

func (p *BareMachineItem) GetCpu() (v int32)

func (*BareMachineItem) GetErrorMessage

func (p *BareMachineItem) GetErrorMessage() (v string)

func (*BareMachineItem) GetId

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

func (*BareMachineItem) GetLabels

func (p *BareMachineItem) GetLabels() (v []*helper.Label)

func (*BareMachineItem) GetLogin

func (p *BareMachineItem) GetLogin() (v *Login)

func (*BareMachineItem) GetMemory

func (p *BareMachineItem) GetMemory() (v int64)

func (*BareMachineItem) GetName

func (p *BareMachineItem) GetName() (v string)

func (*BareMachineItem) GetStatus

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

func (*BareMachineItem) GetType

func (p *BareMachineItem) GetType() (v string)

func (*BareMachineItem) IsSetErrorMessage

func (p *BareMachineItem) IsSetErrorMessage() bool

func (*BareMachineItem) IsSetLogin

func (p *BareMachineItem) IsSetLogin() bool

func (*BareMachineItem) Read

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

func (*BareMachineItem) ReadField1

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

func (*BareMachineItem) ReadField10

func (p *BareMachineItem) ReadField10(iprot thrift.TProtocol) error

func (*BareMachineItem) ReadField11

func (p *BareMachineItem) ReadField11(iprot thrift.TProtocol) error

func (*BareMachineItem) ReadField12

func (p *BareMachineItem) ReadField12(iprot thrift.TProtocol) error

func (*BareMachineItem) ReadField2

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

func (*BareMachineItem) ReadField3

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

func (*BareMachineItem) ReadField4

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

func (*BareMachineItem) ReadField5

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

func (*BareMachineItem) ReadField6

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

func (*BareMachineItem) ReadField7

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

func (*BareMachineItem) ReadField8

func (p *BareMachineItem) ReadField8(iprot thrift.TProtocol) error

func (*BareMachineItem) ReadField9

func (p *BareMachineItem) ReadField9(iprot thrift.TProtocol) error

func (*BareMachineItem) SetAddresses

func (p *BareMachineItem) SetAddresses(val []string)

func (*BareMachineItem) SetClusterId

func (p *BareMachineItem) SetClusterId(val string)

func (*BareMachineItem) SetClusterName

func (p *BareMachineItem) SetClusterName(val string)

func (*BareMachineItem) SetCpu

func (p *BareMachineItem) SetCpu(val int32)

func (*BareMachineItem) SetErrorMessage

func (p *BareMachineItem) SetErrorMessage(val string)

func (*BareMachineItem) SetId

func (p *BareMachineItem) SetId(val string)

func (*BareMachineItem) SetLabels

func (p *BareMachineItem) SetLabels(val []*helper.Label)

func (*BareMachineItem) SetLogin

func (p *BareMachineItem) SetLogin(val *Login)

func (*BareMachineItem) SetMemory

func (p *BareMachineItem) SetMemory(val int64)

func (*BareMachineItem) SetName

func (p *BareMachineItem) SetName(val string)

func (*BareMachineItem) SetStatus

func (p *BareMachineItem) SetStatus(val string)

func (*BareMachineItem) SetType

func (p *BareMachineItem) SetType(val string)

func (*BareMachineItem) String

func (p *BareMachineItem) String() string

func (*BareMachineItem) Write

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

type CreateBareMachineRequest

type CreateBareMachineRequest struct {
	BareMachines []*BareMachineConfig `thrift:"BareMachines,1,required" json:"BareMachines"`
	Labels       []*helper.Label      `thrift:"Labels,2,required" json:"Labels"`
	ImportType   string               `thrift:"ImportType,3,required" json:"ImportType"`
	Top          *base.TopParam       `thrift:"Top,254,required" json:"Top"`
	Base         *base.Base           `thrift:"Base,255" json:"Base,omitempty"`
}

func NewCreateBareMachineRequest

func NewCreateBareMachineRequest() *CreateBareMachineRequest

func (*CreateBareMachineRequest) BLength

func (p *CreateBareMachineRequest) BLength() int

func (*CreateBareMachineRequest) DeepEqual

func (*CreateBareMachineRequest) FastRead

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

func (*CreateBareMachineRequest) FastReadField1

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

func (*CreateBareMachineRequest) FastReadField2

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

func (*CreateBareMachineRequest) FastReadField254

func (p *CreateBareMachineRequest) FastReadField254(buf []byte) (int, error)

func (*CreateBareMachineRequest) FastReadField255

func (p *CreateBareMachineRequest) FastReadField255(buf []byte) (int, error)

func (*CreateBareMachineRequest) FastReadField3

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

func (*CreateBareMachineRequest) FastWrite

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

for compatibility

func (*CreateBareMachineRequest) FastWriteNocopy

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

func (*CreateBareMachineRequest) Field1DeepEqual

func (p *CreateBareMachineRequest) Field1DeepEqual(src []*BareMachineConfig) bool

func (*CreateBareMachineRequest) Field254DeepEqual

func (p *CreateBareMachineRequest) Field254DeepEqual(src *base.TopParam) bool

func (*CreateBareMachineRequest) Field255DeepEqual

func (p *CreateBareMachineRequest) Field255DeepEqual(src *base.Base) bool

func (*CreateBareMachineRequest) Field2DeepEqual

func (p *CreateBareMachineRequest) Field2DeepEqual(src []*helper.Label) bool

func (*CreateBareMachineRequest) Field3DeepEqual

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

func (*CreateBareMachineRequest) GetBareMachines

func (p *CreateBareMachineRequest) GetBareMachines() (v []*BareMachineConfig)

func (*CreateBareMachineRequest) GetBase

func (p *CreateBareMachineRequest) GetBase() (v *base.Base)

func (*CreateBareMachineRequest) GetImportType

func (p *CreateBareMachineRequest) GetImportType() (v string)

func (*CreateBareMachineRequest) GetLabels

func (p *CreateBareMachineRequest) GetLabels() (v []*helper.Label)

func (*CreateBareMachineRequest) GetOrSetBase

func (p *CreateBareMachineRequest) GetOrSetBase() interface{}

func (*CreateBareMachineRequest) GetTop

func (p *CreateBareMachineRequest) GetTop() (v *base.TopParam)

func (*CreateBareMachineRequest) IsSetBase

func (p *CreateBareMachineRequest) IsSetBase() bool

func (*CreateBareMachineRequest) IsSetTop

func (p *CreateBareMachineRequest) IsSetTop() bool

func (*CreateBareMachineRequest) Read

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

func (*CreateBareMachineRequest) ReadField1

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

func (*CreateBareMachineRequest) ReadField2

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

func (*CreateBareMachineRequest) ReadField254

func (p *CreateBareMachineRequest) ReadField254(iprot thrift.TProtocol) error

func (*CreateBareMachineRequest) ReadField255

func (p *CreateBareMachineRequest) ReadField255(iprot thrift.TProtocol) error

func (*CreateBareMachineRequest) ReadField3

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

func (*CreateBareMachineRequest) SetBareMachines

func (p *CreateBareMachineRequest) SetBareMachines(val []*BareMachineConfig)

func (*CreateBareMachineRequest) SetBase

func (p *CreateBareMachineRequest) SetBase(val *base.Base)

func (*CreateBareMachineRequest) SetImportType

func (p *CreateBareMachineRequest) SetImportType(val string)

func (*CreateBareMachineRequest) SetLabels

func (p *CreateBareMachineRequest) SetLabels(val []*helper.Label)

func (*CreateBareMachineRequest) SetTop

func (p *CreateBareMachineRequest) SetTop(val *base.TopParam)

func (*CreateBareMachineRequest) String

func (p *CreateBareMachineRequest) String() string

func (*CreateBareMachineRequest) Write

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

type CreateBareMachineResponse

type CreateBareMachineResponse struct {
	Ids  []string   `thrift:"Ids,1,required" json:"Ids"`
	Base *base.Base `thrift:"Base,255" json:"Base,omitempty"`
}

func NewCreateBareMachineResponse

func NewCreateBareMachineResponse() *CreateBareMachineResponse

func (*CreateBareMachineResponse) BLength

func (p *CreateBareMachineResponse) BLength() int

func (*CreateBareMachineResponse) DeepEqual

func (*CreateBareMachineResponse) FastRead

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

func (*CreateBareMachineResponse) FastReadField1

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

func (*CreateBareMachineResponse) FastReadField255

func (p *CreateBareMachineResponse) FastReadField255(buf []byte) (int, error)

func (*CreateBareMachineResponse) FastWrite

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

for compatibility

func (*CreateBareMachineResponse) FastWriteNocopy

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

func (*CreateBareMachineResponse) Field1DeepEqual

func (p *CreateBareMachineResponse) Field1DeepEqual(src []string) bool

func (*CreateBareMachineResponse) Field255DeepEqual

func (p *CreateBareMachineResponse) Field255DeepEqual(src *base.Base) bool

func (*CreateBareMachineResponse) GetBase

func (p *CreateBareMachineResponse) GetBase() (v *base.Base)

func (*CreateBareMachineResponse) GetIds

func (p *CreateBareMachineResponse) GetIds() (v []string)

func (*CreateBareMachineResponse) GetOrSetBase

func (p *CreateBareMachineResponse) GetOrSetBase() interface{}

func (*CreateBareMachineResponse) IsSetBase

func (p *CreateBareMachineResponse) IsSetBase() bool

func (*CreateBareMachineResponse) Read

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

func (*CreateBareMachineResponse) ReadField1

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

func (*CreateBareMachineResponse) ReadField255

func (p *CreateBareMachineResponse) ReadField255(iprot thrift.TProtocol) error

func (*CreateBareMachineResponse) SetBase

func (p *CreateBareMachineResponse) SetBase(val *base.Base)

func (*CreateBareMachineResponse) SetIds

func (p *CreateBareMachineResponse) SetIds(val []string)

func (*CreateBareMachineResponse) String

func (p *CreateBareMachineResponse) String() string

func (*CreateBareMachineResponse) Write

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

type DeleteBareMachineRequest

type DeleteBareMachineRequest struct {
	Id   string         `thrift:"Id,1,required" json:"Id"`
	Top  *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewDeleteBareMachineRequest

func NewDeleteBareMachineRequest() *DeleteBareMachineRequest

func (*DeleteBareMachineRequest) BLength

func (p *DeleteBareMachineRequest) BLength() int

func (*DeleteBareMachineRequest) DeepEqual

func (*DeleteBareMachineRequest) FastRead

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

func (*DeleteBareMachineRequest) FastReadField1

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

func (*DeleteBareMachineRequest) FastReadField254

func (p *DeleteBareMachineRequest) FastReadField254(buf []byte) (int, error)

func (*DeleteBareMachineRequest) FastReadField255

func (p *DeleteBareMachineRequest) FastReadField255(buf []byte) (int, error)

func (*DeleteBareMachineRequest) FastWrite

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

for compatibility

func (*DeleteBareMachineRequest) FastWriteNocopy

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

func (*DeleteBareMachineRequest) Field1DeepEqual

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

func (*DeleteBareMachineRequest) Field254DeepEqual

func (p *DeleteBareMachineRequest) Field254DeepEqual(src *base.TopParam) bool

func (*DeleteBareMachineRequest) Field255DeepEqual

func (p *DeleteBareMachineRequest) Field255DeepEqual(src *base.Base) bool

func (*DeleteBareMachineRequest) GetBase

func (p *DeleteBareMachineRequest) GetBase() (v *base.Base)

func (*DeleteBareMachineRequest) GetId

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

func (*DeleteBareMachineRequest) GetOrSetBase

func (p *DeleteBareMachineRequest) GetOrSetBase() interface{}

func (*DeleteBareMachineRequest) GetTop

func (p *DeleteBareMachineRequest) GetTop() (v *base.TopParam)

func (*DeleteBareMachineRequest) IsSetBase

func (p *DeleteBareMachineRequest) IsSetBase() bool

func (*DeleteBareMachineRequest) IsSetTop

func (p *DeleteBareMachineRequest) IsSetTop() bool

func (*DeleteBareMachineRequest) Read

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

func (*DeleteBareMachineRequest) ReadField1

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

func (*DeleteBareMachineRequest) ReadField254

func (p *DeleteBareMachineRequest) ReadField254(iprot thrift.TProtocol) error

func (*DeleteBareMachineRequest) ReadField255

func (p *DeleteBareMachineRequest) ReadField255(iprot thrift.TProtocol) error

func (*DeleteBareMachineRequest) SetBase

func (p *DeleteBareMachineRequest) SetBase(val *base.Base)

func (*DeleteBareMachineRequest) SetId

func (p *DeleteBareMachineRequest) SetId(val string)

func (*DeleteBareMachineRequest) SetTop

func (p *DeleteBareMachineRequest) SetTop(val *base.TopParam)

func (*DeleteBareMachineRequest) String

func (p *DeleteBareMachineRequest) String() string

func (*DeleteBareMachineRequest) Write

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

type DeleteBareMachineResponse

type DeleteBareMachineResponse struct {
}

func NewDeleteBareMachineResponse

func NewDeleteBareMachineResponse() *DeleteBareMachineResponse

func (*DeleteBareMachineResponse) BLength

func (p *DeleteBareMachineResponse) BLength() int

func (*DeleteBareMachineResponse) DeepEqual

func (*DeleteBareMachineResponse) FastRead

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

func (*DeleteBareMachineResponse) FastWrite

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

for compatibility

func (*DeleteBareMachineResponse) FastWriteNocopy

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

func (*DeleteBareMachineResponse) Read

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

func (*DeleteBareMachineResponse) String

func (p *DeleteBareMachineResponse) String() string

func (*DeleteBareMachineResponse) Write

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

type GetBareMachineImportExcelTemplateRequest

type GetBareMachineImportExcelTemplateRequest struct {
	Top  *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineImportExcelTemplateRequest

func NewGetBareMachineImportExcelTemplateRequest() *GetBareMachineImportExcelTemplateRequest

func (*GetBareMachineImportExcelTemplateRequest) BLength

func (*GetBareMachineImportExcelTemplateRequest) DeepEqual

func (*GetBareMachineImportExcelTemplateRequest) FastRead

func (*GetBareMachineImportExcelTemplateRequest) FastReadField254

func (p *GetBareMachineImportExcelTemplateRequest) FastReadField254(buf []byte) (int, error)

func (*GetBareMachineImportExcelTemplateRequest) FastReadField255

func (p *GetBareMachineImportExcelTemplateRequest) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineImportExcelTemplateRequest) FastWrite

for compatibility

func (*GetBareMachineImportExcelTemplateRequest) FastWriteNocopy

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

func (*GetBareMachineImportExcelTemplateRequest) Field254DeepEqual

func (p *GetBareMachineImportExcelTemplateRequest) Field254DeepEqual(src *base.TopParam) bool

func (*GetBareMachineImportExcelTemplateRequest) Field255DeepEqual

func (p *GetBareMachineImportExcelTemplateRequest) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineImportExcelTemplateRequest) GetBase

func (*GetBareMachineImportExcelTemplateRequest) GetOrSetBase

func (p *GetBareMachineImportExcelTemplateRequest) GetOrSetBase() interface{}

func (*GetBareMachineImportExcelTemplateRequest) GetTop

func (*GetBareMachineImportExcelTemplateRequest) IsSetBase

func (*GetBareMachineImportExcelTemplateRequest) IsSetTop

func (*GetBareMachineImportExcelTemplateRequest) Read

func (*GetBareMachineImportExcelTemplateRequest) ReadField254

func (*GetBareMachineImportExcelTemplateRequest) ReadField255

func (*GetBareMachineImportExcelTemplateRequest) SetBase

func (*GetBareMachineImportExcelTemplateRequest) SetTop

func (*GetBareMachineImportExcelTemplateRequest) String

func (*GetBareMachineImportExcelTemplateRequest) Write

type GetBareMachineImportExcelTemplateResponse

type GetBareMachineImportExcelTemplateResponse struct {
	Format string     `thrift:"Format,1,required" json:"Format"`
	Data   string     `thrift:"Data,2,required" json:"Data"`
	Base   *base.Base `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineImportExcelTemplateResponse

func NewGetBareMachineImportExcelTemplateResponse() *GetBareMachineImportExcelTemplateResponse

func (*GetBareMachineImportExcelTemplateResponse) BLength

func (*GetBareMachineImportExcelTemplateResponse) DeepEqual

func (*GetBareMachineImportExcelTemplateResponse) FastRead

func (*GetBareMachineImportExcelTemplateResponse) FastReadField1

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

func (*GetBareMachineImportExcelTemplateResponse) FastReadField2

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

func (*GetBareMachineImportExcelTemplateResponse) FastReadField255

func (p *GetBareMachineImportExcelTemplateResponse) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineImportExcelTemplateResponse) FastWrite

for compatibility

func (*GetBareMachineImportExcelTemplateResponse) FastWriteNocopy

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

func (*GetBareMachineImportExcelTemplateResponse) Field1DeepEqual

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

func (*GetBareMachineImportExcelTemplateResponse) Field255DeepEqual

func (p *GetBareMachineImportExcelTemplateResponse) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineImportExcelTemplateResponse) Field2DeepEqual

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

func (*GetBareMachineImportExcelTemplateResponse) GetBase

func (*GetBareMachineImportExcelTemplateResponse) GetData

func (*GetBareMachineImportExcelTemplateResponse) GetFormat

func (*GetBareMachineImportExcelTemplateResponse) GetOrSetBase

func (p *GetBareMachineImportExcelTemplateResponse) GetOrSetBase() interface{}

func (*GetBareMachineImportExcelTemplateResponse) IsSetBase

func (*GetBareMachineImportExcelTemplateResponse) Read

func (*GetBareMachineImportExcelTemplateResponse) ReadField1

func (*GetBareMachineImportExcelTemplateResponse) ReadField2

func (*GetBareMachineImportExcelTemplateResponse) ReadField255

func (*GetBareMachineImportExcelTemplateResponse) SetBase

func (*GetBareMachineImportExcelTemplateResponse) SetData

func (*GetBareMachineImportExcelTemplateResponse) SetFormat

func (*GetBareMachineImportExcelTemplateResponse) String

func (*GetBareMachineImportExcelTemplateResponse) Write

type GetBareMachineRequest

type GetBareMachineRequest struct {
	Id   string         `thrift:"Id,1,required" json:"Id"`
	Top  *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineRequest

func NewGetBareMachineRequest() *GetBareMachineRequest

func (*GetBareMachineRequest) BLength

func (p *GetBareMachineRequest) BLength() int

func (*GetBareMachineRequest) DeepEqual

func (*GetBareMachineRequest) FastRead

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

func (*GetBareMachineRequest) FastReadField1

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

func (*GetBareMachineRequest) FastReadField254

func (p *GetBareMachineRequest) FastReadField254(buf []byte) (int, error)

func (*GetBareMachineRequest) FastReadField255

func (p *GetBareMachineRequest) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineRequest) FastWrite

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

for compatibility

func (*GetBareMachineRequest) FastWriteNocopy

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

func (*GetBareMachineRequest) Field1DeepEqual

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

func (*GetBareMachineRequest) Field254DeepEqual

func (p *GetBareMachineRequest) Field254DeepEqual(src *base.TopParam) bool

func (*GetBareMachineRequest) Field255DeepEqual

func (p *GetBareMachineRequest) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineRequest) GetBase

func (p *GetBareMachineRequest) GetBase() (v *base.Base)

func (*GetBareMachineRequest) GetId

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

func (*GetBareMachineRequest) GetOrSetBase

func (p *GetBareMachineRequest) GetOrSetBase() interface{}

func (*GetBareMachineRequest) GetTop

func (p *GetBareMachineRequest) GetTop() (v *base.TopParam)

func (*GetBareMachineRequest) IsSetBase

func (p *GetBareMachineRequest) IsSetBase() bool

func (*GetBareMachineRequest) IsSetTop

func (p *GetBareMachineRequest) IsSetTop() bool

func (*GetBareMachineRequest) Read

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

func (*GetBareMachineRequest) ReadField1

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

func (*GetBareMachineRequest) ReadField254

func (p *GetBareMachineRequest) ReadField254(iprot thrift.TProtocol) error

func (*GetBareMachineRequest) ReadField255

func (p *GetBareMachineRequest) ReadField255(iprot thrift.TProtocol) error

func (*GetBareMachineRequest) SetBase

func (p *GetBareMachineRequest) SetBase(val *base.Base)

func (*GetBareMachineRequest) SetId

func (p *GetBareMachineRequest) SetId(val string)

func (*GetBareMachineRequest) SetTop

func (p *GetBareMachineRequest) SetTop(val *base.TopParam)

func (*GetBareMachineRequest) String

func (p *GetBareMachineRequest) String() string

func (*GetBareMachineRequest) Write

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

type GetBareMachineResponse

type GetBareMachineResponse struct {
	Id           string          `thrift:"Id,1,required" json:"Id"`
	Name         string          `thrift:"Name,2,required" json:"Name"`
	Type         string          `thrift:"Type,3,required" json:"Type"`
	ImportType   string          `thrift:"ImportType,4,required" json:"ImportType"`
	Addresses    []string        `thrift:"Addresses,5,required" json:"Addresses"`
	Login        *Login          `thrift:"Login,6,required" json:"Login"`
	Labels       []*helper.Label `thrift:"Labels,7,required" json:"Labels"`
	SystemInfo   *SystemInfo     `thrift:"SystemInfo,8" json:"SystemInfo,omitempty"`
	HardwareInfo *HardwareInfo   `thrift:"HardwareInfo,9" json:"HardwareInfo,omitempty"`
	Status       string          `thrift:"Status,10,required" json:"Status"`
	ErrorMessage string          `thrift:"ErrorMessage,11" json:"ErrorMessage,omitempty"`
	Base         *base.Base      `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineResponse

func NewGetBareMachineResponse() *GetBareMachineResponse

func (*GetBareMachineResponse) BLength

func (p *GetBareMachineResponse) BLength() int

func (*GetBareMachineResponse) DeepEqual

func (*GetBareMachineResponse) FastRead

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

func (*GetBareMachineResponse) FastReadField1

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

func (*GetBareMachineResponse) FastReadField10

func (p *GetBareMachineResponse) FastReadField10(buf []byte) (int, error)

func (*GetBareMachineResponse) FastReadField11

func (p *GetBareMachineResponse) FastReadField11(buf []byte) (int, error)

func (*GetBareMachineResponse) FastReadField2

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

func (*GetBareMachineResponse) FastReadField255

func (p *GetBareMachineResponse) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineResponse) FastReadField3

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

func (*GetBareMachineResponse) FastReadField4

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

func (*GetBareMachineResponse) FastReadField5

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

func (*GetBareMachineResponse) FastReadField6

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

func (*GetBareMachineResponse) FastReadField7

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

func (*GetBareMachineResponse) FastReadField8

func (p *GetBareMachineResponse) FastReadField8(buf []byte) (int, error)

func (*GetBareMachineResponse) FastReadField9

func (p *GetBareMachineResponse) FastReadField9(buf []byte) (int, error)

func (*GetBareMachineResponse) FastWrite

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

for compatibility

func (*GetBareMachineResponse) FastWriteNocopy

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

func (*GetBareMachineResponse) Field10DeepEqual

func (p *GetBareMachineResponse) Field10DeepEqual(src string) bool

func (*GetBareMachineResponse) Field11DeepEqual

func (p *GetBareMachineResponse) Field11DeepEqual(src string) bool

func (*GetBareMachineResponse) Field1DeepEqual

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

func (*GetBareMachineResponse) Field255DeepEqual

func (p *GetBareMachineResponse) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineResponse) Field2DeepEqual

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

func (*GetBareMachineResponse) Field3DeepEqual

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

func (*GetBareMachineResponse) Field4DeepEqual

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

func (*GetBareMachineResponse) Field5DeepEqual

func (p *GetBareMachineResponse) Field5DeepEqual(src []string) bool

func (*GetBareMachineResponse) Field6DeepEqual

func (p *GetBareMachineResponse) Field6DeepEqual(src *Login) bool

func (*GetBareMachineResponse) Field7DeepEqual

func (p *GetBareMachineResponse) Field7DeepEqual(src []*helper.Label) bool

func (*GetBareMachineResponse) Field8DeepEqual

func (p *GetBareMachineResponse) Field8DeepEqual(src *SystemInfo) bool

func (*GetBareMachineResponse) Field9DeepEqual

func (p *GetBareMachineResponse) Field9DeepEqual(src *HardwareInfo) bool

func (*GetBareMachineResponse) GetAddresses

func (p *GetBareMachineResponse) GetAddresses() (v []string)

func (*GetBareMachineResponse) GetBase

func (p *GetBareMachineResponse) GetBase() (v *base.Base)

func (*GetBareMachineResponse) GetErrorMessage

func (p *GetBareMachineResponse) GetErrorMessage() (v string)

func (*GetBareMachineResponse) GetHardwareInfo

func (p *GetBareMachineResponse) GetHardwareInfo() (v *HardwareInfo)

func (*GetBareMachineResponse) GetId

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

func (*GetBareMachineResponse) GetImportType

func (p *GetBareMachineResponse) GetImportType() (v string)

func (*GetBareMachineResponse) GetLabels

func (p *GetBareMachineResponse) GetLabels() (v []*helper.Label)

func (*GetBareMachineResponse) GetLogin

func (p *GetBareMachineResponse) GetLogin() (v *Login)

func (*GetBareMachineResponse) GetName

func (p *GetBareMachineResponse) GetName() (v string)

func (*GetBareMachineResponse) GetOrSetBase

func (p *GetBareMachineResponse) GetOrSetBase() interface{}

func (*GetBareMachineResponse) GetStatus

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

func (*GetBareMachineResponse) GetSystemInfo

func (p *GetBareMachineResponse) GetSystemInfo() (v *SystemInfo)

func (*GetBareMachineResponse) GetType

func (p *GetBareMachineResponse) GetType() (v string)

func (*GetBareMachineResponse) IsSetBase

func (p *GetBareMachineResponse) IsSetBase() bool

func (*GetBareMachineResponse) IsSetErrorMessage

func (p *GetBareMachineResponse) IsSetErrorMessage() bool

func (*GetBareMachineResponse) IsSetHardwareInfo

func (p *GetBareMachineResponse) IsSetHardwareInfo() bool

func (*GetBareMachineResponse) IsSetLogin

func (p *GetBareMachineResponse) IsSetLogin() bool

func (*GetBareMachineResponse) IsSetSystemInfo

func (p *GetBareMachineResponse) IsSetSystemInfo() bool

func (*GetBareMachineResponse) Read

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

func (*GetBareMachineResponse) ReadField1

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

func (*GetBareMachineResponse) ReadField10

func (p *GetBareMachineResponse) ReadField10(iprot thrift.TProtocol) error

func (*GetBareMachineResponse) ReadField11

func (p *GetBareMachineResponse) ReadField11(iprot thrift.TProtocol) error

func (*GetBareMachineResponse) ReadField2

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

func (*GetBareMachineResponse) ReadField255

func (p *GetBareMachineResponse) ReadField255(iprot thrift.TProtocol) error

func (*GetBareMachineResponse) ReadField3

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

func (*GetBareMachineResponse) ReadField4

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

func (*GetBareMachineResponse) ReadField5

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

func (*GetBareMachineResponse) ReadField6

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

func (*GetBareMachineResponse) ReadField7

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

func (*GetBareMachineResponse) ReadField8

func (p *GetBareMachineResponse) ReadField8(iprot thrift.TProtocol) error

func (*GetBareMachineResponse) ReadField9

func (p *GetBareMachineResponse) ReadField9(iprot thrift.TProtocol) error

func (*GetBareMachineResponse) SetAddresses

func (p *GetBareMachineResponse) SetAddresses(val []string)

func (*GetBareMachineResponse) SetBase

func (p *GetBareMachineResponse) SetBase(val *base.Base)

func (*GetBareMachineResponse) SetErrorMessage

func (p *GetBareMachineResponse) SetErrorMessage(val string)

func (*GetBareMachineResponse) SetHardwareInfo

func (p *GetBareMachineResponse) SetHardwareInfo(val *HardwareInfo)

func (*GetBareMachineResponse) SetId

func (p *GetBareMachineResponse) SetId(val string)

func (*GetBareMachineResponse) SetImportType

func (p *GetBareMachineResponse) SetImportType(val string)

func (*GetBareMachineResponse) SetLabels

func (p *GetBareMachineResponse) SetLabels(val []*helper.Label)

func (*GetBareMachineResponse) SetLogin

func (p *GetBareMachineResponse) SetLogin(val *Login)

func (*GetBareMachineResponse) SetName

func (p *GetBareMachineResponse) SetName(val string)

func (*GetBareMachineResponse) SetStatus

func (p *GetBareMachineResponse) SetStatus(val string)

func (*GetBareMachineResponse) SetSystemInfo

func (p *GetBareMachineResponse) SetSystemInfo(val *SystemInfo)

func (*GetBareMachineResponse) SetType

func (p *GetBareMachineResponse) SetType(val string)

func (*GetBareMachineResponse) String

func (p *GetBareMachineResponse) String() string

func (*GetBareMachineResponse) Write

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

type GetBareMachineSshPublicKeyRequest

type GetBareMachineSshPublicKeyRequest struct {
	Top  *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineSshPublicKeyRequest

func NewGetBareMachineSshPublicKeyRequest() *GetBareMachineSshPublicKeyRequest

func (*GetBareMachineSshPublicKeyRequest) BLength

func (*GetBareMachineSshPublicKeyRequest) DeepEqual

func (*GetBareMachineSshPublicKeyRequest) FastRead

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

func (*GetBareMachineSshPublicKeyRequest) FastReadField254

func (p *GetBareMachineSshPublicKeyRequest) FastReadField254(buf []byte) (int, error)

func (*GetBareMachineSshPublicKeyRequest) FastReadField255

func (p *GetBareMachineSshPublicKeyRequest) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineSshPublicKeyRequest) FastWrite

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

for compatibility

func (*GetBareMachineSshPublicKeyRequest) FastWriteNocopy

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

func (*GetBareMachineSshPublicKeyRequest) Field254DeepEqual

func (p *GetBareMachineSshPublicKeyRequest) Field254DeepEqual(src *base.TopParam) bool

func (*GetBareMachineSshPublicKeyRequest) Field255DeepEqual

func (p *GetBareMachineSshPublicKeyRequest) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineSshPublicKeyRequest) GetBase

func (p *GetBareMachineSshPublicKeyRequest) GetBase() (v *base.Base)

func (*GetBareMachineSshPublicKeyRequest) GetOrSetBase

func (p *GetBareMachineSshPublicKeyRequest) GetOrSetBase() interface{}

func (*GetBareMachineSshPublicKeyRequest) GetTop

func (*GetBareMachineSshPublicKeyRequest) IsSetBase

func (p *GetBareMachineSshPublicKeyRequest) IsSetBase() bool

func (*GetBareMachineSshPublicKeyRequest) IsSetTop

func (*GetBareMachineSshPublicKeyRequest) Read

func (*GetBareMachineSshPublicKeyRequest) ReadField254

func (*GetBareMachineSshPublicKeyRequest) ReadField255

func (*GetBareMachineSshPublicKeyRequest) SetBase

func (p *GetBareMachineSshPublicKeyRequest) SetBase(val *base.Base)

func (*GetBareMachineSshPublicKeyRequest) SetTop

func (*GetBareMachineSshPublicKeyRequest) String

func (*GetBareMachineSshPublicKeyRequest) Write

type GetBareMachineSshPublicKeyResponse

type GetBareMachineSshPublicKeyResponse struct {
	PublicKey string     `thrift:"PublicKey,1,required" json:"PublicKey"`
	Base      *base.Base `thrift:"Base,255" json:"Base,omitempty"`
}

func NewGetBareMachineSshPublicKeyResponse

func NewGetBareMachineSshPublicKeyResponse() *GetBareMachineSshPublicKeyResponse

func (*GetBareMachineSshPublicKeyResponse) BLength

func (*GetBareMachineSshPublicKeyResponse) DeepEqual

func (*GetBareMachineSshPublicKeyResponse) FastRead

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

func (*GetBareMachineSshPublicKeyResponse) FastReadField1

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

func (*GetBareMachineSshPublicKeyResponse) FastReadField255

func (p *GetBareMachineSshPublicKeyResponse) FastReadField255(buf []byte) (int, error)

func (*GetBareMachineSshPublicKeyResponse) FastWrite

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

for compatibility

func (*GetBareMachineSshPublicKeyResponse) FastWriteNocopy

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

func (*GetBareMachineSshPublicKeyResponse) Field1DeepEqual

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

func (*GetBareMachineSshPublicKeyResponse) Field255DeepEqual

func (p *GetBareMachineSshPublicKeyResponse) Field255DeepEqual(src *base.Base) bool

func (*GetBareMachineSshPublicKeyResponse) GetBase

func (p *GetBareMachineSshPublicKeyResponse) GetBase() (v *base.Base)

func (*GetBareMachineSshPublicKeyResponse) GetOrSetBase

func (p *GetBareMachineSshPublicKeyResponse) GetOrSetBase() interface{}

func (*GetBareMachineSshPublicKeyResponse) GetPublicKey

func (p *GetBareMachineSshPublicKeyResponse) GetPublicKey() (v string)

func (*GetBareMachineSshPublicKeyResponse) IsSetBase

func (*GetBareMachineSshPublicKeyResponse) Read

func (*GetBareMachineSshPublicKeyResponse) ReadField1

func (*GetBareMachineSshPublicKeyResponse) ReadField255

func (*GetBareMachineSshPublicKeyResponse) SetBase

func (p *GetBareMachineSshPublicKeyResponse) SetBase(val *base.Base)

func (*GetBareMachineSshPublicKeyResponse) SetPublicKey

func (p *GetBareMachineSshPublicKeyResponse) SetPublicKey(val string)

func (*GetBareMachineSshPublicKeyResponse) String

func (*GetBareMachineSshPublicKeyResponse) Write

type HardwareInfo

type HardwareInfo struct {
	CpuModel string           `thrift:"CpuModel,1,required" json:"CpuModel"`
	CpuCores int32            `thrift:"CpuCores,2,required" json:"CpuCores"`
	Memory   int64            `thrift:"Memory,3,required" json:"Memory"`
	Disk     []int64          `thrift:"Disk,4,required" json:"Disk"`
	Gpus     map[string]int32 `thrift:"Gpus,5" json:"Gpus,omitempty"`
}
var GetBareMachineResponse_HardwareInfo_DEFAULT *HardwareInfo

func NewHardwareInfo

func NewHardwareInfo() *HardwareInfo

func (*HardwareInfo) BLength

func (p *HardwareInfo) BLength() int

func (*HardwareInfo) DeepEqual

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

func (*HardwareInfo) FastRead

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

func (*HardwareInfo) FastReadField1

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

func (*HardwareInfo) FastReadField2

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

func (*HardwareInfo) FastReadField3

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

func (*HardwareInfo) FastReadField4

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

func (*HardwareInfo) FastReadField5

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

func (*HardwareInfo) FastWrite

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

for compatibility

func (*HardwareInfo) FastWriteNocopy

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

func (*HardwareInfo) Field1DeepEqual

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

func (*HardwareInfo) Field2DeepEqual

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

func (*HardwareInfo) Field3DeepEqual

func (p *HardwareInfo) Field3DeepEqual(src int64) bool

func (*HardwareInfo) Field4DeepEqual

func (p *HardwareInfo) Field4DeepEqual(src []int64) bool

func (*HardwareInfo) Field5DeepEqual

func (p *HardwareInfo) Field5DeepEqual(src map[string]int32) bool

func (*HardwareInfo) GetCpuCores

func (p *HardwareInfo) GetCpuCores() (v int32)

func (*HardwareInfo) GetCpuModel

func (p *HardwareInfo) GetCpuModel() (v string)

func (*HardwareInfo) GetDisk

func (p *HardwareInfo) GetDisk() (v []int64)

func (*HardwareInfo) GetGpus

func (p *HardwareInfo) GetGpus() (v map[string]int32)

func (*HardwareInfo) GetMemory

func (p *HardwareInfo) GetMemory() (v int64)

func (*HardwareInfo) IsSetGpus

func (p *HardwareInfo) IsSetGpus() bool

func (*HardwareInfo) Read

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

func (*HardwareInfo) ReadField1

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

func (*HardwareInfo) ReadField2

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

func (*HardwareInfo) ReadField3

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

func (*HardwareInfo) ReadField4

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

func (*HardwareInfo) ReadField5

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

func (*HardwareInfo) SetCpuCores

func (p *HardwareInfo) SetCpuCores(val int32)

func (*HardwareInfo) SetCpuModel

func (p *HardwareInfo) SetCpuModel(val string)

func (*HardwareInfo) SetDisk

func (p *HardwareInfo) SetDisk(val []int64)

func (*HardwareInfo) SetGpus

func (p *HardwareInfo) SetGpus(val map[string]int32)

func (*HardwareInfo) SetMemory

func (p *HardwareInfo) SetMemory(val int64)

func (*HardwareInfo) String

func (p *HardwareInfo) String() string

func (*HardwareInfo) Write

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

type ListBareMachineExpectOsRequest

type ListBareMachineExpectOsRequest struct {
	Top  *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewListBareMachineExpectOsRequest

func NewListBareMachineExpectOsRequest() *ListBareMachineExpectOsRequest

func (*ListBareMachineExpectOsRequest) BLength

func (p *ListBareMachineExpectOsRequest) BLength() int

func (*ListBareMachineExpectOsRequest) DeepEqual

func (*ListBareMachineExpectOsRequest) FastRead

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

func (*ListBareMachineExpectOsRequest) FastReadField254

func (p *ListBareMachineExpectOsRequest) FastReadField254(buf []byte) (int, error)

func (*ListBareMachineExpectOsRequest) FastReadField255

func (p *ListBareMachineExpectOsRequest) FastReadField255(buf []byte) (int, error)

func (*ListBareMachineExpectOsRequest) FastWrite

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

for compatibility

func (*ListBareMachineExpectOsRequest) FastWriteNocopy

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

func (*ListBareMachineExpectOsRequest) Field254DeepEqual

func (p *ListBareMachineExpectOsRequest) Field254DeepEqual(src *base.TopParam) bool

func (*ListBareMachineExpectOsRequest) Field255DeepEqual

func (p *ListBareMachineExpectOsRequest) Field255DeepEqual(src *base.Base) bool

func (*ListBareMachineExpectOsRequest) GetBase

func (p *ListBareMachineExpectOsRequest) GetBase() (v *base.Base)

func (*ListBareMachineExpectOsRequest) GetOrSetBase

func (p *ListBareMachineExpectOsRequest) GetOrSetBase() interface{}

func (*ListBareMachineExpectOsRequest) GetTop

func (p *ListBareMachineExpectOsRequest) GetTop() (v *base.TopParam)

func (*ListBareMachineExpectOsRequest) IsSetBase

func (p *ListBareMachineExpectOsRequest) IsSetBase() bool

func (*ListBareMachineExpectOsRequest) IsSetTop

func (p *ListBareMachineExpectOsRequest) IsSetTop() bool

func (*ListBareMachineExpectOsRequest) Read

func (*ListBareMachineExpectOsRequest) ReadField254

func (p *ListBareMachineExpectOsRequest) ReadField254(iprot thrift.TProtocol) error

func (*ListBareMachineExpectOsRequest) ReadField255

func (p *ListBareMachineExpectOsRequest) ReadField255(iprot thrift.TProtocol) error

func (*ListBareMachineExpectOsRequest) SetBase

func (p *ListBareMachineExpectOsRequest) SetBase(val *base.Base)

func (*ListBareMachineExpectOsRequest) SetTop

func (*ListBareMachineExpectOsRequest) String

func (*ListBareMachineExpectOsRequest) Write

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

type ListBareMachineExpectOsResponse

type ListBareMachineExpectOsResponse struct {
	ExpectOs []string   `thrift:"ExpectOs,1,required" json:"ExpectOs"`
	Base     *base.Base `thrift:"Base,255" json:"Base,omitempty"`
}

func NewListBareMachineExpectOsResponse

func NewListBareMachineExpectOsResponse() *ListBareMachineExpectOsResponse

func (*ListBareMachineExpectOsResponse) BLength

func (p *ListBareMachineExpectOsResponse) BLength() int

func (*ListBareMachineExpectOsResponse) DeepEqual

func (*ListBareMachineExpectOsResponse) FastRead

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

func (*ListBareMachineExpectOsResponse) FastReadField1

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

func (*ListBareMachineExpectOsResponse) FastReadField255

func (p *ListBareMachineExpectOsResponse) FastReadField255(buf []byte) (int, error)

func (*ListBareMachineExpectOsResponse) FastWrite

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

for compatibility

func (*ListBareMachineExpectOsResponse) FastWriteNocopy

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

func (*ListBareMachineExpectOsResponse) Field1DeepEqual

func (p *ListBareMachineExpectOsResponse) Field1DeepEqual(src []string) bool

func (*ListBareMachineExpectOsResponse) Field255DeepEqual

func (p *ListBareMachineExpectOsResponse) Field255DeepEqual(src *base.Base) bool

func (*ListBareMachineExpectOsResponse) GetBase

func (p *ListBareMachineExpectOsResponse) GetBase() (v *base.Base)

func (*ListBareMachineExpectOsResponse) GetExpectOs

func (p *ListBareMachineExpectOsResponse) GetExpectOs() (v []string)

func (*ListBareMachineExpectOsResponse) GetOrSetBase

func (p *ListBareMachineExpectOsResponse) GetOrSetBase() interface{}

func (*ListBareMachineExpectOsResponse) IsSetBase

func (p *ListBareMachineExpectOsResponse) IsSetBase() bool

func (*ListBareMachineExpectOsResponse) Read

func (*ListBareMachineExpectOsResponse) ReadField1

func (*ListBareMachineExpectOsResponse) ReadField255

func (p *ListBareMachineExpectOsResponse) ReadField255(iprot thrift.TProtocol) error

func (*ListBareMachineExpectOsResponse) SetBase

func (p *ListBareMachineExpectOsResponse) SetBase(val *base.Base)

func (*ListBareMachineExpectOsResponse) SetExpectOs

func (p *ListBareMachineExpectOsResponse) SetExpectOs(val []string)

func (*ListBareMachineExpectOsResponse) String

func (*ListBareMachineExpectOsResponse) Write

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

type ListBareMachineRequest

type ListBareMachineRequest struct {
	Start   int32               `thrift:"Start,1" validate:"gte=0"`
	Limit   int32               `thrift:"Limit,2" json:"Limit,omitempty"`
	Filters map[string][]string `thrift:"Filters,3" json:"Filters,omitempty"`
	Top     *base.TopParam      `thrift:"Top,254,required" json:"Top"`
	Base    *base.Base          `thrift:"Base,255" json:"Base,omitempty"`
}

func NewListBareMachineRequest

func NewListBareMachineRequest() *ListBareMachineRequest

func (*ListBareMachineRequest) BLength

func (p *ListBareMachineRequest) BLength() int

func (*ListBareMachineRequest) DeepEqual

func (*ListBareMachineRequest) FastRead

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

func (*ListBareMachineRequest) FastReadField1

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

func (*ListBareMachineRequest) FastReadField2

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

func (*ListBareMachineRequest) FastReadField254

func (p *ListBareMachineRequest) FastReadField254(buf []byte) (int, error)

func (*ListBareMachineRequest) FastReadField255

func (p *ListBareMachineRequest) FastReadField255(buf []byte) (int, error)

func (*ListBareMachineRequest) FastReadField3

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

func (*ListBareMachineRequest) FastWrite

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

for compatibility

func (*ListBareMachineRequest) FastWriteNocopy

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

func (*ListBareMachineRequest) Field1DeepEqual

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

func (*ListBareMachineRequest) Field254DeepEqual

func (p *ListBareMachineRequest) Field254DeepEqual(src *base.TopParam) bool

func (*ListBareMachineRequest) Field255DeepEqual

func (p *ListBareMachineRequest) Field255DeepEqual(src *base.Base) bool

func (*ListBareMachineRequest) Field2DeepEqual

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

func (*ListBareMachineRequest) Field3DeepEqual

func (p *ListBareMachineRequest) Field3DeepEqual(src map[string][]string) bool

func (*ListBareMachineRequest) GetBase

func (p *ListBareMachineRequest) GetBase() (v *base.Base)

func (*ListBareMachineRequest) GetFilters

func (p *ListBareMachineRequest) GetFilters() (v map[string][]string)

func (*ListBareMachineRequest) GetLimit

func (p *ListBareMachineRequest) GetLimit() (v int32)

func (*ListBareMachineRequest) GetOrSetBase

func (p *ListBareMachineRequest) GetOrSetBase() interface{}

func (*ListBareMachineRequest) GetStart

func (p *ListBareMachineRequest) GetStart() (v int32)

func (*ListBareMachineRequest) GetTop

func (p *ListBareMachineRequest) GetTop() (v *base.TopParam)

func (*ListBareMachineRequest) IsSetBase

func (p *ListBareMachineRequest) IsSetBase() bool

func (*ListBareMachineRequest) IsSetFilters

func (p *ListBareMachineRequest) IsSetFilters() bool

func (*ListBareMachineRequest) IsSetLimit

func (p *ListBareMachineRequest) IsSetLimit() bool

func (*ListBareMachineRequest) IsSetStart

func (p *ListBareMachineRequest) IsSetStart() bool

func (*ListBareMachineRequest) IsSetTop

func (p *ListBareMachineRequest) IsSetTop() bool

func (*ListBareMachineRequest) Read

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

func (*ListBareMachineRequest) ReadField1

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

func (*ListBareMachineRequest) ReadField2

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

func (*ListBareMachineRequest) ReadField254

func (p *ListBareMachineRequest) ReadField254(iprot thrift.TProtocol) error

func (*ListBareMachineRequest) ReadField255

func (p *ListBareMachineRequest) ReadField255(iprot thrift.TProtocol) error

func (*ListBareMachineRequest) ReadField3

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

func (*ListBareMachineRequest) SetBase

func (p *ListBareMachineRequest) SetBase(val *base.Base)

func (*ListBareMachineRequest) SetFilters

func (p *ListBareMachineRequest) SetFilters(val map[string][]string)

func (*ListBareMachineRequest) SetLimit

func (p *ListBareMachineRequest) SetLimit(val int32)

func (*ListBareMachineRequest) SetStart

func (p *ListBareMachineRequest) SetStart(val int32)

func (*ListBareMachineRequest) SetTop

func (p *ListBareMachineRequest) SetTop(val *base.TopParam)

func (*ListBareMachineRequest) String

func (p *ListBareMachineRequest) String() string

func (*ListBareMachineRequest) Write

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

type ListBareMachineResponse

type ListBareMachineResponse struct {
	Items []*BareMachineItem `thrift:"Items,1,required" json:"Items"`
	Total int32              `thrift:"Total,2,required" json:"Total"`
	Base  *base.Base         `thrift:"Base,255" json:"Base,omitempty"`
}

func NewListBareMachineResponse

func NewListBareMachineResponse() *ListBareMachineResponse

func (*ListBareMachineResponse) BLength

func (p *ListBareMachineResponse) BLength() int

func (*ListBareMachineResponse) DeepEqual

func (*ListBareMachineResponse) FastRead

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

func (*ListBareMachineResponse) FastReadField1

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

func (*ListBareMachineResponse) FastReadField2

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

func (*ListBareMachineResponse) FastReadField255

func (p *ListBareMachineResponse) FastReadField255(buf []byte) (int, error)

func (*ListBareMachineResponse) FastWrite

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

for compatibility

func (*ListBareMachineResponse) FastWriteNocopy

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

func (*ListBareMachineResponse) Field1DeepEqual

func (p *ListBareMachineResponse) Field1DeepEqual(src []*BareMachineItem) bool

func (*ListBareMachineResponse) Field255DeepEqual

func (p *ListBareMachineResponse) Field255DeepEqual(src *base.Base) bool

func (*ListBareMachineResponse) Field2DeepEqual

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

func (*ListBareMachineResponse) GetBase

func (p *ListBareMachineResponse) GetBase() (v *base.Base)

func (*ListBareMachineResponse) GetItems

func (p *ListBareMachineResponse) GetItems() (v []*BareMachineItem)

func (*ListBareMachineResponse) GetOrSetBase

func (p *ListBareMachineResponse) GetOrSetBase() interface{}

func (*ListBareMachineResponse) GetTotal

func (p *ListBareMachineResponse) GetTotal() (v int32)

func (*ListBareMachineResponse) IsSetBase

func (p *ListBareMachineResponse) IsSetBase() bool

func (*ListBareMachineResponse) Read

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

func (*ListBareMachineResponse) ReadField1

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

func (*ListBareMachineResponse) ReadField2

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

func (*ListBareMachineResponse) ReadField255

func (p *ListBareMachineResponse) ReadField255(iprot thrift.TProtocol) error

func (*ListBareMachineResponse) SetBase

func (p *ListBareMachineResponse) SetBase(val *base.Base)

func (*ListBareMachineResponse) SetItems

func (p *ListBareMachineResponse) SetItems(val []*BareMachineItem)

func (*ListBareMachineResponse) SetTotal

func (p *ListBareMachineResponse) SetTotal(val int32)

func (*ListBareMachineResponse) String

func (p *ListBareMachineResponse) String() string

func (*ListBareMachineResponse) Write

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

type Login

type Login struct {
	LoginType string  `thrift:"LoginType,1,required" validate:"required,oneof=SshKey Password"`
	Username  string  `thrift:"Username,2,required" json:"Username"`
	Password  *string `thrift:"Password,3" json:"Password,omitempty"`
	Port      int32   `thrift:"Port,4,required" json:"Port"`
}
var BareMachineConfig_Login_DEFAULT *Login
var BareMachineItem_Login_DEFAULT *Login
var GetBareMachineResponse_Login_DEFAULT *Login
var UpdateBareMachineRequest_Login_DEFAULT *Login

func NewLogin

func NewLogin() *Login

func (*Login) BLength

func (p *Login) BLength() int

func (*Login) DeepEqual

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

func (*Login) FastRead

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

func (*Login) FastReadField1

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

func (*Login) FastReadField2

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

func (*Login) FastReadField3

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

func (*Login) FastReadField4

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

func (*Login) FastWrite

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

for compatibility

func (*Login) FastWriteNocopy

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

func (*Login) Field1DeepEqual

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

func (*Login) Field2DeepEqual

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

func (*Login) Field3DeepEqual

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

func (*Login) Field4DeepEqual

func (p *Login) Field4DeepEqual(src int32) bool

func (*Login) GetLoginType

func (p *Login) GetLoginType() (v string)

func (*Login) GetPassword

func (p *Login) GetPassword() (v string)

func (*Login) GetPort

func (p *Login) GetPort() (v int32)

func (*Login) GetUsername

func (p *Login) GetUsername() (v string)

func (*Login) IsSetPassword

func (p *Login) IsSetPassword() bool

func (*Login) Read

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

func (*Login) ReadField1

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

func (*Login) ReadField2

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

func (*Login) ReadField3

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

func (*Login) ReadField4

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

func (*Login) SetLoginType

func (p *Login) SetLoginType(val string)

func (*Login) SetPassword

func (p *Login) SetPassword(val *string)

func (*Login) SetPort

func (p *Login) SetPort(val int32)

func (*Login) SetUsername

func (p *Login) SetUsername(val string)

func (*Login) String

func (p *Login) String() string

func (*Login) Write

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

type SystemInfo

type SystemInfo struct {
	Os            string `thrift:"Os,1,required" json:"Os"`
	Platform      string `thrift:"Platform,2,required" json:"Platform"`
	KernelVersion string `thrift:"KernelVersion,3,required" json:"KernelVersion"`
	CpuArch       string `thrift:"CpuArch,4,required" json:"CpuArch"`
}
var GetBareMachineResponse_SystemInfo_DEFAULT *SystemInfo

func NewSystemInfo

func NewSystemInfo() *SystemInfo

func (*SystemInfo) BLength

func (p *SystemInfo) BLength() int

func (*SystemInfo) DeepEqual

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

func (*SystemInfo) FastRead

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

func (*SystemInfo) FastReadField1

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

func (*SystemInfo) FastReadField2

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

func (*SystemInfo) FastReadField3

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

func (*SystemInfo) FastReadField4

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

func (*SystemInfo) FastWrite

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

for compatibility

func (*SystemInfo) FastWriteNocopy

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

func (*SystemInfo) Field1DeepEqual

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

func (*SystemInfo) Field2DeepEqual

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

func (*SystemInfo) Field3DeepEqual

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

func (*SystemInfo) Field4DeepEqual

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

func (*SystemInfo) GetCpuArch

func (p *SystemInfo) GetCpuArch() (v string)

func (*SystemInfo) GetKernelVersion

func (p *SystemInfo) GetKernelVersion() (v string)

func (*SystemInfo) GetOs

func (p *SystemInfo) GetOs() (v string)

func (*SystemInfo) GetPlatform

func (p *SystemInfo) GetPlatform() (v string)

func (*SystemInfo) Read

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

func (*SystemInfo) ReadField1

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

func (*SystemInfo) ReadField2

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

func (*SystemInfo) ReadField3

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

func (*SystemInfo) ReadField4

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

func (*SystemInfo) SetCpuArch

func (p *SystemInfo) SetCpuArch(val string)

func (*SystemInfo) SetKernelVersion

func (p *SystemInfo) SetKernelVersion(val string)

func (*SystemInfo) SetOs

func (p *SystemInfo) SetOs(val string)

func (*SystemInfo) SetPlatform

func (p *SystemInfo) SetPlatform(val string)

func (*SystemInfo) String

func (p *SystemInfo) String() string

func (*SystemInfo) Write

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

type UpdateBareMachineRequest

type UpdateBareMachineRequest struct {
	Id     string          `thrift:"Id,1,required" json:"Id"`
	Name   *string         `thrift:"Name,2" json:"Name,omitempty"`
	Login  *Login          `thrift:"Login,3" json:"Login,omitempty"`
	Labels []*helper.Label `thrift:"Labels,4" json:"Labels,omitempty"`
	Top    *base.TopParam  `thrift:"Top,254,required" json:"Top"`
	Base   *base.Base      `thrift:"Base,255" json:"Base,omitempty"`
}

func NewUpdateBareMachineRequest

func NewUpdateBareMachineRequest() *UpdateBareMachineRequest

func (*UpdateBareMachineRequest) BLength

func (p *UpdateBareMachineRequest) BLength() int

func (*UpdateBareMachineRequest) DeepEqual

func (*UpdateBareMachineRequest) FastRead

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

func (*UpdateBareMachineRequest) FastReadField1

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

func (*UpdateBareMachineRequest) FastReadField2

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

func (*UpdateBareMachineRequest) FastReadField254

func (p *UpdateBareMachineRequest) FastReadField254(buf []byte) (int, error)

func (*UpdateBareMachineRequest) FastReadField255

func (p *UpdateBareMachineRequest) FastReadField255(buf []byte) (int, error)

func (*UpdateBareMachineRequest) FastReadField3

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

func (*UpdateBareMachineRequest) FastReadField4

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

func (*UpdateBareMachineRequest) FastWrite

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

for compatibility

func (*UpdateBareMachineRequest) FastWriteNocopy

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

func (*UpdateBareMachineRequest) Field1DeepEqual

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

func (*UpdateBareMachineRequest) Field254DeepEqual

func (p *UpdateBareMachineRequest) Field254DeepEqual(src *base.TopParam) bool

func (*UpdateBareMachineRequest) Field255DeepEqual

func (p *UpdateBareMachineRequest) Field255DeepEqual(src *base.Base) bool

func (*UpdateBareMachineRequest) Field2DeepEqual

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

func (*UpdateBareMachineRequest) Field3DeepEqual

func (p *UpdateBareMachineRequest) Field3DeepEqual(src *Login) bool

func (*UpdateBareMachineRequest) Field4DeepEqual

func (p *UpdateBareMachineRequest) Field4DeepEqual(src []*helper.Label) bool

func (*UpdateBareMachineRequest) GetBase

func (p *UpdateBareMachineRequest) GetBase() (v *base.Base)

func (*UpdateBareMachineRequest) GetId

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

func (*UpdateBareMachineRequest) GetLabels

func (p *UpdateBareMachineRequest) GetLabels() (v []*helper.Label)

func (*UpdateBareMachineRequest) GetLogin

func (p *UpdateBareMachineRequest) GetLogin() (v *Login)

func (*UpdateBareMachineRequest) GetName

func (p *UpdateBareMachineRequest) GetName() (v string)

func (*UpdateBareMachineRequest) GetOrSetBase

func (p *UpdateBareMachineRequest) GetOrSetBase() interface{}

func (*UpdateBareMachineRequest) GetTop

func (p *UpdateBareMachineRequest) GetTop() (v *base.TopParam)

func (*UpdateBareMachineRequest) IsSetBase

func (p *UpdateBareMachineRequest) IsSetBase() bool

func (*UpdateBareMachineRequest) IsSetLabels

func (p *UpdateBareMachineRequest) IsSetLabels() bool

func (*UpdateBareMachineRequest) IsSetLogin

func (p *UpdateBareMachineRequest) IsSetLogin() bool

func (*UpdateBareMachineRequest) IsSetName

func (p *UpdateBareMachineRequest) IsSetName() bool

func (*UpdateBareMachineRequest) IsSetTop

func (p *UpdateBareMachineRequest) IsSetTop() bool

func (*UpdateBareMachineRequest) Read

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

func (*UpdateBareMachineRequest) ReadField1

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

func (*UpdateBareMachineRequest) ReadField2

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

func (*UpdateBareMachineRequest) ReadField254

func (p *UpdateBareMachineRequest) ReadField254(iprot thrift.TProtocol) error

func (*UpdateBareMachineRequest) ReadField255

func (p *UpdateBareMachineRequest) ReadField255(iprot thrift.TProtocol) error

func (*UpdateBareMachineRequest) ReadField3

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

func (*UpdateBareMachineRequest) ReadField4

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

func (*UpdateBareMachineRequest) SetBase

func (p *UpdateBareMachineRequest) SetBase(val *base.Base)

func (*UpdateBareMachineRequest) SetId

func (p *UpdateBareMachineRequest) SetId(val string)

func (*UpdateBareMachineRequest) SetLabels

func (p *UpdateBareMachineRequest) SetLabels(val []*helper.Label)

func (*UpdateBareMachineRequest) SetLogin

func (p *UpdateBareMachineRequest) SetLogin(val *Login)

func (*UpdateBareMachineRequest) SetName

func (p *UpdateBareMachineRequest) SetName(val *string)

func (*UpdateBareMachineRequest) SetTop

func (p *UpdateBareMachineRequest) SetTop(val *base.TopParam)

func (*UpdateBareMachineRequest) String

func (p *UpdateBareMachineRequest) String() string

func (*UpdateBareMachineRequest) Write

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

type UpdateBareMachineResponse

type UpdateBareMachineResponse struct {
	Id   string     `thrift:"Id,1,required" json:"Id"`
	Base *base.Base `thrift:"Base,255" json:"Base,omitempty"`
}

func NewUpdateBareMachineResponse

func NewUpdateBareMachineResponse() *UpdateBareMachineResponse

func (*UpdateBareMachineResponse) BLength

func (p *UpdateBareMachineResponse) BLength() int

func (*UpdateBareMachineResponse) DeepEqual

func (*UpdateBareMachineResponse) FastRead

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

func (*UpdateBareMachineResponse) FastReadField1

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

func (*UpdateBareMachineResponse) FastReadField255

func (p *UpdateBareMachineResponse) FastReadField255(buf []byte) (int, error)

func (*UpdateBareMachineResponse) FastWrite

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

for compatibility

func (*UpdateBareMachineResponse) FastWriteNocopy

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

func (*UpdateBareMachineResponse) Field1DeepEqual

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

func (*UpdateBareMachineResponse) Field255DeepEqual

func (p *UpdateBareMachineResponse) Field255DeepEqual(src *base.Base) bool

func (*UpdateBareMachineResponse) GetBase

func (p *UpdateBareMachineResponse) GetBase() (v *base.Base)

func (*UpdateBareMachineResponse) GetId

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

func (*UpdateBareMachineResponse) GetOrSetBase

func (p *UpdateBareMachineResponse) GetOrSetBase() interface{}

func (*UpdateBareMachineResponse) IsSetBase

func (p *UpdateBareMachineResponse) IsSetBase() bool

func (*UpdateBareMachineResponse) Read

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

func (*UpdateBareMachineResponse) ReadField1

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

func (*UpdateBareMachineResponse) ReadField255

func (p *UpdateBareMachineResponse) ReadField255(iprot thrift.TProtocol) error

func (*UpdateBareMachineResponse) SetBase

func (p *UpdateBareMachineResponse) SetBase(val *base.Base)

func (*UpdateBareMachineResponse) SetId

func (p *UpdateBareMachineResponse) SetId(val string)

func (*UpdateBareMachineResponse) String

func (p *UpdateBareMachineResponse) String() string

func (*UpdateBareMachineResponse) Write

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

Jump to

Keyboard shortcuts

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