model

package
v0.0.4-beta Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonInstance

type AddonInstance struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *AddonMetadata `json:"metadata,omitempty"`

	Spec *InstanceSpec `json:"spec"`

	Status *AddonInstanceStatus `json:"status"`
}

func (AddonInstance) String

func (o AddonInstance) String() string

type AddonInstanceStatus

type AddonInstanceStatus struct {
	Status AddonInstanceStatusStatus `json:"status"`

	Reason string `json:"Reason"`

	Message string `json:"message"`

	TargetVersions *[]string `json:"targetVersions,omitempty"`

	CurrentVersion *Versions `json:"currentVersion"`

	IsRollbackable *bool `json:"isRollbackable,omitempty"`

	PreviousVersion *string `json:"previousVersion,omitempty"`
}

func (AddonInstanceStatus) String

func (o AddonInstanceStatus) String() string

type AddonInstanceStatusStatus

type AddonInstanceStatusStatus struct {
	// contains filtered or unexported fields
}

func (AddonInstanceStatusStatus) MarshalJSON

func (c AddonInstanceStatusStatus) MarshalJSON() ([]byte, error)

func (*AddonInstanceStatusStatus) UnmarshalJSON

func (c *AddonInstanceStatusStatus) UnmarshalJSON(b []byte) error

func (AddonInstanceStatusStatus) Value

type AddonMetadata

type AddonMetadata struct {
	Uid *string `json:"uid,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Labels map[string]string `json:"labels,omitempty"`

	Annotations map[string]string `json:"annotations,omitempty"`

	UpdateTimestamp *string `json:"updateTimestamp,omitempty"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`
}

func (AddonMetadata) String

func (o AddonMetadata) String() string

type AddonTemplate

type AddonTemplate struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *AddonMetadata `json:"metadata"`

	Spec *Templatespec `json:"spec"`
}

func (AddonTemplate) String

func (o AddonTemplate) String() string

type AuthenticatingProxy

type AuthenticatingProxy struct {
	Ca *string `json:"ca,omitempty"`

	Cert *string `json:"cert,omitempty"`

	PrivateKey *string `json:"privateKey,omitempty"`
}

func (AuthenticatingProxy) String

func (o AuthenticatingProxy) String() string

type Authentication

type Authentication struct {
	Mode *string `json:"mode,omitempty"`

	AuthenticatingProxy *AuthenticatingProxy `json:"authenticatingProxy,omitempty"`
}

func (Authentication) String

func (o Authentication) String() string

type AwakeClusterRequest

type AwakeClusterRequest struct {
	ClusterId string `json:"cluster_id"`
}

func (AwakeClusterRequest) String

func (o AwakeClusterRequest) String() string

type AwakeClusterResponse

type AwakeClusterResponse struct {
	HttpStatusCode int `json:"-"`
}

func (AwakeClusterResponse) String

func (o AwakeClusterResponse) String() string

type Cluster

type Cluster struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *ClusterMetadata `json:"metadata"`

	Spec *ClusterSpec `json:"spec"`

	Status *ClusterStatus `json:"status,omitempty"`
}

func (Cluster) String

func (o Cluster) String() string

type ClusterEndpoints

type ClusterEndpoints struct {
	Url *string `json:"url,omitempty"`

	Type *string `json:"type,omitempty"`
}

func (ClusterEndpoints) String

func (o ClusterEndpoints) String() string

type ClusterExtendParam

type ClusterExtendParam struct {
	ClusterAZ *string `json:"clusterAZ,omitempty"`

	DssMasterVolumes *string `json:"dssMasterVolumes,omitempty"`

	EnterpriseProjectId *string `json:"enterpriseProjectId,omitempty"`

	KubeProxyMode *string `json:"kubeProxyMode,omitempty"`

	ClusterExternalIP *string `json:"clusterExternalIP,omitempty"`

	AlphaCceFixPoolMask *string `json:"alpha.cce/fixPoolMask,omitempty"`

	DecMasterFlavor *string `json:"decMasterFlavor,omitempty"`

	DockerUmaskMode *string `json:"dockerUmaskMode,omitempty"`

	KubernetesIoCpuManagerPolicy *string `json:"kubernetes.io/cpuManagerPolicy,omitempty"`

	OrderID *string `json:"orderID,omitempty"`

	PeriodType *string `json:"periodType,omitempty"`

	PeriodNum *int32 `json:"periodNum,omitempty"`

	IsAutoRenew *string `json:"isAutoRenew,omitempty"`

	IsAutoPay *string `json:"isAutoPay,omitempty"`

	Upgradefrom *string `json:"upgradefrom,omitempty"`
}

func (ClusterExtendParam) String

func (o ClusterExtendParam) String() string

type ClusterInformation

type ClusterInformation struct {
	Spec *ClusterInformationSpec `json:"spec"`

	Metadata *ClusterMetadataForUpdate `json:"metadata,omitempty"`
}

func (ClusterInformation) String

func (o ClusterInformation) String() string

type ClusterInformationSpec

type ClusterInformationSpec struct {
	Description *string `json:"description,omitempty"`

	CustomSan *[]string `json:"customSan,omitempty"`

	ContainerNetwork *ContainerNetworkUpdate `json:"containerNetwork,omitempty"`

	EniNetwork *EniNetworkUpdate `json:"eniNetwork,omitempty"`

	HostNetwork *ClusterInformationSpecHostNetwork `json:"hostNetwork,omitempty"`
}

func (ClusterInformationSpec) String

func (o ClusterInformationSpec) String() string

type ClusterInformationSpecHostNetwork

type ClusterInformationSpecHostNetwork struct {
	SecurityGroup *string `json:"SecurityGroup,omitempty"`
}

func (ClusterInformationSpecHostNetwork) String

type ClusterMetadata

type ClusterMetadata struct {
	Name string `json:"name"`

	Uid *string `json:"uid,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Annotations map[string]string `json:"annotations,omitempty"`

	Labels map[string]string `json:"labels,omitempty"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`

	UpdateTimestamp *string `json:"updateTimestamp,omitempty"`
}

func (ClusterMetadata) String

func (o ClusterMetadata) String() string

type ClusterMetadataForUpdate

type ClusterMetadataForUpdate struct {
	Alias *string `json:"alias,omitempty"`
}

func (ClusterMetadataForUpdate) String

func (o ClusterMetadataForUpdate) String() string

type ClusterNodeInformation

type ClusterNodeInformation struct {
	Metadata *ClusterNodeInformationMetadata `json:"metadata"`
}

func (ClusterNodeInformation) String

func (o ClusterNodeInformation) String() string

type ClusterNodeInformationMetadata

type ClusterNodeInformationMetadata struct {
	Name string `json:"name"`
}

func (ClusterNodeInformationMetadata) String

type ClusterSpec

type ClusterSpec struct {
	Category *ClusterSpecCategory `json:"category,omitempty"`

	Type *ClusterSpecType `json:"type,omitempty"`

	Flavor string `json:"flavor"`

	Version *string `json:"version,omitempty"`

	PlatformVersion *string `json:"platformVersion,omitempty"`

	Description *string `json:"description,omitempty"`

	CustomSan *[]string `json:"customSan,omitempty"`

	Ipv6enable *bool `json:"ipv6enable,omitempty"`

	OffloadCluster *bool `json:"offloadCluster,omitempty"`

	HostNetwork *HostNetwork `json:"hostNetwork"`

	ContainerNetwork *ContainerNetwork `json:"containerNetwork"`

	EniNetwork *EniNetwork `json:"eniNetwork,omitempty"`

	Authentication *Authentication `json:"authentication,omitempty"`

	BillingMode *int32 `json:"billingMode,omitempty"`

	Masters *[]MasterSpec `json:"masters,omitempty"`

	KubernetesSvcIpRange *string `json:"kubernetesSvcIpRange,omitempty"`

	ClusterTags *[]ResourceTag `json:"clusterTags,omitempty"`

	KubeProxyMode *ClusterSpecKubeProxyMode `json:"kubeProxyMode,omitempty"`

	Az *string `json:"az,omitempty"`

	ExtendParam *ClusterExtendParam `json:"extendParam,omitempty"`

	SupportIstio *bool `json:"supportIstio,omitempty"`

	ConfigurationsOverride *[]PackageConfiguration `json:"configurationsOverride,omitempty"`
}

