model

package
v0.1.94 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNodeConfig

type ClusterNodeConfig struct {

	// master虚拟ip
	MasterNodeVip *string `json:"master_node_vip,omitempty"`

	// master节点数
	MasterNodes *[]NodeConfig `json:"master_nodes,omitempty"`

	// work节点数
	WorkNodes *[]NodeConfig `json:"work_nodes,omitempty"`
}

ClusterNodeConfig 集群节点配置

func (ClusterNodeConfig) String

func (o ClusterNodeConfig) String() string

type CreateAppInstanceRequest

type CreateAppInstanceRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`

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

CreateAppInstanceRequest Request Object

func (CreateAppInstanceRequest) String

func (o CreateAppInstanceRequest) String() string

type CreateAppInstanceRequestDto

type CreateAppInstanceRequestDto struct {

	// 应用实例ID
	Id string `json:"id"`

	// 边缘集群命名空间
	Namespace *string `json:"namespace,omitempty"`

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	AppVersion string `json:"app_version"`

	// 应用实例chart配置
	Values *interface{} `json:"values,omitempty"`
}

func (CreateAppInstanceRequestDto) String

type CreateAppInstanceResponse

type CreateAppInstanceResponse struct {

	// 应用实例ID
	Id *string `json:"id,omitempty"`

	// 边缘集群命名空间
	Namespace *string `json:"namespace,omitempty"`

	// 应用实例版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 应用实例状态
	Status *string `json:"status,omitempty"`

	// 状态描述
	StatusDescription *string `json:"status_description,omitempty"`

	// 应用实例chart配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppInstanceResponse Response Object

func (CreateAppInstanceResponse) String

func (o CreateAppInstanceResponse) String() string

type CreateAppRequest

type CreateAppRequest struct {
	Body *CreateAppRequestDto `json:"body,omitempty"`
}

CreateAppRequest Request Object

func (CreateAppRequest) String

func (o CreateAppRequest) String() string

type CreateAppRequestDto

type CreateAppRequestDto struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用名称
	AppName *string `json:"app_name,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用类型
	AppType string `json:"app_type"`
}

func (CreateAppRequestDto) String

func (o CreateAppRequestDto) String() string

type CreateAppResponse

type CreateAppResponse struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用类型
	AppType *string `json:"app_type,omitempty"`

	// 应用来源
	ProviderType *string `json:"provider_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppResponse Response Object

func (CreateAppResponse) String

func (o CreateAppResponse) String() string

type CreateAppVersionRequest

type CreateAppVersionRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	Version string `json:"version"`

	Body *CreateAppVersionRequestBody `json:"body,omitempty" type:"multipart"`
}

CreateAppVersionRequest Request Object

func (CreateAppVersionRequest) String

func (o CreateAppVersionRequest) String() string

type CreateAppVersionRequestBody

type CreateAppVersionRequestBody struct {

	// chart包。当前仅支持tgz文件格式。
	Chart *def.FilePart `json:"chart"`

	// 应用包含的镜像列表
	Images *def.MultiPart `json:"images,omitempty"`
}

func (CreateAppVersionRequestBody) String

func (*CreateAppVersionRequestBody) UnmarshalJSON

func (o *CreateAppVersionRequestBody) UnmarshalJSON(b []byte) error

type CreateAppVersionResponse

type CreateAppVersionResponse struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	Version *string `json:"version,omitempty"`

	// 应用版本配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppVersionResponse Response Object

func (CreateAppVersionResponse) String

func (o CreateAppVersionResponse) String() string

type CreateClusterInstallCmdRequest added in v0.1.39

type CreateClusterInstallCmdRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`

	// 边缘集群架构
	Arch string `json:"arch"`

	// 集群操作系统内核
	Os *string `json:"os,omitempty"`
}

CreateClusterInstallCmdRequest Request Object

func (CreateClusterInstallCmdRequest) String added in v0.1.39

type CreateClusterInstallCmdResponse added in v0.1.39

