apierrors

package
v1.3.0-rc.0...-a07df58 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package apierrors 定义了错误列表

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCreateRuntime   = err("ErrCreateRuntime", "创建应用实例失败")
	ErrDeleteRuntime   = err("ErrDeleteRuntime", "删除应用实例失败")
	ErrDeployRuntime   = err("ErrDeployRuntime", "部署失败")
	ErrRollbackRuntime = err("ErrRollbackRuntime", "回滚失败")
	ErrListRuntime     = err("ErrListRuntime", "查询应用实例列表失败")
	ErrGetRuntime      = err("ErrGetRuntime", "查询应用实例失败")
	ErrUpdateRuntime   = err("ErrUpdateRuntime", "更新应用实例失败")
	ErrReferRuntime    = err("ErrReferRuntime", "查询应用实例引用集群失败")
	ErrKillPod         = err("ErrKillPod", "kill pod 失败")
)

runtime errors

View Source
var (
	ErrCancelDeployment     = err("ErrCancelDeployment", "取消部署失败")
	ErrListDeployment       = err("ErrListDeployment", "查询部署列表失败")
	ErrGetDeployment        = err("ErrGetDeployment", "查询部署失败")
	ErrApproveDeployment    = err("ErrApproveDeployment", "审批部署失败")
	ErrDeployStagesAddons   = err("ErrDeployStagesAddons", "部署addon失败")
	ErrDeployStagesServices = err("ErrDeployStagesServices", "部署service失败")
	ErrDeployStagesDomains  = err("ErrDeployStagesDomains", "部署domain失败")
)

deployment errors

View Source
var (
	ErrCreateDeploymentOrder       = err("ErrCreateDeploymentOrder", "创建部署单失败")
	ErrListDeploymentOrder         = err("ErrListDeploymentOrder", "查询部署单失败")
	ErrCancelDeploymentOrder       = err("ErrCancelDeploymentOrder", "取消部署单失败")
	ErrDeployDeploymentOrder       = err("ErrDeployDeploymentOrder", "执行部署单失败")
	ErrRenderDeploymentOrderDetail = err("ErrRenderDeploymentOrderDetail", "渲染部署单详情失败")
)

deployment order errors

View Source
var (
	ErrListDomain   = err("ErrListDomain", "查询域名列表失败")
	ErrUpdateDomain = err("ErrUpdateDomain", "更新域名失败")
)

domain errors

View Source
var (
	ErrCreateAddon         = err("ErrCreateAddon", "创建 addon 失败")
	ErrUpdateAddon         = err("ErrUpdateAddon", "更新 addon 失败")
	ErrFetchAddon          = err("ErrFetchAddon", "获取 addon 详情失败")
	ErrEmptyAddonInstances = err("ErrEmptyAddonInstances", "addon 实例为空")
	ErrDeleteAddon         = err("ErrDeleteAddon", "删除 addon 失败")
	ErrListAddon           = err("ErrListAddon", "获取 addon 列表失败")
	ErrScaleAddon          = err("ErrScaleAddon", "扩缩 addon 实例副本失败")
	ErrListAddonMetris     = err("ErrListAddonMetris", "获取 addon 监控失败")
)
View Source
var (
	ErrAddonYmlExport = err("ErrAddonYmlExport", "addonyml 导出")
	ErrAddonYmlImport = err("ErrAddonYmlImport", "addonyml 导入")
)
View Source
var (
	ErrClusterResource = err("ErrClusterResource", "查询集群资源失败")
)
View Source
var (
	ErrGetAppWorkspaceReleases = err("ErrGetAppWorkspaceReleases", "查询环境可部署制品失败")
)
View Source
var (
	ErrListInstance = err("ErrListInstance", "获取实例列表失败")
)
View Source
var (
	ErrMigrationLog = err("ErrMigrationLog", "查询migration日志失败")
)
View Source
var (
	ErrOrgLog = err("ErrOrgLog", "查询容器日志失败")
)
View Source
var (
	ErrProjectResource = err("ErrProjectResource", "查询项目资源失败")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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