models

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ag

type Ag struct {

	/* 高可用组名称 (Optional) */
	Name string `json:"name"`

	/* 高可用组id (Optional) */
	Id string `json:"id"`
}

type AgentStatus

type AgentStatus struct {

	/* 部署状态ID (Optional) */
	Value int `json:"value"`

	/* 部署状态名称 (Optional) */
	Label string `json:"label"`
}

type App

type App struct {

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 部署平台:1云主机,2原生容器 (Optional) */
	Platform int `json:"platform"`

	/* 使用分布式服务框架:0不使用,1使用 (Optional) */
	JdsfEnabled int `json:"jdsfEnabled"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 上次部署时间 (Optional) */
	LastDeployTime int `json:"lastDeployTime"`
}

type CheckAgentStatusRequest

type CheckAgentStatusRequest struct {

	/* 部署组名  */
	GroupId string `json:"groupId"`
}

type ConcurrencyUnit

type ConcurrencyUnit struct {

	/* 并发单位ID (Optional) */
	Value int `json:"value"`

	/* 并发单位名称 (Optional) */
	Label string `json:"label"`
}

type CreateApp

type CreateApp struct {

	/* 应用名称  */
	AppName string `json:"appName"`

	/* 部署平台  */
	Platform int `json:"platform"`

	/* 使用分布式服务框架:0不使用,1使用 (Optional) */
	JdsfEnabled int `json:"jdsfEnabled"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`
}

type CreateDeploy

type CreateDeploy struct {

	/* 部署组ID,部署组的唯一标识  */
	GroupId string `json:"groupId"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署来源:1url,2云编译,3云存储  */
	DeploySource int `json:"deploySource"`

	/* 部署操作 (Optional) */
	DeployCmd string `json:"deployCmd"`

	/* 1使用输入的操作,2使用程序自带操作 (Optional) */
	CmdSource int `json:"cmdSource"`

	/* 部署操作展示格式:1form,2ymal (Optional) */
	CmdType int `json:"cmdType"`

	/* 项目类型 1tomcat,2 (Optional) */
	ProductType int `json:"productType"`

	/* 下载url (Optional) */
	DownloadUrl string `json:"downloadUrl"`

	/* md5 (Optional) */
	Md5 string `json:"md5"`

	/* 云编译项目名 (Optional) */
	CompileProject string `json:"compileProject"`

	/* 云编译构建序号 (Optional) */
	CompileSeries string `json:"compileSeries"`

	/* 云存储空间 (Optional) */
	OssSpace string `json:"ossSpace"`

	/* 云存储目录 (Optional) */
	OssDir string `json:"ossDir"`

	/* 文件类型:1.tar,2.zip,3.tar.gz (Optional) */
	FileType int `json:"fileType"`
}

type CreateGroup