func (ClusterSpec) String

func (o ClusterSpec) String() string

type ClusterSpecCategory

type ClusterSpecCategory struct {
	// contains filtered or unexported fields
}

func (ClusterSpecCategory) MarshalJSON

func (c ClusterSpecCategory) MarshalJSON() ([]byte, error)

func (*ClusterSpecCategory) UnmarshalJSON

func (c *ClusterSpecCategory) UnmarshalJSON(b []byte) error

func (ClusterSpecCategory) Value

func (c ClusterSpecCategory) Value() string

type ClusterSpecCategoryEnum

type ClusterSpecCategoryEnum struct {
	CCE   ClusterSpecCategory
	TURBO ClusterSpecCategory
}

func GetClusterSpecCategoryEnum

func GetClusterSpecCategoryEnum() ClusterSpecCategoryEnum

type ClusterSpecKubeProxyMode

type ClusterSpecKubeProxyMode struct {
	// contains filtered or unexported fields
}

func (ClusterSpecKubeProxyMode) MarshalJSON

func (c ClusterSpecKubeProxyMode) MarshalJSON() ([]byte, error)

func (*ClusterSpecKubeProxyMode) UnmarshalJSON

func (c *ClusterSpecKubeProxyMode) UnmarshalJSON(b []byte) error

func (ClusterSpecKubeProxyMode) Value

func (c ClusterSpecKubeProxyMode) Value() string

type ClusterSpecKubeProxyModeEnum

type ClusterSpecKubeProxyModeEnum struct {
	IPTABLES ClusterSpecKubeProxyMode
	IPVS     ClusterSpecKubeProxyMode
}

func GetClusterSpecKubeProxyModeEnum

func GetClusterSpecKubeProxyModeEnum() ClusterSpecKubeProxyModeEnum

type ClusterSpecType

type ClusterSpecType struct {
	// contains filtered or unexported fields
}

func (ClusterSpecType) MarshalJSON

func (c ClusterSpecType) MarshalJSON() ([]byte, error)

func (*ClusterSpecType) UnmarshalJSON

func (c *ClusterSpecType) UnmarshalJSON(b []byte) error

func (ClusterSpecType) Value

func (c ClusterSpecType) Value() string

type ClusterSpecTypeEnum

type ClusterSpecTypeEnum struct {
	VIRTUAL_MACHINE ClusterSpecType
	ARM64           ClusterSpecType
}

func GetClusterSpecTypeEnum

func GetClusterSpecTypeEnum() ClusterSpecTypeEnum

type ClusterStatus

type ClusterStatus struct {
	Phase *string `json:"phase,omitempty"`

	JobID *string `json:"jobID,omitempty"`

	Reason *string `json:"reason,omitempty"`

	Message *string `json:"message,omitempty"`

	Endpoints *[]ClusterEndpoints `json:"endpoints,omitempty"`

	IsLocked *bool `json:"isLocked,omitempty"`

	LockScene *string `json:"lockScene,omitempty"`

	LockSource *string `json:"lockSource,omitempty"`

	LockSourceId *string `json:"lockSourceId,omitempty"`

	DeleteOption *interface{} `json:"deleteOption,omitempty"`

	DeleteStatus *interface{} `json:"deleteStatus,omitempty"`
}

func (ClusterStatus) String

func (o ClusterStatus) String() string

type ConfigurationItem

type ConfigurationItem struct {
	Name *string `json:"name,omitempty"`

	Value *interface{} `json:"value,omitempty"`
}

func (ConfigurationItem) String

func (o ConfigurationItem) String() string

type ContainerCidr

type ContainerCidr struct {
	Cidr string `json:"cidr"`
}

func (ContainerCidr) String

func (o ContainerCidr) String() string

type ContainerNetwork

type ContainerNetwork struct {
	Mode ContainerNetworkMode `json:"mode"`

	Cidr *string `json:"cidr,omitempty"`

	Cidrs *[]ContainerCidr `json:"cidrs,omitempty"`
}

func (ContainerNetwork) String

func (o ContainerNetwork) String() string

type ContainerNetworkMode

type ContainerNetworkMode struct {
	// contains filtered or unexported fields
}

func (ContainerNetworkMode) MarshalJSON

func (c ContainerNetworkMode) MarshalJSON() ([]byte, error)

func (*ContainerNetworkMode) UnmarshalJSON

func (c *ContainerNetworkMode) UnmarshalJSON(b []byte) error

func (ContainerNetworkMode) Value

func (c ContainerNetworkMode) Value() string

type ContainerNetworkModeEnum

type ContainerNetworkModeEnum struct {
	OVERLAY_L2 ContainerNetworkMode
	VPC_ROUTER ContainerNetworkMode
	ENI        ContainerNetworkMode
}

func GetContainerNetworkModeEnum

func GetContainerNetworkModeEnum() ContainerNetworkModeEnum

type ContainerNetworkUpdate

type ContainerNetworkUpdate struct {
	Cidrs *[]ContainerCidr `json:"cidrs,omitempty"`
}

func (ContainerNetworkUpdate) String

func (o ContainerNetworkUpdate) String() string

type CreateAddonInstanceRequest

type CreateAddonInstanceRequest struct {
	Body *InstanceRequest `json:"body,omitempty"`
}

func (CreateAddonInstanceRequest) String

type CreateAddonInstanceResponse

type CreateAddonInstanceResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *AddonMetadata `json:"metadata,omitempty"`

	Spec *InstanceSpec `json:"spec,omitempty"`

	Status         *AddonInstanceStatus `json:"status,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

func (CreateAddonInstanceResponse) String

type CreateCloudPersistentVolumeClaimsRequest

type CreateCloudPersistentVolumeClaimsRequest struct {
	Namespace string `json:"namespace"`

	XClusterID *string `json:"X-Cluster-ID,omitempty"`

	Body *PersistentVolumeClaim `json:"body,omitempty"`
}

func (CreateCloudPersistentVolumeClaimsRequest) String

type CreateCloudPersistentVolumeClaimsResponse

type CreateCloudPersistentVolumeClaimsResponse struct {
	ApiVersion *string `json:"apiVersion,omitempty"`

	Kind *string `json:"kind,omitempty"`

	Metadata *PersistentVolumeClaimMetadata `json:"metadata,omitempty"`

	Spec *PersistentVolumeClaimSpec `json:"spec,omitempty"`

	Status         *PersistentVolumeClaimStatus `json:"status,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

func (CreateCloudPersistentVolumeClaimsResponse) String

type CreateClusterRequest

type CreateClusterRequest struct {
	Body *Cluster `json:"body,omitempty"`
}

func (CreateClusterRequest) String

func (o CreateClusterRequest) String() string

type CreateClusterResponse

type CreateClusterResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *ClusterMetadata `json:"metadata,omitempty"`

	Spec *ClusterSpec `json:"spec,omitempty"`

	Status         *ClusterStatus `json:"status,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (CreateClusterResponse) String

func (o CreateClusterResponse) String() string

type CreateNodePoolRequest

type CreateNodePoolRequest struct {
	ClusterId string `json:"cluster_id"`

	Body *NodePool `json:"body,omitempty"`
}

func (CreateNodePoolRequest) String

func (o CreateNodePoolRequest) String() string

type CreateNodePoolResponse

type CreateNodePoolResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodePoolMetadata `json:"metadata,omitempty"`

	Spec *NodePoolSpec `json:"spec,omitempty"`

	Status         *NodePoolStatus `json:"status,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (CreateNodePoolResponse) String

func (o CreateNodePoolResponse) String() string

type CreateNodeRequest

type CreateNodeRequest struct {
	ClusterId string `json:"cluster_id"`

	NodepoolScaleUp *CreateNodeRequestNodepoolScaleUp `json:"nodepoolScaleUp,omitempty"`

	Body *NodeCreateRequest `json:"body,omitempty"`
}

func (CreateNodeRequest) String

func (o CreateNodeRequest) String() string

type CreateNodeRequestNodepoolScaleUp

type CreateNodeRequestNodepoolScaleUp struct {
	// contains filtered or unexported fields
}

func (CreateNodeRequestNodepoolScaleUp) MarshalJSON

func (c CreateNodeRequestNodepoolScaleUp) MarshalJSON() ([]byte, error)

func (*CreateNodeRequestNodepoolScaleUp) UnmarshalJSON

func (c *CreateNodeRequestNodepoolScaleUp) UnmarshalJSON(b []byte) error

func (CreateNodeRequestNodepoolScaleUp) Value

type CreateNodeRequestNodepoolScaleUpEnum

type CreateNodeRequestNodepoolScaleUpEnum struct {
	NODEPOOL_SCALE_UP CreateNodeRequestNodepoolScaleUp
}

func GetCreateNodeRequestNodepoolScaleUpEnum

func GetCreateNodeRequestNodepoolScaleUpEnum() CreateNodeRequestNodepoolScaleUpEnum

type CreateNodeResponse

type CreateNodeResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec,omitempty"`

	Status         *NodeStatus `json:"status,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (CreateNodeResponse) String

func (o CreateNodeResponse) String() string

type DeleteAddonInstanceRequest

type DeleteAddonInstanceRequest struct {
	Id string `json:"id"`

	ClusterId *string `json:"cluster_id,omitempty"`
}

func (DeleteAddonInstanceRequest) String

type DeleteAddonInstanceResponse

type DeleteAddonInstanceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (DeleteAddonInstanceResponse) String

type DeleteCloudPersistentVolumeClaimsRequest

type DeleteCloudPersistentVolumeClaimsRequest struct {
	Name string `json:"name"`

	Namespace string `json:"namespace"`

	DeleteVolume *string `json:"deleteVolume,omitempty"`

	StorageType *string `json:"storageType,omitempty"`

	XClusterID *string `json:"X-Cluster-ID,omitempty"`
}

func (DeleteCloudPersistentVolumeClaimsRequest) String

type DeleteCloudPersistentVolumeClaimsResponse

type DeleteCloudPersistentVolumeClaimsResponse struct {
	ApiVersion *string `json:"apiVersion,omitempty"`

	Kind *string `json:"kind,omitempty"`

	Metadata *PersistentVolumeClaimMetadata `json:"metadata,omitempty"`

	Spec *PersistentVolumeClaimSpec `json:"spec,omitempty"`

	Status         *PersistentVolumeClaimStatus `json:"status,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

func (DeleteCloudPersistentVolumeClaimsResponse) String

type DeleteClusterRequest

type DeleteClusterRequest struct {
	ClusterId string `json:"cluster_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	DeleteEfs *DeleteClusterRequestDeleteEfs `json:"delete_efs,omitempty"`

	DeleteEni *DeleteClusterRequestDeleteEni `json:"delete_eni,omitempty"`

	DeleteEvs *DeleteClusterRequestDeleteEvs `json:"delete_evs,omitempty"`

	DeleteNet *DeleteClusterRequestDeleteNet `json:"delete_net,omitempty"`

	DeleteObs *DeleteClusterRequestDeleteObs `json:"delete_obs,omitempty"`

	DeleteSfs *DeleteClusterRequestDeleteSfs `json:"delete_sfs,omitempty"`

	DeleteSfs30 *DeleteClusterRequestDeleteSfs30 `json:"delete_sfs30,omitempty"`

	Tobedeleted *DeleteClusterRequestTobedeleted `json:"tobedeleted,omitempty"`
}

func (DeleteClusterRequest) String

func (o DeleteClusterRequest) String() string

type DeleteClusterRequestDeleteEfs

type DeleteClusterRequestDeleteEfs struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteEfs) MarshalJSON

func (c DeleteClusterRequestDeleteEfs) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteEfs) UnmarshalJSON

func (c *DeleteClusterRequestDeleteEfs) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteEfs) Value

type DeleteClusterRequestDeleteEni

type DeleteClusterRequestDeleteEni struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteEni) MarshalJSON

func (c DeleteClusterRequestDeleteEni) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteEni) UnmarshalJSON

func (c *DeleteClusterRequestDeleteEni) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteEni) Value

type DeleteClusterRequestDeleteEvs

type DeleteClusterRequestDeleteEvs struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteEvs) MarshalJSON

func (c DeleteClusterRequestDeleteEvs) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteEvs) UnmarshalJSON

func (c *DeleteClusterRequestDeleteEvs) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteEvs) Value

type DeleteClusterRequestDeleteNet

type DeleteClusterRequestDeleteNet struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteNet) MarshalJSON

func (c DeleteClusterRequestDeleteNet) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteNet) UnmarshalJSON

func (c *DeleteClusterRequestDeleteNet) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteNet) Value

type DeleteClusterRequestDeleteObs

type DeleteClusterRequestDeleteObs struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteObs) MarshalJSON

func (c DeleteClusterRequestDeleteObs) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteObs) UnmarshalJSON

func (c *DeleteClusterRequestDeleteObs) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteObs) Value

type DeleteClusterRequestDeleteSfs

type DeleteClusterRequestDeleteSfs struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteSfs) MarshalJSON

func (c DeleteClusterRequestDeleteSfs) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteSfs) UnmarshalJSON

func (c *DeleteClusterRequestDeleteSfs) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteSfs) Value

type DeleteClusterRequestDeleteSfs30

type DeleteClusterRequestDeleteSfs30 struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestDeleteSfs30) MarshalJSON

func (c DeleteClusterRequestDeleteSfs30) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestDeleteSfs30) UnmarshalJSON

func (c *DeleteClusterRequestDeleteSfs30) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestDeleteSfs30) Value

type DeleteClusterRequestTobedeleted

type DeleteClusterRequestTobedeleted struct {
	// contains filtered or unexported fields
}

func (DeleteClusterRequestTobedeleted) MarshalJSON

func (c DeleteClusterRequestTobedeleted) MarshalJSON() ([]byte, error)

func (*DeleteClusterRequestTobedeleted) UnmarshalJSON

func (c *DeleteClusterRequestTobedeleted) UnmarshalJSON(b []byte) error

func (DeleteClusterRequestTobedeleted) Value

type DeleteClusterRequestTobedeletedEnum

type DeleteClusterRequestTobedeletedEnum struct {
	TRUE DeleteClusterRequestTobedeleted
}

func GetDeleteClusterRequestTobedeletedEnum

func GetDeleteClusterRequestTobedeletedEnum() DeleteClusterRequestTobedeletedEnum

type DeleteClusterResponse

type DeleteClusterResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *ClusterMetadata `json:"metadata,omitempty"`

	Spec *ClusterSpec `json:"spec,omitempty"`

	Status         *ClusterStatus `json:"status,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (DeleteClusterResponse) String

func (o DeleteClusterResponse) String() string

type DeleteNodePoolRequest

type DeleteNodePoolRequest struct {
	ClusterId string `json:"cluster_id"`

	NodepoolId string `json:"nodepool_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`
}

func (DeleteNodePoolRequest) String

func (o DeleteNodePoolRequest) String() string

type DeleteNodePoolResponse

type DeleteNodePoolResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodePoolMetadata `json:"metadata,omitempty"`

	Spec *NodePoolSpec `json:"spec,omitempty"`

	Status         *NodePoolStatus `json:"status,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (DeleteNodePoolResponse) String

func (o DeleteNodePoolResponse) String() string

type DeleteNodeRequest

type DeleteNodeRequest struct {
	ClusterId string `json:"cluster_id"`

	NodeId string `json:"node_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	NodepoolScaleDown *DeleteNodeRequestNodepoolScaleDown `json:"nodepoolScaleDown,omitempty"`
}

