helper

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdvanceSetting_DeletionProtection_DEFAULT bool
View Source
var AdvanceSetting_KubeproxyMode_DEFAULT string
View Source
var BasicSetting_ClusterDescription_DEFAULT string
View Source
var BasicSetting_ClusterName_DEFAULT string
View Source
var BasicSetting_ClusterOS_DEFAULT string
View Source
var CheckResourceExistRequest_Base_DEFAULT *base.Base
View Source
var CheckResourceExistRequest_ClusterId_DEFAULT string
View Source
var CheckResourceExistRequest_Namespace_DEFAULT string
View Source
var CheckResourceExistRequest_Top_DEFAULT *base.TopParam
View Source
var ContainerRuntime_Name_DEFAULT string
View Source
var ContainerRuntime_Version_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var Label_Value_DEFAULT string
View Source
var MachineAdvancedSetting_CustomScrit_DEFAULT string
View Source
var MachineAdvancedSetting_Labels_DEFAULT []*Label
View Source
var MachineAdvancedSetting_MountTarget_DEFAULT string
View Source
var MachineAdvancedSetting_Unschedulable_DEFAULT bool
View Source
var PageInfo_PageNumber_DEFAULT string
View Source
var PageInfo_PageSize_DEFAULT string
View Source
var PageInfo_TotalCount_DEFAULT string
View Source
var UpgradeStrategy_DrainNodeBeforeUpgrade_DEFAULT bool
View Source
var UpgradeStrategy_MaxUnready_DEFAULT string

Functions

This section is empty.

Types

type AdvanceSetting

type AdvanceSetting struct {
	KubeproxyMode      *string `thrift:"KubeproxyMode,1" json:"KubeproxyMode,omitempty"`
	DeletionProtection *bool   `thrift:"DeletionProtection,2" json:"DeletionProtection,omitempty"`
}

func NewAdvanceSetting

func NewAdvanceSetting() *AdvanceSetting

func (*AdvanceSetting) BLength

func (p *AdvanceSetting) BLength() int

func (*AdvanceSetting) DeepEqual

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

func (*AdvanceSetting) FastRead

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

func (*AdvanceSetting) FastReadField1

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

func (*AdvanceSetting) FastReadField2

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

func (*AdvanceSetting) FastWrite

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

for compatibility

func (*AdvanceSetting) FastWriteNocopy

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

func (*AdvanceSetting) Field1DeepEqual

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

func (*AdvanceSetting) Field2DeepEqual

func (p *AdvanceSetting) Field2DeepEqual(src *bool) bool

func (*AdvanceSetting) GetDeletionProtection

func (p *AdvanceSetting) GetDeletionProtection() (v bool)

func (*AdvanceSetting) GetKubeproxyMode

func (p *AdvanceSetting) GetKubeproxyMode() (v string)

func (*AdvanceSetting) IsSetDeletionProtection

func (p *AdvanceSetting) IsSetDeletionProtection() bool

func (*AdvanceSetting) IsSetKubeproxyMode

func (p *AdvanceSetting) IsSetKubeproxyMode() bool

func (*AdvanceSetting) Read

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

func (*AdvanceSetting) ReadField1

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

func (*AdvanceSetting) ReadField2

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

func (*AdvanceSetting) SetDeletionProtection

func (p *AdvanceSetting) SetDeletionProtection(val *bool)

func (*AdvanceSetting) SetKubeproxyMode

func (p *AdvanceSetting) SetKubeproxyMode(val *string)

func (*AdvanceSetting) String

func (p *AdvanceSetting) String() string

func (*AdvanceSetting) Write

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

type BasicSetting

type BasicSetting struct {
	ClusterOS          *string `thrift:"ClusterOS,1" json:"ClusterOS,omitempty"`
	ClusterName        *string `thrift:"ClusterName,2" json:"ClusterName,omitempty"`
	ClusterDescription *string `thrift:"ClusterDescription,3" json:"ClusterDescription,omitempty"`
	KubernetesVersion  string  `thrift:"KubernetesVersion,4,required" json:"KubernetesVersion"`
}

func NewBasicSetting

func NewBasicSetting() *BasicSetting

func (*BasicSetting) BLength

func (p *BasicSetting) BLength() int

func (*BasicSetting) DeepEqual

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

func (*BasicSetting) FastRead

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

func (*BasicSetting) FastReadField1

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

func (*BasicSetting) FastReadField2

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