type CreateGroup struct {

	/* 部署组名称  */
	GroupName string `json:"groupName"`

	/* 应用ID  */
	AppId string `json:"appId"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署方式:1滚动部署,2蓝绿部署  */
	DeployMethod int `json:"deployMethod"`

	/* 部署实例(滚动部署) (Optional) */
	Instances []string `json:"instances"`

	/* 部署实例(蓝绿部署蓝组) (Optional) */
	BlueInstances []string `json:"blueInstances"`

	/* 部署实例(蓝绿部署绿组) (Optional) */
	GreenInstances []string `json:"greenInstances"`

	/* 并发单位 (Optional) */
	ConcurrencyUnit int `json:"concurrencyUnit"`

	/* 并发机器数 (Optional) */
	ConcurrencyNum int `json:"concurrencyNum"`

	/* 并发度 (Optional) */
	ConcurrencyPct int `json:"concurrencyPct"`

	/* 负载均衡:1启动,2禁用  */
	LbStatus int `json:"lbStatus"`

	/* lb实例 (Optional) */
	LbInstance string `json:"lbInstance"`

	/* lb lb后端服务 (Optional) */
	LbBackend string `json:"lbBackend"`

	/* 同名文件处理方式:1部署失败,2覆盖,3保留  */
	RepeatPolicy int `json:"repeatPolicy"`

	/* 通知频率:0不发送,1消息,2邮件,3短信  */
	NoticeTrigger int `json:"noticeTrigger"`

	/* 通知方式:1消息,2邮件,3短信 (Optional) */
	NoticeMethod []string `json:"noticeMethod"`

	/* 自动回滚:1开启,2禁用  */
	Rollback int `json:"rollback"`

	/* 分布式服务框架ID (Optional) */
	JdsfRegisterId string `json:"jdsfRegisterId"`
}

type Deploy

type Deploy struct {

	/* 上线单ID (Optional) */
	DeployId string `json:"deployId"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 部署组名称 (Optional) */
	GroupId string `json:"groupId"`

	/* 部署组ID (Optional) */
	GroupName string `json:"groupName"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 部署开始时间 (Optional) */
	StartTime int `json:"startTime"`

	/* 部署结束时间 (Optional) */
	EndTime int `json:"endTime"`

	/* 部署状态 0待部署, 1部署中, 2成功, 3失败, 4回滚中, 5回滚成功, 6回滚失败, 7已取消 (Optional) */
	DeployStatus int `json:"deployStatus"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署方式:1滚动部署,2蓝绿部署 (Optional) */
	DeployMethod int `json:"deployMethod"`

	/* 部署来源:1url,2云编译,3云存储 (Optional) */
	DeploySource int `json:"deploySource"`

	/* 部署操作 (Optional) */
	DeployCmd string `json:"deployCmd"`

	/* 1使用输入的操作,2使用程序自带操作 (Optional) */
	CmdSource int `json:"cmdSource"`

	/* 部署操作展示格式:1form,2ymal (Optional) */
	CmdType int `json:"cmdType"`

	/* 项目类型 1tomcat,2 (Optional) */
	ProductType int `json:"productType"`

	/* 下载url (Optional) */
	DownloadUrl string `json:"downloadUrl"`

	/* md5 (Optional) */
	Md5 string `json:"md5"`

	/* 云编译项目名 (Optional) */
	CompileProject string `json:"compileProject"`

	/* 云编译构建序号 (Optional) */
	CompileSeries string `json:"compileSeries"`

	/* 云存储空间 (Optional) */
	OssSpace string `json:"ossSpace"`

	/* 云存储目录 (Optional) */
	OssDir string `json:"ossDir"`

	/* 文件类型:1.tar,2.zio,3.tar.gz (Optional) */
	FileType int `json:"fileType"`

	/* 是否可回滚 1是,2否 (Optional) */
	RollbackAble int `json:"rollbackAble"`

	/* 并发单位 (Optional) */
	ConcurrencyUnit int `json:"concurrencyUnit"`

	/* 并发机器数 (Optional) */
	ConcurrencyNum int `json:"concurrencyNum"`

	/* 并发度 (Optional) */
	ConcurrencyPct int `json:"concurrencyPct"`

	/* 负载均衡:1启动,2禁用 (Optional) */
	LbStatus int `json:"lbStatus"`

	/* lb实例 (Optional) */
	LbInstance string `json:"lbInstance"`

	/* lb 后端实例 (Optional) */
	LbBackend string `json:"lbBackend"`

	/* 同名文件处理方式:1部署失败,2覆盖,3保留 (Optional) */
	RepeatPolicy int `json:"repeatPolicy"`

	/* 通知频率:1异常发送,2每次发送 (Optional) */
	NoticeTrigger int `json:"noticeTrigger"`

	/* 通知方式:1消息,2邮件,3短信 (Optional) */
	NoticeMethod []string `json:"noticeMethod"`

	/* 使用分布式服务框架:0不使用,1使用 (Optional) */
	JdsfEnabled int `json:"jdsfEnabled"`
}

type DeployInstance