func (DeleteNodeRequest) String

func (o DeleteNodeRequest) String() string

type DeleteNodeRequestNodepoolScaleDown

type DeleteNodeRequestNodepoolScaleDown struct {
	// contains filtered or unexported fields
}

func (DeleteNodeRequestNodepoolScaleDown) MarshalJSON

func (c DeleteNodeRequestNodepoolScaleDown) MarshalJSON() ([]byte, error)

func (*DeleteNodeRequestNodepoolScaleDown) UnmarshalJSON

func (c *DeleteNodeRequestNodepoolScaleDown) UnmarshalJSON(b []byte) error

func (DeleteNodeRequestNodepoolScaleDown) Value

type DeleteNodeRequestNodepoolScaleDownEnum

type DeleteNodeRequestNodepoolScaleDownEnum struct {
	NO_SCALE_DOWN DeleteNodeRequestNodepoolScaleDown
}

func GetDeleteNodeRequestNodepoolScaleDownEnum

func GetDeleteNodeRequestNodepoolScaleDownEnum() DeleteNodeRequestNodepoolScaleDownEnum

type DeleteNodeResponse

type DeleteNodeResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec,omitempty"`

	Status         *NodeStatus `json:"status,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (DeleteNodeResponse) String

func (o DeleteNodeResponse) String() string

type DeleteStatus

type DeleteStatus struct {
	PreviousTotal *int32 `json:"previous_total,omitempty"`

	CurrentTotal *int32 `json:"current_total,omitempty"`

	Updated *int32 `json:"updated,omitempty"`

	Added *int32 `json:"added,omitempty"`

	Deleted *int32 `json:"deleted,omitempty"`
}

func (DeleteStatus) String

func (o DeleteStatus) String() string

type EniNetwork

type EniNetwork struct {
	EniSubnetId string `json:"eniSubnetId"`

	EniSubnetCIDR string `json:"eniSubnetCIDR"`

	Subnets []NetworkSubnet `json:"subnets"`
}

func (EniNetwork) String

func (o EniNetwork) String() string

type EniNetworkUpdate

type EniNetworkUpdate struct {
	Subnets *[]NetworkSubnet `json:"subnets,omitempty"`
}

func (EniNetworkUpdate) String

func (o EniNetworkUpdate) String() string

type HibernateClusterRequest

type HibernateClusterRequest struct {
	ClusterId string `json:"cluster_id"`
}

func (HibernateClusterRequest) String

func (o HibernateClusterRequest) String() string

type HibernateClusterResponse

type HibernateClusterResponse struct {
	HttpStatusCode int `json:"-"`
}

func (HibernateClusterResponse) String

func (o HibernateClusterResponse) String() string

type HostNetwork

type HostNetwork struct {
	Vpc string `json:"vpc"`

	Subnet string `json:"subnet"`

	SecurityGroup *string `json:"SecurityGroup,omitempty"`
}

func (HostNetwork) String

func (o HostNetwork) String() string

type InstanceRequest

type InstanceRequest struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *AddonMetadata `json:"metadata"`

	Spec *InstanceRequestSpec `json:"spec"`
}

func (InstanceRequest) String

func (o InstanceRequest) String() string

type InstanceRequestSpec

type InstanceRequestSpec struct {
	Version *string `json:"version,omitempty"`

	ClusterID string `json:"clusterID"`

	Values map[string]interface{} `json:"values"`

	AddonTemplateName string `json:"addonTemplateName"`
}

func (InstanceRequestSpec) String

func (o InstanceRequestSpec) String() string

type InstanceSpec

type InstanceSpec struct {
	ClusterID string `json:"clusterID"`

	Version string `json:"version"`

	AddonTemplateName string `json:"addonTemplateName"`

	AddonTemplateType string `json:"addonTemplateType"`


	AddonTemplateLabels *[]string `json:"addonTemplateLabels,omitempty"`

	Description string `json:"description"`

	Values map[string]interface{} `json:"values"`
}

func (InstanceSpec) String

func (o InstanceSpec) String() string

type Job

type Job struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *JobMetadata `json:"metadata,omitempty"`

	Spec *JobSpec `json:"spec,omitempty"`

	Status *JobStatus `json:"status,omitempty"`
}

func (Job) String

func (o Job) String() string

type JobMetadata

type JobMetadata struct {
	Uid *string `json:"uid,omitempty"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`

	UpdateTimestamp *string `json:"updateTimestamp,omitempty"`
}

func (JobMetadata) String

func (o JobMetadata) String() string

type JobSpec

type JobSpec struct {
	Type *string `json:"type,omitempty"`

	ClusterUID *string `json:"clusterUID,omitempty"`

	ResourceID *string `json:"resourceID,omitempty"`

	ResourceName *string `json:"resourceName,omitempty"`

	ExtendParam map[string]string `json:"extendParam,omitempty"`

	SubJobs *[]Job `json:"subJobs,omitempty"`
}

func (JobSpec) String

func (o JobSpec) String() string

type JobStatus

type JobStatus struct {
	Phase *string `json:"phase,omitempty"`

	Reason *string `json:"reason,omitempty"`
}

func (JobStatus) String

func (o JobStatus) String() string

type ListAddonInstancesRequest

type ListAddonInstancesRequest struct {
	AddonTemplateName *string `json:"addon_template_name,omitempty"`

	ClusterId string `json:"cluster_id"`
}

func (ListAddonInstancesRequest) String

func (o ListAddonInstancesRequest) String() string

type ListAddonInstancesResponse

type ListAddonInstancesResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Items          *[]AddonInstance `json:"items,omitempty"`
	HttpStatusCode int              `json:"-"`
}

func (ListAddonInstancesResponse) String

type ListAddonTemplatesRequest

type ListAddonTemplatesRequest struct {
	AddonTemplateName *string `json:"addon_template_name,omitempty"`

	BaseUpdateAddonVersion *string `json:"base_update_addon_version,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`

	Newest *string `json:"newest,omitempty"`

	Version *string `json:"version,omitempty"`
}

func (ListAddonTemplatesRequest) String

func (o ListAddonTemplatesRequest) String() string

type ListAddonTemplatesResponse

type ListAddonTemplatesResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Items          *[]AddonTemplate `json:"items,omitempty"`
	HttpStatusCode int              `json:"-"`
}

func (ListAddonTemplatesResponse) String

type ListClustersRequest

type ListClustersRequest struct {
	ErrorStatus *string `json:"errorStatus,omitempty"`

	Detail *string `json:"detail,omitempty"`

	Status *ListClustersRequestStatus `json:"status,omitempty"`

	Type *ListClustersRequestType `json:"type,omitempty"`

	Version *string `json:"version,omitempty"`
}