type CreateClusterInstallCmdResponse struct {

	// 标准版节点安装/升级命令
	Cmd            *string `json:"cmd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateClusterInstallCmdResponse Response Object

func (CreateClusterInstallCmdResponse) String added in v0.1.39

type CreateClusterRequest

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

CreateClusterRequest Request Object

func (CreateClusterRequest) String

func (o CreateClusterRequest) String() string

type CreateClusterRequestDto

type CreateClusterRequestDto struct {

	// 集群名称
	ClusterName string `json:"cluster_name"`

	// 集群描述
	Description *string `json:"description,omitempty"`

	ClusterNodeConfig *ClusterNodeConfig `json:"cluster_node_config,omitempty"`
}

func (CreateClusterRequestDto) String

func (o CreateClusterRequestDto) String() string

type CreateClusterResponse

type CreateClusterResponse struct {

	// 集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

	// 集群名称
	ClusterName *string `json:"cluster_name,omitempty"`

	// 集群描述
	Description *string `json:"description,omitempty"`

	// 边缘集群版本
	Version *string `json:"version,omitempty"`

	// 边缘集群状态
	State *string `json:"state,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 是否可升级
	IsUpgradeable  *bool `json:"is_upgradeable,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateClusterResponse Response Object

func (CreateClusterResponse) String

func (o CreateClusterResponse) String() string

type DeleteAppInstanceRequest

type DeleteAppInstanceRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`

	// 应用实例ID
	AppInstanceId string `json:"app_instance_id"`

	// 命名空间
	Namespace *string `json:"namespace,omitempty"`
}

DeleteAppInstanceRequest Request Object

func (DeleteAppInstanceRequest) String

func (o DeleteAppInstanceRequest) String() string

type DeleteAppInstanceResponse

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

DeleteAppInstanceResponse Response Object

func (DeleteAppInstanceResponse) String

func (o DeleteAppInstanceResponse) String() string

type DeleteAppRequest

type DeleteAppRequest struct {

	// 应用ID
	AppId string `json:"app_id"`
}

DeleteAppRequest Request Object

func (DeleteAppRequest) String

func (o DeleteAppRequest) String() string

type DeleteAppResponse

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

DeleteAppResponse Response Object

func (DeleteAppResponse) String

func (o DeleteAppResponse) String() string

type DeleteAppVersionRequest

type DeleteAppVersionRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	Version string `json:"version"`
}

DeleteAppVersionRequest Request Object

func (DeleteAppVersionRequest) String

func (o DeleteAppVersionRequest) String() string

type DeleteAppVersionResponse

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

DeleteAppVersionResponse Response Object

func (DeleteAppVersionResponse) String

func (o DeleteAppVersionResponse) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`
}

DeleteClusterRequest Request Object

func (DeleteClusterRequest) String

func (o DeleteClusterRequest) String() string

type DeleteClusterResponse

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

DeleteClusterResponse Response Object

func (DeleteClusterResponse) String

func (o DeleteClusterResponse) String() string

type DownloadAppVersionRequest

type DownloadAppVersionRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	Version string `json:"version"`
}

DownloadAppVersionRequest Request Object

func (DownloadAppVersionRequest) String

func (o DownloadAppVersionRequest) String() string

type DownloadAppVersionResponse

type DownloadAppVersionResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadAppVersionResponse Response Object

func (DownloadAppVersionResponse) Consume added in v0.1.47

func (o DownloadAppVersionResponse) Consume(writer io.Writer) (int64, error)

func (DownloadAppVersionResponse) String

type ListAppImageRequest

type ListAppImageRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	Version string `json:"version"`

	// 每页记录数,默认值为10,取值区间为1-1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

ListAppImageRequest Request Object

func (ListAppImageRequest) String

func (o ListAppImageRequest) String() string

type ListAppImageResponse

type ListAppImageResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	AppImages      *[]QueryAppImageResponseDto `json:"app_images,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListAppImageResponse Response Object

func (ListAppImageResponse) String

func (o ListAppImageResponse) String() string

type ListAppInstanceHistoryRequest

type ListAppInstanceHistoryRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`

	// 应用实例ID
	AppInstanceId string `json:"app_instance_id"`

	// 命名空间
	Namespace *string `json:"namespace,omitempty"`
}

ListAppInstanceHistoryRequest Request Object

func (ListAppInstanceHistoryRequest) String

type ListAppInstanceHistoryResponse

type ListAppInstanceHistoryResponse struct {

	// 应用实例历史版本列表
	History        *[]QueryAppInstanceHistoryResponseDto `json:"history,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

ListAppInstanceHistoryResponse Response Object

func (ListAppInstanceHistoryResponse) String

type ListAppInstancesRequest

type ListAppInstancesRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`
}

ListAppInstancesRequest Request Object

func (ListAppInstancesRequest) String

func (o ListAppInstancesRequest) String() string

type ListAppInstancesResponse

type ListAppInstancesResponse struct {

	// 应用实例列表
	AppInstances   *[]QueryAppInstanceResp `json:"app_instances,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListAppInstancesResponse Response Object

func (ListAppInstancesResponse) String

func (o ListAppInstancesResponse) String() string

type ListAppVersionsRequest

type ListAppVersionsRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本号
	Version *string `json:"version,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

ListAppVersionsRequest Request Object

func (ListAppVersionsRequest) String

func (o ListAppVersionsRequest) String() string

type ListAppVersionsResponse

type ListAppVersionsResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	AppVersions    *[]QueryAppVersionResponseDto `json:"app_versions,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

ListAppVersionsResponse Response Object

func (ListAppVersionsResponse) String

func (o ListAppVersionsResponse) String() string

type ListAppsRequest

type ListAppsRequest struct {

	// 应用类型
	AppType *string `json:"app_type,omitempty"`

	// 应用来源
	ProviderType *string `json:"provider_type,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

ListAppsRequest Request Object

func (ListAppsRequest) String

func (o ListAppsRequest) String() string

type ListAppsResponse

type ListAppsResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Apps           *[]QueryAppBriefResponseDto `json:"apps,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListAppsResponse Response Object

func (ListAppsResponse) String

func (o ListAppsResponse) String() string

type ListClustersRequest

type ListClustersRequest struct {

	// 边缘集群名称
	ClusterName *string `json:"cluster_name,omitempty"`

	// 边缘集群状态
	State *string `json:"state,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000。
	Limit *int32 `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0。
	Offset *int32 `json:"offset,omitempty"`
}

ListClustersRequest Request Object

func (ListClustersRequest) String

func (o ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Clusters       *[]QueryClusterBriefResponseDto `json:"clusters,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

ListClustersResponse Response Object

func (ListClustersResponse) String

func (o ListClustersResponse) String() string

type NodeConfig

type NodeConfig struct {

	// 节点IP
	NodeIp *string `json:"node_ip,omitempty"`

	// 节点名称
	NodeName *string `json:"node_name,omitempty"`
}

NodeConfig 集群节点信息

func (NodeConfig) String

func (o NodeConfig) String() string

type PageInfoDto

type PageInfoDto struct {

	// 页码
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数
	Limit *int32 `json:"limit,omitempty"`
}

func (PageInfoDto) String

func (o PageInfoDto) String() string

type QueryAppBriefResponseDto

type QueryAppBriefResponseDto struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用类型
	AppType *string `json:"app_type,omitempty"`

	// 应用来源
	ProviderType *string `json:"provider_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`
}

func (QueryAppBriefResponseDto) String

func (o QueryAppBriefResponseDto) String() string

type QueryAppImageResponseDto

type QueryAppImageResponseDto struct {

	// 镜像组织
	ImageNamespace *string `json:"image_namespace,omitempty"`

	// 镜像仓库名称
	Name *string `json:"name,omitempty"`

	// 镜像tag
	Tag *string `json:"tag,omitempty"`

	// 镜像摘要
	Digest *string `json:"digest,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

QueryAppImageResponseDto 应用镜像列表信息

func (QueryAppImageResponseDto) String

func (o QueryAppImageResponseDto) String() string

type QueryAppInstanceHistoryResponseDto

type QueryAppInstanceHistoryResponseDto struct {

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本号
	AppVersion *string `json:"app_version,omitempty"`

	// 应用实例历史版本号
	Version *string `json:"version,omitempty"`

	// 应用实例chart配置
	Values *interface{} `json:"values,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`
}

QueryAppInstanceHistoryResponseDto 应用实例历史版本

func (QueryAppInstanceHistoryResponseDto) String

type QueryAppInstanceResp

type QueryAppInstanceResp struct {

	// 应用实例ID
	Id *string `json:"id,omitempty"`

	// 边缘集群命名空间
	Namespace *string `json:"namespace,omitempty"`

	// 应用实例版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 应用实例状态
	Status *string `json:"status,omitempty"`

	// 状态描述
	StatusDescription *string `json:"status_description,omitempty"`

	// 应用实例chart配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次更新时间
	UpdateTime *string `json:"update_time,omitempty"`
}

func (QueryAppInstanceResp) String

func (o QueryAppInstanceResp) String() string

type QueryAppVersionResponseDto

type QueryAppVersionResponseDto struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	Version *string `json:"version,omitempty"`

	// 应用版本配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`
}