type DeployInstance struct {

	/* 部署ID (Optional) */
	DeployId string `json:"deployId"`

	/* 云主机ID (Optional) */
	Uuid string `json:"uuid"`

	/* 云主机名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* ip (Optional) */
	Ip string `json:"ip"`

	/* 公网ip (Optional) */
	Public_ip string `json:"public_ip"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 私有网络 (Optional) */
	Vpc Vpc `json:"vpc"`

	/* 类型 1云主机,2原生容器 (Optional) */
	Type int `json:"type"`

	/* 高可用组 (Optional) */
	Ag Ag `json:"ag"`

	/* 标签 (Optional) */
	Tags string `json:"tags"`

	/* 所属部署组ID,多个,分隔 (Optional) */
	GroupId string `json:"groupId"`

	/* 部署方式:1滚动 2蓝组 3绿组 (Optional) */
	Method int `json:"method"`

	/* 部署状态 (Optional) */
	Status int `json:"status"`
}

type DeployMethod

type DeployMethod struct {

	/* 部署方式ID (Optional) */
	Value int `json:"value"`

	/* 部署方式名称 (Optional) */
	Label string `json:"label"`
}

type DeploySource

type DeploySource struct {

	/* 部署来源ID (Optional) */
	Value int `json:"value"`

	/* 部署来源名称 (Optional) */
	Label string `json:"label"`
}

type DeployStage

type DeployStage struct {

	/* code (Optional) */
	StageCode int `json:"stageCode"`

	/* name (Optional) */
	StageName string `json:"stageName"`

	/* 状态(0未执行,1执行,2失败) (Optional) */
	StageStatus int `json:"stageStatus"`

	/* 描述 (Optional) */
	StageMessage string `json:"stageMessage"`

	/* 部署完成的实例数 (Optional) */
	SucceedCount int `json:"succeedCount"`

	/* 所有实例数 (Optional) */
	TotalCount int `json:"totalCount"`

	/*  (Optional) */
	CreateTime int `json:"createTime"`

	/*  (Optional) */
	UpdateTime int `json:"updateTime"`
}

type DeployStatus

type DeployStatus struct {

	/* 部署状态ID (Optional) */
	Value int `json:"value"`

	/* 部署状态名称 (Optional) */
	Label string `json:"label"`
}

type DeployType

type DeployType struct {

	/* 部署类型ID (Optional) */
	Value int `json:"value"`

	/* 部署类型名称 (Optional) */
	Label string `json:"label"`
}

type FileType

type FileType struct {

	/* 文件类型ID (Optional) */
	Value int `json:"value"`

	/* 文件类型名称 (Optional) */
	Label string `json:"label"`
}

type GrayService

type GrayService struct {

	/* 用户类型ID (Optional) */
	Value int `json:"value"`

	/* 用户类型名称 (Optional) */
	Label string `json:"label"`
}

type Group

type Group struct {

	/* 部署组ID (Optional) */
	GroupId string `json:"groupId"`

	/* 部署组名称 (Optional) */
	GroupName string `json:"groupName"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 部署平台:1云主机,2原生容器 (Optional) */
	Platform int `json:"platform"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署方式:1滚动部署,2蓝绿部署 (Optional) */
	DeployMethod int `json:"deployMethod"`

	/* 部署实例(滚动) (Optional) */
	Instances []string `json:"instances"`

	/* 部署实例(蓝) (Optional) */
	BlueInstances []string `json:"blueInstances"`

	/* 部署实例(绿) (Optional) */
	GreenInstances []string `json:"greenInstances"`

	/* 并发单位 (Optional) */
	ConcurrencyUnit int `json:"concurrencyUnit"`

	/* 并发机器数 (Optional) */
	ConcurrencyNum int `json:"concurrencyNum"`

	/* 并发度 (Optional) */
	ConcurrencyPct int `json:"concurrencyPct"`

	/* 负载均衡:1启动,2禁用 (Optional) */
	LbStatus int `json:"lbStatus"`

	/* lb实例 (Optional) */
	LbInstance string `json:"lbInstance"`

	/* lb lb_backend (Optional) */
	LbBackend string `json:"lbBackend"`

	/* 同名文件处理方式:1部署失败,2覆盖,3保留 (Optional) */
	RepeatPolicy int `json:"repeatPolicy"`

	/* 通知频率:1异常发送,2每次发送 (Optional) */
	NoticeTrigger int `json:"noticeTrigger"`

	/* 通知方式:1消息,2邮件,3短信 (Optional) */
	NoticeMethod []string `json:"noticeMethod"`

	/* 自动回滚:1开启,2禁用 (Optional) */
	Rollback int `json:"rollback"`

	/* 使用分布式服务框架:0不使用,1使用 (Optional) */
	JdsfEnabled int `json:"jdsfEnabled"`

	/* 分布式服务框架ID (Optional) */
	JdsfRegisterId string `json:"jdsfRegisterId"`

	/* 上次部署时间 (Optional) */
	LastDeployTime int `json:"lastDeployTime"`
}

type Instance

type Instance struct {

	/* 云主机ID (Optional) */
	InstanceId string `json:"instanceId"`

	/* 云主机ID (Optional) */
	Uuid string `json:"uuid"`

	/* 云主机名称 (Optional) */
	InstanceName string `json:"instanceName"`

	/* ip (Optional) */
	Ip string `json:"ip"`

	/* 公网ip (Optional) */
	Public_ip string `json:"public_ip"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 私有网络 (Optional) */
	Vpc Vpc `json:"vpc"`

	/* 类型 1云主机,2原生容器 (Optional) */
	Type int `json:"type"`

	/* 高可用组 (Optional) */
	Ag Ag `json:"ag"`

	/* 标签 (Optional) */
	Tags string `json:"tags"`

	/* 所属部署组ID,多个,分隔 (Optional) */
	GroupId string `json:"groupId"`

	/* 客户端状态 (Optional) */
	AgentStatus int `json:"agentStatus"`
}

type Milestone