func (ListClustersRequest) String

func (o ListClustersRequest) String() string

type ListClustersRequestStatus

type ListClustersRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListClustersRequestStatus) MarshalJSON

func (c ListClustersRequestStatus) MarshalJSON() ([]byte, error)

func (*ListClustersRequestStatus) UnmarshalJSON

func (c *ListClustersRequestStatus) UnmarshalJSON(b []byte) error

func (ListClustersRequestStatus) Value

type ListClustersRequestType

type ListClustersRequestType struct {
	// contains filtered or unexported fields
}

func (ListClustersRequestType) MarshalJSON

func (c ListClustersRequestType) MarshalJSON() ([]byte, error)

func (*ListClustersRequestType) UnmarshalJSON

func (c *ListClustersRequestType) UnmarshalJSON(b []byte) error

func (ListClustersRequestType) Value

func (c ListClustersRequestType) Value() string

type ListClustersRequestTypeEnum

type ListClustersRequestTypeEnum struct {
	VIRTUAL_MACHINE ListClustersRequestType
	ARM64           ListClustersRequestType
}

func GetListClustersRequestTypeEnum

func GetListClustersRequestTypeEnum() ListClustersRequestTypeEnum

type ListClustersResponse

type ListClustersResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Items          *[]Cluster `json:"items,omitempty"`
	HttpStatusCode int        `json:"-"`
}

func (ListClustersResponse) String

func (o ListClustersResponse) String() string

type ListNodePoolsRequest

type ListNodePoolsRequest struct {
	ClusterId string `json:"cluster_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	ShowDefaultNodePool *string `json:"showDefaultNodePool,omitempty"`
}

func (ListNodePoolsRequest) String

func (o ListNodePoolsRequest) String() string

type ListNodePoolsResponse

type ListNodePoolsResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Items          *[]NodePool `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ListNodePoolsResponse) String

func (o ListNodePoolsResponse) String() string

type ListNodesRequest

type ListNodesRequest struct {
	ClusterId string `json:"cluster_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`
}

func (ListNodesRequest) String

func (o ListNodesRequest) String() string

type ListNodesResponse

type ListNodesResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Items          *[]Node `json:"items,omitempty"`
	HttpStatusCode int     `json:"-"`
}

func (ListNodesResponse) String

func (o ListNodesResponse) String() string

type Login

type Login struct {
	SshKey *string `json:"sshKey,omitempty"`

	UserPassword *UserPassword `json:"userPassword,omitempty"`
}

func (Login) String

func (o Login) String() string

type LvmConfig

type LvmConfig struct {
	LvType string `json:"lvType"`

	Path *string `json:"path,omitempty"`
}

func (LvmConfig) String

func (o LvmConfig) String() string

type MasterSpec

type MasterSpec struct {
	AvailabilityZone *string `json:"availabilityZone,omitempty"`

	Flavor *string `json:"flavor,omitempty"`

	FaultDomain *string `json:"faultDomain,omitempty"`
}

func (MasterSpec) String

func (o MasterSpec) String() string

type NetworkSubnet

type NetworkSubnet struct {
	SubnetID string `json:"subnetID"`
}

func (NetworkSubnet) String

func (o NetworkSubnet) String() string

type NicSpec

type NicSpec struct {
	SubnetId *string `json:"subnetId,omitempty"`

	FixedIps *[]string `json:"fixedIps,omitempty"`

	IpBlock *string `json:"ipBlock,omitempty"`
}

func (NicSpec) String

func (o NicSpec) String() string

type Node

type Node struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec,omitempty"`

	Status *NodeStatus `json:"status,omitempty"`
}

func (Node) String

func (o Node) String() string

type NodeBandwidth

type NodeBandwidth struct {
	Chargemode *string `json:"chargemode,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Sharetype *string `json:"sharetype,omitempty"`
}

func (NodeBandwidth) String

func (o NodeBandwidth) String() string

type NodeCreateRequest

type NodeCreateRequest struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec"`
}

func (NodeCreateRequest) String

func (o NodeCreateRequest) String() string

type NodeEipSpec

type NodeEipSpec struct {
	Iptype string `json:"iptype"`

	Bandwidth *NodeBandwidth `json:"bandwidth,omitempty"`
}

func (NodeEipSpec) String

func (o NodeEipSpec) String() string

type NodeExtendParam

type NodeExtendParam struct {
	Ecsperformancetype *string `json:"ecs:performancetype,omitempty"`

	OrderID *string `json:"orderID,omitempty"`

	ProductID *string `json:"productID,omitempty"`

	MaxPods *int32 `json:"maxPods,omitempty"`

	PeriodType *string `json:"periodType,omitempty"`

	PeriodNum *int32 `json:"periodNum,omitempty"`

	IsAutoRenew *string `json:"isAutoRenew,omitempty"`

	IsAutoPay *string `json:"isAutoPay,omitempty"`

	DockerLVMConfigOverride *string `json:"DockerLVMConfigOverride,omitempty"`

	DockerBaseSize *int32 `json:"dockerBaseSize,omitempty"`

	OffloadNode *string `json:"offloadNode,omitempty"`

	PublicKey *string `json:"publicKey,omitempty"`

	AlphaCcePreInstall *string `json:"alpha.cce/preInstall,omitempty"`

	AlphaCcePostInstall *string `json:"alpha.cce/postInstall,omitempty"`

	AlphaCceNodeImageID *string `json:"alpha.cce/NodeImageID,omitempty"`

	NicMultiqueue *string `json:"nicMultiqueue,omitempty"`

	NicThreshold *string `json:"nicThreshold,omitempty"`

	ChargingMode *int32 `json:"chargingMode,omitempty"`

	AgencyName *string `json:"agency_name,omitempty"`

	KubeReservedMem *int32 `json:"kube-reserved-mem,omitempty"`

	SystemReservedMem *int32 `json:"system-reserved-mem,omitempty"`
}

func (NodeExtendParam) String

func (o NodeExtendParam) String() string

type NodeManagement

type NodeManagement struct {
	ServerGroupReference *string `json:"serverGroupReference,omitempty"`
}

func (NodeManagement) String

func (o NodeManagement) String() string

type NodeMetadata

type NodeMetadata struct {
	Name *string `json:"name,omitempty"`

	Uid *string `json:"uid,omitempty"`

	Labels map[string]string `json:"labels,omitempty"`

	Annotations map[string]string `json:"annotations,omitempty"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`

	UpdateTimestamp *string `json:"updateTimestamp,omitempty"`
}

func (NodeMetadata) String

func (o NodeMetadata) String() string

type NodeNicSpec

type NodeNicSpec struct {
	PrimaryNic *NicSpec `json:"primaryNic,omitempty"`

	ExtNics *[]NicSpec `json:"extNics,omitempty"`
}

func (NodeNicSpec) String

func (o NodeNicSpec) String() string

type NodePool

type NodePool struct {
	Kind string `json:"kind"`

	ApiVersion string `json:"apiVersion"`

	Metadata *NodePoolMetadata `json:"metadata"`

	Spec *NodePoolSpec `json:"spec"`

	Status *NodePoolStatus `json:"status,omitempty"`
}

func (NodePool) String

func (o NodePool) String() string

type NodePoolCondition

type NodePoolCondition struct {
	Type *string `json:"type,omitempty"`

	Status *string `json:"status,omitempty"`

	LastProbeTime *string `json:"lastProbeTime,omitempty"`

	LastTransitTime *string `json:"lastTransitTime,omitempty"`

	Reason *string `json:"reason,omitempty"`

	Message *string `json:"message,omitempty"`
}

func (NodePoolCondition) String