func (*BasicSetting) FastReadField3

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

func (*BasicSetting) FastReadField4

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

func (*BasicSetting) FastWrite

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

for compatibility

func (*BasicSetting) FastWriteNocopy

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

func (*BasicSetting) Field1DeepEqual

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

func (*BasicSetting) Field2DeepEqual

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

func (*BasicSetting) Field3DeepEqual

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

func (*BasicSetting) Field4DeepEqual

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

func (*BasicSetting) GetClusterDescription

func (p *BasicSetting) GetClusterDescription() (v string)

func (*BasicSetting) GetClusterName

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

func (*BasicSetting) GetClusterOS

func (p *BasicSetting) GetClusterOS() (v string)

func (*BasicSetting) GetKubernetesVersion

func (p *BasicSetting) GetKubernetesVersion() (v string)

func (*BasicSetting) IsSetClusterDescription

func (p *BasicSetting) IsSetClusterDescription() bool

func (*BasicSetting) IsSetClusterName

func (p *BasicSetting) IsSetClusterName() bool

func (*BasicSetting) IsSetClusterOS

func (p *BasicSetting) IsSetClusterOS() bool

func (*BasicSetting) Read

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

func (*BasicSetting) ReadField1

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

func (*BasicSetting) ReadField2

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

func (*BasicSetting) ReadField3

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

func (*BasicSetting) ReadField4

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

func (*BasicSetting) SetClusterDescription

func (p *BasicSetting) SetClusterDescription(val *string)

func (*BasicSetting) SetClusterName

func (p *BasicSetting) SetClusterName(val *string)

func (*BasicSetting) SetClusterOS

func (p *BasicSetting) SetClusterOS(val *string)

func (*BasicSetting) SetKubernetesVersion

func (p *BasicSetting) SetKubernetesVersion(val string)

func (*BasicSetting) String

func (p *BasicSetting) String() string

func (*BasicSetting) Write

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

type CNI

type CNI struct {
	Name   string  `thrift:"Name,1,required" json:"Name"`
	Caloco *Calico `thrift:"Caloco,2" json:"Caloco,omitempty"`
}

func NewCNI

func NewCNI() *CNI

func (*CNI) BLength

func (p *CNI) BLength() int

func (*CNI) DeepEqual

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

func (*CNI) FastRead

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

func (*CNI) FastReadField1

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

func (*CNI) FastReadField2

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

func (*CNI) FastWrite

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

for compatibility

func (*CNI) FastWriteNocopy

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

func (*CNI) Field1DeepEqual

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

func (*CNI) Field2DeepEqual

func (p *CNI) Field2DeepEqual(src *Calico) bool

func (*CNI) GetCaloco

func (p *CNI) GetCaloco() (v *Calico)

func (*CNI) GetName

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

func (*CNI) IsSetCaloco

func (p *CNI) IsSetCaloco() bool

func (*CNI) Read

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

func (*CNI) ReadField1

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

func (*CNI) ReadField2

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

func (*CNI) SetCaloco

func (p *CNI) SetCaloco(val *Calico)

func (*CNI) SetName

func (p *CNI) SetName(val string)

func (*CNI) String

func (p *CNI) String() string

func (*CNI) Write

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

type Calico

type Calico struct {
}
var CNI_Caloco_DEFAULT *Calico

func NewCalico

func NewCalico() *Calico

func (*Calico) BLength

func (p *Calico) BLength() int

func (*Calico) DeepEqual

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

func (*Calico) FastRead

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

func (*Calico) FastWrite

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

for compatibility

func (*Calico) FastWriteNocopy

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

func (*Calico) Read

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

func (*Calico) String

func (p *Calico) String() string

func (*Calico) Write

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

type CheckResourceExistRequest

type CheckResourceExistRequest struct {
	Kind      string         `` /* 142-byte string literal not displayed */
	Name      string         `thrift:"Name,2,required" validate:"required"`
	ClusterId *string        `thrift:"ClusterId,3" json:"ClusterId,omitempty"`
	Namespace *string        `thrift:"Namespace,4" json:"Namespace,omitempty"`
	Top       *base.TopParam `thrift:"Top,254,required" json:"Top"`
	Base      *base.Base     `thrift:"Base,255" json:"Base,omitempty"`
}

func NewCheckResourceExistRequest

func NewCheckResourceExistRequest() *CheckResourceExistRequest

