Documentation
¶
Index ¶
- func AccountLogin(name string, password string) (string, error)
- func AccountRegister(name, password string) (int64, error)
- func AddNewHost(hostName string, hostIp string) (bool, string)
- func AddNewProject(accountId int64, projectName string, projectDescribe string, ...) (bool, string)
- func AddNewService(accountId int64, serviceName string, serviceDescribe string, hostList string, ...) (bool, string)
- func BackDeployService(accountId int64, deployId int64) (bool, string)
- func ConstructProject(accountId int64, projectId int64) (bool, string, int64)
- func DelHost(hostId int64) bool
- func DelProject(projectId int64, accountId int64) (bool, string)
- func DelService(serviceId int64, accountId int64) (bool, string)
- func DeployService(serviceId int64, accountId int64) (bool, string, int64)
- func EndDeployService(accountId int64, deployId int64) (bool, string)
- func GetAllConstructRecord() ([]map[string]interface{}, int)
- func GetAllDeploy() ([]map[string]interface{}, int)
- func GetAllHost() ([]*models.Host, int)
- func GetAllMirror() ([]map[string]interface{}, int)
- func GetAllProject() ([]map[string]interface{}, int)
- func GetAllService() ([]map[string]interface{}, int)
- func GetConstructProjectData(constructId int64) map[string]interface{}
- func GetDeployServiceData(deployId int64) map[string]interface{}
- func GetOneProject(projectId int64) map[string]interface{}
- func GetOneService(serviceId int64) map[string]interface{}
- func GetProjectByParam(projectName string) ([]map[string]interface{}, int)
- func GetServiceByParam(serviceName string) ([]map[string]interface{}, int)
- func JumpDeployService(accountId int64, deployId int64, groupId int64, hostId int64) (bool, string)
- func MatchGitDockerPath(out string) bool
- func StartConstructProject(accountId int64, constructId int64) (bool, string)
- func StartDeployService(accountId int64, deployId int64, groupId int) (bool, string)
- func UpdateHost(hostId int64, hostName string, hostIp string) bool
- func UpdateProject(accountId int64, projectId int64, projectName string, projectDescribe string, ...) (bool, string)
- func UpdateService(accountId int64, serviceId int64, serviceName string, serviceDescribe string, ...) (bool, string)
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountRegister ¶
func AddNewProject ¶
func AddNewService ¶
func ConstructProject ¶
工程页创建构建任务
func GetAllConstructRecord ¶
func GetAllDeploy ¶
func GetAllHost ¶
func GetAllMirror ¶
func GetAllProject ¶
func GetAllService ¶
func GetConstructProjectData ¶
构建页获取详情数据
func GetDeployServiceData ¶
func GetOneProject ¶
func GetOneService ¶
func GetProjectByParam ¶
func GetServiceByParam ¶
func JumpDeployService ¶
func MatchGitDockerPath ¶
func StartConstructProject ¶
func StartDeployService ¶
func UpdateProject ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.