func (o NodePoolCondition) String() string

type NodePoolMetadata

type NodePoolMetadata struct {
	Name string `json:"name"`

	Uid *string `json:"uid,omitempty"`

	Annotations map[string]string `json:"annotations,omitempty"`

	UpdateTimestamp *string `json:"updateTimestamp,omitempty"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`
}

func (NodePoolMetadata) String

func (o NodePoolMetadata) String() string

type NodePoolMetadataUpdate

type NodePoolMetadataUpdate struct {
	Name string `json:"name"`
}

func (NodePoolMetadataUpdate) String

func (o NodePoolMetadataUpdate) String() string

type NodePoolNodeAutoscaling

type NodePoolNodeAutoscaling struct {
	Enable *bool `json:"enable,omitempty"`

	MinNodeCount *int32 `json:"minNodeCount,omitempty"`

	MaxNodeCount *int32 `json:"maxNodeCount,omitempty"`

	ScaleDownCooldownTime *int32 `json:"scaleDownCooldownTime,omitempty"`

	Priority *int32 `json:"priority,omitempty"`
}

func (NodePoolNodeAutoscaling) String

func (o NodePoolNodeAutoscaling) String() string

type NodePoolSpec

type NodePoolSpec struct {
	Type *NodePoolSpecType `json:"type,omitempty"`

	NodeTemplate *NodeSpec `json:"nodeTemplate"`

	InitialNodeCount *int32 `json:"initialNodeCount,omitempty"`

	Autoscaling *NodePoolNodeAutoscaling `json:"autoscaling,omitempty"`

	NodeManagement *NodeManagement `json:"nodeManagement,omitempty"`

	PodSecurityGroups *[]SecurityId `json:"podSecurityGroups,omitempty"`

	CustomSecurityGroups *[]string `json:"customSecurityGroups,omitempty"`
}

func (NodePoolSpec) String

func (o NodePoolSpec) String() string

type NodePoolSpecType

type NodePoolSpecType struct {
	// contains filtered or unexported fields
}

func (NodePoolSpecType) MarshalJSON

func (c NodePoolSpecType) MarshalJSON() ([]byte, error)

func (*NodePoolSpecType) UnmarshalJSON

func (c *NodePoolSpecType) UnmarshalJSON(b []byte) error

func (NodePoolSpecType) Value

func (c NodePoolSpecType) Value() string

type NodePoolSpecTypeEnum

type NodePoolSpecTypeEnum struct {
	VM          NodePoolSpecType
	ELASTIC_BMS NodePoolSpecType
	PM          NodePoolSpecType
}

func GetNodePoolSpecTypeEnum

func GetNodePoolSpecTypeEnum() NodePoolSpecTypeEnum

type NodePoolSpecUpdate

type NodePoolSpecUpdate struct {
	NodeTemplate *NodeSpecUpdate `json:"nodeTemplate"`

	InitialNodeCount int32 `json:"initialNodeCount"`

	Autoscaling *NodePoolNodeAutoscaling `json:"autoscaling"`
}

func (NodePoolSpecUpdate) String

func (o NodePoolSpecUpdate) String() string

type NodePoolStatus

type NodePoolStatus struct {
	CurrentNode *int32 `json:"currentNode,omitempty"`

	CreatingNode *int32 `json:"creatingNode,omitempty"`

	DeletingNode *int32 `json:"deletingNode,omitempty"`

	Phase *NodePoolStatusPhase `json:"phase,omitempty"`

	JobId *string `json:"jobId,omitempty"`

	Conditions *[]NodePoolCondition `json:"conditions,omitempty"`
}

func (NodePoolStatus) String

func (o NodePoolStatus) String() string

type NodePoolStatusPhase

type NodePoolStatusPhase struct {
	// contains filtered or unexported fields
}

func (NodePoolStatusPhase) MarshalJSON

func (c NodePoolStatusPhase) MarshalJSON() ([]byte, error)

func (*NodePoolStatusPhase) UnmarshalJSON

func (c *NodePoolStatusPhase) UnmarshalJSON(b []byte) error

func (NodePoolStatusPhase) Value

func (c NodePoolStatusPhase) Value() string

type NodePoolStatusPhaseEnum

type NodePoolStatusPhaseEnum struct {
	SYNCHRONIZING NodePoolStatusPhase
	SYNCHRONIZED  NodePoolStatusPhase
	SOLD_OUT      NodePoolStatusPhase
	DELETING      NodePoolStatusPhase
	ERROR         NodePoolStatusPhase
}

func GetNodePoolStatusPhaseEnum

func GetNodePoolStatusPhaseEnum() NodePoolStatusPhaseEnum

type NodePoolUpdate

type NodePoolUpdate struct {
	Metadata *NodePoolMetadataUpdate `json:"metadata"`

	Spec *NodePoolSpecUpdate `json:"spec"`
}

func (NodePoolUpdate) String

func (o NodePoolUpdate) String() string

type NodePublicIp