func (*CheckResourceExistRequest) BLength

func (p *CheckResourceExistRequest) BLength() int

func (*CheckResourceExistRequest) DeepEqual

func (*CheckResourceExistRequest) FastRead

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

func (*CheckResourceExistRequest) FastReadField1

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

func (*CheckResourceExistRequest) FastReadField2

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

func (*CheckResourceExistRequest) FastReadField254

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

func (*CheckResourceExistRequest) FastReadField255

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

func (*CheckResourceExistRequest) FastReadField3

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

func (*CheckResourceExistRequest) FastReadField4

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

func (*CheckResourceExistRequest) FastWrite

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

for compatibility

func (*CheckResourceExistRequest) FastWriteNocopy

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

func (*CheckResourceExistRequest) Field1DeepEqual

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

func (*CheckResourceExistRequest) Field254DeepEqual

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

func (*CheckResourceExistRequest) Field255DeepEqual

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

func (*CheckResourceExistRequest) Field2DeepEqual

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

func (*CheckResourceExistRequest) Field3DeepEqual

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

func (*CheckResourceExistRequest) Field4DeepEqual

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

func (*CheckResourceExistRequest) GetBase

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

func (*CheckResourceExistRequest) GetClusterId

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

func (*CheckResourceExistRequest) GetKind

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

func (*CheckResourceExistRequest) GetName

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

func (*CheckResourceExistRequest) GetNamespace

func (p *CheckResourceExistRequest) GetNamespace() (v string)

func (*CheckResourceExistRequest) GetOrSetBase

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

func (*CheckResourceExistRequest) GetTop

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

func (*CheckResourceExistRequest) IsSetBase

func (p *CheckResourceExistRequest) IsSetBase() bool

func (*CheckResourceExistRequest) IsSetClusterId

func (p *CheckResourceExistRequest) IsSetClusterId() bool

func (*CheckResourceExistRequest) IsSetNamespace

func (p *CheckResourceExistRequest) IsSetNamespace() bool

func (*CheckResourceExistRequest) IsSetTop

func (p *CheckResourceExistRequest) IsSetTop() bool

func (*CheckResourceExistRequest) Read

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

func (*CheckResourceExistRequest) ReadField1

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

func (*CheckResourceExistRequest) ReadField2

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

func (*CheckResourceExistRequest) ReadField254

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

func (*CheckResourceExistRequest) ReadField255

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

func (*CheckResourceExistRequest) ReadField3

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

func (*CheckResourceExistRequest) ReadField4

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

func (*CheckResourceExistRequest) SetBase

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

func (*CheckResourceExistRequest) SetClusterId

func (p *CheckResourceExistRequest) SetClusterId(val *string)

func (*CheckResourceExistRequest) SetKind

func (p *CheckResourceExistRequest) SetKind(val string)

func (*CheckResourceExistRequest) SetName

func (p *CheckResourceExistRequest) SetName(val string)

func (*CheckResourceExistRequest) SetNamespace

func (p *CheckResourceExistRequest) SetNamespace(val *string)

func (*CheckResourceExistRequest) SetTop

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

func (*CheckResourceExistRequest) String

func (p *CheckResourceExistRequest) String() string

func (*CheckResourceExistRequest) Write

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

type CheckResourceExistResponse

type CheckResourceExistResponse struct {
	Exist bool `thrift:"exist,1,required" json:"exist"`
}

func NewCheckResourceExistResponse

func NewCheckResourceExistResponse() *CheckResourceExistResponse

func (*CheckResourceExistResponse) BLength

func (p *CheckResourceExistResponse) BLength() int

func (*CheckResourceExistResponse) DeepEqual

func (*CheckResourceExistResponse) FastRead

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

func (*CheckResourceExistResponse) FastReadField1

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

func (*CheckResourceExistResponse) FastWrite

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

for compatibility

func (*CheckResourceExistResponse) FastWriteNocopy

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

func (*CheckResourceExistResponse) Field1DeepEqual

func (p *CheckResourceExistResponse) Field1DeepEqual(src bool) bool

func (*CheckResourceExistResponse) GetExist

func (p *CheckResourceExistResponse) GetExist() (v bool)

func (*CheckResourceExistResponse) Read

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

func (*CheckResourceExistResponse) ReadField1

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

func (*CheckResourceExistResponse) SetExist

func (p *CheckResourceExistResponse) SetExist(val bool)

func (*CheckResourceExistResponse) String