func (QueryAppVersionResponseDto) String

type QueryClusterBriefResponseDto

type QueryClusterBriefResponseDto struct {

	// 集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

	// 集群名称
	ClusterName *string `json:"cluster_name,omitempty"`

	// 集群描述
	Description *string `json:"description,omitempty"`

	// 边缘集群版本
	Version *string `json:"version,omitempty"`

	// 边缘集群状态
	State *string `json:"state,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 是否可升级
	IsUpgradeable *bool `json:"is_upgradeable,omitempty"`
}

func (QueryClusterBriefResponseDto) String

type ShowAppRequest

type ShowAppRequest struct {

	// 应用模板ID。
	AppId string `json:"app_id"`
}

ShowAppRequest Request Object

func (ShowAppRequest) String

func (o ShowAppRequest) String() string

type ShowAppResponse

type ShowAppResponse struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用类型
	AppType *string `json:"app_type,omitempty"`

	// 应用来源
	ProviderType *string `json:"provider_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAppResponse Response Object

func (ShowAppResponse) String

func (o ShowAppResponse) String() string

type ShowAppVersionRequest

type ShowAppVersionRequest struct {

	// 应用ID
	AppId string `json:"app_id"`

	// 应用版本
	Version string `json:"version"`
}

ShowAppVersionRequest Request Object

func (ShowAppVersionRequest) String

func (o ShowAppVersionRequest) String() string

type ShowAppVersionResponse

type ShowAppVersionResponse struct {

	// 应用模板ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	Version *string `json:"version,omitempty"`

	// 应用版本配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAppVersionResponse Response Object

func (ShowAppVersionResponse) String

func (o ShowAppVersionResponse) String() string

type ShowClusterRequest

type ShowClusterRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`
}

ShowClusterRequest Request Object

func (ShowClusterRequest) String

func (o ShowClusterRequest) String() string

type ShowClusterResponse

type ShowClusterResponse struct {

	// 集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

	// 集群名称
	ClusterName *string `json:"cluster_name,omitempty"`

	// 集群描述
	Description *string `json:"description,omitempty"`

	// 边缘集群版本
	Version *string `json:"version,omitempty"`

	// 边缘集群状态
	State *string `json:"state,omitempty"`

	// 操作系统
	Os *string `json:"os,omitempty"`

	// 集群架构
	Arch *string `json:"arch,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowClusterResponse Response Object

func (ShowClusterResponse) String

func (o ShowClusterResponse) String() string

type UpdateAppInstanceRequest

type UpdateAppInstanceRequest struct {

	// 边缘集群ID
	ClusterId string `json:"cluster_id"`

	// 应用实例ID
	AppInstanceId string `json:"app_instance_id"`

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

UpdateAppInstanceRequest Request Object

func (UpdateAppInstanceRequest) String

func (o UpdateAppInstanceRequest) String() string

type UpdateAppInstanceRequestDto

type UpdateAppInstanceRequestDto struct {

	// 动作类型
	Action string `json:"action"`

	// 命名空间,应用实例部署于非默认命名空间(default)时必填
	Namespace *string `json:"namespace,omitempty"`

	// 升级的目标版本号,动作类型为upgrade时必填
	AppVersion *string `json:"app_version,omitempty"`

	// 应用实例chart配置,动作类型为upgrade时必填
	Values *interface{} `json:"values,omitempty"`

	// 回退的目标版本号,动作类型为rollback时必填
	RollbackVersion *string `json:"rollback_version,omitempty"`
}

func (UpdateAppInstanceRequestDto) String

type UpdateAppInstanceResponse

type UpdateAppInstanceResponse struct {

	// 应用实例ID
	Id *string `json:"id,omitempty"`

	// 边缘集群命名空间
	Namespace *string `json:"namespace,omitempty"`

	// 应用实例版本
	Version *string `json:"version,omitempty"`

	// 应用ID
	AppId *string `json:"app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 应用实例状态
	Status *string `json:"status,omitempty"`

	// 状态描述
	StatusDescription *string `json:"status_description,omitempty"`

	// 应用实例chart配置
	Values *interface{} `json:"values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAppInstanceResponse Response Object

func (UpdateAppInstanceResponse) String

func (o UpdateAppInstanceResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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