type NodePublicIp struct {
	Ids *[]string `json:"ids,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Eip *NodeEipSpec `json:"eip,omitempty"`
}

func (NodePublicIp) String

func (o NodePublicIp) String() string

type NodeSpec

type NodeSpec struct {
	Flavor string `json:"flavor"`

	Az string `json:"az"`

	Os *string `json:"os,omitempty"`

	Login *Login `json:"login"`

	RootVolume *Volume `json:"rootVolume"`

	DataVolumes []Volume `json:"dataVolumes"`

	Storage *Storage `json:"storage,omitempty"`

	PublicIP *NodePublicIp `json:"publicIP,omitempty"`

	NodeNicSpec *NodeNicSpec `json:"nodeNicSpec,omitempty"`

	Count *int32 `json:"count,omitempty"`

	BillingMode *int32 `json:"billingMode,omitempty"`

	Taints *[]Taint `json:"taints,omitempty"`

	K8sTags map[string]string `json:"k8sTags,omitempty"`

	EcsGroupId *string `json:"ecsGroupId,omitempty"`

	FaultDomain *string `json:"faultDomain,omitempty"`

	DedicatedHostId *string `json:"dedicatedHostId,omitempty"`

	OffloadNode *bool `json:"offloadNode,omitempty"`

	IsStatic *bool `json:"isStatic,omitempty"`

	UserTags *[]UserTag `json:"userTags,omitempty"`

	Runtime *Runtime `json:"runtime,omitempty"`

	InitializedConditions *[]string `json:"initializedConditions,omitempty"`

	ExtendParam *NodeExtendParam `json:"extendParam,omitempty"`
}

func (NodeSpec) String

func (o NodeSpec) String() string

type NodeSpecUpdate

type NodeSpecUpdate struct {
	Taints []Taint `json:"taints"`

	K8sTags map[string]string `json:"k8sTags"`

	UserTags []UserTag `json:"userTags"`

	InitializedConditions *[]string `json:"initializedConditions,omitempty"`
}

func (NodeSpecUpdate) String

func (o NodeSpecUpdate) String() string

type NodeStatus

type NodeStatus struct {
	Phase *NodeStatusPhase `json:"phase,omitempty"`

	LastProbeTime *string `json:"lastProbeTime,omitempty"`

	JobID *string `json:"jobID,omitempty"`

	ServerId *string `json:"serverId,omitempty"`

	PrivateIP *string `json:"privateIP,omitempty"`

	PrivateIPv6IP *string `json:"privateIPv6IP,omitempty"`

	PublicIP *string `json:"publicIP,omitempty"`

	DeleteStatus *DeleteStatus `json:"deleteStatus,omitempty"`
}

func (NodeStatus) String

func (o NodeStatus) String() string

type NodeStatusPhase

type NodeStatusPhase struct {
	// contains filtered or unexported fields
}

func (NodeStatusPhase) MarshalJSON

func (c NodeStatusPhase) MarshalJSON() ([]byte, error)

func (*NodeStatusPhase) UnmarshalJSON

func (c *NodeStatusPhase) UnmarshalJSON(b []byte) error

func (NodeStatusPhase) Value

func (c NodeStatusPhase) Value() string

type NodeStatusPhaseEnum

type NodeStatusPhaseEnum struct {
	BUILD      NodeStatusPhase
	INSTALLING NodeStatusPhase
	INSTALLED  NodeStatusPhase
	SHUT_DOWN  NodeStatusPhase
	UPGRADING  NodeStatusPhase
	ACTIVE     NodeStatusPhase
	ABNORMAL   NodeStatusPhase
	DELETING   NodeStatusPhase
	ERROR      NodeStatusPhase
}

func GetNodeStatusPhaseEnum

func GetNodeStatusPhaseEnum() NodeStatusPhaseEnum

type PackageConfiguration

type PackageConfiguration struct {
	Name *string `json:"name,omitempty"`

	Configurations *[]ConfigurationItem `json:"configurations,omitempty"`
}

func (PackageConfiguration) String

func (o PackageConfiguration) String() string

type PersistentVolumeClaim

type PersistentVolumeClaim struct {
	ApiVersion string `json:"apiVersion"`

	Kind string `json:"kind"`

	Metadata *PersistentVolumeClaimMetadata `json:"metadata"`

	Spec *PersistentVolumeClaimSpec `json:"spec"`

	Status *PersistentVolumeClaimStatus `json:"status,omitempty"`
}

func (PersistentVolumeClaim) String

func (o PersistentVolumeClaim) String() string

type PersistentVolumeClaimMetadata

type PersistentVolumeClaimMetadata struct {
	Name string `json:"name"`

	Labels *string `json:"labels,omitempty"`
}

func (PersistentVolumeClaimMetadata) String

type PersistentVolumeClaimSpec

type PersistentVolumeClaimSpec struct {
	VolumeID string `json:"volumeID"`

	StorageType string `json:"storageType"`

	AccessModes []PersistentVolumeClaimSpecAccessModes `json:"accessModes"`

	StorageClassName *string `json:"storageClassName,omitempty"`

	VolumeName *string `json:"volumeName,omitempty"`

	Resources *ResourceRequirements `json:"resources,omitempty"`

	VolumeMode *string `json:"volumeMode,omitempty"`
}

func (PersistentVolumeClaimSpec) String

func (o PersistentVolumeClaimSpec) String() string

type PersistentVolumeClaimSpecAccessModes

type PersistentVolumeClaimSpecAccessModes struct {
	// contains filtered or unexported fields
}

func (PersistentVolumeClaimSpecAccessModes) MarshalJSON

func (c PersistentVolumeClaimSpecAccessModes) MarshalJSON() ([]byte, error)

func (*PersistentVolumeClaimSpecAccessModes) UnmarshalJSON

func (c *PersistentVolumeClaimSpecAccessModes) UnmarshalJSON(b []byte) error

func (PersistentVolumeClaimSpecAccessModes) Value

type PersistentVolumeClaimSpecAccessModesEnum

type PersistentVolumeClaimSpecAccessModesEnum struct {
	READ_ONLY_MANY  PersistentVolumeClaimSpecAccessModes
	READ_WRITE_MANY PersistentVolumeClaimSpecAccessModes
}

func GetPersistentVolumeClaimSpecAccessModesEnum

func GetPersistentVolumeClaimSpecAccessModesEnum() PersistentVolumeClaimSpecAccessModesEnum

type PersistentVolumeClaimStatus

type PersistentVolumeClaimStatus struct {
	AccessModes *[]string `json:"accessModes,omitempty"`

	Capacity *string `json:"capacity,omitempty"`

	Phase *string `json:"phase,omitempty"`
}

func (PersistentVolumeClaimStatus) String

type ResourceRequirements

type ResourceRequirements struct {
	Limits map[string]string `json:"limits,omitempty"`

	Requests map[string]string `json:"requests,omitempty"`
}

func (ResourceRequirements) String

func (o ResourceRequirements) String() string

type ResourceTag

type ResourceTag struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (ResourceTag) String

func (o ResourceTag) String() string

type Runtime

type Runtime struct {
	Name *RuntimeName `json:"name,omitempty"`
}

func (Runtime) String

func (o Runtime) String() string

type RuntimeConfig

type RuntimeConfig struct {
	LvType string `json:"lvType"`
}

func (RuntimeConfig) String

func (o RuntimeConfig) String() string

type RuntimeName

type RuntimeName struct {
	// contains filtered or unexported fields
}

func (RuntimeName) MarshalJSON

func (c RuntimeName) MarshalJSON() ([]byte, error)

func (*RuntimeName) UnmarshalJSON

func (c *RuntimeName) UnmarshalJSON(b []byte) error

func (RuntimeName) Value

func (c RuntimeName) Value() string

type RuntimeNameEnum

type RuntimeNameEnum struct {
	DOCKER     RuntimeName
	CONTAINERD RuntimeName
}

func GetRuntimeNameEnum

func GetRuntimeNameEnum() RuntimeNameEnum

type SecurityId

type SecurityId struct {
	Id *string `json:"id,omitempty"`
}

func (SecurityId) String

func (o SecurityId) String() string

type ShowAddonInstanceRequest

type ShowAddonInstanceRequest struct {
	Id string `json:"id"`

	ClusterId *string `json:"cluster_id,omitempty"`
}

func (ShowAddonInstanceRequest) String

func (o ShowAddonInstanceRequest) String() string

type ShowAddonInstanceResponse

type ShowAddonInstanceResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *AddonMetadata `json:"metadata,omitempty"`

	Spec *InstanceSpec `json:"spec,omitempty"`

	Status         *AddonInstanceStatus `json:"status,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

func (ShowAddonInstanceResponse) String

func (o ShowAddonInstanceResponse) String() string

type ShowClusterRequest

type ShowClusterRequest struct {
	ClusterId string `json:"cluster_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	Detail *string `json:"detail,omitempty"`
}

func (ShowClusterRequest) String

func (o ShowClusterRequest) String() string

type ShowClusterResponse

type ShowClusterResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *ClusterMetadata `json:"metadata,omitempty"`

	Spec *ClusterSpec `json:"spec,omitempty"`

	Status         *ClusterStatus `json:"status,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (ShowClusterResponse) String

func (o ShowClusterResponse) String() string

type ShowJobRequest

type ShowJobRequest struct {
	JobId string `json:"job_id"`
}

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *JobMetadata `json:"metadata,omitempty"`

	Spec *JobSpec `json:"spec,omitempty"`

	Status         *JobStatus `json:"status,omitempty"`
	HttpStatusCode int        `json:"-"`
}

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type ShowNodePoolRequest

type ShowNodePoolRequest struct {
	ClusterId string `json:"cluster_id"`

	NodepoolId string `json:"nodepool_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`
}

func (ShowNodePoolRequest) String

func (o ShowNodePoolRequest) String() string

type ShowNodePoolResponse

type ShowNodePoolResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodePoolMetadata `json:"metadata,omitempty"`

	Spec *NodePoolSpec `json:"spec,omitempty"`

	Status         *NodePoolStatus `json:"status,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (ShowNodePoolResponse) String

func (o ShowNodePoolResponse) String() string

type ShowNodeRequest

type ShowNodeRequest struct {
	ClusterId string `json:"cluster_id"`

	NodeId string `json:"node_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`
}

func (ShowNodeRequest) String

func (o ShowNodeRequest) String() string

