appService

package
v0.0.0-...-1bf96ee Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//状态  10012 停止 10013 启动 10011 升级  10014 处理中
	STATE_STOP    string = "10012"
	STATE_START   string = "10013"
	STATE_DOING   string = "10014"
	STATE_ONLINE  string = "10015"
	STATE_UPGRADE string = "10011"

	//服务类型,001 数据库 002 缓存 003 计算应用
	AS_TYPE_SQL     string = "001"
	AS_TYPE_CACHE   string = "002"
	AS_TYPE_SERVICE string = "003"

	AS_DEPLOY_TYPE_GROUP string = "1001" // 多主机
	AS_DEPLOY_TYPE_HOST  string = "2002" //单主机
)
View Source
const (
	DeployTypeJava   string = "java"
	DeployTypeCommon string = "common"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServiceContainerDto

type AppServiceContainerDto struct {
	dto.PageDto
	ContainerId       string `json:"containerId" sql:"-"`
	AsId              string `json:"asId" sql:"-"`
	TenantId          string `json:"tenantId" sql:"-"`
	HostId            string `json:"hostId" sql:"-"`
	State             string `json:"state" sql:"-"`
	Message           string `json:"message" sql:"-"`
	UpdateTime        string `json:"updateTime" sql:"-"`
	DockerContainerId string `json:"dockerContainerId" sql:"-"`
	CreateTime        string `json:"createTime" sql:"-"`
	StatusCd          string `json:"statusCd" sql:"-"`
	Ip                string `json:"ip"`
	Hostname          string `json:"hostname"`
}

type AppServiceDirDto

type AppServiceDirDto struct {
	dto.PageDto
	DirId      string `json:"dirId" sql:"-"`
	AsId       string `json:"asId" sql:"-"`
	TenantId   string `json:"tenantId" sql:"-"`
	SrcDir     string `json:"srcDir" sql:"-"`
	TargetDir  string `json:"targetDir" sql:"-"`
	CreateTime string `json:"createTime" sql:"-"`
	StatusCd   string `json:"statusCd" sql:"-"`
}

type AppServiceDto

type AppServiceDto struct {
	dto.PageDto
	AsId          string `json:"asId" sql:"-"`
	AsName        string `json:"asName" sql:"-"`
	AsType        string `json:"asType" sql:"-"`
	TenantId      string `json:"tenantId" sql:"-"`
	AsDesc        string `json:"asDesc" sql:"-"`
	State         string `json:"state" `
	AsCount       string `json:"asCount" sql:"-"`
	CreateTime    string `json:"createTime" sql:"-"`
	StatusCd      string `json:"statusCd" sql:"-"`
	StateName     string `json:"stateName" sql:"-"`
	AsTypeName    string `json:"asTypeName" sql:"-"`
	AsGroupId     string `json:"asGroupId" sql:"-"`
	AsDeployType  string `json:"asDeployType" sql:"-"`
	AsDeployId    string `json:"asDeployId" sql:"-"`
	ImagesId      string `json:"imagesId" sql:"-"`
	ImagesName    string `json:"imagesName" sql:"-"`
	ImagesVersion string `json:"imagesVersion" sql:"-"`
	VerId         string `json:"verId" sql:"-"`
	AvgName       string `json:"avgName" sql:"-"`
	HostGroupName string `json:"hostGroupName" sql:"-"`
	HostName      string `json:"hostName" sql:"-"`
	ImagesUrl     string `json:"imagesUrl" sql:"-"`

	AppServicePorts []*AppServicePortDto  `json:"appServicePorts"`
	AppServiceHosts []*AppServiceHostsDto `json:"appServiceHosts"`
	AppServiceDirs  []*AppServiceDirDto   `json:"appServiceDirs"`
	AppServiceVars  []*AppServiceVarDto   `json:"appServiceVars"`
}

type AppServiceHostsDto

type AppServiceHostsDto struct {
	dto.PageDto
	HostsId    string `json:"hostsId" sql:"-"`
	AsId       string `json:"asId" sql:"-"`
	TenantId   string `json:"tenantId" sql:"-"`
	Hostname   string `json:"hostname" sql:"-"`
	Ip         string `json:"ip" sql:"-"`
	CreateTime string `json:"createTime" sql:"-"`
	StatusCd   string `json:"statusCd" sql:"-"`
}

type AppServicePortDto

type AppServicePortDto struct {
	dto.PageDto
	PortId     string `json:"portId" sql:"-"`
	AsId       string `json:"asId" sql:"-"`
	TenantId   string `json:"tenantId" sql:"-"`
	SrcPort    string `json:"srcPort" sql:"-"`
	TargetPort string `json:"targetPort" sql:"-"`
	CreateTime string `json:"createTime" sql:"-"`
	StatusCd   string `json:"statusCd" sql:"-"`
}

type AppServiceVarDto

type AppServiceVarDto struct {
	dto.PageDto
	AvId       string `json:"avId" sql:"-"`
	AsId       string `json:"asId" sql:"-"`
	TenantId   string `json:"tenantId" sql:"-"`
	VarSpec    string `json:"varSpec" sql:"-"`
	VarName    string `json:"varName" sql:"-"`
	VarValue   string `json:"varValue" sql:"-"`
	CreateTime string `json:"createTime" sql:"-"`
	StatusCd   string `json:"statusCd" sql:"-"`
}

type FasterDeployDto

type FasterDeployDto struct {
	dto.PageDto
	DeployId         string `json:"deployId" sql:"-"`
	AppName          string `json:"appName" sql:"-"`
	DeployType       string `json:"deployType" sql:"-"`
	TenantId         string `json:"tenantId" sql:"-"`
	PackageId        string `json:"packageId" sql:"-"`
	ShellPackageId   string `json:"shellPackageId" sql:"-"`
	CreateTime       string `json:"createTime" sql:"-"`
	StatusCd         string `json:"statusCd" sql:"-"`
	AsGroupId        string `json:"asGroupId" sql:"-"`
	AsDeployType     string `json:"asDeployType" sql:"-"`
	AsDeployId       string `json:"asDeployId" sql:"-"`
	OpenPort         string `json:"openPort" sql:"-"`
	AvgName          string `json:"avgName" sql:"-"`
	HostGroupName    string `json:"hostGroupName" sql:"-"`
	HostName         string `json:"hostName" sql:"-"`
	PackageName      string `json:"packageName" sql:"-"`
	ShellPackageName string `json:"shellPackageName" sql:"-"`
	ShellContext     string `json:"shellContext" sql:"-"`
}

type RestartAppServicesDto

type RestartAppServicesDto struct {
	AsIds string `json:"asIds"`
}

Jump to

Keyboard shortcuts

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