func (p *CheckResourceExistResponse) String() string

func (*CheckResourceExistResponse) Write

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

type ContainerRuntime

type ContainerRuntime struct {
	Name    *string `thrift:"Name,1" json:"Name,omitempty"`
	Version *string `thrift:"Version,2" json:"Version,omitempty"`
}

func NewContainerRuntime

func NewContainerRuntime() *ContainerRuntime

func (*ContainerRuntime) BLength

func (p *ContainerRuntime) BLength() int

func (*ContainerRuntime) DeepEqual

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

func (*ContainerRuntime) FastRead

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

func (*ContainerRuntime) FastReadField1

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

func (*ContainerRuntime) FastReadField2

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

func (*ContainerRuntime) FastWrite

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

for compatibility

func (*ContainerRuntime) FastWriteNocopy

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

func (*ContainerRuntime) Field1DeepEqual

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

func (*ContainerRuntime) Field2DeepEqual

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

func (*ContainerRuntime) GetName

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

func (*ContainerRuntime) GetVersion

func (p *ContainerRuntime) GetVersion() (v string)

func (*ContainerRuntime) IsSetName

func (p *ContainerRuntime) IsSetName() bool

func (*ContainerRuntime) IsSetVersion

func (p *ContainerRuntime) IsSetVersion() bool

func (*ContainerRuntime) Read

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

func (*ContainerRuntime) ReadField1

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

func (*ContainerRuntime) ReadField2

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

func (*ContainerRuntime) SetName

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

func (*ContainerRuntime) SetVersion

func (p *ContainerRuntime) SetVersion(val *string)

func (*ContainerRuntime) String

func (p *ContainerRuntime) String() string

func (*ContainerRuntime) Write

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

type Label

type Label struct {
	Name   string  `thrift:"Name,1,required" json:"Name"`
	Value  *string `thrift:"Value,2" json:"Value,omitempty"`
	System bool    `thrift:"System,3,required" json:"System"`
}

func NewLabel

func NewLabel() *Label

func (*Label) BLength

func (p *Label) BLength() int

func (*Label) DeepEqual

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

func (*Label) FastRead

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

func (*Label) FastReadField1

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

func (*Label) FastReadField2

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

func (*Label) FastReadField3

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

func (*Label) FastWrite

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

for compatibility

func (*Label) FastWriteNocopy

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

func (*Label) Field1DeepEqual

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

func (*Label) Field2DeepEqual

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

func (*Label) Field3DeepEqual

func (p *Label) Field3DeepEqual(src bool) bool

func (*Label) GetName

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

func (*Label) GetSystem

func (p *Label) GetSystem() (v bool)

func (*Label) GetValue

func (p *Label) GetValue() (v string)

func (*Label) IsSetValue

func (p *Label) IsSetValue() bool

func (*Label) Read

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

func (*Label) ReadField1

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

func (*Label) ReadField2

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

func (*Label) ReadField3

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

func (*Label) SetName

func (p *Label) SetName(val string)

func (*Label) SetSystem

func (p *Label) SetSystem(val bool)

func (*Label) SetValue

func (p *Label) SetValue(val *string)

func (*Label) String

func (p *Label) String() string

func (*Label) Write

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

type MachineAdvancedSetting

type MachineAdvancedSetting struct {
	MountTarget   *string  `thrift:"MountTarget,1" json:"MountTarget,omitempty"`
	CustomScrit   *string  `thrift:"CustomScrit,2" json:"CustomScrit,omitempty"`
	Unschedulable *bool    `thrift:"Unschedulable,3" json:"Unschedulable,omitempty"`
	Labels        []*Label `thrift:"Labels,4" json:"Labels,omitempty"`
}

func NewMachineAdvancedSetting

func NewMachineAdvancedSetting() *MachineAdvancedSetting

func (*MachineAdvancedSetting) BLength

func (p *MachineAdvancedSetting) BLength() int

func (*MachineAdvancedSetting) DeepEqual

func (*MachineAdvancedSetting) FastRead

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

func (*MachineAdvancedSetting) FastReadField1

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

func (*MachineAdvancedSetting) FastReadField2

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

func (*MachineAdvancedSetting) FastReadField3

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

func (*MachineAdvancedSetting) FastReadField4

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

func (*MachineAdvancedSetting) FastWrite

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

for compatibility

func (*MachineAdvancedSetting) FastWriteNocopy

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