type ShowNodeResponse

type ShowNodeResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec,omitempty"`

	Status         *NodeStatus `json:"status,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (ShowNodeResponse) String

func (o ShowNodeResponse) String() string

type Storage

type Storage struct {
	StorageSelectors []StorageSelectors `json:"storageSelectors"`

	StorageGroups []StorageGroups `json:"storageGroups"`
}

func (Storage) String

func (o Storage) String() string

type StorageGroups

type StorageGroups struct {
	Name string `json:"name"`

	CceManaged *bool `json:"cceManaged,omitempty"`

	SelectorNames []string `json:"selectorNames"`

	VirtualSpaces []VirtualSpace `json:"virtualSpaces"`
}

func (StorageGroups) String

func (o StorageGroups) String() string

type StorageSelectors

type StorageSelectors struct {
	Name string `json:"name"`

	StorageType string `json:"storageType"`

	MatchLabels *StorageSelectorsMatchLabels `json:"matchLabels,omitempty"`
}

func (StorageSelectors) String

func (o StorageSelectors) String() string

type StorageSelectorsMatchLabels

type StorageSelectorsMatchLabels struct {
	Size *string `json:"size,omitempty"`

	VolumeType *string `json:"volumeType,omitempty"`

	MetadataEncrypted *string `json:"metadataEncrypted,omitempty"`

	MetadataCmkid *string `json:"metadataCmkid,omitempty"`

	Count *string `json:"count,omitempty"`
}

func (StorageSelectorsMatchLabels) String

type SupportVersions

type SupportVersions struct {
	ClusterType string `json:"clusterType"`

	ClusterVersion []string `json:"clusterVersion"`
}

func (SupportVersions) String

func (o SupportVersions) String() string

type Taint

type Taint struct {
	Key string `json:"key"`

	Value *string `json:"value,omitempty"`

	Effect TaintEffect `json:"effect"`
}

func (Taint) String

func (o Taint) String() string

type TaintEffect

type TaintEffect struct {
	// contains filtered or unexported fields
}

func (TaintEffect) MarshalJSON

func (c TaintEffect) MarshalJSON() ([]byte, error)

func (*TaintEffect) UnmarshalJSON

func (c *TaintEffect) UnmarshalJSON(b []byte) error

func (TaintEffect) Value

func (c TaintEffect) Value() string

type TaintEffectEnum

type TaintEffectEnum struct {
	NO_SCHEDULE        TaintEffect
	PREFER_NO_SCHEDULE TaintEffect
	NO_EXECUTE         TaintEffect
}

func GetTaintEffectEnum

func GetTaintEffectEnum() TaintEffectEnum

type Templatespec

type Templatespec struct {
	Type string `json:"type"`

	Require *bool `json:"require,omitempty"`

	Labels []string `json:"labels"`

	LogoURL string `json:"logoURL"`

	ReadmeURL string `json:"readmeURL"`

	Description string `json:"description"`

	Versions []Versions `json:"versions"`
}

func (Templatespec) String

func (o Templatespec) String() string

type UpdateAddonInstanceRequest

type UpdateAddonInstanceRequest struct {
	Id string `json:"id"`

	Body *InstanceRequest `json:"body,omitempty"`
}

func (UpdateAddonInstanceRequest) String

type UpdateAddonInstanceResponse

type UpdateAddonInstanceResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *AddonMetadata `json:"metadata,omitempty"`

	Spec *InstanceSpec `json:"spec,omitempty"`

	Status         *AddonInstanceStatus `json:"status,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

func (UpdateAddonInstanceResponse) String

type UpdateClusterRequest

type UpdateClusterRequest struct {
	ClusterId string `json:"cluster_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	Body *ClusterInformation `json:"body,omitempty"`
}

func (UpdateClusterRequest) String

func (o UpdateClusterRequest) String() string

type UpdateClusterResponse

type UpdateClusterResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *ClusterMetadata `json:"metadata,omitempty"`

	Spec *ClusterSpec `json:"spec,omitempty"`

	Status         *ClusterStatus `json:"status,omitempty"`
	HttpStatusCode int            `json:"-"`
}

func (UpdateClusterResponse) String

func (o UpdateClusterResponse) String() string

type UpdateNodePoolRequest

type UpdateNodePoolRequest struct {
	ClusterId string `json:"cluster_id"`

	NodepoolId string `json:"nodepool_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	Body *NodePoolUpdate `json:"body,omitempty"`
}

func (UpdateNodePoolRequest) String

func (o UpdateNodePoolRequest) String() string

type UpdateNodePoolResponse

type UpdateNodePoolResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodePoolMetadata `json:"metadata,omitempty"`

	Spec *NodePoolSpec `json:"spec,omitempty"`

	Status         *NodePoolStatus `json:"status,omitempty"`
	HttpStatusCode int             `json:"-"`
}

func (UpdateNodePoolResponse) String

func (o UpdateNodePoolResponse) String() string

type UpdateNodeRequest

type UpdateNodeRequest struct {
	ClusterId string `json:"cluster_id"`

	NodeId string `json:"node_id"`

	ErrorStatus *string `json:"errorStatus,omitempty"`

	Body *ClusterNodeInformation `json:"body,omitempty"`
}

func (UpdateNodeRequest) String

func (o UpdateNodeRequest) String() string

type UpdateNodeResponse

type UpdateNodeResponse struct {
	Kind *string `json:"kind,omitempty"`

	ApiVersion *string `json:"apiVersion,omitempty"`

	Metadata *NodeMetadata `json:"metadata,omitempty"`

	Spec *NodeSpec `json:"spec,omitempty"`

	Status         *NodeStatus `json:"status,omitempty"`
	HttpStatusCode int         `json:"-"`
}

func (UpdateNodeResponse) String

func (o UpdateNodeResponse) String() string

type UserPassword

type UserPassword struct {
	Username *string `json:"username,omitempty"`

	Password string `json:"password"`
}

func (UserPassword) String

func (o UserPassword) String() string

type UserTag

type UserTag struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (UserTag) String

func (o UserTag) String() string

type Versions

type Versions struct {
	Version string `json:"version"`

	Input *interface{} `json:"input"`

	Stable bool `json:"stable"`

	Translate *interface{} `json:"translate"`

	SupportVersions []SupportVersions `json:"supportVersions"`

	CreationTimestamp *string `json:"creationTimestamp,omitempty"`

	UpdateTimestamp string `json:"updateTimestamp"`
}

func (Versions) String

func (o Versions) String() string

type VirtualSpace

type VirtualSpace struct {
	Name string `json:"name"`

	Size string `json:"size"`

	LvmConfig *LvmConfig `json:"lvmConfig,omitempty"`

	RuntimeConfig *RuntimeConfig `json:"runtimeConfig,omitempty"`
}

func (VirtualSpace) String

func (o VirtualSpace) String() string

type Volume

type Volume struct {
	Size int32 `json:"size"`

	Volumetype string `json:"volumetype"`

	ExtendParam map[string]interface{} `json:"extendParam,omitempty"`

	ClusterId *string `json:"cluster_id,omitempty"`

	ClusterType *string `json:"cluster_type,omitempty"`

	Hwpassthrough *bool `json:"hw:passthrough,omitempty"`

	Metadata *VolumeMetadata `json:"metadata,omitempty"`
}

func (Volume) String

func (o Volume) String() string

type VolumeMetadata

type VolumeMetadata struct {
	SystemEncrypted *string `json:"__system__encrypted,omitempty"`

	SystemCmkid *string `json:"__system__cmkid,omitempty"`
}

func (VolumeMetadata) String

func (o VolumeMetadata) String() string

Source Files

Jump to

Keyboard shortcuts

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