type Milestone struct {

	/* 里程碑ID (Optional) */
	MilestoneId string `json:"milestoneId"`

	/* 应用ID (Optional) */
	AppId string `json:"appId"`

	/* 应用名称 (Optional) */
	AppName string `json:"appName"`

	/* 地域 (Optional) */
	RegionId string `json:"regionId"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署方式:1滚动部署,2蓝绿部署 (Optional) */
	DeployMethod int `json:"deployMethod"`

	/* 部署来源:1url,2云编译,3云存储 (Optional) */
	DeploySource int `json:"deploySource"`

	/* 下载url (Optional) */
	DownloadUrl string `json:"downloadUrl"`

	/* md5 (Optional) */
	Md5 string `json:"md5"`

	/* 云编译项目名 (Optional) */
	CompileProject string `json:"compileProject"`

	/* 云编译构建序号 (Optional) */
	CompileSeries string `json:"compileSeries"`

	/* 云存储空间 (Optional) */
	OssSpace string `json:"ossSpace"`

	/* 云存储目录 (Optional) */
	OssDir string `json:"ossDir"`

	/* 文件类型:1.tar,2.zip,3.tar.gz (Optional) */
	FileType int `json:"fileType"`

	/* 最新部署时间 (Optional) */
	LastDeployTime int `json:"lastDeployTime"`

	/* 部署组 (Optional) */
	DeployGroup []string `json:"deployGroup"`
}

type ModifyApp

type ModifyApp struct {

	/* 描述  */
	Desc string `json:"desc"`
}

type ModifyGroup

type ModifyGroup struct {

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 部署实例(滚动) (Optional) */
	Instances []string `json:"instances"`

	/* 部署实例(蓝) (Optional) */
	BlueInstances []string `json:"blueInstances"`

	/* 部署实例(绿) (Optional) */
	GreenInstances []string `json:"greenInstances"`

	/* 并发单位 (Optional) */
	ConcurrencyUnit int `json:"concurrencyUnit"`

	/* 并发机器数 (Optional) */
	ConcurrencyNum int `json:"concurrencyNum"`

	/* 并发度 (Optional) */
	ConcurrencyPct int `json:"concurrencyPct"`

	/* 负载均衡:1启动,2禁用 (Optional) */
	LbStatus int `json:"lbStatus"`

	/* lb实例 (Optional) */
	LbInstance string `json:"lbInstance"`

	/* lb lb_backend (Optional) */
	LbBackend string `json:"lbBackend"`

	/* 同名文件处理方式:1部署失败,2覆盖,3保留 (Optional) */
	RepeatPolicy int `json:"repeatPolicy"`

	/* 通知频率:1异常发送,2每次发送 (Optional) */
	NoticeTrigger int `json:"noticeTrigger"`

	/* 通知方式:1消息,2邮件,3短信 (Optional) */
	NoticeMethod []string `json:"noticeMethod"`

	/* 自动回滚:1开启,2禁用 (Optional) */
	Rollback int `json:"rollback"`

	/* 分布式服务框架ID (Optional) */
	JdsfRegisterId string `json:"jdsfRegisterId"`
}

type NoticeMethod

type NoticeMethod struct {

	/* 通知方式ID (Optional) */
	Value int `json:"value"`

	/* 通知方式名称 (Optional) */
	Label string `json:"label"`
}

type NoticeTrigger

type NoticeTrigger struct {

	/* 通知触发策略ID (Optional) */
	Value int `json:"value"`

	/* 通知触发策略名称 (Optional) */
	Label string `json:"label"`
}

type PinInfo

type PinInfo struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 应用数量限制 (Optional) */
	AppMax int `json:"appMax"`

	/* 当前应用数量 (Optional) */
	AppCount int `json:"appCount"`

	/* 部署组数量限制 (Optional) */
	GroupMax int `json:"groupMax"`
}

type Platform

type Platform struct {

	/* 平台ID (Optional) */
	Value int `json:"value"`

	/* 平台名称 (Optional) */
	Label string `json:"label"`
}

type RegionId

type RegionId struct {

	/* 地域ID (Optional) */
	Value string `json:"value"`

	/* 地域名称 (Optional) */
	Label string `json:"label"`
}

type RepeatPolicy

type RepeatPolicy struct {

	/* 重名文件处理策略ID (Optional) */
	Value int `json:"value"`

	/* 重名文件处理策略名称 (Optional) */
	Label string `json:"label"`
}

type Rollback

type Rollback struct {

	/* 回滚策略ID (Optional) */
	Value int `json:"value"`

	/* 回滚策略名称 (Optional) */
	Label string `json:"label"`
}

type StageLog

type StageLog struct {

	/* 执行阶段名 (Optional) */
	Stage string `json:"stage"`

	/* 执行阶段状态 (Optional) */
	Status string `json:"status"`

	/* 执行阶段输出 (Optional) */
	Msg string `json:"msg"`

	/* 执行阶段耗时 (Optional) */
	Time string `json:"time"`
}

type StatusColor

type StatusColor struct {

	/* 部署状态ID (Optional) */
	Value int `json:"value"`

	/* 部署状态名称 (Optional) */
	Label string `json:"label"`
}

type Vpc

type Vpc struct {

	/* 高可用组名称 (Optional) */
	Name string `json:"name"`

	/* 高可用组id (Optional) */
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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