func (*MachineAdvancedSetting) Field1DeepEqual

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

func (*MachineAdvancedSetting) Field2DeepEqual

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

func (*MachineAdvancedSetting) Field3DeepEqual

func (p *MachineAdvancedSetting) Field3DeepEqual(src *bool) bool

func (*MachineAdvancedSetting) Field4DeepEqual

func (p *MachineAdvancedSetting) Field4DeepEqual(src []*Label) bool

func (*MachineAdvancedSetting) GetCustomScrit

func (p *MachineAdvancedSetting) GetCustomScrit() (v string)

func (*MachineAdvancedSetting) GetLabels

func (p *MachineAdvancedSetting) GetLabels() (v []*Label)

func (*MachineAdvancedSetting) GetMountTarget

func (p *MachineAdvancedSetting) GetMountTarget() (v string)

func (*MachineAdvancedSetting) GetUnschedulable

func (p *MachineAdvancedSetting) GetUnschedulable() (v bool)

func (*MachineAdvancedSetting) IsSetCustomScrit

func (p *MachineAdvancedSetting) IsSetCustomScrit() bool

func (*MachineAdvancedSetting) IsSetLabels

func (p *MachineAdvancedSetting) IsSetLabels() bool

func (*MachineAdvancedSetting) IsSetMountTarget

func (p *MachineAdvancedSetting) IsSetMountTarget() bool

func (*MachineAdvancedSetting) IsSetUnschedulable

func (p *MachineAdvancedSetting) IsSetUnschedulable() bool

func (*MachineAdvancedSetting) Read

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

func (*MachineAdvancedSetting) ReadField1

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

func (*MachineAdvancedSetting) ReadField2

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

func (*MachineAdvancedSetting) ReadField3

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

func (*MachineAdvancedSetting) ReadField4

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

func (*MachineAdvancedSetting) SetCustomScrit

func (p *MachineAdvancedSetting) SetCustomScrit(val *string)

func (*MachineAdvancedSetting) SetLabels

func (p *MachineAdvancedSetting) SetLabels(val []*Label)

func (*MachineAdvancedSetting) SetMountTarget

func (p *MachineAdvancedSetting) SetMountTarget(val *string)

func (*MachineAdvancedSetting) SetUnschedulable

func (p *MachineAdvancedSetting) SetUnschedulable(val *bool)

func (*MachineAdvancedSetting) String

func (p *MachineAdvancedSetting) String() string

func (*MachineAdvancedSetting) Write

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

type PageInfo

type PageInfo struct {
	PageNumber *string `thrift:"PageNumber,1" json:"PageNumber,omitempty"`
	PageSize   *string `thrift:"PageSize,2" json:"PageSize,omitempty"`
	TotalCount *string `thrift:"TotalCount,3" json:"TotalCount,omitempty"`
}

func NewPageInfo

func NewPageInfo() *PageInfo

func (*PageInfo) BLength

func (p *PageInfo) BLength() int

func (*PageInfo) DeepEqual

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

func (*PageInfo) FastRead

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

func (*PageInfo) FastReadField1

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

func (*PageInfo) FastReadField2

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

func (*PageInfo) FastReadField3

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

func (*PageInfo) FastWrite

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

for compatibility

func (*PageInfo) FastWriteNocopy

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

func (*PageInfo) Field1DeepEqual

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

func (*PageInfo) Field2DeepEqual

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

func (*PageInfo) Field3DeepEqual

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

func (*PageInfo) GetPageNumber

func (p *PageInfo) GetPageNumber() (v string)

func (*PageInfo) GetPageSize

func (p *PageInfo) GetPageSize() (v string)

func (*PageInfo) GetTotalCount

func (p *PageInfo) GetTotalCount() (v string)

func (*PageInfo) IsSetPageNumber

func (p *PageInfo) IsSetPageNumber() bool

func (*PageInfo) IsSetPageSize

func (p *PageInfo) IsSetPageSize() bool

func (*PageInfo) IsSetTotalCount

func (p *PageInfo) IsSetTotalCount() bool

func (*PageInfo) Read

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

func (*PageInfo) ReadField1

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

func (*PageInfo) ReadField2

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

func (*PageInfo) ReadField3

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

func (*PageInfo) SetPageNumber

func (p *PageInfo) SetPageNumber(val *string)

func (*PageInfo) SetPageSize

func (p *PageInfo) SetPageSize(val *string)

