Documentation ¶
Index ¶
- type AppBaseInfo
- type AppBaseResponse
- type AppBatchDeleteRequest
- type AppComponentDao
- type AppDeleteResult
- type AppDeleteResultStatus
- type AppDeleteResultStatusEnum
- type AppDetailInfo
- type AppExecutionInfo
- type AppGroupsEntity
- type AppPermission
- type ApplicationPermissionVo
- type ApplicationPermissionVoRoleType
- type ApplicationPermissionVoRoleTypeEnum
- type BatchDeleteAppRequest
- type BatchDeleteAppResponse
- type BatchDeleteHostsRequest
- type BatchDeleteHostsResponse
- type BatchUpdateApplicationPermissionsRequest
- type BatchUpdateApplicationPermissionsRequestBody
- type BatchUpdateApplicationPermissionsResponse
- type BatchUpdatePermissionLevelRequest
- type BatchUpdatePermissionLevelRequestBody
- type BatchUpdatePermissionLevelRequestBodyPermissionLevel
- type BatchUpdatePermissionLevelRequestBodyPermissionLevelEnum
- type BatchUpdatePermissionLevelResponse
- type CheckCanCreateRequest
- type CheckCanCreateResponse
- type CheckCanCreateResponseBodyResult
- type CheckIsDuplicateAppNameRequest
- type CheckIsDuplicateAppNameResponse
- type CheckWhetherHostGroupCanBeCreatedRequest
- type CheckWhetherHostGroupCanBeCreatedResponse
- type ConfigInfo
- type ConfigInfoDo
- type ConfigInfoDoStaticStatus
- type ConfigInfoDoStaticStatusEnum
- type ConfigInfoDoType
- type ConfigInfoDoTypeEnum
- type CopyApplicationRequest
- type CopyApplicationResponse
- type CopyHostsToTargetRequest
- type CopyHostsToTargetResponse
- type CreateAppGroupsRequest
- type CreateAppGroupsRequestBody
- type CreateAppGroupsResponse
- type CreateAppRequest
- type CreateAppRequestBody
- type CreateAppRequestBodyCreateType
- type CreateAppRequestBodyCreateTypeEnum
- type CreateAppResponse
- type CreateDeployTaskByTemplateRequest
- type CreateDeployTaskByTemplateResponse
- type CreateDeploymentGroupRequest
- type CreateDeploymentGroupResponse
- type CreateDeploymentHostRequest
- type CreateDeploymentHostResponse
- type CreateEnvironmentRequest
- type CreateEnvironmentResponse
- type CreateHostClusterRequest
- type CreateHostClusterRequestBody
- type CreateHostClusterRequestBodyOs
- type CreateHostClusterRequestBodyOsEnum
- type CreateHostClusterResponse
- type CreateHostRequest
- type CreateHostRequestBody
- type CreateHostRequestBodyOs
- type CreateHostRequestBodyOsEnum
- type CreateHostResponse
- type DeleteAppGroupsRequest
- type DeleteAppGroupsResponse
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteDeployTaskRequest
- type DeleteDeployTaskResponse
- type DeleteDeploymentGroupRequest
- type DeleteDeploymentGroupResponse
- type DeleteDeploymentHostRequest
- type DeleteDeploymentHostResponse
- type DeleteEnvironmentRequest
- type DeleteEnvironmentResponse
- type DeleteHostClusterRequest
- type DeleteHostClusterResponse
- type DeleteHostFromEnvironmentRequest
- type DeleteHostFromEnvironmentResponse
- type DeleteHostRequest
- type DeleteHostResponse
- type DeployV2OperationsDo
- type DeploymentGroup
- type DeploymentGroupDetail
- type DeploymentGroupOs
- type DeploymentGroupOsEnum
- type DeploymentGroupUpdateRequest
- type DeploymentGroupUpdateRequestAutoConnectionTestSwitch
- type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum
- type DeploymentHost
- type DeploymentHostAuthorizationBody
- type DeploymentHostAuthorizationBodyTrustedType
- type DeploymentHostAuthorizationBodyTrustedTypeEnum
- type DeploymentHostDetail
- type DeploymentHostDetailOs
- type DeploymentHostDetailOsEnum
- type DeploymentHostInfo
- type DeploymentHostInfoOs
- type DeploymentHostInfoOsEnum
- type DeploymentHostListEntity
- type DeploymentHostOs
- type DeploymentHostOsEnum
- type DeploymentHostRequest
- type DeploymentHostRequestExternal
- type DeploymentHostsCopyRequest
- type DeploymentUpdateHost
- type DevUcClusterPermission
- type DevUcClusterPermissionRoleType
- type DevUcClusterPermissionRoleTypeEnum
- type DevUcEnvironmentPermission
- type DevUcEnvironmentPermissionRoleType
- type DevUcEnvironmentPermissionRoleTypeEnum
- type DynamicConfigInfo
- type DynamicConfigInfoType
- type DynamicConfigInfoTypeEnum
- type EnvExecutionBody
- type EnvironmentBaseInfo
- type EnvironmentDetail
- type EnvironmentHostInfo
- type EnvironmentHostPermission
- type EnvironmentInfo
- type EnvironmentPermissionDetail
- type EnvironmentPermissionV2Body
- type EnvironmentPermissionV2BodyPermissionName
- type EnvironmentPermissionV2BodyPermissionNameEnum
- type EnvironmentRequest
- type EnvironmentRequestBody
- type EnvironmentRequestBodyOs
- type EnvironmentRequestBodyOsEnum
- type ExecuteRecordV2Body
- type HostAuthorizationBody
- type HostAuthorizationBodyTrustedType
- type HostAuthorizationBodyTrustedTypeEnum
- type HostClusterInfo
- type HostClusterInfoDetail
- type HostClusterRequest
- type HostInfo
- type HostInfoDetail
- type ImportHostToEnvironmentRequest
- type ImportHostToEnvironmentRequestBody
- type ImportHostToEnvironmentResponse
- type KeyValueDo
- type ListAllAppRequest
- type ListAllAppRequestBody
- type ListAllAppRequestBodySortName
- type ListAllAppRequestBodySortNameEnum
- type ListAllAppRequestBodyStates
- type ListAllAppRequestBodyStatesEnum
- type ListAllAppResponse
- type ListAppGroupsRequest
- type ListAppGroupsResponse
- type ListApplicationPermissionsRequest
- type ListApplicationPermissionsResponse
- type ListAssociateEnvironmentsInfosRequest
- type ListAssociateEnvironmentsInfosResponse
- type ListDeployTaskHistoryByDateRequest
- type ListDeployTaskHistoryByDateResponse
- type ListDeployTasksRequest
- type ListDeployTasksResponse
- type ListEnvironmentHostsRequest
- type ListEnvironmentHostsResponse
- type ListEnvironmentPermissionsRequest
- type ListEnvironmentPermissionsResponse
- type ListEnvironmentsRequest
- type ListEnvironmentsRequestSortDir
- type ListEnvironmentsRequestSortDirEnum
- type ListEnvironmentsRequestSortKey
- type ListEnvironmentsRequestSortKeyEnum
- type ListEnvironmentsResponse
- type ListHostClustersRequest
- type ListHostClustersRequestOs
- type ListHostClustersRequestOsEnum
- type ListHostClustersRequestSortType
- type ListHostClustersRequestSortTypeEnum
- type ListHostClustersResponse
- type ListHostGroupBaseInfosRequest
- type ListHostGroupBaseInfosRequestOs
- type ListHostGroupBaseInfosRequestOsEnum
- type ListHostGroupBaseInfosResponse
- type ListHostGroupPermissionsRequest
- type ListHostGroupPermissionsResponse
- type ListHostGroupsRequest
- type ListHostGroupsRequestOs
- type ListHostGroupsRequestOsEnum
- type ListHostGroupsRequestSortDir
- type ListHostGroupsRequestSortDirEnum
- type ListHostGroupsResponse
- type ListHostsRequest
- type ListHostsRequestSortDir
- type ListHostsRequestSortDirEnum
- type ListHostsResponse
- type ListNewHostsRequest
- type ListNewHostsRequestSortDir
- type ListNewHostsRequestSortDirEnum
- type ListNewHostsResponse
- type ListTaskSuccessRateRequest
- type ListTaskSuccessRateResponse
- type MoveAppGroupsRequest
- type MoveAppGroupsRequestBody
- type MoveAppGroupsRequestBodyMovement
- type MoveAppGroupsRequestBodyMovementEnum
- type MoveAppGroupsResponse
- type MoveAppToGroupRequest
- type MoveAppToGroupRequestBody
- type MoveAppToGroupResponse
- type MoveAppToGroupResult
- type ParamTypeLimits
- type PermissionClusterDetail
- type PermissionGroupDetail
- type PermissionHostDetail
- type PermissionHostDetailNew
- type PermissionUpdateV2Body
- type PermissionUpdateV2BodyPermissionName
- type PermissionUpdateV2BodyPermissionNameEnum
- type ShowAppDetailByIdRequest
- type ShowAppDetailByIdResponse
- type ShowDeployTaskDetailRequest
- type ShowDeployTaskDetailResponse
- type ShowDeployTaskDetailResponseState
- type ShowDeployTaskDetailResponseStateEnum
- type ShowDeploymentGroupDetailRequest
- type ShowDeploymentGroupDetailResponse
- type ShowDeploymentHostDetailRequest
- type ShowDeploymentHostDetailResponse
- type ShowDeploymentHostDetailResponseOs
- type ShowDeploymentHostDetailResponseOsEnum
- type ShowEnvironmentDetailRequest
- type ShowEnvironmentDetailResponse
- type ShowExecutionParamsRequest
- type ShowExecutionParamsResponse
- type ShowHostClusterDetailRequest
- type ShowHostClusterDetailResponse
- type ShowHostDetailRequest
- type ShowHostDetailResponse
- type ShowProjectSuccessRateRequest
- type ShowProjectSuccessRateResponse
- type StartDeployTaskRequest
- type StartDeployTaskResponse
- type Step
- type TaskBaseBody
- type TaskBaseResponseBody
- type TaskInfo
- type TaskInfoState
- type TaskInfoStateEnum
- type TaskSuccessRate
- type TaskTriggerVo
- type TaskV2Info
- type TaskV2RequestBody
- type TasksSuccessRateQuery
- type TemplateTaskRequestBody
- type UpdateAppDisableStatusRequest
- type UpdateAppDisableStatusRequestBody
- type UpdateAppDisableStatusResponse
- type UpdateAppGroupsRequest
- type UpdateAppGroupsRequestBody
- type UpdateAppGroupsResponse
- type UpdateAppInfoRequest
- type UpdateAppInfoRequestBody
- type UpdateAppInfoRequestBodyCreateType
- type UpdateAppInfoRequestBodyCreateTypeEnum
- type UpdateAppInfoResponse
- type UpdateDeploymentGroupRequest
- type UpdateDeploymentGroupResponse
- type UpdateDeploymentHostRequest
- type UpdateDeploymentHostResponse
- type UpdateEnvironmentPermissionRequest
- type UpdateEnvironmentPermissionResponse
- type UpdateEnvironmentRequest
- type UpdateEnvironmentResponse
- type UpdateHostClusterRequest
- type UpdateHostClusterResponse
- type UpdateHostGroupPermissionsRequest
- type UpdateHostGroupPermissionsResponse
- type UpdateHostGroupPermissionsResponseRoleType
- type UpdateHostGroupPermissionsResponseRoleTypeEnum
- type UpdateHostInfoRequest
- type UpdateHostInfoResponse
- type UpdateTaskV2RequestBody
- type UpdateTaskV2RequestBodyDeploySystem
- type UpdateTaskV2RequestBodyDeploySystemEnum
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBaseInfo ¶ added in v0.1.105
type AppBaseInfo struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name *string `json:"name,omitempty"` // 局点信息 Region *string `json:"region,omitempty"` // 应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` }
AppBaseInfo 应用基本信息
func (AppBaseInfo) String ¶ added in v0.1.105
func (o AppBaseInfo) String() string
type AppBaseResponse ¶ added in v0.1.57
type AppBaseResponse struct { // 创建的应用id Id *string `json:"id,omitempty"` // 创建应用名称 Name *string `json:"name,omitempty"` // 应用所属区域 Region *string `json:"region,omitempty"` // 部署任务列表信息 ArrangeInfos *[]TaskBaseBody `json:"arrange_infos,omitempty"` }
func (AppBaseResponse) String ¶ added in v0.1.57
func (o AppBaseResponse) String() string
type AppBatchDeleteRequest ¶ added in v0.1.105
type AppBatchDeleteRequest struct { // 项目id ProjectId string `json:"project_id"` // 应用id列表 ApplicationIds []string `json:"application_ids"` }
func (AppBatchDeleteRequest) String ¶ added in v0.1.105
func (o AppBatchDeleteRequest) String() string
type AppComponentDao ¶
type AppComponentDao struct { // 部署任务id TaskId *string `json:"task_id,omitempty"` // AOM应用id AppId *string `json:"app_id,omitempty"` // AOM应用名称 AppName *string `json:"app_name,omitempty"` // AOM应用组件id CompId *string `json:"comp_id,omitempty"` // AOM应用组件名称 CompName *string `json:"comp_name,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // 局点信息 Region *string `json:"region,omitempty"` // AOM应用组件是否生效,0表示初始化,1表示执行成功,已生效 State *string `json:"state,omitempty"` }
AppComponentDao 应用和AOM应用组件对应关系
func (AppComponentDao) String ¶
func (o AppComponentDao) String() string
type AppDeleteResult ¶ added in v0.1.105
type AppDeleteResult struct { // 应用id ApplicationId *string `json:"application_id,omitempty"` // 应用名称 ApplicationName *string `json:"application_name,omitempty"` // 删除是否成功 success | error Status *AppDeleteResultStatus `json:"status,omitempty"` // 删除失败原因 ErrorReason *string `json:"error_reason,omitempty"` }
AppDeleteResult 删除应用结果
func (AppDeleteResult) String ¶ added in v0.1.105
func (o AppDeleteResult) String() string
type AppDeleteResultStatus ¶ added in v0.1.105
type AppDeleteResultStatus struct {
// contains filtered or unexported fields
}
func (AppDeleteResultStatus) MarshalJSON ¶ added in v0.1.105
func (c AppDeleteResultStatus) MarshalJSON() ([]byte, error)
func (*AppDeleteResultStatus) UnmarshalJSON ¶ added in v0.1.105
func (c *AppDeleteResultStatus) UnmarshalJSON(b []byte) error
func (AppDeleteResultStatus) Value ¶ added in v0.1.105
func (c AppDeleteResultStatus) Value() string
type AppDeleteResultStatusEnum ¶ added in v0.1.105
type AppDeleteResultStatusEnum struct { SUCCESS AppDeleteResultStatus ERROR AppDeleteResultStatus }
func GetAppDeleteResultStatusEnum ¶ added in v0.1.105
func GetAppDeleteResultStatusEnum() AppDeleteResultStatusEnum
type AppDetailInfo ¶ added in v0.1.57
type AppDetailInfo struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name *string `json:"name,omitempty"` // 应用所属区域 Region *string `json:"region,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 当前应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` // 创建方式 CreateType *string `json:"create_type,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 当前用户是否已收藏 IsCare *bool `json:"is_care,omitempty"` // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有部署权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有编辑应用权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有创建环境的权限 CanCreateEnv *bool `json:"can_create_env,omitempty"` // 是否有禁用应用的权限 CanDisable *bool `json:"can_disable,omitempty"` // 应用所属人租户id OwnerTenantId *string `json:"owner_tenant_id,omitempty"` // 应用创建者用户名 CreateUserId *string `json:"create_user_id,omitempty"` // 应用创建人租户id CreateTenantId *string `json:"create_tenant_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 UpdateTime *string `json:"update_time,omitempty"` // 权限等级 PermissionLevel *string `json:"permission_level,omitempty"` // 部署任务信息 ArrangeInfos *[]TaskV2Info `json:"arrange_infos,omitempty"` }
AppDetailInfo 应用详情信息
func (AppDetailInfo) String ¶ added in v0.1.57
func (o AppDetailInfo) String() string
type AppExecutionInfo ¶ added in v0.1.57
type AppExecutionInfo struct { // 应用id Id *string `json:"id,omitempty"` // 应用名称 Name *string `json:"name,omitempty"` // 部署时间 Duration *string `json:"duration,omitempty"` // 当前应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 当前用户是否已收藏 IsCare *bool `json:"is_care,omitempty"` // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有部署权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有编辑应用权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有创建环境的权限 CanCreateEnv *bool `json:"can_create_env,omitempty"` // 是否有禁用应用的权限 CanDisable *bool `json:"can_disable,omitempty"` // 部署类型模式,包括deployTemplate、ansible、shell DeploySystem *string `json:"deploy_system,omitempty"` // 应用创建者用户id CreateUserId *string `json:"create_user_id,omitempty"` // 应用创建者租户id CreateTenantId *string `json:"create_tenant_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 UpdateTime *string `json:"update_time,omitempty"` // 最后一次部署时间 ExecutionTime *string `json:"execution_time,omitempty"` // 部署结束时间 EndTime *string `json:"end_time,omitempty"` // 部署状态 ExecutionState *string `json:"execution_state,omitempty"` // 部署记录序列号 ReleaseId *int32 `json:"release_id,omitempty"` // 部署者id ExecutorId *string `json:"executor_id,omitempty"` // 部署者名称 ExecutorNickName *string `json:"executor_nick_name,omitempty"` // 部署任务信息 ArrangeInfos *[]TaskBaseResponseBody `json:"arrange_infos,omitempty"` }
AppExecutionInfo 查询应用详情响应体
func (AppExecutionInfo) String ¶ added in v0.1.57
func (o AppExecutionInfo) String() string
type AppGroupsEntity ¶ added in v0.1.105
type AppGroupsEntity struct { // 分组id Id *string `json:"id,omitempty"` // 分组名称 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 分组路径 Path *string `json:"path,omitempty"` // 父分组id,首层为null ParentId *string `json:"parent_id,omitempty"` // 分组排序字段 Ordinal *int32 `json:"ordinal,omitempty"` // 分组创建者用户id CreateUserId *string `json:"create_user_id,omitempty"` // 最近一次更新该分组用户id LastUpdateUserId *string `json:"last_update_user_id,omitempty"` // 该分组应用总数 Count *int32 `json:"count,omitempty"` // 子分组列表 Children *[]AppGroupsEntity `json:"children,omitempty"` }
AppGroupsEntity 分组信息
func (AppGroupsEntity) String ¶ added in v0.1.105
func (o AppGroupsEntity) String() string
type AppPermission ¶ added in v0.1.105
type AppPermission struct { // 角色id DevRoleId string `json:"dev_role_id"` // 是否具有编辑权限 CanModify bool `json:"can_modify"` // 是否具有删除权限 CanDelete bool `json:"can_delete"` // 是否具有查看权限 CanView bool `json:"can_view"` // 是否具有执行权限 CanExecute bool `json:"can_execute"` // 是否具有复制权限 CanCopy bool `json:"can_copy"` // 是否具有权限管理权限 CanManage bool `json:"can_manage"` // 是否具有创建环境权限 CanCreateEnv bool `json:"can_create_env"` // 是否具有禁用权限 CanDisable bool `json:"can_disable"` }
func (AppPermission) String ¶ added in v0.1.105
func (o AppPermission) String() string
type ApplicationPermissionVo ¶ added in v0.1.105
type ApplicationPermissionVo struct { // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有执行权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有管理权限,包含增删改查执行以及权限修改 CanManage *bool `json:"can_manage,omitempty"` // 是否有新建环境权限 CanCreateEnv *bool `json:"can_create_env,omitempty"` // 是否有禁用权限 CanDisable *bool `json:"can_disable,omitempty"` // 角色名称 Name *string `json:"name,omitempty"` // 局点信息 Region *string `json:"region,omitempty"` // 角色id RoleId *string `json:"role_id,omitempty"` // 角色类型, app-creator: 应用创建者; project: 项目管理员;template-customized-inst:系统角色; template-project-customized、project-customized:自定义角色 RoleType *ApplicationPermissionVoRoleType `json:"role_type,omitempty"` }
ApplicationPermissionVo 角色应用权限
func (ApplicationPermissionVo) String ¶ added in v0.1.105
func (o ApplicationPermissionVo) String() string
type ApplicationPermissionVoRoleType ¶ added in v0.1.105
type ApplicationPermissionVoRoleType struct {
// contains filtered or unexported fields
}
func (ApplicationPermissionVoRoleType) MarshalJSON ¶ added in v0.1.105
func (c ApplicationPermissionVoRoleType) MarshalJSON() ([]byte, error)
func (*ApplicationPermissionVoRoleType) UnmarshalJSON ¶ added in v0.1.105
func (c *ApplicationPermissionVoRoleType) UnmarshalJSON(b []byte) error
func (ApplicationPermissionVoRoleType) Value ¶ added in v0.1.105
func (c ApplicationPermissionVoRoleType) Value() string
type ApplicationPermissionVoRoleTypeEnum ¶ added in v0.1.105
type ApplicationPermissionVoRoleTypeEnum struct { APP_CREATOR ApplicationPermissionVoRoleType PROJECT ApplicationPermissionVoRoleType TEMPLATE_CUSTOMIZED_INST ApplicationPermissionVoRoleType TEMPLATE_PROJECT_CUSTOMIZED ApplicationPermissionVoRoleType PROJECT_CUSTOMIZED ApplicationPermissionVoRoleType }
func GetApplicationPermissionVoRoleTypeEnum ¶ added in v0.1.105
func GetApplicationPermissionVoRoleTypeEnum() ApplicationPermissionVoRoleTypeEnum
type BatchDeleteAppRequest ¶ added in v0.1.105
type BatchDeleteAppRequest struct {
Body *AppBatchDeleteRequest `json:"body,omitempty"`
}
BatchDeleteAppRequest Request Object
func (BatchDeleteAppRequest) String ¶ added in v0.1.105
func (o BatchDeleteAppRequest) String() string
type BatchDeleteAppResponse ¶ added in v0.1.105
type BatchDeleteAppResponse struct { // 批量删除应用结果 Result *[]AppDeleteResult `json:"result,omitempty"` // 批量删除应用总数 TotalNum *int32 `json:"total_num,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteAppResponse Response Object
func (BatchDeleteAppResponse) String ¶ added in v0.1.105
func (o BatchDeleteAppResponse) String() string
type BatchDeleteHostsRequest ¶ added in v0.1.105
type BatchDeleteHostsRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *DeploymentHostListEntity `json:"body,omitempty"` }
BatchDeleteHostsRequest Request Object
func (BatchDeleteHostsRequest) String ¶ added in v0.1.105
func (o BatchDeleteHostsRequest) String() string
type BatchDeleteHostsResponse ¶ added in v0.1.105
type BatchDeleteHostsResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 返回结果 Result *[]string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
BatchDeleteHostsResponse Response Object
func (BatchDeleteHostsResponse) String ¶ added in v0.1.105
func (o BatchDeleteHostsResponse) String() string
type BatchUpdateApplicationPermissionsRequest ¶ added in v0.1.105
type BatchUpdateApplicationPermissionsRequest struct {
Body *BatchUpdateApplicationPermissionsRequestBody `json:"body,omitempty"`
}
BatchUpdateApplicationPermissionsRequest Request Object
func (BatchUpdateApplicationPermissionsRequest) String ¶ added in v0.1.105
func (o BatchUpdateApplicationPermissionsRequest) String() string
type BatchUpdateApplicationPermissionsRequestBody ¶ added in v0.1.105
type BatchUpdateApplicationPermissionsRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 应用列表 ApplicationIds []string `json:"application_ids"` // 角色权限 Roles []AppPermission `json:"roles"` }
func (BatchUpdateApplicationPermissionsRequestBody) String ¶ added in v0.1.105
func (o BatchUpdateApplicationPermissionsRequestBody) String() string
type BatchUpdateApplicationPermissionsResponse ¶ added in v0.1.105
type BatchUpdateApplicationPermissionsResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
BatchUpdateApplicationPermissionsResponse Response Object
func (BatchUpdateApplicationPermissionsResponse) String ¶ added in v0.1.105
func (o BatchUpdateApplicationPermissionsResponse) String() string
type BatchUpdatePermissionLevelRequest ¶ added in v0.1.105
type BatchUpdatePermissionLevelRequest struct {
Body *BatchUpdatePermissionLevelRequestBody `json:"body,omitempty"`
}
BatchUpdatePermissionLevelRequest Request Object
func (BatchUpdatePermissionLevelRequest) String ¶ added in v0.1.105
func (o BatchUpdatePermissionLevelRequest) String() string
type BatchUpdatePermissionLevelRequestBody ¶ added in v0.1.105
type BatchUpdatePermissionLevelRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 应用鉴权级别,instance:实例级;project:项目级 PermissionLevel BatchUpdatePermissionLevelRequestBodyPermissionLevel `json:"permission_level"` // 应用id列表 ApplicationIds []string `json:"application_ids"` }
BatchUpdatePermissionLevelRequestBody 批量配置应用下鉴权级别请求体
func (BatchUpdatePermissionLevelRequestBody) String ¶ added in v0.1.105
func (o BatchUpdatePermissionLevelRequestBody) String() string
type BatchUpdatePermissionLevelRequestBodyPermissionLevel ¶ added in v0.1.105
type BatchUpdatePermissionLevelRequestBodyPermissionLevel struct {
// contains filtered or unexported fields
}
func (BatchUpdatePermissionLevelRequestBodyPermissionLevel) MarshalJSON ¶ added in v0.1.105
func (c BatchUpdatePermissionLevelRequestBodyPermissionLevel) MarshalJSON() ([]byte, error)
func (*BatchUpdatePermissionLevelRequestBodyPermissionLevel) UnmarshalJSON ¶ added in v0.1.105
func (c *BatchUpdatePermissionLevelRequestBodyPermissionLevel) UnmarshalJSON(b []byte) error
func (BatchUpdatePermissionLevelRequestBodyPermissionLevel) Value ¶ added in v0.1.105
func (c BatchUpdatePermissionLevelRequestBodyPermissionLevel) Value() string
type BatchUpdatePermissionLevelRequestBodyPermissionLevelEnum ¶ added in v0.1.105
type BatchUpdatePermissionLevelRequestBodyPermissionLevelEnum struct { PROJECT BatchUpdatePermissionLevelRequestBodyPermissionLevel INSTANCE BatchUpdatePermissionLevelRequestBodyPermissionLevel }
func GetBatchUpdatePermissionLevelRequestBodyPermissionLevelEnum ¶ added in v0.1.105
func GetBatchUpdatePermissionLevelRequestBodyPermissionLevelEnum() BatchUpdatePermissionLevelRequestBodyPermissionLevelEnum
type BatchUpdatePermissionLevelResponse ¶ added in v0.1.105
type BatchUpdatePermissionLevelResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
BatchUpdatePermissionLevelResponse Response Object
func (BatchUpdatePermissionLevelResponse) String ¶ added in v0.1.105
func (o BatchUpdatePermissionLevelResponse) String() string
type CheckCanCreateRequest ¶ added in v0.1.105
type CheckCanCreateRequest struct { // 项目id ProjectId string `json:"project_id"` }
CheckCanCreateRequest Request Object
func (CheckCanCreateRequest) String ¶ added in v0.1.105
func (o CheckCanCreateRequest) String() string
type CheckCanCreateResponse ¶ added in v0.1.105
type CheckCanCreateResponse struct { Result *CheckCanCreateResponseBodyResult `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
CheckCanCreateResponse Response Object
func (CheckCanCreateResponse) String ¶ added in v0.1.105
func (o CheckCanCreateResponse) String() string
type CheckCanCreateResponseBodyResult ¶ added in v0.1.105
type CheckCanCreateResponseBodyResult struct { // 是否具有创建应用的权限 Creatable *bool `json:"creatable,omitempty"` }
CheckCanCreateResponseBodyResult 是否具有创建应用的权限结果
func (CheckCanCreateResponseBodyResult) String ¶ added in v0.1.105
func (o CheckCanCreateResponseBodyResult) String() string
type CheckIsDuplicateAppNameRequest ¶ added in v0.1.105
type CheckIsDuplicateAppNameRequest struct { // 应用名称 Name string `json:"name"` // 项目id ProjectId string `json:"project_id"` }
CheckIsDuplicateAppNameRequest Request Object
func (CheckIsDuplicateAppNameRequest) String ¶ added in v0.1.105
func (o CheckIsDuplicateAppNameRequest) String() string
type CheckIsDuplicateAppNameResponse ¶ added in v0.1.105
type CheckIsDuplicateAppNameResponse struct { // 项目下是否存在同名应用 Result *bool `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
CheckIsDuplicateAppNameResponse Response Object
func (CheckIsDuplicateAppNameResponse) String ¶ added in v0.1.105
func (o CheckIsDuplicateAppNameResponse) String() string
type CheckWhetherHostGroupCanBeCreatedRequest ¶ added in v0.1.105
type CheckWhetherHostGroupCanBeCreatedRequest struct { // 项目id ProjectId string `json:"project_id"` }
CheckWhetherHostGroupCanBeCreatedRequest Request Object
func (CheckWhetherHostGroupCanBeCreatedRequest) String ¶ added in v0.1.105
func (o CheckWhetherHostGroupCanBeCreatedRequest) String() string
type CheckWhetherHostGroupCanBeCreatedResponse ¶ added in v0.1.105
type CheckWhetherHostGroupCanBeCreatedResponse struct { // 是否有创建主机集群权限,true 有权限 false 无权限 CanCreated *bool `json:"can_created,omitempty"` HttpStatusCode int `json:"-"` }
CheckWhetherHostGroupCanBeCreatedResponse Response Object
func (CheckWhetherHostGroupCanBeCreatedResponse) String ¶ added in v0.1.105
func (o CheckWhetherHostGroupCanBeCreatedResponse) String() string
type ConfigInfo ¶ added in v0.1.61
type ConfigInfo struct { // 参数名 Name *string `json:"name,omitempty"` // 参数类型 Type *string `json:"type,omitempty"` // 参数值 Value *string `json:"value,omitempty"` }
ConfigInfo 部署任务执行参数
func (ConfigInfo) String ¶ added in v0.1.61
func (o ConfigInfo) String() string
type ConfigInfoDo ¶
type ConfigInfoDo struct { // 部署参数名称,用户可自定义 Name *string `json:"name,omitempty"` // 类型,如果填写name字段,则type必选,若type为空则默认为text Type *ConfigInfoDoType `json:"type,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 部署参数值 Value *string `json:"value,omitempty"` // 部署任务id,创建应用后由系统自动生成 TaskId *string `json:"task_id,omitempty"` // 表示是否为静态参数,值为1时不支持部署时变更参数,值为0时支持,并且也会把该参数上报流水线 StaticStatus *ConfigInfoDoStaticStatus `json:"static_status,omitempty"` // 当参数类型为enum枚举类型时,必须填写可选值 Limits *[]ParamTypeLimits `json:"limits,omitempty"` }
ConfigInfoDo 部署参数类
func (ConfigInfoDo) String ¶
func (o ConfigInfoDo) String() string
type ConfigInfoDoStaticStatus ¶
type ConfigInfoDoStaticStatus struct {
// contains filtered or unexported fields
}
func (ConfigInfoDoStaticStatus) MarshalJSON ¶
func (c ConfigInfoDoStaticStatus) MarshalJSON() ([]byte, error)
func (*ConfigInfoDoStaticStatus) UnmarshalJSON ¶
func (c *ConfigInfoDoStaticStatus) UnmarshalJSON(b []byte) error
func (ConfigInfoDoStaticStatus) Value ¶
func (c ConfigInfoDoStaticStatus) Value() int32
type ConfigInfoDoStaticStatusEnum ¶
type ConfigInfoDoStaticStatusEnum struct { E_0 ConfigInfoDoStaticStatus E_1 ConfigInfoDoStaticStatus }
func GetConfigInfoDoStaticStatusEnum ¶
func GetConfigInfoDoStaticStatusEnum() ConfigInfoDoStaticStatusEnum
type ConfigInfoDoType ¶
type ConfigInfoDoType struct {
// contains filtered or unexported fields
}
func (ConfigInfoDoType) MarshalJSON ¶
func (c ConfigInfoDoType) MarshalJSON() ([]byte, error)
func (*ConfigInfoDoType) UnmarshalJSON ¶
func (c *ConfigInfoDoType) UnmarshalJSON(b []byte) error
func (ConfigInfoDoType) Value ¶
func (c ConfigInfoDoType) Value() string
type ConfigInfoDoTypeEnum ¶
type ConfigInfoDoTypeEnum struct { TEXT ConfigInfoDoType HOST_GROUP ConfigInfoDoType ENUM ConfigInfoDoType ENCRYPT ConfigInfoDoType }
func GetConfigInfoDoTypeEnum ¶
func GetConfigInfoDoTypeEnum() ConfigInfoDoTypeEnum
type CopyApplicationRequest ¶ added in v0.1.105
type CopyApplicationRequest struct { // 应用id AppId string `json:"app_id"` }
CopyApplicationRequest Request Object
func (CopyApplicationRequest) String ¶ added in v0.1.105
func (o CopyApplicationRequest) String() string
type CopyApplicationResponse ¶ added in v0.1.105
type CopyApplicationResponse struct { Result *AppBaseInfo `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
CopyApplicationResponse Response Object
func (CopyApplicationResponse) String ¶ added in v0.1.105
func (o CopyApplicationResponse) String() string
type CopyHostsToTargetRequest ¶ added in v0.1.105
type CopyHostsToTargetRequest struct { // 源主机集群id GroupId string `json:"group_id"` Body *DeploymentHostsCopyRequest `json:"body,omitempty"` }
CopyHostsToTargetRequest Request Object
func (CopyHostsToTargetRequest) String ¶ added in v0.1.105
func (o CopyHostsToTargetRequest) String() string
type CopyHostsToTargetResponse ¶ added in v0.1.105
type CopyHostsToTargetResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 返回结果 Result *bool `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CopyHostsToTargetResponse Response Object
func (CopyHostsToTargetResponse) String ¶ added in v0.1.105
func (o CopyHostsToTargetResponse) String() string
type CreateAppGroupsRequest ¶ added in v0.1.105
type CreateAppGroupsRequest struct { // 项目Id ProjectId string `json:"project_id"` Body *CreateAppGroupsRequestBody `json:"body,omitempty"` }
CreateAppGroupsRequest Request Object
func (CreateAppGroupsRequest) String ¶ added in v0.1.105
func (o CreateAppGroupsRequest) String() string
type CreateAppGroupsRequestBody ¶ added in v0.1.105
type CreateAppGroupsRequestBody struct { // 分组名称 Name string `json:"name"` // 父分组id ParentId *string `json:"parent_id,omitempty"` }
CreateAppGroupsRequestBody 创建分组请求体
func (CreateAppGroupsRequestBody) String ¶ added in v0.1.105
func (o CreateAppGroupsRequestBody) String() string
type CreateAppGroupsResponse ¶ added in v0.1.105
type CreateAppGroupsResponse struct { // 分组id Result *string `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
CreateAppGroupsResponse Response Object
func (CreateAppGroupsResponse) String ¶ added in v0.1.105
func (o CreateAppGroupsResponse) String() string
type CreateAppRequest ¶ added in v0.1.57
type CreateAppRequest struct {
Body *CreateAppRequestBody `json:"body,omitempty"`
}
CreateAppRequest Request Object
func (CreateAppRequest) String ¶ added in v0.1.57
func (o CreateAppRequest) String() string
type CreateAppRequestBody ¶ added in v0.1.57
type CreateAppRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 应用名称 Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 分组id GroupId *string `json:"group_id,omitempty"` // 是否为草稿 IsDraft bool `json:"is_draft"` // 创建类型,创建类型只有一个'template',即根据模板创建 CreateType CreateAppRequestBodyCreateType `json:"create_type"` // 自定义slave资源池id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` Trigger *TaskTriggerVo `json:"trigger,omitempty"` // 部署任务列表信息 ArrangeInfos *[]TaskV2RequestBody `json:"arrange_infos,omitempty"` }
CreateAppRequestBody 创建应用请求体
func (CreateAppRequestBody) String ¶ added in v0.1.57
func (o CreateAppRequestBody) String() string
type CreateAppRequestBodyCreateType ¶ added in v0.1.57
type CreateAppRequestBodyCreateType struct {
// contains filtered or unexported fields
}
func (CreateAppRequestBodyCreateType) MarshalJSON ¶ added in v0.1.57
func (c CreateAppRequestBodyCreateType) MarshalJSON() ([]byte, error)
func (*CreateAppRequestBodyCreateType) UnmarshalJSON ¶ added in v0.1.57
func (c *CreateAppRequestBodyCreateType) UnmarshalJSON(b []byte) error
func (CreateAppRequestBodyCreateType) Value ¶ added in v0.1.57
func (c CreateAppRequestBodyCreateType) Value() string
type CreateAppRequestBodyCreateTypeEnum ¶ added in v0.1.57
type CreateAppRequestBodyCreateTypeEnum struct {
TEMPLATE CreateAppRequestBodyCreateType
}
func GetCreateAppRequestBodyCreateTypeEnum ¶ added in v0.1.57
func GetCreateAppRequestBodyCreateTypeEnum() CreateAppRequestBodyCreateTypeEnum
type CreateAppResponse ¶ added in v0.1.57
type CreateAppResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *AppBaseResponse `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
CreateAppResponse Response Object
func (CreateAppResponse) String ¶ added in v0.1.57
func (o CreateAppResponse) String() string
type CreateDeployTaskByTemplateRequest ¶
type CreateDeployTaskByTemplateRequest struct {
Body *TemplateTaskRequestBody `json:"body,omitempty"`
}
CreateDeployTaskByTemplateRequest Request Object
func (CreateDeployTaskByTemplateRequest) String ¶
func (o CreateDeployTaskByTemplateRequest) String() string
type CreateDeployTaskByTemplateResponse ¶
type CreateDeployTaskByTemplateResponse struct { // 应用名称 TaskName *string `json:"task_name,omitempty"` // 部署任务id TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDeployTaskByTemplateResponse Response Object
func (CreateDeployTaskByTemplateResponse) String ¶
func (o CreateDeployTaskByTemplateResponse) String() string
type CreateDeploymentGroupRequest ¶
type CreateDeploymentGroupRequest struct {
Body *DeploymentGroup `json:"body,omitempty"`
}
CreateDeploymentGroupRequest Request Object
func (CreateDeploymentGroupRequest) String ¶
func (o CreateDeploymentGroupRequest) String() string
type CreateDeploymentGroupResponse ¶
type CreateDeploymentGroupResponse struct { // 主机集群id GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDeploymentGroupResponse Response Object
func (CreateDeploymentGroupResponse) String ¶
func (o CreateDeploymentGroupResponse) String() string
type CreateDeploymentHostRequest ¶
type CreateDeploymentHostRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *DeploymentHost `json:"body,omitempty"` }
CreateDeploymentHostRequest Request Object
func (CreateDeploymentHostRequest) String ¶
func (o CreateDeploymentHostRequest) String() string
type CreateDeploymentHostResponse ¶
type CreateDeploymentHostResponse struct { // 主机id HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDeploymentHostResponse Response Object
func (CreateDeploymentHostResponse) String ¶
func (o CreateDeploymentHostResponse) String() string
type CreateEnvironmentRequest ¶ added in v0.1.57
type CreateEnvironmentRequest struct { // 应用id ApplicationId string `json:"application_id"` Body *EnvironmentRequestBody `json:"body,omitempty"` }
CreateEnvironmentRequest Request Object
func (CreateEnvironmentRequest) String ¶ added in v0.1.57
func (o CreateEnvironmentRequest) String() string
type CreateEnvironmentResponse ¶ added in v0.1.57
type CreateEnvironmentResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 环境id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
CreateEnvironmentResponse Response Object
func (CreateEnvironmentResponse) String ¶ added in v0.1.57
func (o CreateEnvironmentResponse) String() string
type CreateHostClusterRequest ¶ added in v0.1.57
type CreateHostClusterRequest struct {
Body *CreateHostClusterRequestBody `json:"body,omitempty"`
}
CreateHostClusterRequest Request Object
func (CreateHostClusterRequest) String ¶ added in v0.1.57
func (o CreateHostClusterRequest) String() string
type CreateHostClusterRequestBody ¶ added in v0.1.57
type CreateHostClusterRequestBody struct { // 主机集群名 Name string `json:"name"` // 项目id ProjectId string `json:"project_id"` // 操作系统:windows|linux Os CreateHostClusterRequestBodyOs `json:"os"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 主机集群是否为代理机接入模式, 1:是 0:否 IsProxyMode int32 `json:"is_proxy_mode"` }
CreateHostClusterRequestBody 主机集群详细信息
func (CreateHostClusterRequestBody) String ¶ added in v0.1.57
func (o CreateHostClusterRequestBody) String() string
type CreateHostClusterRequestBodyOs ¶ added in v0.1.57
type CreateHostClusterRequestBodyOs struct {
// contains filtered or unexported fields
}
func (CreateHostClusterRequestBodyOs) MarshalJSON ¶ added in v0.1.57
func (c CreateHostClusterRequestBodyOs) MarshalJSON() ([]byte, error)
func (*CreateHostClusterRequestBodyOs) UnmarshalJSON ¶ added in v0.1.57
func (c *CreateHostClusterRequestBodyOs) UnmarshalJSON(b []byte) error
func (CreateHostClusterRequestBodyOs) Value ¶ added in v0.1.57
func (c CreateHostClusterRequestBodyOs) Value() string
type CreateHostClusterRequestBodyOsEnum ¶ added in v0.1.57
type CreateHostClusterRequestBodyOsEnum struct { WINDOWS CreateHostClusterRequestBodyOs LINUX CreateHostClusterRequestBodyOs }
func GetCreateHostClusterRequestBodyOsEnum ¶ added in v0.1.57
func GetCreateHostClusterRequestBodyOsEnum() CreateHostClusterRequestBodyOsEnum
type CreateHostClusterResponse ¶ added in v0.1.57
type CreateHostClusterResponse struct { // 主机集群id Id *string `json:"id,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
CreateHostClusterResponse Response Object
func (CreateHostClusterResponse) String ¶ added in v0.1.57
func (o CreateHostClusterResponse) String() string
type CreateHostRequest ¶ added in v0.1.57
type CreateHostRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *CreateHostRequestBody `json:"body,omitempty"` }
CreateHostRequest Request Object
func (CreateHostRequest) String ¶ added in v0.1.57
func (o CreateHostRequest) String() string
type CreateHostRequestBody ¶ added in v0.1.57
type CreateHostRequestBody struct { // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 操作系统:windows|linux,需要和主机集群保持一致 Os CreateHostRequestBodyOs `json:"os"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *HostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` }
CreateHostRequestBody 主机信息body体
func (CreateHostRequestBody) String ¶ added in v0.1.57
func (o CreateHostRequestBody) String() string
type CreateHostRequestBodyOs ¶ added in v0.1.57
type CreateHostRequestBodyOs struct {
// contains filtered or unexported fields
}
func (CreateHostRequestBodyOs) MarshalJSON ¶ added in v0.1.57
func (c CreateHostRequestBodyOs) MarshalJSON() ([]byte, error)
func (*CreateHostRequestBodyOs) UnmarshalJSON ¶ added in v0.1.57
func (c *CreateHostRequestBodyOs) UnmarshalJSON(b []byte) error
func (CreateHostRequestBodyOs) Value ¶ added in v0.1.57
func (c CreateHostRequestBodyOs) Value() string
type CreateHostRequestBodyOsEnum ¶ added in v0.1.57
type CreateHostRequestBodyOsEnum struct { WINDOWS CreateHostRequestBodyOs LINUX CreateHostRequestBodyOs }
func GetCreateHostRequestBodyOsEnum ¶ added in v0.1.57
func GetCreateHostRequestBodyOsEnum() CreateHostRequestBodyOsEnum
type CreateHostResponse ¶ added in v0.1.57
type CreateHostResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
CreateHostResponse Response Object
func (CreateHostResponse) String ¶ added in v0.1.57
func (o CreateHostResponse) String() string
type DeleteAppGroupsRequest ¶ added in v0.1.105
type DeleteAppGroupsRequest struct { // 项目Id ProjectId string `json:"project_id"` // 分组Id GroupId string `json:"group_id"` }
DeleteAppGroupsRequest Request Object
func (DeleteAppGroupsRequest) String ¶ added in v0.1.105
func (o DeleteAppGroupsRequest) String() string
type DeleteAppGroupsResponse ¶ added in v0.1.105
type DeleteAppGroupsResponse struct { // 分组id Result *string `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
DeleteAppGroupsResponse Response Object
func (DeleteAppGroupsResponse) String ¶ added in v0.1.105
func (o DeleteAppGroupsResponse) String() string
type DeleteApplicationRequest ¶ added in v0.1.57
type DeleteApplicationRequest struct { // 应用id AppId string `json:"app_id"` }
DeleteApplicationRequest Request Object
func (DeleteApplicationRequest) String ¶ added in v0.1.57
func (o DeleteApplicationRequest) String() string
type DeleteApplicationResponse ¶ added in v0.1.57
type DeleteApplicationResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *AppBaseResponse `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteApplicationResponse Response Object
func (DeleteApplicationResponse) String ¶ added in v0.1.57
func (o DeleteApplicationResponse) String() string
type DeleteDeployTaskRequest ¶
type DeleteDeployTaskRequest struct { // 部署任务id TaskId string `json:"task_id"` }
DeleteDeployTaskRequest Request Object
func (DeleteDeployTaskRequest) String ¶
func (o DeleteDeployTaskRequest) String() string
type DeleteDeployTaskResponse ¶
type DeleteDeployTaskResponse struct { // 部署任务id TaskId *string `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDeployTaskResponse Response Object
func (DeleteDeployTaskResponse) String ¶
func (o DeleteDeployTaskResponse) String() string
type DeleteDeploymentGroupRequest ¶
type DeleteDeploymentGroupRequest struct { // 主机集群id GroupId string `json:"group_id"` }
DeleteDeploymentGroupRequest Request Object
func (DeleteDeploymentGroupRequest) String ¶
func (o DeleteDeploymentGroupRequest) String() string
type DeleteDeploymentGroupResponse ¶
type DeleteDeploymentGroupResponse struct { // 主机集群id GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDeploymentGroupResponse Response Object
func (DeleteDeploymentGroupResponse) String ¶
func (o DeleteDeploymentGroupResponse) String() string
type DeleteDeploymentHostRequest ¶
type DeleteDeploymentHostRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` }
DeleteDeploymentHostRequest Request Object
func (DeleteDeploymentHostRequest) String ¶
func (o DeleteDeploymentHostRequest) String() string
type DeleteDeploymentHostResponse ¶
type DeleteDeploymentHostResponse struct { // 主机id HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDeploymentHostResponse Response Object
func (DeleteDeploymentHostResponse) String ¶
func (o DeleteDeploymentHostResponse) String() string
type DeleteEnvironmentRequest ¶ added in v0.1.57
type DeleteEnvironmentRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` }
DeleteEnvironmentRequest Request Object
func (DeleteEnvironmentRequest) String ¶ added in v0.1.57
func (o DeleteEnvironmentRequest) String() string
type DeleteEnvironmentResponse ¶ added in v0.1.57
type DeleteEnvironmentResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 环境id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteEnvironmentResponse Response Object
func (DeleteEnvironmentResponse) String ¶ added in v0.1.57
func (o DeleteEnvironmentResponse) String() string
type DeleteHostClusterRequest ¶ added in v0.1.105
type DeleteHostClusterRequest struct { // 主机集群id GroupId string `json:"group_id"` }
DeleteHostClusterRequest Request Object
func (DeleteHostClusterRequest) String ¶ added in v0.1.105
func (o DeleteHostClusterRequest) String() string
type DeleteHostClusterResponse ¶ added in v0.1.105
type DeleteHostClusterResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机集群id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteHostClusterResponse Response Object
func (DeleteHostClusterResponse) String ¶ added in v0.1.105
func (o DeleteHostClusterResponse) String() string
type DeleteHostFromEnvironmentRequest ¶ added in v0.1.57
type DeleteHostFromEnvironmentRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` // 主机id HostId string `json:"host_id"` }
DeleteHostFromEnvironmentRequest Request Object
func (DeleteHostFromEnvironmentRequest) String ¶ added in v0.1.57
func (o DeleteHostFromEnvironmentRequest) String() string
type DeleteHostFromEnvironmentResponse ¶ added in v0.1.57
type DeleteHostFromEnvironmentResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 环境id Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DeleteHostFromEnvironmentResponse Response Object
func (DeleteHostFromEnvironmentResponse) String ¶ added in v0.1.57
func (o DeleteHostFromEnvironmentResponse) String() string
type DeleteHostRequest ¶ added in v0.1.105
type DeleteHostRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` }
DeleteHostRequest Request Object
func (DeleteHostRequest) String ¶ added in v0.1.105
func (o DeleteHostRequest) String() string
type DeleteHostResponse ¶ added in v0.1.105
type DeleteHostResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteHostResponse Response Object
func (DeleteHostResponse) String ¶ added in v0.1.105
func (o DeleteHostResponse) String() string
type DeployV2OperationsDo ¶ added in v0.1.57
type DeployV2OperationsDo struct { // 步骤id Id *string `json:"id,omitempty"` // 步骤名称 Name *string `json:"name,omitempty"` // 步骤描述 Description *string `json:"description,omitempty"` // 下载地址 Code *string `json:"code,omitempty"` // 步骤详细定义 Params *string `json:"params,omitempty"` // 入口函数 Entrance *string `json:"entrance,omitempty"` // 版本 Version *string `json:"version,omitempty"` // 模块id ModuleId *string `json:"module_id,omitempty"` }
func (DeployV2OperationsDo) String ¶ added in v0.1.57
func (o DeployV2OperationsDo) String() string
type DeploymentGroup ¶
type DeploymentGroup struct { // 主机集群名 Name string `json:"name"` // 局点信息 RegionName string `json:"region_name"` // 项目id ProjectId string `json:"project_id"` // 操作信息:windows|linux Os DeploymentGroupOs `json:"os"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 主机集群是否为代理类型 IsProxyMode *int32 `json:"is_proxy_mode,omitempty"` }
DeploymentGroup 主机集群详细信息
func (DeploymentGroup) String ¶
func (o DeploymentGroup) String() string
type DeploymentGroupDetail ¶
type DeploymentGroupDetail struct { // 主机集群id GroupId *string `json:"group_id,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 修改时间 UpdatedTime *string `json:"updated_time,omitempty"` // 集群内主机数量,一个主机集群内最多可添加200台主机 HostCount *int32 `json:"host_count,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 主机集群名 Name *string `json:"name,omitempty"` // 局点信息 RegionName *string `json:"region_name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 操作系统:windows|linux Os *string `json:"os,omitempty"` // 自动测试功能已下架,该字段已失效 AutoConnectionTestSwitch *int32 `json:"auto_connection_test_switch,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` CreatedBy *UserInfo `json:"created_by,omitempty"` UpdatedBy *UserInfo `json:"updated_by,omitempty"` // 描述 Description *string `json:"description,omitempty"` Permission *PermissionGroupDetail `json:"permission,omitempty"` }
DeploymentGroupDetail 主机集群详情响应体
func (DeploymentGroupDetail) String ¶
func (o DeploymentGroupDetail) String() string
type DeploymentGroupOs ¶
type DeploymentGroupOs struct {
// contains filtered or unexported fields
}
func (DeploymentGroupOs) MarshalJSON ¶
func (c DeploymentGroupOs) MarshalJSON() ([]byte, error)
func (*DeploymentGroupOs) UnmarshalJSON ¶
func (c *DeploymentGroupOs) UnmarshalJSON(b []byte) error
func (DeploymentGroupOs) Value ¶
func (c DeploymentGroupOs) Value() string
type DeploymentGroupOsEnum ¶
type DeploymentGroupOsEnum struct { WINDOWS DeploymentGroupOs LINUX DeploymentGroupOs }
func GetDeploymentGroupOsEnum ¶
func GetDeploymentGroupOsEnum() DeploymentGroupOsEnum
type DeploymentGroupUpdateRequest ¶
type DeploymentGroupUpdateRequest struct { // 主机集群名 Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 自定义slave资源池id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 自动测试功能已下架,该字段已失效 AutoConnectionTestSwitch *DeploymentGroupUpdateRequestAutoConnectionTestSwitch `json:"auto_connection_test_switch,omitempty"` }
DeploymentGroupUpdateRequest
func (DeploymentGroupUpdateRequest) String ¶
func (o DeploymentGroupUpdateRequest) String() string
type DeploymentGroupUpdateRequestAutoConnectionTestSwitch ¶
type DeploymentGroupUpdateRequestAutoConnectionTestSwitch struct {
// contains filtered or unexported fields
}
func (DeploymentGroupUpdateRequestAutoConnectionTestSwitch) MarshalJSON ¶
func (c DeploymentGroupUpdateRequestAutoConnectionTestSwitch) MarshalJSON() ([]byte, error)
func (*DeploymentGroupUpdateRequestAutoConnectionTestSwitch) UnmarshalJSON ¶
func (c *DeploymentGroupUpdateRequestAutoConnectionTestSwitch) UnmarshalJSON(b []byte) error
func (DeploymentGroupUpdateRequestAutoConnectionTestSwitch) Value ¶
func (c DeploymentGroupUpdateRequestAutoConnectionTestSwitch) Value() int32
type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum ¶
type DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum struct { E_0 DeploymentGroupUpdateRequestAutoConnectionTestSwitch E_1 DeploymentGroupUpdateRequestAutoConnectionTestSwitch E_2 DeploymentGroupUpdateRequestAutoConnectionTestSwitch }
func GetDeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum ¶
func GetDeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum() DeploymentGroupUpdateRequestAutoConnectionTestSwitchEnum
type DeploymentHost ¶
type DeploymentHost struct { // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 操作系统:windows|linux,需要和主机集群保持一致 Os DeploymentHostOs `json:"os"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` }
DeploymentHost 主机信息body体
func (DeploymentHost) String ¶
func (o DeploymentHost) String() string
type DeploymentHostAuthorizationBody ¶
type DeploymentHostAuthorizationBody struct { // 用户名,可输入中英文,数字和符号(-_.)。 Username string `json:"username"` // 密码,认证类型为0时,密码必填。 Password *string `json:"password,omitempty"` // 密钥,认证类型为1时,密钥必填 PrivateKey *string `json:"private_key,omitempty"` // 认证类型,0表示使用密码认证,1表示使用密钥认证 TrustedType DeploymentHostAuthorizationBodyTrustedType `json:"trusted_type"` }
DeploymentHostAuthorizationBody 登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可。
func (DeploymentHostAuthorizationBody) String ¶
func (o DeploymentHostAuthorizationBody) String() string
type DeploymentHostAuthorizationBodyTrustedType ¶
type DeploymentHostAuthorizationBodyTrustedType struct {
// contains filtered or unexported fields
}
func (DeploymentHostAuthorizationBodyTrustedType) MarshalJSON ¶
func (c DeploymentHostAuthorizationBodyTrustedType) MarshalJSON() ([]byte, error)
func (*DeploymentHostAuthorizationBodyTrustedType) UnmarshalJSON ¶
func (c *DeploymentHostAuthorizationBodyTrustedType) UnmarshalJSON(b []byte) error
func (DeploymentHostAuthorizationBodyTrustedType) Value ¶
func (c DeploymentHostAuthorizationBodyTrustedType) Value() int32
type DeploymentHostAuthorizationBodyTrustedTypeEnum ¶
type DeploymentHostAuthorizationBodyTrustedTypeEnum struct { E_0 DeploymentHostAuthorizationBodyTrustedType E_1 DeploymentHostAuthorizationBodyTrustedType }
func GetDeploymentHostAuthorizationBodyTrustedTypeEnum ¶
func GetDeploymentHostAuthorizationBodyTrustedTypeEnum() DeploymentHostAuthorizationBodyTrustedTypeEnum
type DeploymentHostDetail ¶
type DeploymentHostDetail struct { // 主机集群id GroupId string `json:"group_id"` // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 操作系统:windows|linux,需要和主机集群保持一致 Os DeploymentHostDetailOs `json:"os"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` // 主机id HostId *string `json:"host_id,omitempty"` ProxyHost *DeploymentHostDetail `json:"proxy_host,omitempty"` // 主机集群名 GroupName *string `json:"group_name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` Permission *PermissionHostDetail `json:"permission,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 最后连接时间 LastestConnectionTime *string `json:"lastest_connection_time,omitempty"` // 连接状态 ConnectionStatus *string `json:"connection_status,omitempty"` // 拥有者名称 OwnerName *string `json:"owner_name,omitempty"` // 维护者id UpdatorId *string `json:"updator_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 昵称 NickName *string `json:"nick_name,omitempty"` // 拥有者id OwnerId *string `json:"owner_id,omitempty"` // 维护者名称 UpdatorName *string `json:"updator_name,omitempty"` // 连接结果 ConnectionResult *string `json:"connection_result,omitempty"` }
DeploymentHostDetail 主机信息详情
func (DeploymentHostDetail) String ¶
func (o DeploymentHostDetail) String() string
type DeploymentHostDetailOs ¶
type DeploymentHostDetailOs struct {
// contains filtered or unexported fields
}
func (DeploymentHostDetailOs) MarshalJSON ¶
func (c DeploymentHostDetailOs) MarshalJSON() ([]byte, error)
func (*DeploymentHostDetailOs) UnmarshalJSON ¶
func (c *DeploymentHostDetailOs) UnmarshalJSON(b []byte) error
func (DeploymentHostDetailOs) Value ¶
func (c DeploymentHostDetailOs) Value() string
type DeploymentHostDetailOsEnum ¶
type DeploymentHostDetailOsEnum struct { WINDOWS DeploymentHostDetailOs LINUX DeploymentHostDetailOs }
func GetDeploymentHostDetailOsEnum ¶
func GetDeploymentHostDetailOsEnum() DeploymentHostDetailOsEnum
type DeploymentHostInfo ¶
type DeploymentHostInfo struct { // 主机集群id GroupId string `json:"group_id"` // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 操作系统:windows|linux,需要和主机集群保持一致 Os DeploymentHostInfoOs `json:"os"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` }
DeploymentHostInfo 主机信息body体
func (DeploymentHostInfo) String ¶
func (o DeploymentHostInfo) String() string
type DeploymentHostInfoOs ¶
type DeploymentHostInfoOs struct {
// contains filtered or unexported fields
}
func (DeploymentHostInfoOs) MarshalJSON ¶
func (c DeploymentHostInfoOs) MarshalJSON() ([]byte, error)
func (*DeploymentHostInfoOs) UnmarshalJSON ¶
func (c *DeploymentHostInfoOs) UnmarshalJSON(b []byte) error
func (DeploymentHostInfoOs) Value ¶
func (c DeploymentHostInfoOs) Value() string
type DeploymentHostInfoOsEnum ¶
type DeploymentHostInfoOsEnum struct { WINDOWS DeploymentHostInfoOs LINUX DeploymentHostInfoOs }
func GetDeploymentHostInfoOsEnum ¶
func GetDeploymentHostInfoOsEnum() DeploymentHostInfoOsEnum
type DeploymentHostListEntity ¶ added in v0.1.105
type DeploymentHostListEntity struct { // 主机id列表 HostIdList *[]string `json:"host_id_list,omitempty"` }
func (DeploymentHostListEntity) String ¶ added in v0.1.105
func (o DeploymentHostListEntity) String() string
type DeploymentHostOs ¶
type DeploymentHostOs struct {
// contains filtered or unexported fields
}
func (DeploymentHostOs) MarshalJSON ¶
func (c DeploymentHostOs) MarshalJSON() ([]byte, error)
func (*DeploymentHostOs) UnmarshalJSON ¶
func (c *DeploymentHostOs) UnmarshalJSON(b []byte) error
func (DeploymentHostOs) Value ¶
func (c DeploymentHostOs) Value() string
type DeploymentHostOsEnum ¶
type DeploymentHostOsEnum struct { WINDOWS DeploymentHostOs LINUX DeploymentHostOs }
func GetDeploymentHostOsEnum ¶
func GetDeploymentHostOsEnum() DeploymentHostOsEnum
type DeploymentHostRequest ¶
type DeploymentHostRequest struct { // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` // 是否将当前主机的密码信息同步到同一项目下其他主机集群中具有相同IP、用户名、端口的主机。 Sync *bool `json:"sync,omitempty"` }
DeploymentHostRequest 主机信息
func (DeploymentHostRequest) String ¶
func (o DeploymentHostRequest) String() string
type DeploymentHostRequestExternal ¶ added in v0.1.105
type DeploymentHostRequestExternal struct { // 是否为代理主机 AsProxy *bool `json:"as_proxy,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization,omitempty"` // 主机名称 HostName string `json:"host_name"` // 主机ip,如:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 代理主机id ProxyHostId *string `json:"proxy_host_id,omitempty"` // 是否同步主机信息 Sync *bool `json:"sync,omitempty"` // 是否安装icAgent InstallIcagent *bool `json:"install_icagent,omitempty"` }
func (DeploymentHostRequestExternal) String ¶ added in v0.1.105
func (o DeploymentHostRequestExternal) String() string
type DeploymentHostsCopyRequest ¶ added in v0.1.105
type DeploymentHostsCopyRequest struct { // 主机id列表 HostUuids []string `json:"host_uuids"` // 目标主机集群id TargetGroupId string `json:"target_group_id"` }
func (DeploymentHostsCopyRequest) String ¶ added in v0.1.105
func (o DeploymentHostsCopyRequest) String() string
type DeploymentUpdateHost ¶
type DeploymentUpdateHost struct { // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` }
DeploymentUpdateHost 主机信息body体
func (DeploymentUpdateHost) String ¶
func (o DeploymentUpdateHost) String() string
type DevUcClusterPermission ¶ added in v0.1.105
type DevUcClusterPermission struct { // 局点信息 Region *string `json:"region,omitempty"` // 角色id RoleId *string `json:"role_id,omitempty"` // 角色id列表 DevucRoleIdList *[]string `json:"devuc_role_id_list,omitempty"` // 角色名称 Name *string `json:"name,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否有权限管理权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有拷贝权限 CanCopy *bool `json:"can_copy,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 角色类型,project-customized:自定义角色;template-project-customized:系统自定义角色; template-customized-inst:系统角色;cluster-creator:集群创建者;project_admin:项目创建者 RoleType *DevUcClusterPermissionRoleType `json:"role_type,omitempty"` }
DevUcClusterPermission 主机集群权限类
func (DevUcClusterPermission) String ¶ added in v0.1.105
func (o DevUcClusterPermission) String() string
type DevUcClusterPermissionRoleType ¶ added in v0.1.105
type DevUcClusterPermissionRoleType struct {
// contains filtered or unexported fields
}
func (DevUcClusterPermissionRoleType) MarshalJSON ¶ added in v0.1.105
func (c DevUcClusterPermissionRoleType) MarshalJSON() ([]byte, error)
func (*DevUcClusterPermissionRoleType) UnmarshalJSON ¶ added in v0.1.105
func (c *DevUcClusterPermissionRoleType) UnmarshalJSON(b []byte) error
func (DevUcClusterPermissionRoleType) Value ¶ added in v0.1.105
func (c DevUcClusterPermissionRoleType) Value() string
type DevUcClusterPermissionRoleTypeEnum ¶ added in v0.1.105
type DevUcClusterPermissionRoleTypeEnum struct { PROJECT_CUSTOMIZED DevUcClusterPermissionRoleType TEMPLATE_PROJECT_CUSTOMIZED DevUcClusterPermissionRoleType TEMPLATE_CUSTOMIZED_INST DevUcClusterPermissionRoleType CLUSTER_CREATOR DevUcClusterPermissionRoleType PROJECT_ADMIN DevUcClusterPermissionRoleType }
func GetDevUcClusterPermissionRoleTypeEnum ¶ added in v0.1.105
func GetDevUcClusterPermissionRoleTypeEnum() DevUcClusterPermissionRoleTypeEnum
type DevUcEnvironmentPermission ¶ added in v0.1.105
type DevUcEnvironmentPermission struct { // 权限id Id *int32 `json:"id,omitempty"` // 角色id RoleId *string `json:"role_id,omitempty"` // 角色id列表 DevucRoleIdList *[]string `json:"devuc_role_id_list,omitempty"` // 角色类型, environment-creator: 环境创建者; project: 项目管理员;template-customized-inst:系统角色; template-project-customized、project-customized:自定义角色 RoleType *DevUcEnvironmentPermissionRoleType `json:"role_type,omitempty"` // 角色名称 Name *string `json:"name,omitempty"` // 局点信息 Region *string `json:"region,omitempty"` // 环境id EnvironmentId *string `json:"environment_id,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有部署权限 CanDeploy *bool `json:"can_deploy,omitempty"` // 是否有权限管理权限 CanManage *bool `json:"can_manage,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` }
DevUcEnvironmentPermission 应用环境鉴权类
func (DevUcEnvironmentPermission) String ¶ added in v0.1.105
func (o DevUcEnvironmentPermission) String() string
type DevUcEnvironmentPermissionRoleType ¶ added in v0.1.105
type DevUcEnvironmentPermissionRoleType struct {
// contains filtered or unexported fields
}
func (DevUcEnvironmentPermissionRoleType) MarshalJSON ¶ added in v0.1.105
func (c DevUcEnvironmentPermissionRoleType) MarshalJSON() ([]byte, error)
func (*DevUcEnvironmentPermissionRoleType) UnmarshalJSON ¶ added in v0.1.105
func (c *DevUcEnvironmentPermissionRoleType) UnmarshalJSON(b []byte) error
func (DevUcEnvironmentPermissionRoleType) Value ¶ added in v0.1.105
func (c DevUcEnvironmentPermissionRoleType) Value() string
type DevUcEnvironmentPermissionRoleTypeEnum ¶ added in v0.1.105
type DevUcEnvironmentPermissionRoleTypeEnum struct { ENVIRONMENT_CREATOR DevUcEnvironmentPermissionRoleType PROJECT DevUcEnvironmentPermissionRoleType TEMPLATE_CUSTOMIZED_INST DevUcEnvironmentPermissionRoleType TEMPLATE_PROJECT_CUSTOMIZED DevUcEnvironmentPermissionRoleType PROJECT_CUSTOMIZED DevUcEnvironmentPermissionRoleType }
func GetDevUcEnvironmentPermissionRoleTypeEnum ¶ added in v0.1.105
func GetDevUcEnvironmentPermissionRoleTypeEnum() DevUcEnvironmentPermissionRoleTypeEnum
type DynamicConfigInfo ¶
type DynamicConfigInfo struct { // 部署应用时传递的参数名称 Key *string `json:"key,omitempty"` // 部署应用时传递的参数值 Value *string `json:"value,omitempty"` // 类型,如果填写动态参数,则类型必选 Type *DynamicConfigInfoType `json:"type,omitempty"` }
DynamicConfigInfo 部署应用时传递的参数
func (DynamicConfigInfo) String ¶
func (o DynamicConfigInfo) String() string
type DynamicConfigInfoType ¶
type DynamicConfigInfoType struct {
// contains filtered or unexported fields
}
func (DynamicConfigInfoType) MarshalJSON ¶
func (c DynamicConfigInfoType) MarshalJSON() ([]byte, error)
func (*DynamicConfigInfoType) UnmarshalJSON ¶
func (c *DynamicConfigInfoType) UnmarshalJSON(b []byte) error
func (DynamicConfigInfoType) Value ¶
func (c DynamicConfigInfoType) Value() string
type DynamicConfigInfoTypeEnum ¶
type DynamicConfigInfoTypeEnum struct { TEXT DynamicConfigInfoType HOST_GROUP DynamicConfigInfoType ENCRYPT DynamicConfigInfoType ENUM DynamicConfigInfoType }
func GetDynamicConfigInfoTypeEnum ¶
func GetDynamicConfigInfoTypeEnum() DynamicConfigInfoTypeEnum
type EnvExecutionBody ¶
type EnvExecutionBody struct { // 部署应用时传递的参数 Params *[]DynamicConfigInfo `json:"params,omitempty"` // 应用的部署id,可通过record_id回滚至之前的部署状态。选中应用历史部署记录,在URL中获取 RecordId *string `json:"record_id,omitempty"` // 限制触发来源,0不限制任何部署请求来源,1时只允许通过流水线触发部署 TriggerSource *string `json:"trigger_source,omitempty"` }
EnvExecutionBody 应用启动参数
func (EnvExecutionBody) String ¶
func (o EnvExecutionBody) String() string
type EnvironmentBaseInfo ¶ added in v0.1.105
type EnvironmentBaseInfo struct { // 环境名称 Name *string `json:"name,omitempty"` // 操作系统:windows|linux Os *string `json:"os,omitempty"` // 环境id Uuid *string `json:"uuid,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 环境下主机数量 HostCount *int32 `json:"host_count,omitempty"` }
EnvironmentBaseInfo 环境基本信息
func (EnvironmentBaseInfo) String ¶ added in v0.1.105
func (o EnvironmentBaseInfo) String() string
type EnvironmentDetail ¶ added in v0.1.57
type EnvironmentDetail struct { // 环境id Id *string `json:"id,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` // 环境描述 Description *string `json:"description,omitempty"` // 操作系统 Os *string `json:"os,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` // 部署类型:0表示主机, 1表示kubernetes DeployType *int32 `json:"deploy_type,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 环境下主机实例数量 InstanceCount *int32 `json:"instance_count,omitempty"` CreatedBy *UserInfo `json:"created_by,omitempty"` Permission *EnvironmentPermissionDetail `json:"permission,omitempty"` }
EnvironmentDetail 环境详情
func (EnvironmentDetail) String ¶ added in v0.1.57
func (o EnvironmentDetail) String() string
type EnvironmentHostInfo ¶ added in v0.1.105
type EnvironmentHostInfo struct { // 主机id HostId *string `json:"host_id,omitempty"` // 主机ip,如:161.17.101.12 Ip *string `json:"ip,omitempty"` // ssh端口,如:22 Port *int32 `json:"port,omitempty"` Permission *EnvironmentHostPermission `json:"permission,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 主机名 HostName *string `json:"host_name,omitempty"` // 是否为代理机 AsProxy *bool `json:"as_proxy,omitempty"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` // 代理机名称 ProxyHostName *string `json:"proxy_host_name,omitempty"` // 主机所属人id OwnerId *string `json:"owner_id,omitempty"` // 主机所属人名称 OwnerName *string `json:"owner_name,omitempty"` // 连通性状态 ConnectionStatus *string `json:"connection_status,omitempty"` // 上次连通时间 LastestConnectionTime *string `json:"lastest_connection_time,omitempty"` // 连通性验证结果 ConnectionResult *string `json:"connection_result,omitempty"` // 创建人昵称 NickName *string `json:"nick_name,omitempty"` }
EnvironmentHostInfo 主机详情信息
func (EnvironmentHostInfo) String ¶ added in v0.1.105
func (o EnvironmentHostInfo) String() string
type EnvironmentHostPermission ¶ added in v0.1.105
type EnvironmentHostPermission struct { // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有部署权限 CanDeploy *bool `json:"can_deploy,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有权限管理权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` }
EnvironmentHostPermission 环境下主机权限详情
func (EnvironmentHostPermission) String ¶ added in v0.1.105
func (o EnvironmentHostPermission) String() string
type EnvironmentInfo ¶ added in v0.1.105
type EnvironmentInfo struct { // 环境id Id *string `json:"id,omitempty"` // 环境名称 Name *string `json:"name,omitempty"` // 应用id AppId *string `json:"app_id,omitempty"` // 应用名称 AppName *string `json:"app_name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` }
EnvironmentInfo 环境信息
func (EnvironmentInfo) String ¶ added in v0.1.105
func (o EnvironmentInfo) String() string
type EnvironmentPermissionDetail ¶ added in v0.1.57
type EnvironmentPermissionDetail struct { // 是否有删除环境权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有部署权限 CanDeploy *bool `json:"can_deploy,omitempty"` // 是否有编辑环境权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有编辑环境权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有环境的查看权限 CanView *bool `json:"can_view,omitempty"` }
EnvironmentPermissionDetail 环境权限详情
func (EnvironmentPermissionDetail) String ¶ added in v0.1.57
func (o EnvironmentPermissionDetail) String() string
type EnvironmentPermissionV2Body ¶ added in v0.1.105
type EnvironmentPermissionV2Body struct { // 角色id RoleId *string `json:"role_id,omitempty"` // 权限名称,can_view:查看权限;can_edit:编辑权限;can_delete:删除权限;can_deploy:部署权限;can_manage:权限管理权限 PermissionName *EnvironmentPermissionV2BodyPermissionName `json:"permission_name,omitempty"` // true 有权限,false 无权限 PermissionValue *bool `json:"permission_value,omitempty"` }
EnvironmentPermissionV2Body 环境修改权限请求体
func (EnvironmentPermissionV2Body) String ¶ added in v0.1.105
func (o EnvironmentPermissionV2Body) String() string
type EnvironmentPermissionV2BodyPermissionName ¶ added in v0.1.105
type EnvironmentPermissionV2BodyPermissionName struct {
// contains filtered or unexported fields
}
func (EnvironmentPermissionV2BodyPermissionName) MarshalJSON ¶ added in v0.1.105
func (c EnvironmentPermissionV2BodyPermissionName) MarshalJSON() ([]byte, error)
func (*EnvironmentPermissionV2BodyPermissionName) UnmarshalJSON ¶ added in v0.1.105
func (c *EnvironmentPermissionV2BodyPermissionName) UnmarshalJSON(b []byte) error
func (EnvironmentPermissionV2BodyPermissionName) Value ¶ added in v0.1.105
func (c EnvironmentPermissionV2BodyPermissionName) Value() string
type EnvironmentPermissionV2BodyPermissionNameEnum ¶ added in v0.1.105
type EnvironmentPermissionV2BodyPermissionNameEnum struct { CAN_VIEW EnvironmentPermissionV2BodyPermissionName CAN_EDIT EnvironmentPermissionV2BodyPermissionName CAN_DELETE EnvironmentPermissionV2BodyPermissionName CAN_DEPLOY EnvironmentPermissionV2BodyPermissionName CAN_MANAGE EnvironmentPermissionV2BodyPermissionName }
func GetEnvironmentPermissionV2BodyPermissionNameEnum ¶ added in v0.1.105
func GetEnvironmentPermissionV2BodyPermissionNameEnum() EnvironmentPermissionV2BodyPermissionNameEnum
type EnvironmentRequest ¶ added in v0.1.105
type EnvironmentRequest struct { // 环境名称 Name *string `json:"name,omitempty"` // 环境描述信息 Description *string `json:"description,omitempty"` }
func (EnvironmentRequest) String ¶ added in v0.1.105
func (o EnvironmentRequest) String() string
type EnvironmentRequestBody ¶ added in v0.1.57
type EnvironmentRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 环境名称 Name string `json:"name"` // 部署类型:0表示主机, 1表示kubernetes DeployType int32 `json:"deploy_type"` // 操作系统:windows|linux,需要和主机集群保持一致 Os EnvironmentRequestBodyOs `json:"os"` // 环境描述 Description *string `json:"description,omitempty"` }
EnvironmentRequestBody 新建和编辑环境的请求体
func (EnvironmentRequestBody) String ¶ added in v0.1.57
func (o EnvironmentRequestBody) String() string
type EnvironmentRequestBodyOs ¶ added in v0.1.57
type EnvironmentRequestBodyOs struct {
// contains filtered or unexported fields
}
func (EnvironmentRequestBodyOs) MarshalJSON ¶ added in v0.1.57
func (c EnvironmentRequestBodyOs) MarshalJSON() ([]byte, error)
func (*EnvironmentRequestBodyOs) UnmarshalJSON ¶ added in v0.1.57
func (c *EnvironmentRequestBodyOs) UnmarshalJSON(b []byte) error
func (EnvironmentRequestBodyOs) Value ¶ added in v0.1.57
func (c EnvironmentRequestBodyOs) Value() string
type EnvironmentRequestBodyOsEnum ¶ added in v0.1.57
type EnvironmentRequestBodyOsEnum struct { WINDOWS EnvironmentRequestBodyOs LINUX EnvironmentRequestBodyOs }
func GetEnvironmentRequestBodyOsEnum ¶ added in v0.1.57
func GetEnvironmentRequestBodyOsEnum() EnvironmentRequestBodyOsEnum
type ExecuteRecordV2Body ¶
type ExecuteRecordV2Body struct { // 部署用时 Duration *string `json:"duration,omitempty"` // 应用状态 State *string `json:"state,omitempty"` // 操作人用户名 Operator *string `json:"operator,omitempty"` // 部署记录id ExecutionId *string `json:"execution_id,omitempty"` // 部署应用的开始时间 StartTime *string `json:"start_time,omitempty"` // 操作人昵称 Nickname *string `json:"nickname,omitempty"` // 部署应用的结束时间 EndTime *string `json:"end_time,omitempty"` // 部署记录序列号 ReleaseId *int64 `json:"release_id,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
ExecuteRecordV2Body 应用部署记录Body
func (ExecuteRecordV2Body) String ¶
func (o ExecuteRecordV2Body) String() string
type HostAuthorizationBody ¶ added in v0.1.57
type HostAuthorizationBody struct { // 用户名,可输入中英文,数字和符号(-_.)。 Username string `json:"username"` // 密码,认证类型为0时,密码必填。 Password *string `json:"password,omitempty"` // 密钥,认证类型为1时,密钥必填 PrivateKey *string `json:"private_key,omitempty"` // 认证类型,0表示使用密码认证,1表示使用密钥认证 TrustedType HostAuthorizationBodyTrustedType `json:"trusted_type"` }
HostAuthorizationBody 登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可。
func (HostAuthorizationBody) String ¶ added in v0.1.57
func (o HostAuthorizationBody) String() string
type HostAuthorizationBodyTrustedType ¶ added in v0.1.57
type HostAuthorizationBodyTrustedType struct {
// contains filtered or unexported fields
}
func (HostAuthorizationBodyTrustedType) MarshalJSON ¶ added in v0.1.57
func (c HostAuthorizationBodyTrustedType) MarshalJSON() ([]byte, error)
func (*HostAuthorizationBodyTrustedType) UnmarshalJSON ¶ added in v0.1.57
func (c *HostAuthorizationBodyTrustedType) UnmarshalJSON(b []byte) error
func (HostAuthorizationBodyTrustedType) Value ¶ added in v0.1.57
func (c HostAuthorizationBodyTrustedType) Value() int32
type HostAuthorizationBodyTrustedTypeEnum ¶ added in v0.1.57
type HostAuthorizationBodyTrustedTypeEnum struct { E_0 HostAuthorizationBodyTrustedType E_1 HostAuthorizationBodyTrustedType }
func GetHostAuthorizationBodyTrustedTypeEnum ¶ added in v0.1.57
func GetHostAuthorizationBodyTrustedTypeEnum() HostAuthorizationBodyTrustedTypeEnum
type HostClusterInfo ¶ added in v0.1.57
type HostClusterInfo struct { // 主机集群id Id *string `json:"id,omitempty"` // 集群内主机数量,一个主机集群内最多可添加200台主机 HostCount *int32 `json:"host_count,omitempty"` // 主机集群名 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 操作系统:windows|linux Os *string `json:"os,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` CreatedBy *UserInfo `json:"created_by,omitempty"` // 描述 Description *string `json:"description,omitempty"` Permission *PermissionClusterDetail `json:"permission,omitempty"` // 创建人名称 NickName *string `json:"nick_name,omitempty"` // 环境数量 EnvCount *int32 `json:"env_count,omitempty"` }
HostClusterInfo 主机集群信息
func (HostClusterInfo) String ¶ added in v0.1.57
func (o HostClusterInfo) String() string
type HostClusterInfoDetail ¶ added in v0.1.57
type HostClusterInfoDetail struct { // 主机集群id Id *string `json:"id,omitempty"` // 主机集群名 Name *string `json:"name,omitempty"` // 操作系统:windows|linux Os *string `json:"os,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` CreatedBy *UserInfo `json:"created_by,omitempty"` // 描述 Description *string `json:"description,omitempty"` Permission *PermissionClusterDetail `json:"permission,omitempty"` // 创建人名称 NickName *string `json:"nick_name,omitempty"` // 是否是代理模式 IsProxyMode *int32 `json:"is_proxy_mode,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 更新时间 UpdatedTime *string `json:"updated_time,omitempty"` }
HostClusterInfoDetail 主机集群信息
func (HostClusterInfoDetail) String ¶ added in v0.1.57
func (o HostClusterInfoDetail) String() string
type HostClusterRequest ¶ added in v0.1.105
type HostClusterRequest struct { // 主机集群名称 Name string `json:"name"` // 主机集群描述 Description *string `json:"description,omitempty"` // slave集群id,默认为null时使用八爪鱼slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` }
func (HostClusterRequest) String ¶ added in v0.1.105
func (o HostClusterRequest) String() string
type HostInfo ¶ added in v0.1.57
type HostInfo struct { // 主机id Uuid *string `json:"uuid,omitempty"` // 主机IP Ip *string `json:"ip,omitempty"` // 主机操作系统 Os *string `json:"os,omitempty"` // 端口 Port *int32 `json:"port,omitempty"` Authorization *HostAuthorizationBody `json:"authorization,omitempty"` Permission *PermissionHostDetailNew `json:"permission,omitempty"` // 主机名称 HostName *string `json:"host_name,omitempty"` // 是否为代理机 AsProxy *bool `json:"as_proxy,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` // 主机所属人id OwnerId *string `json:"owner_id,omitempty"` // 主机所属人名称 OwnerName *string `json:"owner_name,omitempty"` ProxyHost *HostInfo `json:"proxy_host,omitempty"` // 连通性状态 ConnectionStatus *string `json:"connection_status,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 上次连通时间 LastestConnectionTime *string `json:"lastest_connection_time,omitempty"` // 连通性验证结果 ConnectionResult *string `json:"connection_result,omitempty"` // 主机所属人昵称 NickName *string `json:"nick_name,omitempty"` // 导入状态 ImportStatus *string `json:"import_status,omitempty"` // 关联环境数量 EnvCount *int32 `json:"env_count,omitempty"` }
HostInfo 主机信息
type HostInfoDetail ¶ added in v0.1.57
type HostInfoDetail struct { // 主机id HostId *string `json:"host_id,omitempty"` // 主机IP Ip *string `json:"ip,omitempty"` // 主机操作系统 Os *string `json:"os,omitempty"` // 端口号 Port *int32 `json:"port,omitempty"` Authorization *HostAuthorizationBody `json:"authorization,omitempty"` Permission *PermissionHostDetailNew `json:"permission,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 主机名 HostName *string `json:"host_name,omitempty"` // 是否为代理机 AsProxy *bool `json:"as_proxy,omitempty"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` // 主机所属人名称 OwnerName *string `json:"owner_name,omitempty"` ProxyHost *HostInfoDetail `json:"proxy_host,omitempty"` // 连通性状态 ConnectionStatus *string `json:"connection_status,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 上次连通时间 LastestConnectionTime *string `json:"lastest_connection_time,omitempty"` // 连通性验证结果 ConnectionResult *string `json:"connection_result,omitempty"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` // 创建人昵称 NickName *string `json:"nick_name,omitempty"` }
HostInfoDetail 主机详情信息
func (HostInfoDetail) String ¶ added in v0.1.57
func (o HostInfoDetail) String() string
type ImportHostToEnvironmentRequest ¶ added in v0.1.57
type ImportHostToEnvironmentRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` Body *ImportHostToEnvironmentRequestBody `json:"body,omitempty"` }
ImportHostToEnvironmentRequest Request Object
func (ImportHostToEnvironmentRequest) String ¶ added in v0.1.57
func (o ImportHostToEnvironmentRequest) String() string
type ImportHostToEnvironmentRequestBody ¶ added in v0.1.57
type ImportHostToEnvironmentRequestBody struct { // 主机集群id GroupId string `json:"group_id"` // 要导入的主机id列表 HostIds []string `json:"host_ids"` }
ImportHostToEnvironmentRequestBody 环境下导入主机请求体
func (ImportHostToEnvironmentRequestBody) String ¶ added in v0.1.57
func (o ImportHostToEnvironmentRequestBody) String() string
type ImportHostToEnvironmentResponse ¶ added in v0.1.57
type ImportHostToEnvironmentResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 被导入的主机id列表 Result *[]string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ImportHostToEnvironmentResponse Response Object
func (ImportHostToEnvironmentResponse) String ¶ added in v0.1.57
func (o ImportHostToEnvironmentResponse) String() string
type KeyValueDo ¶
type KeyValueDo struct { // 部署应用时传递的参数名称 Key *string `json:"key,omitempty"` // 部署应用时传递的参数值 Value *string `json:"value,omitempty"` }
KeyValueDo 部署应用时传递的动态参数
func (KeyValueDo) String ¶
func (o KeyValueDo) String() string
type ListAllAppRequest ¶ added in v0.1.57
type ListAllAppRequest struct {
Body *ListAllAppRequestBody `json:"body,omitempty"`
}
ListAllAppRequest Request Object
func (ListAllAppRequest) String ¶ added in v0.1.57
func (o ListAllAppRequest) String() string
type ListAllAppRequestBody ¶ added in v0.1.57
type ListAllAppRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 分页页码, 表示从此页开始查询, page大于等于1 Page int32 `json:"page"` // 每页显示的条目数量,size小于等于100 Size int32 `json:"size"` // 排序字段的名称,当前仅支持name和startTime SortName *ListAllAppRequestBodySortName `json:"sort_name,omitempty"` // 排序顺序,正序(ASC)或者逆序(DESC) SortBy *string `json:"sort_by,omitempty"` // 应用状态列表,支持查询以下状态: abort: 部署中止 failed: 部署失败 not_started: 取消执行 pending: 排队中 running: 正在部署 succeeded: 部署成功 timeout: 部署超时 not_executed: 未执行 States *[]ListAllAppRequestBodyStates `json:"states,omitempty"` // 应用的分组id,传入no_grouped为查询未分组的应用 GroupId *string `json:"group_id,omitempty"` }
func (ListAllAppRequestBody) String ¶ added in v0.1.57
func (o ListAllAppRequestBody) String() string
type ListAllAppRequestBodySortName ¶ added in v0.1.57
type ListAllAppRequestBodySortName struct {
// contains filtered or unexported fields
}
func (ListAllAppRequestBodySortName) MarshalJSON ¶ added in v0.1.57
func (c ListAllAppRequestBodySortName) MarshalJSON() ([]byte, error)
func (*ListAllAppRequestBodySortName) UnmarshalJSON ¶ added in v0.1.57
func (c *ListAllAppRequestBodySortName) UnmarshalJSON(b []byte) error
func (ListAllAppRequestBodySortName) Value ¶ added in v0.1.57
func (c ListAllAppRequestBodySortName) Value() string
type ListAllAppRequestBodySortNameEnum ¶ added in v0.1.57
type ListAllAppRequestBodySortNameEnum struct { NAME ListAllAppRequestBodySortName START_TIME ListAllAppRequestBodySortName }
func GetListAllAppRequestBodySortNameEnum ¶ added in v0.1.57
func GetListAllAppRequestBodySortNameEnum() ListAllAppRequestBodySortNameEnum
type ListAllAppRequestBodyStates ¶ added in v0.1.61
type ListAllAppRequestBodyStates struct {
// contains filtered or unexported fields
}
func (ListAllAppRequestBodyStates) MarshalJSON ¶ added in v0.1.61
func (c ListAllAppRequestBodyStates) MarshalJSON() ([]byte, error)
func (*ListAllAppRequestBodyStates) UnmarshalJSON ¶ added in v0.1.61
func (c *ListAllAppRequestBodyStates) UnmarshalJSON(b []byte) error
func (ListAllAppRequestBodyStates) Value ¶ added in v0.1.61
func (c ListAllAppRequestBodyStates) Value() string
type ListAllAppRequestBodyStatesEnum ¶ added in v0.1.61
type ListAllAppRequestBodyStatesEnum struct { ABORT ListAllAppRequestBodyStates FAILED ListAllAppRequestBodyStates NOT_STARTED ListAllAppRequestBodyStates PENDING ListAllAppRequestBodyStates RUNNING ListAllAppRequestBodyStates SUCCEEDED ListAllAppRequestBodyStates TIMEOUT ListAllAppRequestBodyStates NOT_EXECUTED ListAllAppRequestBodyStates }
func GetListAllAppRequestBodyStatesEnum ¶ added in v0.1.61
func GetListAllAppRequestBodyStatesEnum() ListAllAppRequestBodyStatesEnum
type ListAllAppResponse ¶ added in v0.1.57
type ListAllAppResponse struct { // 总数 TotalNum *int32 `json:"total_num,omitempty"` // 应用列表数组 Result *[]AppExecutionInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListAllAppResponse Response Object
func (ListAllAppResponse) String ¶ added in v0.1.57
func (o ListAllAppResponse) String() string
type ListAppGroupsRequest ¶ added in v0.1.105
type ListAppGroupsRequest struct { // 项目Id ProjectId string `json:"project_id"` }
ListAppGroupsRequest Request Object
func (ListAppGroupsRequest) String ¶ added in v0.1.105
func (o ListAppGroupsRequest) String() string
type ListAppGroupsResponse ¶ added in v0.1.105
type ListAppGroupsResponse struct { // 分组信息列表 Result *[]AppGroupsEntity `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
ListAppGroupsResponse Response Object
func (ListAppGroupsResponse) String ¶ added in v0.1.105
func (o ListAppGroupsResponse) String() string
type ListApplicationPermissionsRequest ¶ added in v0.1.105
type ListApplicationPermissionsRequest struct { // 应用id AppId *string `json:"app_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` }
ListApplicationPermissionsRequest Request Object
func (ListApplicationPermissionsRequest) String ¶ added in v0.1.105
func (o ListApplicationPermissionsRequest) String() string
type ListApplicationPermissionsResponse ¶ added in v0.1.105
type ListApplicationPermissionsResponse struct { // 角色应用权限 Result *[]ApplicationPermissionVo `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
ListApplicationPermissionsResponse Response Object
func (ListApplicationPermissionsResponse) String ¶ added in v0.1.105
func (o ListApplicationPermissionsResponse) String() string
type ListAssociateEnvironmentsInfosRequest ¶ added in v0.1.105
type ListAssociateEnvironmentsInfosRequest struct { // 主机集群id GroupId string `json:"group_id"` // 页码 PageIndex *int32 `json:"page_index,omitempty"` // 每页查询条数 PageSize *int32 `json:"page_size,omitempty"` }
ListAssociateEnvironmentsInfosRequest Request Object
func (ListAssociateEnvironmentsInfosRequest) String ¶ added in v0.1.105
func (o ListAssociateEnvironmentsInfosRequest) String() string
type ListAssociateEnvironmentsInfosResponse ¶ added in v0.1.105
type ListAssociateEnvironmentsInfosResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 关联环境总数量 Total *int32 `json:"total,omitempty"` // 环境信息列表 Result *[]EnvironmentInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListAssociateEnvironmentsInfosResponse Response Object
func (ListAssociateEnvironmentsInfosResponse) String ¶ added in v0.1.105
func (o ListAssociateEnvironmentsInfosResponse) String() string
type ListDeployTaskHistoryByDateRequest ¶
type ListDeployTaskHistoryByDateRequest struct { // 项目id ProjectId string `json:"project_id"` // 任务id Id string `json:"id"` // 分页页码, 表示从此页开始查询, page大于等于1 Page int32 `json:"page"` // 每页显示的条目数量,size小于等于100 Size int32 `json:"size"` // 区间开始时间,格式yyyy-MM-dd。 开始时间和结束时间间隔不能超过30天 StartDate string `json:"start_date"` // 区间结束时间,格式yyyy-MM-dd。 开始时间和结束时间间隔不能超过30天 EndDate string `json:"end_date"` }
ListDeployTaskHistoryByDateRequest Request Object
func (ListDeployTaskHistoryByDateRequest) String ¶
func (o ListDeployTaskHistoryByDateRequest) String() string
type ListDeployTaskHistoryByDateResponse ¶
type ListDeployTaskHistoryByDateResponse struct { // 应用历史部署记录列表 Result *[]ExecuteRecordV2Body `json:"result,omitempty"` // 开始时间和结束时间内应用历史部署记录总数 TotalNum *int32 `json:"total_num,omitempty"` HttpStatusCode int `json:"-"` }
ListDeployTaskHistoryByDateResponse Response Object
func (ListDeployTaskHistoryByDateResponse) String ¶
func (o ListDeployTaskHistoryByDateResponse) String() string
type ListDeployTasksRequest ¶
type ListDeployTasksRequest struct { // 项目id ProjectId string `json:"project_id"` // 分页页码, 表示从此页开始查询, page大于等于1 Page int32 `json:"page"` // 每页显示的条目数量,size小于等于100 Size int32 `json:"size"` }
ListDeployTasksRequest Request Object
func (ListDeployTasksRequest) String ¶
func (o ListDeployTasksRequest) String() string
type ListDeployTasksResponse ¶
type ListDeployTasksResponse struct { // 总数 TotalNum *int32 `json:"total_num,omitempty"` // 返回结果 Result *[]TaskInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListDeployTasksResponse Response Object
func (ListDeployTasksResponse) String ¶
func (o ListDeployTasksResponse) String() string
type ListEnvironmentHostsRequest ¶ added in v0.1.105
type ListEnvironmentHostsRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` // 主机名、ip关键字模糊搜索 KeyField *string `json:"key_field,omitempty"` // 是否为代理机,true为代理机 AsProxy *bool `json:"as_proxy,omitempty"` // 分页页码 PageIndex *int32 `json:"page_index,omitempty"` // 分页查询每页条数 PageSize *int32 `json:"page_size,omitempty"` }
ListEnvironmentHostsRequest Request Object
func (ListEnvironmentHostsRequest) String ¶ added in v0.1.105
func (o ListEnvironmentHostsRequest) String() string
type ListEnvironmentHostsResponse ¶ added in v0.1.105
type ListEnvironmentHostsResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 总数量 Total *int32 `json:"total,omitempty"` // 环境下主机信息列表 Result *[]EnvironmentHostInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListEnvironmentHostsResponse Response Object
func (ListEnvironmentHostsResponse) String ¶ added in v0.1.105
func (o ListEnvironmentHostsResponse) String() string
type ListEnvironmentPermissionsRequest ¶ added in v0.1.105
type ListEnvironmentPermissionsRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` }
ListEnvironmentPermissionsRequest Request Object
func (ListEnvironmentPermissionsRequest) String ¶ added in v0.1.105
func (o ListEnvironmentPermissionsRequest) String() string
type ListEnvironmentPermissionsResponse ¶ added in v0.1.105
type ListEnvironmentPermissionsResponse struct { // 权限数据,list类型数据 Body *[]DevUcEnvironmentPermission `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListEnvironmentPermissionsResponse Response Object
func (ListEnvironmentPermissionsResponse) String ¶ added in v0.1.105
func (o ListEnvironmentPermissionsResponse) String() string
type ListEnvironmentsRequest ¶ added in v0.1.57
type ListEnvironmentsRequest struct { // 应用id ApplicationId string `json:"application_id"` // 项目id ProjectId string `json:"project_id"` // 分页页码, 表示从此页开始查询, page大于等于1 PageIndex *int32 `json:"page_index,omitempty"` // 每页显示的条目数量,size小于等于100 PageSize *int32 `json:"page_size,omitempty"` // 要查询的环境名称 Name *string `json:"name,omitempty"` // 排序字段,支持按照环境名称|用户名称|创建时间|用户昵称排序 SortKey *ListEnvironmentsRequestSortKey `json:"sort_key,omitempty"` // 排序顺序,DESC降序,ASC升序 SortDir *ListEnvironmentsRequestSortDir `json:"sort_dir,omitempty"` }
ListEnvironmentsRequest Request Object
func (ListEnvironmentsRequest) String ¶ added in v0.1.57
func (o ListEnvironmentsRequest) String() string
type ListEnvironmentsRequestSortDir ¶ added in v0.1.57
type ListEnvironmentsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListEnvironmentsRequestSortDir) MarshalJSON ¶ added in v0.1.57
func (c ListEnvironmentsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListEnvironmentsRequestSortDir) UnmarshalJSON ¶ added in v0.1.57
func (c *ListEnvironmentsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListEnvironmentsRequestSortDir) Value ¶ added in v0.1.57
func (c ListEnvironmentsRequestSortDir) Value() string
type ListEnvironmentsRequestSortDirEnum ¶ added in v0.1.57
type ListEnvironmentsRequestSortDirEnum struct { DESC ListEnvironmentsRequestSortDir ASC ListEnvironmentsRequestSortDir }
func GetListEnvironmentsRequestSortDirEnum ¶ added in v0.1.57
func GetListEnvironmentsRequestSortDirEnum() ListEnvironmentsRequestSortDirEnum
type ListEnvironmentsRequestSortKey ¶ added in v0.1.57
type ListEnvironmentsRequestSortKey struct {
// contains filtered or unexported fields
}
func (ListEnvironmentsRequestSortKey) MarshalJSON ¶ added in v0.1.57
func (c ListEnvironmentsRequestSortKey) MarshalJSON() ([]byte, error)
func (*ListEnvironmentsRequestSortKey) UnmarshalJSON ¶ added in v0.1.57
func (c *ListEnvironmentsRequestSortKey) UnmarshalJSON(b []byte) error
func (ListEnvironmentsRequestSortKey) Value ¶ added in v0.1.57
func (c ListEnvironmentsRequestSortKey) Value() string
type ListEnvironmentsRequestSortKeyEnum ¶ added in v0.1.57
type ListEnvironmentsRequestSortKeyEnum struct { NAME ListEnvironmentsRequestSortKey USER_NAME ListEnvironmentsRequestSortKey CREATED_TIME ListEnvironmentsRequestSortKey NICK_NAME ListEnvironmentsRequestSortKey }
func GetListEnvironmentsRequestSortKeyEnum ¶ added in v0.1.57
func GetListEnvironmentsRequestSortKeyEnum() ListEnvironmentsRequestSortKeyEnum
type ListEnvironmentsResponse ¶ added in v0.1.57
type ListEnvironmentsResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 应用下环境总数 Total *int32 `json:"total,omitempty"` // 环境列表信息 Result *[]EnvironmentDetail `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListEnvironmentsResponse Response Object
func (ListEnvironmentsResponse) String ¶ added in v0.1.57
func (o ListEnvironmentsResponse) String() string
type ListHostClustersRequest ¶ added in v0.1.57
type ListHostClustersRequest struct { // 项目id ProjectId string `json:"project_id"` // 主机集群模糊查询信息 Name *string `json:"name,omitempty"` // 操作系统:windows|linux Os *ListHostClustersRequestOs `json:"os,omitempty"` // 页码数 PageIndex *int32 `json:"page_index,omitempty"` // 每页显示的条目数量,默认为10 PageSize *int32 `json:"page_size,omitempty"` // 排序字段:nick_name|name|owner_name|create_time,不传使用默认排序 SortField *string `json:"sort_field,omitempty"` // 排序方式:DESC、ASC,默认为DESC SortType *ListHostClustersRequestSortType `json:"sort_type,omitempty"` // 是否为代理机 IsProxyMode *int32 `json:"is_proxy_mode,omitempty"` // 自定义资源池id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` }
ListHostClustersRequest Request Object
func (ListHostClustersRequest) String ¶ added in v0.1.57
func (o ListHostClustersRequest) String() string
type ListHostClustersRequestOs ¶ added in v0.1.57
type ListHostClustersRequestOs struct {
// contains filtered or unexported fields
}
func (ListHostClustersRequestOs) MarshalJSON ¶ added in v0.1.57
func (c ListHostClustersRequestOs) MarshalJSON() ([]byte, error)
func (*ListHostClustersRequestOs) UnmarshalJSON ¶ added in v0.1.57
func (c *ListHostClustersRequestOs) UnmarshalJSON(b []byte) error
func (ListHostClustersRequestOs) Value ¶ added in v0.1.57
func (c ListHostClustersRequestOs) Value() string
type ListHostClustersRequestOsEnum ¶ added in v0.1.57
type ListHostClustersRequestOsEnum struct { WINDOWS ListHostClustersRequestOs LINUX ListHostClustersRequestOs }
func GetListHostClustersRequestOsEnum ¶ added in v0.1.57
func GetListHostClustersRequestOsEnum() ListHostClustersRequestOsEnum
type ListHostClustersRequestSortType ¶ added in v0.1.57
type ListHostClustersRequestSortType struct {
// contains filtered or unexported fields
}
func (ListHostClustersRequestSortType) MarshalJSON ¶ added in v0.1.57
func (c ListHostClustersRequestSortType) MarshalJSON() ([]byte, error)
func (*ListHostClustersRequestSortType) UnmarshalJSON ¶ added in v0.1.57
func (c *ListHostClustersRequestSortType) UnmarshalJSON(b []byte) error
func (ListHostClustersRequestSortType) Value ¶ added in v0.1.57
func (c ListHostClustersRequestSortType) Value() string
type ListHostClustersRequestSortTypeEnum ¶ added in v0.1.57
type ListHostClustersRequestSortTypeEnum struct { DESC ListHostClustersRequestSortType ASC ListHostClustersRequestSortType }
func GetListHostClustersRequestSortTypeEnum ¶ added in v0.1.57
func GetListHostClustersRequestSortTypeEnum() ListHostClustersRequestSortTypeEnum
type ListHostClustersResponse ¶ added in v0.1.57
type ListHostClustersResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机集群个数 Total *int32 `json:"total,omitempty"` // 主机集群详情响应体 Result *[]HostClusterInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListHostClustersResponse Response Object
func (ListHostClustersResponse) String ¶ added in v0.1.57
func (o ListHostClustersResponse) String() string
type ListHostGroupBaseInfosRequest ¶ added in v0.1.105
type ListHostGroupBaseInfosRequest struct { // 应用id ApplicationId string `json:"application_id"` // 项目id ProjectUuid string `json:"project_uuid"` // 操作系统:windows|linux Os *ListHostGroupBaseInfosRequestOs `json:"os,omitempty"` // 分页页码 PageIndex *int32 `json:"page_index,omitempty"` // 分页查询每页条数 PageSize *int32 `json:"page_size,omitempty"` // 按主机集群名称搜索关键字 Name *string `json:"name,omitempty"` }
ListHostGroupBaseInfosRequest Request Object
func (ListHostGroupBaseInfosRequest) String ¶ added in v0.1.105
func (o ListHostGroupBaseInfosRequest) String() string
type ListHostGroupBaseInfosRequestOs ¶ added in v0.1.105
type ListHostGroupBaseInfosRequestOs struct {
// contains filtered or unexported fields
}
func (ListHostGroupBaseInfosRequestOs) MarshalJSON ¶ added in v0.1.105
func (c ListHostGroupBaseInfosRequestOs) MarshalJSON() ([]byte, error)
func (*ListHostGroupBaseInfosRequestOs) UnmarshalJSON ¶ added in v0.1.105
func (c *ListHostGroupBaseInfosRequestOs) UnmarshalJSON(b []byte) error
func (ListHostGroupBaseInfosRequestOs) Value ¶ added in v0.1.105
func (c ListHostGroupBaseInfosRequestOs) Value() string
type ListHostGroupBaseInfosRequestOsEnum ¶ added in v0.1.105
type ListHostGroupBaseInfosRequestOsEnum struct { LINUX ListHostGroupBaseInfosRequestOs WINDOWS ListHostGroupBaseInfosRequestOs }
func GetListHostGroupBaseInfosRequestOsEnum ¶ added in v0.1.105
func GetListHostGroupBaseInfosRequestOsEnum() ListHostGroupBaseInfosRequestOsEnum
type ListHostGroupBaseInfosResponse ¶ added in v0.1.105
type ListHostGroupBaseInfosResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 总数量 Total *int32 `json:"total,omitempty"` // 环境基本信息列表 Result *[]EnvironmentBaseInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListHostGroupBaseInfosResponse Response Object
func (ListHostGroupBaseInfosResponse) String ¶ added in v0.1.105
func (o ListHostGroupBaseInfosResponse) String() string
type ListHostGroupPermissionsRequest ¶ added in v0.1.105
type ListHostGroupPermissionsRequest struct { // 主机集群id GroupId string `json:"group_id"` }
ListHostGroupPermissionsRequest Request Object
func (ListHostGroupPermissionsRequest) String ¶ added in v0.1.105
func (o ListHostGroupPermissionsRequest) String() string
type ListHostGroupPermissionsResponse ¶ added in v0.1.105
type ListHostGroupPermissionsResponse struct { // 主机集群权限矩阵 Body *[]DevUcClusterPermission `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ListHostGroupPermissionsResponse Response Object
func (ListHostGroupPermissionsResponse) String ¶ added in v0.1.105
func (o ListHostGroupPermissionsResponse) String() string
type ListHostGroupsRequest ¶
type ListHostGroupsRequest struct { // 项目id ProjectId string `json:"project_id"` // 局点信息 RegionName string `json:"region_name"` // 操作系统:windows|linux Os *ListHostGroupsRequestOs `json:"os,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量,默认为1000 Limit *int32 `json:"limit,omitempty"` // 主机集群名 Name *string `json:"name,omitempty"` // 排序字段:nickName|NAME|OWNER_NAME|CREATE_TIME|name|owner_name|create_time,不传使用默认排序 SortKey *string `json:"sort_key,omitempty"` // 排序方式:DESC、ASC,默认为DESC SortDir *ListHostGroupsRequestSortDir `json:"sort_dir,omitempty"` }
ListHostGroupsRequest Request Object
func (ListHostGroupsRequest) String ¶
func (o ListHostGroupsRequest) String() string
type ListHostGroupsRequestOs ¶
type ListHostGroupsRequestOs struct {
// contains filtered or unexported fields
}
func (ListHostGroupsRequestOs) MarshalJSON ¶
func (c ListHostGroupsRequestOs) MarshalJSON() ([]byte, error)
func (*ListHostGroupsRequestOs) UnmarshalJSON ¶
func (c *ListHostGroupsRequestOs) UnmarshalJSON(b []byte) error
func (ListHostGroupsRequestOs) Value ¶
func (c ListHostGroupsRequestOs) Value() string
type ListHostGroupsRequestOsEnum ¶
type ListHostGroupsRequestOsEnum struct { WINDOWS ListHostGroupsRequestOs LINUX ListHostGroupsRequestOs }
func GetListHostGroupsRequestOsEnum ¶
func GetListHostGroupsRequestOsEnum() ListHostGroupsRequestOsEnum
type ListHostGroupsRequestSortDir ¶
type ListHostGroupsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListHostGroupsRequestSortDir) MarshalJSON ¶
func (c ListHostGroupsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListHostGroupsRequestSortDir) UnmarshalJSON ¶
func (c *ListHostGroupsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListHostGroupsRequestSortDir) Value ¶
func (c ListHostGroupsRequestSortDir) Value() string
type ListHostGroupsRequestSortDirEnum ¶
type ListHostGroupsRequestSortDirEnum struct { DESC ListHostGroupsRequestSortDir ASC ListHostGroupsRequestSortDir }
func GetListHostGroupsRequestSortDirEnum ¶
func GetListHostGroupsRequestSortDirEnum() ListHostGroupsRequestSortDirEnum
type ListHostGroupsResponse ¶
type ListHostGroupsResponse struct { // 主机集群个数 Total *int32 `json:"total,omitempty"` // 主机集群详情响应体 HostGroups *[]DeploymentGroupDetail `json:"host_groups,omitempty"` HttpStatusCode int `json:"-"` }
ListHostGroupsResponse Response Object
func (ListHostGroupsResponse) String ¶
func (o ListHostGroupsResponse) String() string
type ListHostsRequest ¶
type ListHostsRequest struct { // 主机集群id GroupId string `json:"group_id"` // 是否为代理机 AsProxy *bool `json:"as_proxy,omitempty"` // 偏移量,表示从此偏移量开始查询,offset大于等于0 Offset *int32 `json:"offset,omitempty"` // 每页显示的条目数量,默认为1000 Limit *int32 `json:"limit,omitempty"` // 主机名,可输入中英文,数字和符号(-_.) Name *string `json:"name,omitempty"` // 排序字段,支持:AS_PROXY|HOST_NAME|OS|OWNER_NAME|as_proxy|host_name|os|owner_name|nickName。不填默认为:as_proxy SortKey *string `json:"sort_key,omitempty"` // 排序方式,默认为:DESC。DESC:降序排序。ASC:升序排序 SortDir *ListHostsRequestSortDir `json:"sort_dir,omitempty"` // 返回结果是否加密 WithAuth *bool `json:"with_auth,omitempty"` }
ListHostsRequest Request Object
func (ListHostsRequest) String ¶
func (o ListHostsRequest) String() string
type ListHostsRequestSortDir ¶
type ListHostsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListHostsRequestSortDir) MarshalJSON ¶
func (c ListHostsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListHostsRequestSortDir) UnmarshalJSON ¶
func (c *ListHostsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListHostsRequestSortDir) Value ¶
func (c ListHostsRequestSortDir) Value() string
type ListHostsRequestSortDirEnum ¶
type ListHostsRequestSortDirEnum struct { DESC ListHostsRequestSortDir ASC ListHostsRequestSortDir }
func GetListHostsRequestSortDirEnum ¶
func GetListHostsRequestSortDirEnum() ListHostsRequestSortDirEnum
type ListHostsResponse ¶
type ListHostsResponse struct { // 主机数量 Total *int32 `json:"total,omitempty"` // 主机集群名称 GroupName *string `json:"group_name,omitempty"` // 主机列表信息 Hosts *[]DeploymentHostDetail `json:"hosts,omitempty"` HttpStatusCode int `json:"-"` }
ListHostsResponse Response Object
func (ListHostsResponse) String ¶
func (o ListHostsResponse) String() string
type ListNewHostsRequest ¶ added in v0.1.57
type ListNewHostsRequest struct { // 项目id GroupId string `json:"group_id"` // 主机名模糊查询信息 KeyField *string `json:"key_field,omitempty"` // 环境id EnvironmentId *string `json:"environment_id,omitempty"` // 页码数 PageIndex *int32 `json:"page_index,omitempty"` // 每页显示的条目数量,默认为10 PageSize *int32 `json:"page_size,omitempty"` // 排序字段:as_proxy|host_name|owner_name,不传使用默认排序 SortKey *string `json:"sort_key,omitempty"` // 排序方式:DESC、ASC,默认为DESC SortDir *ListNewHostsRequestSortDir `json:"sort_dir,omitempty"` // 是否为代理机 AsProxy *bool `json:"as_proxy,omitempty"` }
ListNewHostsRequest Request Object
func (ListNewHostsRequest) String ¶ added in v0.1.57
func (o ListNewHostsRequest) String() string
type ListNewHostsRequestSortDir ¶ added in v0.1.57
type ListNewHostsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListNewHostsRequestSortDir) MarshalJSON ¶ added in v0.1.57
func (c ListNewHostsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListNewHostsRequestSortDir) UnmarshalJSON ¶ added in v0.1.57
func (c *ListNewHostsRequestSortDir) UnmarshalJSON(b []byte) error
func (ListNewHostsRequestSortDir) Value ¶ added in v0.1.57
func (c ListNewHostsRequestSortDir) Value() string
type ListNewHostsRequestSortDirEnum ¶ added in v0.1.57
type ListNewHostsRequestSortDirEnum struct { DESC ListNewHostsRequestSortDir ASC ListNewHostsRequestSortDir }
func GetListNewHostsRequestSortDirEnum ¶ added in v0.1.57
func GetListNewHostsRequestSortDirEnum() ListNewHostsRequestSortDirEnum
type ListNewHostsResponse ¶ added in v0.1.57
type ListNewHostsResponse struct { // 主机数量 Total *int32 `json:"total,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机信息列表 Result *[]HostInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ListNewHostsResponse Response Object
func (ListNewHostsResponse) String ¶ added in v0.1.57
func (o ListNewHostsResponse) String() string
type ListTaskSuccessRateRequest ¶
type ListTaskSuccessRateRequest struct { // 项目id ProjectId string `json:"project_id"` Body *TasksSuccessRateQuery `json:"body,omitempty"` }
ListTaskSuccessRateRequest Request Object
func (ListTaskSuccessRateRequest) String ¶
func (o ListTaskSuccessRateRequest) String() string
type ListTaskSuccessRateResponse ¶
type ListTaskSuccessRateResponse struct { // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 部署应用开始时间范围的左边界(包含),格式yyyy-MM-dd StartDate *string `json:"start_date,omitempty"` // 部署应用开始时间范围的右边界(包含),格式yyyy-MM-dd 。最大时间范围为1年。 EndDate *string `json:"end_date,omitempty"` // 应用的成功率列表 TasksSuccessRate *[]TaskSuccessRate `json:"tasks_success_rate,omitempty"` HttpStatusCode int `json:"-"` }
ListTaskSuccessRateResponse Response Object
func (ListTaskSuccessRateResponse) String ¶
func (o ListTaskSuccessRateResponse) String() string
type MoveAppGroupsRequest ¶ added in v0.1.105
type MoveAppGroupsRequest struct { // 项目Id ProjectId string `json:"project_id"` Body *MoveAppGroupsRequestBody `json:"body,omitempty"` }
MoveAppGroupsRequest Request Object
func (MoveAppGroupsRequest) String ¶ added in v0.1.105
func (o MoveAppGroupsRequest) String() string
type MoveAppGroupsRequestBody ¶ added in v0.1.105
type MoveAppGroupsRequestBody struct { // 分组id Id string `json:"id"` // 移动方向,1为上移,-1为下移 Movement MoveAppGroupsRequestBodyMovement `json:"movement"` }
func (MoveAppGroupsRequestBody) String ¶ added in v0.1.105
func (o MoveAppGroupsRequestBody) String() string
type MoveAppGroupsRequestBodyMovement ¶ added in v0.1.105
type MoveAppGroupsRequestBodyMovement struct {
// contains filtered or unexported fields
}
func (MoveAppGroupsRequestBodyMovement) MarshalJSON ¶ added in v0.1.105
func (c MoveAppGroupsRequestBodyMovement) MarshalJSON() ([]byte, error)
func (*MoveAppGroupsRequestBodyMovement) UnmarshalJSON ¶ added in v0.1.105
func (c *MoveAppGroupsRequestBodyMovement) UnmarshalJSON(b []byte) error
func (MoveAppGroupsRequestBodyMovement) Value ¶ added in v0.1.105
func (c MoveAppGroupsRequestBodyMovement) Value() int32
type MoveAppGroupsRequestBodyMovementEnum ¶ added in v0.1.105
type MoveAppGroupsRequestBodyMovementEnum struct { E_1 MoveAppGroupsRequestBodyMovement E_MINUS_1 MoveAppGroupsRequestBodyMovement }
func GetMoveAppGroupsRequestBodyMovementEnum ¶ added in v0.1.105
func GetMoveAppGroupsRequestBodyMovementEnum() MoveAppGroupsRequestBodyMovementEnum
type MoveAppGroupsResponse ¶ added in v0.1.105
type MoveAppGroupsResponse struct { // 分组id Result *string `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
MoveAppGroupsResponse Response Object
func (MoveAppGroupsResponse) String ¶ added in v0.1.105
func (o MoveAppGroupsResponse) String() string
type MoveAppToGroupRequest ¶ added in v0.1.105
type MoveAppToGroupRequest struct { // 项目Id ProjectId string `json:"project_id"` Body *MoveAppToGroupRequestBody `json:"body,omitempty"` }
MoveAppToGroupRequest Request Object
func (MoveAppToGroupRequest) String ¶ added in v0.1.105
func (o MoveAppToGroupRequest) String() string
type MoveAppToGroupRequestBody ¶ added in v0.1.105
type MoveAppToGroupRequestBody struct { // 分组id GroupId string `json:"group_id"` // 应用id列表 ApplicationIds []string `json:"application_ids"` }
MoveAppToGroupRequestBody 移动应用至指定分组请求体
func (MoveAppToGroupRequestBody) String ¶ added in v0.1.105
func (o MoveAppToGroupRequestBody) String() string
type MoveAppToGroupResponse ¶ added in v0.1.105
type MoveAppToGroupResponse struct { // 移动应用至指定分组结果,仅返回移动失败的列表 Result *[]MoveAppToGroupResult `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
MoveAppToGroupResponse Response Object
func (MoveAppToGroupResponse) String ¶ added in v0.1.105
func (o MoveAppToGroupResponse) String() string
type MoveAppToGroupResult ¶ added in v0.1.105
type MoveAppToGroupResult struct { // 是否失败 Code *string `json:"code,omitempty"` // 应用id ApplicationId *string `json:"application_id,omitempty"` // 应用名称 ApplicationName *string `json:"application_name,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
MoveAppToGroupResult 移动应用至指定分组结果
func (MoveAppToGroupResult) String ¶ added in v0.1.105
func (o MoveAppToGroupResult) String() string
type ParamTypeLimits ¶
type ParamTypeLimits struct { // 枚举值可选参数 Name *string `json:"name,omitempty"` }
ParamTypeLimits 枚举类型参数实体类
func (ParamTypeLimits) String ¶
func (o ParamTypeLimits) String() string
type PermissionClusterDetail ¶ added in v0.1.57
type PermissionClusterDetail struct { // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否有编辑主机集群权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` }
PermissionClusterDetail 主机集群相关权限详情类
func (PermissionClusterDetail) String ¶ added in v0.1.57
func (o PermissionClusterDetail) String() string
type PermissionGroupDetail ¶
type PermissionGroupDetail struct { // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否有编辑主机集群权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` }
PermissionGroupDetail 主机集群相关权限详情类
func (PermissionGroupDetail) String ¶
func (o PermissionGroupDetail) String() string
type PermissionHostDetail ¶
type PermissionHostDetail struct { // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否测试主机连通性权限 CanConnectionTest *bool `json:"can_connection_test,omitempty"` }
PermissionHostDetail 主机相关权限详情类
func (PermissionHostDetail) String ¶
func (o PermissionHostDetail) String() string
type PermissionHostDetailNew ¶ added in v0.1.59
type PermissionHostDetailNew struct { // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否有复制主机权限 CanCopy *bool `json:"can_copy,omitempty"` }
PermissionHostDetailNew 主机相关权限详情类
func (PermissionHostDetailNew) String ¶ added in v0.1.59
func (o PermissionHostDetailNew) String() string
type PermissionUpdateV2Body ¶ added in v0.1.105
type PermissionUpdateV2Body struct { // 项目id ProjectId string `json:"project_id"` // 角色id RoleId string `json:"role_id"` // 权限名称,can_view:查看权限;can_edit:编辑权限;can_delete:删除权限;can_add_host:添加主机权限;can_manage:权限管理权限;can_copy:复制主机权限 PermissionName PermissionUpdateV2BodyPermissionName `json:"permission_name"` // true 有权限,false 无权限 PermissionValue bool `json:"permission_value"` }
PermissionUpdateV2Body 主机相关修改权限请求体
func (PermissionUpdateV2Body) String ¶ added in v0.1.105
func (o PermissionUpdateV2Body) String() string
type PermissionUpdateV2BodyPermissionName ¶ added in v0.1.105
type PermissionUpdateV2BodyPermissionName struct {
// contains filtered or unexported fields
}
func (PermissionUpdateV2BodyPermissionName) MarshalJSON ¶ added in v0.1.105
func (c PermissionUpdateV2BodyPermissionName) MarshalJSON() ([]byte, error)
func (*PermissionUpdateV2BodyPermissionName) UnmarshalJSON ¶ added in v0.1.105
func (c *PermissionUpdateV2BodyPermissionName) UnmarshalJSON(b []byte) error
func (PermissionUpdateV2BodyPermissionName) Value ¶ added in v0.1.105
func (c PermissionUpdateV2BodyPermissionName) Value() string
type PermissionUpdateV2BodyPermissionNameEnum ¶ added in v0.1.105
type PermissionUpdateV2BodyPermissionNameEnum struct { CAN_VIEW PermissionUpdateV2BodyPermissionName CAN_EDIT PermissionUpdateV2BodyPermissionName CAN_DELETE PermissionUpdateV2BodyPermissionName CAN_ADD_HOST PermissionUpdateV2BodyPermissionName CAN_MANAGE PermissionUpdateV2BodyPermissionName CAN_COPY PermissionUpdateV2BodyPermissionName }
func GetPermissionUpdateV2BodyPermissionNameEnum ¶ added in v0.1.105
func GetPermissionUpdateV2BodyPermissionNameEnum() PermissionUpdateV2BodyPermissionNameEnum
type ShowAppDetailByIdRequest ¶ added in v0.1.57
type ShowAppDetailByIdRequest struct { // 应用id AppId string `json:"app_id"` }
ShowAppDetailByIdRequest Request Object
func (ShowAppDetailByIdRequest) String ¶ added in v0.1.57
func (o ShowAppDetailByIdRequest) String() string
type ShowAppDetailByIdResponse ¶ added in v0.1.57
type ShowAppDetailByIdResponse struct { Result *AppDetailInfo `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
ShowAppDetailByIdResponse Response Object
func (ShowAppDetailByIdResponse) String ¶ added in v0.1.57
func (o ShowAppDetailByIdResponse) String() string
type ShowDeployTaskDetailRequest ¶
type ShowDeployTaskDetailRequest struct { // 部署任务id TaskId string `json:"task_id"` }
ShowDeployTaskDetailRequest Request Object
func (ShowDeployTaskDetailRequest) String ¶
func (o ShowDeployTaskDetailRequest) String() string
type ShowDeployTaskDetailResponse ¶
type ShowDeployTaskDetailResponse struct { // 部署任务id TaskId *string `json:"task_id,omitempty"` // 应用名称 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 部署类型模式,包括deployTemplate,ansible,shell DeploySystem *string `json:"deploy_system,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 UpdateTime *string `json:"update_time,omitempty"` // 应用状态,Draft表示草稿状态,Available表示可用状态 State *ShowDeployTaskDetailResponseState `json:"state,omitempty"` // 最后一次部署时间 ExecutionTime *string `json:"execution_time,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否使用默认权限矩阵 IsDefautPermission *bool `json:"is_defaut_permission,omitempty"` // 模板id TemplateId *string `json:"template_id,omitempty"` // 应用创建者用户名 Owner *string `json:"owner,omitempty"` // 应用创建者昵称 NickName *string `json:"nick_name,omitempty"` // 应用创建者用户id OwnerId *string `json:"owner_id,omitempty"` // 应用创建者租户id TenantId *string `json:"tenant_id,omitempty"` // 应用创建者租户名 TenantName *string `json:"tenant_name,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 当前用户是否已收藏 IsCare *bool `json:"is_care,omitempty"` // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有部署权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有编辑应用权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有禁用应用的权限 CanDisable *bool `json:"can_disable,omitempty"` // 应用和AOM应用组件对应关系 AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"` // 角色id,0:应用创建者,-1:项目创建者,3:项目经理,4:开发人员,5:测试经理,6:测试人员,7:参与者,8:浏览者 RoleId *int32 `json:"role_id,omitempty"` // 部署任务id Id *string `json:"id,omitempty"` // 部署记录序列号 ReleaseId *int32 `json:"release_id,omitempty"` // 当前应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` // 部署时间 Duration *string `json:"duration,omitempty"` // 部署状态 ExecutionState *string `json:"execution_state,omitempty"` // 部署者id ExecutorId *string `json:"executor_id,omitempty"` // 部署者名称 ExecutorNickName *string `json:"executor_nick_name,omitempty"` // 部署步骤 Steps map[string]Step `json:"steps,omitempty"` HttpStatusCode int `json:"-"` }
ShowDeployTaskDetailResponse Response Object
func (ShowDeployTaskDetailResponse) String ¶
func (o ShowDeployTaskDetailResponse) String() string
type ShowDeployTaskDetailResponseState ¶
type ShowDeployTaskDetailResponseState struct {
// contains filtered or unexported fields
}
func (ShowDeployTaskDetailResponseState) MarshalJSON ¶
func (c ShowDeployTaskDetailResponseState) MarshalJSON() ([]byte, error)
func (*ShowDeployTaskDetailResponseState) UnmarshalJSON ¶
func (c *ShowDeployTaskDetailResponseState) UnmarshalJSON(b []byte) error
func (ShowDeployTaskDetailResponseState) Value ¶
func (c ShowDeployTaskDetailResponseState) Value() string
type ShowDeployTaskDetailResponseStateEnum ¶
type ShowDeployTaskDetailResponseStateEnum struct { AVAILABLE ShowDeployTaskDetailResponseState DRAFT ShowDeployTaskDetailResponseState }
func GetShowDeployTaskDetailResponseStateEnum ¶
func GetShowDeployTaskDetailResponseStateEnum() ShowDeployTaskDetailResponseStateEnum
type ShowDeploymentGroupDetailRequest ¶
type ShowDeploymentGroupDetailRequest struct { // 主机集群id GroupId string `json:"group_id"` }
ShowDeploymentGroupDetailRequest Request Object
func (ShowDeploymentGroupDetailRequest) String ¶
func (o ShowDeploymentGroupDetailRequest) String() string
type ShowDeploymentGroupDetailResponse ¶
type ShowDeploymentGroupDetailResponse struct { // 主机集群id GroupId *string `json:"group_id,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 修改时间 UpdatedTime *string `json:"updated_time,omitempty"` // 集群内主机数量,一个主机集群内最多可添加200台主机 HostCount *int32 `json:"host_count,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 主机集群名 Name *string `json:"name,omitempty"` // 局点信息 RegionName *string `json:"region_name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 操作系统:windows|linux Os *string `json:"os,omitempty"` // 自动测试功能已下架,该字段已失效 AutoConnectionTestSwitch *int32 `json:"auto_connection_test_switch,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 用户昵称 NickName *string `json:"nick_name,omitempty"` CreatedBy *UserInfo `json:"created_by,omitempty"` UpdatedBy *UserInfo `json:"updated_by,omitempty"` // 描述 Description *string `json:"description,omitempty"` Permission *PermissionGroupDetail `json:"permission,omitempty"` HttpStatusCode int `json:"-"` }
ShowDeploymentGroupDetailResponse Response Object
func (ShowDeploymentGroupDetailResponse) String ¶
func (o ShowDeploymentGroupDetailResponse) String() string
type ShowDeploymentHostDetailRequest ¶
type ShowDeploymentHostDetailRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` }
ShowDeploymentHostDetailRequest Request Object
func (ShowDeploymentHostDetailRequest) String ¶
func (o ShowDeploymentHostDetailRequest) String() string
type ShowDeploymentHostDetailResponse ¶
type ShowDeploymentHostDetailResponse struct { // 主机集群id GroupId string `json:"group_id"` // 主机名称 HostName string `json:"host_name"` // IP,请输入弹性ip格式:161.17.101.12 Ip string `json:"ip"` // ssh端口,如:22 Port int32 `json:"port"` // 操作系统:windows|linux,需要和主机集群保持一致 Os ShowDeploymentHostDetailResponseOs `json:"os"` // 是否为代理机 AsProxy bool `json:"as_proxy"` // 代理机id ProxyHostId *string `json:"proxy_host_id,omitempty"` Authorization *DeploymentHostAuthorizationBody `json:"authorization"` // 免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机) InstallIcagent *bool `json:"install_icagent,omitempty"` // 主机id HostId *string `json:"host_id,omitempty"` ProxyHost *DeploymentHostDetail `json:"proxy_host,omitempty"` // 主机集群名 GroupName *string `json:"group_name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` Permission *PermissionHostDetail `json:"permission,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 最后连接时间 LastestConnectionTime *string `json:"lastest_connection_time,omitempty"` // 连接状态 ConnectionStatus *string `json:"connection_status,omitempty"` // 拥有者名称 OwnerName *string `json:"owner_name,omitempty"` // 维护者id UpdatorId *string `json:"updator_id,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 昵称 NickName *string `json:"nick_name,omitempty"` // 拥有者id OwnerId *string `json:"owner_id,omitempty"` // 维护者名称 UpdatorName *string `json:"updator_name,omitempty"` // 连接结果 ConnectionResult *string `json:"connection_result,omitempty"` HttpStatusCode int `json:"-"` }
ShowDeploymentHostDetailResponse Response Object
func (ShowDeploymentHostDetailResponse) String ¶
func (o ShowDeploymentHostDetailResponse) String() string
type ShowDeploymentHostDetailResponseOs ¶
type ShowDeploymentHostDetailResponseOs struct {
// contains filtered or unexported fields
}
func (ShowDeploymentHostDetailResponseOs) MarshalJSON ¶
func (c ShowDeploymentHostDetailResponseOs) MarshalJSON() ([]byte, error)
func (*ShowDeploymentHostDetailResponseOs) UnmarshalJSON ¶
func (c *ShowDeploymentHostDetailResponseOs) UnmarshalJSON(b []byte) error
func (ShowDeploymentHostDetailResponseOs) Value ¶
func (c ShowDeploymentHostDetailResponseOs) Value() string
type ShowDeploymentHostDetailResponseOsEnum ¶
type ShowDeploymentHostDetailResponseOsEnum struct { WINDOWS ShowDeploymentHostDetailResponseOs LINUX ShowDeploymentHostDetailResponseOs }
func GetShowDeploymentHostDetailResponseOsEnum ¶
func GetShowDeploymentHostDetailResponseOsEnum() ShowDeploymentHostDetailResponseOsEnum
type ShowEnvironmentDetailRequest ¶ added in v0.1.57
type ShowEnvironmentDetailRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` }
ShowEnvironmentDetailRequest Request Object
func (ShowEnvironmentDetailRequest) String ¶ added in v0.1.57
func (o ShowEnvironmentDetailRequest) String() string
type ShowEnvironmentDetailResponse ¶ added in v0.1.57
type ShowEnvironmentDetailResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *EnvironmentDetail `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowEnvironmentDetailResponse Response Object
func (ShowEnvironmentDetailResponse) String ¶ added in v0.1.57
func (o ShowEnvironmentDetailResponse) String() string
type ShowExecutionParamsRequest ¶ added in v0.1.61
type ShowExecutionParamsRequest struct { // 任务id TaskId string `json:"task_id"` // 执行记录id RecordId *string `json:"record_id,omitempty"` }
ShowExecutionParamsRequest Request Object
func (ShowExecutionParamsRequest) String ¶ added in v0.1.61
func (o ShowExecutionParamsRequest) String() string
type ShowExecutionParamsResponse ¶ added in v0.1.61
type ShowExecutionParamsResponse struct { // 查询部署记录执行参数返回体 Body *[]ConfigInfo `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
ShowExecutionParamsResponse Response Object
func (ShowExecutionParamsResponse) String ¶ added in v0.1.61
func (o ShowExecutionParamsResponse) String() string
type ShowHostClusterDetailRequest ¶ added in v0.1.57
type ShowHostClusterDetailRequest struct { // 主机集群id GroupId string `json:"group_id"` }
ShowHostClusterDetailRequest Request Object
func (ShowHostClusterDetailRequest) String ¶ added in v0.1.57
func (o ShowHostClusterDetailRequest) String() string
type ShowHostClusterDetailResponse ¶ added in v0.1.57
type ShowHostClusterDetailResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *HostClusterInfoDetail `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowHostClusterDetailResponse Response Object
func (ShowHostClusterDetailResponse) String ¶ added in v0.1.57
func (o ShowHostClusterDetailResponse) String() string
type ShowHostDetailRequest ¶ added in v0.1.57
type ShowHostDetailRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` }
ShowHostDetailRequest Request Object
func (ShowHostDetailRequest) String ¶ added in v0.1.57
func (o ShowHostDetailRequest) String() string
type ShowHostDetailResponse ¶ added in v0.1.57
type ShowHostDetailResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *HostInfoDetail `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowHostDetailResponse Response Object
func (ShowHostDetailResponse) String ¶ added in v0.1.57
func (o ShowHostDetailResponse) String() string
type ShowProjectSuccessRateRequest ¶
type ShowProjectSuccessRateRequest struct { // 项目id ProjectId string `json:"project_id"` // 部署应用开始时间范围的左边界(包含),格式yyyy-MM-dd StartDate string `json:"start_date"` // 部署应用开始时间范围的右边界(包含),格式yyyy-MM-dd 。最大时间范围为1年。 EndDate string `json:"end_date"` }
ShowProjectSuccessRateRequest Request Object
func (ShowProjectSuccessRateRequest) String ¶
func (o ShowProjectSuccessRateRequest) String() string
type ShowProjectSuccessRateResponse ¶
type ShowProjectSuccessRateResponse struct { // 成功率 SuccessRate *string `json:"success_rate,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 应用部署开始时间范围的左边界(包含),格式yyyy-MM-dd StartDate *string `json:"start_date,omitempty"` // 应用部署开始时间范围的右边界(包含),格式yyyy-MM-dd EndDate *string `json:"end_date,omitempty"` // 查询到的应用数 TaskCount *int32 `json:"task_count,omitempty"` // 查询到的应用部署记录数 RecordCount *int32 `json:"record_count,omitempty"` // 成功的应用部署记录数 SuccessRecordCount *int32 `json:"success_record_count,omitempty"` HttpStatusCode int `json:"-"` }
ShowProjectSuccessRateResponse Response Object
func (ShowProjectSuccessRateResponse) String ¶
func (o ShowProjectSuccessRateResponse) String() string
type StartDeployTaskRequest ¶
type StartDeployTaskRequest struct { // 部署任务id TaskId string `json:"task_id"` Body *EnvExecutionBody `json:"body,omitempty"` }
StartDeployTaskRequest Request Object
func (StartDeployTaskRequest) String ¶
func (o StartDeployTaskRequest) String() string
type StartDeployTaskResponse ¶
type StartDeployTaskResponse struct { // 部署记录id Id *string `json:"id,omitempty"` // 部署任务id TaskId *string `json:"task_id,omitempty"` // 执行任务名称 JobName *string `json:"job_name,omitempty"` // 应用和AOM应用组件对应关系 AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"` HttpStatusCode int `json:"-"` }
StartDeployTaskResponse Response Object
func (StartDeployTaskResponse) String ¶
func (o StartDeployTaskResponse) String() string
type Step ¶
type Step struct { // id Id *string `json:"id,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 参数 Params map[string]string `json:"params,omitempty"` // 是否开启 Enable *bool `json:"enable,omitempty"` }
Step 部署步骤
type TaskBaseBody ¶ added in v0.1.57
type TaskBaseBody struct { // 创建的部署任务id Id *string `json:"id,omitempty"` }
func (TaskBaseBody) String ¶ added in v0.1.57
func (o TaskBaseBody) String() string
type TaskBaseResponseBody ¶ added in v0.1.57
type TaskBaseResponseBody struct { // 部署任务id Id *string `json:"id,omitempty"` // 部署任务状态 State *string `json:"state,omitempty"` // 部署任务类型 DeploySystem *string `json:"deploy_system,omitempty"` }
func (TaskBaseResponseBody) String ¶ added in v0.1.57
func (o TaskBaseResponseBody) String() string
type TaskInfo ¶
type TaskInfo struct { // 部署任务id TaskId *string `json:"task_id,omitempty"` // 应用名称 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 部署类型模式,包括deployTemplate,ansible,shell DeploySystem *string `json:"deploy_system,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 UpdateTime *string `json:"update_time,omitempty"` // 应用状态,Draft表示草稿状态,Available表示可用状态 State *TaskInfoState `json:"state,omitempty"` // 最后一次部署时间 ExecutionTime *string `json:"execution_time,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否使用默认权限矩阵 IsDefautPermission *bool `json:"is_defaut_permission,omitempty"` // 模板id TemplateId *string `json:"template_id,omitempty"` // 应用创建者用户名 Owner *string `json:"owner,omitempty"` // 应用创建者昵称 NickName *string `json:"nick_name,omitempty"` // 应用创建者用户id OwnerId *string `json:"owner_id,omitempty"` // 应用创建者租户id TenantId *string `json:"tenant_id,omitempty"` // 应用创建者租户名 TenantName *string `json:"tenant_name,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 当前用户是否已收藏 IsCare *bool `json:"is_care,omitempty"` // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有部署权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有编辑应用权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有禁用应用的权限 CanDisable *bool `json:"can_disable,omitempty"` // 应用和AOM应用组件对应关系 AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"` // 角色id,0:应用创建者,-1:项目创建者,3:项目经理,4:开发人员,5:测试经理,6:测试人员,7:参与者,8:浏览者 RoleId *int32 `json:"role_id,omitempty"` // 部署任务id Id *string `json:"id,omitempty"` // 部署记录序列号 ReleaseId *int32 `json:"release_id,omitempty"` // 当前应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` // 部署时间 Duration *string `json:"duration,omitempty"` // 部署状态 ExecutionState *string `json:"execution_state,omitempty"` // 部署者id ExecutorId *string `json:"executor_id,omitempty"` // 部署者名称 ExecutorNickName *string `json:"executor_nick_name,omitempty"` // 部署步骤 Steps map[string]Step `json:"steps,omitempty"` }
TaskInfo 查询应用详情响应体
type TaskInfoState ¶
type TaskInfoState struct {
// contains filtered or unexported fields
}
func (TaskInfoState) MarshalJSON ¶
func (c TaskInfoState) MarshalJSON() ([]byte, error)
func (*TaskInfoState) UnmarshalJSON ¶
func (c *TaskInfoState) UnmarshalJSON(b []byte) error
func (TaskInfoState) Value ¶
func (c TaskInfoState) Value() string
type TaskInfoStateEnum ¶
type TaskInfoStateEnum struct { AVAILABLE TaskInfoState DRAFT TaskInfoState }
func GetTaskInfoStateEnum ¶
func GetTaskInfoStateEnum() TaskInfoStateEnum
type TaskSuccessRate ¶
type TaskSuccessRate struct { // 任务id TaskId *string `json:"task_id,omitempty"` // 应用名称 TaskName *string `json:"task_name,omitempty"` // 成功率 SuccessRate *string `json:"success_rate,omitempty"` // 部署记录数 RecordCount *int32 `json:"record_count,omitempty"` // 成功的部署记录数 SuccessRecordCount *int32 `json:"success_record_count,omitempty"` }
TaskSuccessRate 单个应用的部署成功率
func (TaskSuccessRate) String ¶
func (o TaskSuccessRate) String() string
type TaskTriggerVo ¶ added in v0.1.57
type TaskTriggerVo struct { // 部署任务允许执行的场景。其中0:所有执行请求均可,1:只允许流水线触发 TriggerSource *string `json:"trigger_source,omitempty"` // 当任务只允许流水线触发执行时,流水线传递的来源信息,当前只有CloudArtifact ArtifactSourceSystem *string `json:"artifact_source_system,omitempty"` // 当任务只允许流水线触发执行时,对应流水线源的制品仓库类型(generic、docker) ArtifactType *string `json:"artifact_type,omitempty"` }
TaskTriggerVo 部署任务触发场景配置
func (TaskTriggerVo) String ¶ added in v0.1.57
func (o TaskTriggerVo) String() string
type TaskV2Info ¶ added in v0.1.59
type TaskV2Info struct { // 部署任务id Id *string `json:"id,omitempty"` // 部署任务名称 Name *string `json:"name,omitempty"` // 部署任务状态 State *string `json:"state,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 部署任务所属人 Owner *string `json:"owner,omitempty"` // 部署步骤 Steps map[string]Step `json:"steps,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 项目名称 ProjectName *string `json:"project_name,omitempty"` // 部署类型模式,包括deployTemplate、ansible、shell DeploySystem *string `json:"deploy_system,omitempty"` // 创建时间 CreateTime *string `json:"create_time,omitempty"` // 修改时间 UpdateTime *string `json:"update_time,omitempty"` // 角色id RoleId *int32 `json:"role_id,omitempty"` // 是否为默认角色 IsDefautPermission *bool `json:"is_defaut_permission,omitempty"` // 模板id TemplateId *string `json:"template_id,omitempty"` // 应用创建者昵称 NickName *string `json:"nick_name,omitempty"` // 应用创建者用户id OwnerId *string `json:"owner_id,omitempty"` // 应用创建者租户id TenantId *string `json:"tenant_id,omitempty"` // 应用创建者租户名 TenantName *string `json:"tenant_name,omitempty"` // slave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 当前用户是否已收藏 IsCare *bool `json:"is_care,omitempty"` // 是否有编辑权限 CanModify *bool `json:"can_modify,omitempty"` // 是否有删除的权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有部署权限 CanExecute *bool `json:"can_execute,omitempty"` // 是否有复制权限 CanCopy *bool `json:"can_copy,omitempty"` // 是否有编辑应用权限矩阵的权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有创建环境的权限 CanCreateEnv *bool `json:"can_create_env,omitempty"` // 是否有禁用应用的权限 CanDisable *bool `json:"can_disable,omitempty"` // 应用组件列表 AppComponentList *[]AppComponentDao `json:"app_component_list,omitempty"` // 部署记录序列号 ReleaseId *int32 `json:"release_id,omitempty"` // 部署任务所属应用id AppId *string `json:"app_id,omitempty"` // 当前应用是否被禁用 IsDisable *bool `json:"is_disable,omitempty"` }
TaskV2Info 部署任务详情信息
func (TaskV2Info) String ¶ added in v0.1.59
func (o TaskV2Info) String() string
type TaskV2RequestBody ¶ added in v0.1.57
type TaskV2RequestBody struct { // 模板id TemplateId *string `json:"template_id,omitempty"` // 部署编排列表信息 OperationList *[]DeployV2OperationsDo `json:"operation_list,omitempty"` }
func (TaskV2RequestBody) String ¶ added in v0.1.57
func (o TaskV2RequestBody) String() string
type TasksSuccessRateQuery ¶
type TasksSuccessRateQuery struct { // 部署应用开始时间范围的左边界(包含),格式yyyy-MM-dd StartDate string `json:"start_date"` // 部署应用开始时间范围的右边界(包含),格式yyyy-MM-dd 。最大时间范围为1年。 EndDate string `json:"end_date"` // 任务id列表 TaskIds []string `json:"task_ids"` }
TasksSuccessRateQuery 查询多个应用的部署成功率的请求体
func (TasksSuccessRateQuery) String ¶
func (o TasksSuccessRateQuery) String() string
type TemplateTaskRequestBody ¶
type TemplateTaskRequestBody struct { // 项目id ProjectId string `json:"project_id"` // 项目名称 ProjectName string `json:"project_name"` // 部署模板id TemplateId string `json:"template_id"` // 应用名称 TaskName string `json:"task_name"` // 自定义slave资源池id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` // 部署参数类 Configs *[]ConfigInfoDo `json:"configs,omitempty"` }
TemplateTaskRequestBody 通过模板创建应用请求体
func (TemplateTaskRequestBody) String ¶
func (o TemplateTaskRequestBody) String() string
type UpdateAppDisableStatusRequest ¶ added in v0.1.105
type UpdateAppDisableStatusRequest struct { // 应用id AppId string `json:"app_id"` Body *UpdateAppDisableStatusRequestBody `json:"body,omitempty"` }
UpdateAppDisableStatusRequest Request Object
func (UpdateAppDisableStatusRequest) String ¶ added in v0.1.105
func (o UpdateAppDisableStatusRequest) String() string
type UpdateAppDisableStatusRequestBody ¶ added in v0.1.105
type UpdateAppDisableStatusRequestBody struct { // 是否禁用, true禁用, false取消禁用 IsDisable bool `json:"is_disable"` }
UpdateAppDisableStatusRequestBody 禁用/取消禁用应用请求体
func (UpdateAppDisableStatusRequestBody) String ¶ added in v0.1.105
func (o UpdateAppDisableStatusRequestBody) String() string
type UpdateAppDisableStatusResponse ¶ added in v0.1.105
type UpdateAppDisableStatusResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAppDisableStatusResponse Response Object
func (UpdateAppDisableStatusResponse) String ¶ added in v0.1.105
func (o UpdateAppDisableStatusResponse) String() string
type UpdateAppGroupsRequest ¶ added in v0.1.105
type UpdateAppGroupsRequest struct { // 项目Id ProjectId string `json:"project_id"` // 分组Id GroupId string `json:"group_id"` Body *UpdateAppGroupsRequestBody `json:"body,omitempty"` }
UpdateAppGroupsRequest Request Object
func (UpdateAppGroupsRequest) String ¶ added in v0.1.105
func (o UpdateAppGroupsRequest) String() string
type UpdateAppGroupsRequestBody ¶ added in v0.1.105
type UpdateAppGroupsRequestBody struct { // 分组名称 Name string `json:"name"` }
func (UpdateAppGroupsRequestBody) String ¶ added in v0.1.105
func (o UpdateAppGroupsRequestBody) String() string
type UpdateAppGroupsResponse ¶ added in v0.1.105
type UpdateAppGroupsResponse struct { // 分组id Result *string `json:"result,omitempty"` // 请求成功失败状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAppGroupsResponse Response Object
func (UpdateAppGroupsResponse) String ¶ added in v0.1.105
func (o UpdateAppGroupsResponse) String() string
type UpdateAppInfoRequest ¶ added in v0.1.105
type UpdateAppInfoRequest struct {
Body *UpdateAppInfoRequestBody `json:"body,omitempty"`
}
UpdateAppInfoRequest Request Object
func (UpdateAppInfoRequest) String ¶ added in v0.1.105
func (o UpdateAppInfoRequest) String() string
type UpdateAppInfoRequestBody ¶ added in v0.1.105
type UpdateAppInfoRequestBody struct { // 应用id Id string `json:"id"` // 项目id ProjectId string `json:"project_id"` // 应用名称 Name string `json:"name"` // 描述 Description *string `json:"description,omitempty"` // 是否为草稿 IsDraft bool `json:"is_draft"` // 创建类型,template:部署模板创建 CreateType UpdateAppInfoRequestBodyCreateType `json:"create_type"` // 自定义slave资源池id SlaveClusterId *string `json:"slave_cluster_id,omitempty"` Trigger *TaskTriggerVo `json:"trigger,omitempty"` // 部署任务列表信息 ArrangeInfos *[]UpdateTaskV2RequestBody `json:"arrange_infos,omitempty"` }
UpdateAppInfoRequestBody 更新应用请求体
func (UpdateAppInfoRequestBody) String ¶ added in v0.1.105
func (o UpdateAppInfoRequestBody) String() string
type UpdateAppInfoRequestBodyCreateType ¶ added in v0.1.105
type UpdateAppInfoRequestBodyCreateType struct {
// contains filtered or unexported fields
}
func (UpdateAppInfoRequestBodyCreateType) MarshalJSON ¶ added in v0.1.105
func (c UpdateAppInfoRequestBodyCreateType) MarshalJSON() ([]byte, error)
func (*UpdateAppInfoRequestBodyCreateType) UnmarshalJSON ¶ added in v0.1.105
func (c *UpdateAppInfoRequestBodyCreateType) UnmarshalJSON(b []byte) error
func (UpdateAppInfoRequestBodyCreateType) Value ¶ added in v0.1.105
func (c UpdateAppInfoRequestBodyCreateType) Value() string
type UpdateAppInfoRequestBodyCreateTypeEnum ¶ added in v0.1.105
type UpdateAppInfoRequestBodyCreateTypeEnum struct {
TEMPLATE UpdateAppInfoRequestBodyCreateType
}
func GetUpdateAppInfoRequestBodyCreateTypeEnum ¶ added in v0.1.105
func GetUpdateAppInfoRequestBodyCreateTypeEnum() UpdateAppInfoRequestBodyCreateTypeEnum
type UpdateAppInfoResponse ¶ added in v0.1.105
type UpdateAppInfoResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *AppBaseResponse `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAppInfoResponse Response Object
func (UpdateAppInfoResponse) String ¶ added in v0.1.105
func (o UpdateAppInfoResponse) String() string
type UpdateDeploymentGroupRequest ¶
type UpdateDeploymentGroupRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *DeploymentGroupUpdateRequest `json:"body,omitempty"` }
UpdateDeploymentGroupRequest Request Object
func (UpdateDeploymentGroupRequest) String ¶
func (o UpdateDeploymentGroupRequest) String() string
type UpdateDeploymentGroupResponse ¶
type UpdateDeploymentGroupResponse struct { // 主机集群id GroupId *string `json:"group_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDeploymentGroupResponse Response Object
func (UpdateDeploymentGroupResponse) String ¶
func (o UpdateDeploymentGroupResponse) String() string
type UpdateDeploymentHostRequest ¶
type UpdateDeploymentHostRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` Body *DeploymentHostRequest `json:"body,omitempty"` }
UpdateDeploymentHostRequest Request Object
func (UpdateDeploymentHostRequest) String ¶
func (o UpdateDeploymentHostRequest) String() string
type UpdateDeploymentHostResponse ¶
type UpdateDeploymentHostResponse struct { // 主机id HostId *string `json:"host_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDeploymentHostResponse Response Object
func (UpdateDeploymentHostResponse) String ¶
func (o UpdateDeploymentHostResponse) String() string
type UpdateEnvironmentPermissionRequest ¶ added in v0.1.105
type UpdateEnvironmentPermissionRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` Body *EnvironmentPermissionV2Body `json:"body,omitempty"` }
UpdateEnvironmentPermissionRequest Request Object
func (UpdateEnvironmentPermissionRequest) String ¶ added in v0.1.105
func (o UpdateEnvironmentPermissionRequest) String() string
type UpdateEnvironmentPermissionResponse ¶ added in v0.1.105
type UpdateEnvironmentPermissionResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` Result *DevUcEnvironmentPermission `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateEnvironmentPermissionResponse Response Object
func (UpdateEnvironmentPermissionResponse) String ¶ added in v0.1.105
func (o UpdateEnvironmentPermissionResponse) String() string
type UpdateEnvironmentRequest ¶ added in v0.1.105
type UpdateEnvironmentRequest struct { // 应用id ApplicationId string `json:"application_id"` // 环境id EnvironmentId string `json:"environment_id"` Body *EnvironmentRequest `json:"body,omitempty"` }
UpdateEnvironmentRequest Request Object
func (UpdateEnvironmentRequest) String ¶ added in v0.1.105
func (o UpdateEnvironmentRequest) String() string
type UpdateEnvironmentResponse ¶ added in v0.1.105
type UpdateEnvironmentResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 环境id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateEnvironmentResponse Response Object
func (UpdateEnvironmentResponse) String ¶ added in v0.1.105
func (o UpdateEnvironmentResponse) String() string
type UpdateHostClusterRequest ¶ added in v0.1.105
type UpdateHostClusterRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *HostClusterRequest `json:"body,omitempty"` }
UpdateHostClusterRequest Request Object
func (UpdateHostClusterRequest) String ¶ added in v0.1.105
func (o UpdateHostClusterRequest) String() string
type UpdateHostClusterResponse ¶ added in v0.1.105
type UpdateHostClusterResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机集群id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateHostClusterResponse Response Object
func (UpdateHostClusterResponse) String ¶ added in v0.1.105
func (o UpdateHostClusterResponse) String() string
type UpdateHostGroupPermissionsRequest ¶ added in v0.1.105
type UpdateHostGroupPermissionsRequest struct { // 主机集群id GroupId string `json:"group_id"` Body *PermissionUpdateV2Body `json:"body,omitempty"` }
UpdateHostGroupPermissionsRequest Request Object
func (UpdateHostGroupPermissionsRequest) String ¶ added in v0.1.105
func (o UpdateHostGroupPermissionsRequest) String() string
type UpdateHostGroupPermissionsResponse ¶ added in v0.1.105
type UpdateHostGroupPermissionsResponse struct { // 局点信息 Region *string `json:"region,omitempty"` // 角色id RoleId *string `json:"role_id,omitempty"` // 角色id列表 DevucRoleIdList *[]string `json:"devuc_role_id_list,omitempty"` // 角色名称 Name *string `json:"name,omitempty"` // 主机集群id GroupId *string `json:"group_id,omitempty"` // 是否有查看权限 CanView *bool `json:"can_view,omitempty"` // 是否有编辑权限 CanEdit *bool `json:"can_edit,omitempty"` // 是否有删除权限 CanDelete *bool `json:"can_delete,omitempty"` // 是否有添加主机权限 CanAddHost *bool `json:"can_add_host,omitempty"` // 是否有权限管理权限 CanManage *bool `json:"can_manage,omitempty"` // 是否有拷贝权限 CanCopy *bool `json:"can_copy,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 修改时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` // 角色类型,project-customized:自定义角色;template-project-customized:系统自定义角色; template-customized-inst:系统角色;cluster-creator:集群创建者;project_admin:项目创建者 RoleType *UpdateHostGroupPermissionsResponseRoleType `json:"role_type,omitempty"` HttpStatusCode int `json:"-"` }
UpdateHostGroupPermissionsResponse Response Object
func (UpdateHostGroupPermissionsResponse) String ¶ added in v0.1.105
func (o UpdateHostGroupPermissionsResponse) String() string
type UpdateHostGroupPermissionsResponseRoleType ¶ added in v0.1.105
type UpdateHostGroupPermissionsResponseRoleType struct {
// contains filtered or unexported fields
}
func (UpdateHostGroupPermissionsResponseRoleType) MarshalJSON ¶ added in v0.1.105
func (c UpdateHostGroupPermissionsResponseRoleType) MarshalJSON() ([]byte, error)
func (*UpdateHostGroupPermissionsResponseRoleType) UnmarshalJSON ¶ added in v0.1.105
func (c *UpdateHostGroupPermissionsResponseRoleType) UnmarshalJSON(b []byte) error
func (UpdateHostGroupPermissionsResponseRoleType) Value ¶ added in v0.1.105
func (c UpdateHostGroupPermissionsResponseRoleType) Value() string
type UpdateHostGroupPermissionsResponseRoleTypeEnum ¶ added in v0.1.105
type UpdateHostGroupPermissionsResponseRoleTypeEnum struct { PROJECT_CUSTOMIZED UpdateHostGroupPermissionsResponseRoleType TEMPLATE_PROJECT_CUSTOMIZED UpdateHostGroupPermissionsResponseRoleType TEMPLATE_CUSTOMIZED_INST UpdateHostGroupPermissionsResponseRoleType CLUSTER_CREATOR UpdateHostGroupPermissionsResponseRoleType PROJECT_ADMIN UpdateHostGroupPermissionsResponseRoleType }
func GetUpdateHostGroupPermissionsResponseRoleTypeEnum ¶ added in v0.1.105
func GetUpdateHostGroupPermissionsResponseRoleTypeEnum() UpdateHostGroupPermissionsResponseRoleTypeEnum
type UpdateHostInfoRequest ¶ added in v0.1.105
type UpdateHostInfoRequest struct { // 主机集群id GroupId string `json:"group_id"` // 主机id HostId string `json:"host_id"` Body *DeploymentHostRequestExternal `json:"body,omitempty"` }
UpdateHostInfoRequest Request Object
func (UpdateHostInfoRequest) String ¶ added in v0.1.105
func (o UpdateHostInfoRequest) String() string
type UpdateHostInfoResponse ¶ added in v0.1.105
type UpdateHostInfoResponse struct { // 请求成功失败状态 Status *string `json:"status,omitempty"` // 主机id Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateHostInfoResponse Response Object
func (UpdateHostInfoResponse) String ¶ added in v0.1.105
func (o UpdateHostInfoResponse) String() string
type UpdateTaskV2RequestBody ¶ added in v0.1.105
type UpdateTaskV2RequestBody struct { // 部署任务id Id *string `json:"id,omitempty"` // 部署系统,deployTemplate:部署模板 DeploySystem *UpdateTaskV2RequestBodyDeploySystem `json:"deploy_system,omitempty"` // 部署模板实例id TemplateId *string `json:"template_id,omitempty"` // 部署编排列表信息 OperationList *[]DeployV2OperationsDo `json:"operation_list,omitempty"` }
func (UpdateTaskV2RequestBody) String ¶ added in v0.1.105
func (o UpdateTaskV2RequestBody) String() string
type UpdateTaskV2RequestBodyDeploySystem ¶ added in v0.1.105
type UpdateTaskV2RequestBodyDeploySystem struct {
// contains filtered or unexported fields
}
func (UpdateTaskV2RequestBodyDeploySystem) MarshalJSON ¶ added in v0.1.105
func (c UpdateTaskV2RequestBodyDeploySystem) MarshalJSON() ([]byte, error)
func (*UpdateTaskV2RequestBodyDeploySystem) UnmarshalJSON ¶ added in v0.1.105
func (c *UpdateTaskV2RequestBodyDeploySystem) UnmarshalJSON(b []byte) error
func (UpdateTaskV2RequestBodyDeploySystem) Value ¶ added in v0.1.105
func (c UpdateTaskV2RequestBodyDeploySystem) Value() string
type UpdateTaskV2RequestBodyDeploySystemEnum ¶ added in v0.1.105
type UpdateTaskV2RequestBodyDeploySystemEnum struct {
DEPLOY_TEMPLATE UpdateTaskV2RequestBodyDeploySystem
}
func GetUpdateTaskV2RequestBodyDeploySystemEnum ¶ added in v0.1.105
func GetUpdateTaskV2RequestBodyDeploySystemEnum() UpdateTaskV2RequestBodyDeploySystemEnum
Source Files ¶
- model_app_base_info.go
- model_app_base_response.go
- model_app_batch_delete_request.go
- model_app_component_dao.go
- model_app_delete_result.go
- model_app_detail_info.go
- model_app_execution_info.go
- model_app_groups_entity.go
- model_app_permission.go
- model_application_permission_vo.go
- model_batch_delete_app_request.go
- model_batch_delete_app_response.go
- model_batch_delete_hosts_request.go
- model_batch_delete_hosts_response.go
- model_batch_update_application_permissions_request.go
- model_batch_update_application_permissions_request_body.go
- model_batch_update_application_permissions_response.go
- model_batch_update_permission_level_request.go
- model_batch_update_permission_level_request_body.go
- model_batch_update_permission_level_response.go
- model_check_can_create_request.go
- model_check_can_create_response.go
- model_check_can_create_response_body_result.go
- model_check_is_duplicate_app_name_request.go
- model_check_is_duplicate_app_name_response.go
- model_check_whether_host_group_can_be_created_request.go
- model_check_whether_host_group_can_be_created_response.go
- model_config_info.go
- model_config_info_do.go
- model_copy_application_request.go
- model_copy_application_response.go
- model_copy_hosts_to_target_request.go
- model_copy_hosts_to_target_response.go
- model_create_app_groups_request.go
- model_create_app_groups_request_body.go
- model_create_app_groups_response.go
- model_create_app_request.go
- model_create_app_request_body.go
- model_create_app_response.go
- model_create_deploy_task_by_template_request.go
- model_create_deploy_task_by_template_response.go
- model_create_deployment_group_request.go
- model_create_deployment_group_response.go
- model_create_deployment_host_request.go
- model_create_deployment_host_response.go
- model_create_environment_request.go
- model_create_environment_response.go
- model_create_host_cluster_request.go
- model_create_host_cluster_request_body.go
- model_create_host_cluster_response.go
- model_create_host_request.go
- model_create_host_request_body.go
- model_create_host_response.go
- model_delete_app_groups_request.go
- model_delete_app_groups_response.go
- model_delete_application_request.go
- model_delete_application_response.go
- model_delete_deploy_task_request.go
- model_delete_deploy_task_response.go
- model_delete_deployment_group_request.go
- model_delete_deployment_group_response.go
- model_delete_deployment_host_request.go
- model_delete_deployment_host_response.go
- model_delete_environment_request.go
- model_delete_environment_response.go
- model_delete_host_cluster_request.go
- model_delete_host_cluster_response.go
- model_delete_host_from_environment_request.go
- model_delete_host_from_environment_response.go
- model_delete_host_request.go
- model_delete_host_response.go
- model_deploy_v2_operations_do.go
- model_deployment_group.go
- model_deployment_group_detail.go
- model_deployment_group_update_request.go
- model_deployment_host.go
- model_deployment_host_authorization_body.go
- model_deployment_host_detail.go
- model_deployment_host_info.go
- model_deployment_host_list_entity.go
- model_deployment_host_request.go
- model_deployment_host_request_external.go
- model_deployment_hosts_copy_request.go
- model_deployment_update_host.go
- model_dev_uc_cluster_permission.go
- model_dev_uc_environment_permission.go
- model_dynamic_config_info.go
- model_env_execution_body.go
- model_environment_base_info.go
- model_environment_detail.go
- model_environment_host_info.go
- model_environment_host_permission.go
- model_environment_info.go
- model_environment_permission_detail.go
- model_environment_permission_v2_body.go
- model_environment_request.go
- model_environment_request_body.go
- model_execute_record_v2_body.go
- model_host_authorization_body.go
- model_host_cluster_info.go
- model_host_cluster_info_detail.go
- model_host_cluster_request.go
- model_host_info.go
- model_host_info_detail.go
- model_import_host_to_environment_request.go
- model_import_host_to_environment_request_body.go
- model_import_host_to_environment_response.go
- model_key_value_do.go
- model_list_all_app_request.go
- model_list_all_app_request_body.go
- model_list_all_app_response.go
- model_list_app_groups_request.go
- model_list_app_groups_response.go
- model_list_application_permissions_request.go
- model_list_application_permissions_response.go
- model_list_associate_environments_infos_request.go
- model_list_associate_environments_infos_response.go
- model_list_deploy_task_history_by_date_request.go
- model_list_deploy_task_history_by_date_response.go
- model_list_deploy_tasks_request.go
- model_list_deploy_tasks_response.go
- model_list_environment_hosts_request.go
- model_list_environment_hosts_response.go
- model_list_environment_permissions_request.go
- model_list_environment_permissions_response.go
- model_list_environments_request.go
- model_list_environments_response.go
- model_list_host_clusters_request.go
- model_list_host_clusters_response.go
- model_list_host_group_base_infos_request.go
- model_list_host_group_base_infos_response.go
- model_list_host_group_permissions_request.go
- model_list_host_group_permissions_response.go
- model_list_host_groups_request.go
- model_list_host_groups_response.go
- model_list_hosts_request.go
- model_list_hosts_response.go
- model_list_new_hosts_request.go
- model_list_new_hosts_response.go
- model_list_task_success_rate_request.go
- model_list_task_success_rate_response.go
- model_move_app_groups_request.go
- model_move_app_groups_request_body.go
- model_move_app_groups_response.go
- model_move_app_to_group_request.go
- model_move_app_to_group_request_body.go
- model_move_app_to_group_response.go
- model_move_app_to_group_result.go
- model_param_type_limits.go
- model_permission_cluster_detail.go
- model_permission_group_detail.go
- model_permission_host_detail.go
- model_permission_host_detail_new.go
- model_permission_update_v2_body.go
- model_show_app_detail_by_id_request.go
- model_show_app_detail_by_id_response.go
- model_show_deploy_task_detail_request.go
- model_show_deploy_task_detail_response.go
- model_show_deployment_group_detail_request.go
- model_show_deployment_group_detail_response.go
- model_show_deployment_host_detail_request.go
- model_show_deployment_host_detail_response.go
- model_show_environment_detail_request.go
- model_show_environment_detail_response.go
- model_show_execution_params_request.go
- model_show_execution_params_response.go
- model_show_host_cluster_detail_request.go
- model_show_host_cluster_detail_response.go
- model_show_host_detail_request.go
- model_show_host_detail_response.go
- model_show_project_success_rate_request.go
- model_show_project_success_rate_response.go
- model_start_deploy_task_request.go
- model_start_deploy_task_response.go
- model_step.go
- model_task_base_body.go
- model_task_base_response_body.go
- model_task_info.go
- model_task_success_rate.go
- model_task_trigger_vo.go
- model_task_v2_info.go
- model_task_v2_request_body.go
- model_tasks_success_rate_query.go
- model_template_task_request_body.go
- model_update_app_disable_status_request.go
- model_update_app_disable_status_request_body.go
- model_update_app_disable_status_response.go
- model_update_app_groups_request.go
- model_update_app_groups_request_body.go
- model_update_app_groups_response.go
- model_update_app_info_request.go
- model_update_app_info_request_body.go
- model_update_app_info_response.go
- model_update_deployment_group_request.go
- model_update_deployment_group_response.go
- model_update_deployment_host_request.go
- model_update_deployment_host_response.go
- model_update_environment_permission_request.go
- model_update_environment_permission_response.go
- model_update_environment_request.go
- model_update_environment_response.go
- model_update_host_cluster_request.go
- model_update_host_cluster_response.go
- model_update_host_group_permissions_request.go
- model_update_host_group_permissions_response.go
- model_update_host_info_request.go
- model_update_host_info_response.go
- model_update_task_v2_request_body.go
- model_user_info.go