func (*PageInfo) SetTotalCount

func (p *PageInfo) SetTotalCount(val *string)

func (*PageInfo) String

func (p *PageInfo) String() string

func (*PageInfo) Write

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

type Taint

type Taint struct {
	Key    string `thrift:"Key,1,required" json:"Key"`
	Value  string `thrift:"Value,2,required" json:"Value"`
	Effect string `thrift:"Effect,3,required" json:"Effect"`
	System bool   `thrift:"System,4,required" json:"System"`
}

func NewTaint

func NewTaint() *Taint

func (*Taint) BLength

func (p *Taint) BLength() int

func (*Taint) DeepEqual

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

func (*Taint) FastRead

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

func (*Taint) FastReadField1

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

func (*Taint) FastReadField2

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

func (*Taint) FastReadField3

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

func (*Taint) FastReadField4

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

func (*Taint) FastWrite

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

for compatibility

func (*Taint) FastWriteNocopy

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

func (*Taint) Field1DeepEqual

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

func (*Taint) Field2DeepEqual

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

func (*Taint) Field3DeepEqual

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

func (*Taint) Field4DeepEqual

func (p *Taint) Field4DeepEqual(src bool) bool

func (*Taint) GetEffect

func (p *Taint) GetEffect() (v string)

func (*Taint) GetKey

func (p *Taint) GetKey() (v string)

func (*Taint) GetSystem

func (p *Taint) GetSystem() (v bool)

func (*Taint) GetValue

func (p *Taint) GetValue() (v string)

func (*Taint) Read

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

func (*Taint) ReadField1

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

func (*Taint) ReadField2

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

func (*Taint) ReadField3

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

func (*Taint) ReadField4

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

func (*Taint) SetEffect

func (p *Taint) SetEffect(val string)

func (*Taint) SetKey

func (p *Taint) SetKey(val string)

func (*Taint) SetSystem

func (p *Taint) SetSystem(val bool)

func (*Taint) SetValue

func (p *Taint) SetValue(val string)

func (*Taint) String

func (p *Taint) String() string

func (*Taint) Write

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

type UpgradeStrategy

type UpgradeStrategy struct {
	MaxUnready             *string `thrift:"MaxUnready,1" json:"MaxUnready,omitempty"`
	DrainNodeBeforeUpgrade *bool   `thrift:"DrainNodeBeforeUpgrade,2" json:"DrainNodeBeforeUpgrade,omitempty"`
}

func NewUpgradeStrategy

func NewUpgradeStrategy() *UpgradeStrategy

func (*UpgradeStrategy) BLength

func (p *UpgradeStrategy) BLength() int

func (*UpgradeStrategy) DeepEqual

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

func (*UpgradeStrategy) FastRead

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

func (*UpgradeStrategy) FastReadField1

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

func (*UpgradeStrategy) FastReadField2

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

func (*UpgradeStrategy) FastWrite

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

for compatibility

func (*UpgradeStrategy) FastWriteNocopy

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

func (*UpgradeStrategy) Field1DeepEqual

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

func (*UpgradeStrategy) Field2DeepEqual

func (p *UpgradeStrategy) Field2DeepEqual(src *bool) bool

func (*UpgradeStrategy) GetDrainNodeBeforeUpgrade

func (p *UpgradeStrategy) GetDrainNodeBeforeUpgrade() (v bool)

func (*UpgradeStrategy) GetMaxUnready

func (p *UpgradeStrategy) GetMaxUnready() (v string)

func (*UpgradeStrategy) IsSetDrainNodeBeforeUpgrade

func (p *UpgradeStrategy) IsSetDrainNodeBeforeUpgrade() bool

func (*UpgradeStrategy) IsSetMaxUnready

func (p *UpgradeStrategy) IsSetMaxUnready() bool

func (*UpgradeStrategy) Read

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

func (*UpgradeStrategy) ReadField1

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

func (*UpgradeStrategy) ReadField2

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

func (*UpgradeStrategy) SetDrainNodeBeforeUpgrade

func (p *UpgradeStrategy) SetDrainNodeBeforeUpgrade(val *bool)

func (*UpgradeStrategy) SetMaxUnready

func (p *UpgradeStrategy) SetMaxUnready(val *string)

func (*UpgradeStrategy) String

func (p *UpgradeStrategy) String() string

func (*UpgradeStrategy) Write

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

Jump to

Keyboard shortcuts

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