resources

package
v0.0.0-...-e9e6038 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	//DeployJobDoing deploy doing status
	DeployJobDoing = "doing"
	//DeployJobFail deploy fail status
	DeployJobFail = "fail"
	//DeployJobSuccess deploy success status
	DeployJobSuccess = "success"
	//DeployJobRollback deploy rollback status
	DeployJobRollback = "rollback"
	//DeployJobNew deploy new status
	DeployJobNew = "new"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppForm

type AppForm struct {
	devops.App
}

AppForm for json data

type CloudAvailableRegionForm

type CloudAvailableRegionForm struct {
	devops.CloudAvailableRegion
}

form model for form submit

type ComputerForm

type ComputerForm struct {
	devops.Computer
}

ComputerForm for json data

type ComputerRoleForm

type ComputerRoleForm struct {
	AppID  []int    `json:"app_id"`
	HostID []string `json:"host_id"`
}

ComputerRoleForm for computer create role

type ConsulServiceForm

type ConsulServiceForm struct {
	HostID    string `json:"host_id"`
	AppID     int    `json:"app_id"`
	Name      string `json:"name"`
	Port      int    `json:"port"`
	PrivateIP string `json:"private_ip"`
	Tag       string `json:"tag"`
	ServiceID string `json:"service_id"`
}

ConsulServiceForm for consul register service

type DeployForm

type DeployForm struct {
	devops.Deploy
	Hosts []string `json:"hosts"`
}

DeployForm for deploy create

type DiskForm

type DiskForm struct {
	devops.Disk
}

DiskForm for json data

type DomainForm

type DomainForm struct {
	devops.Domain
}

DomainForm for json data

type ServiceForm

type ServiceForm struct {
	devops.Service
}

ServiceForm for json data

type TagForm

type TagForm struct {
	devops.Tag
}

TagForm for json data

Jump to

Keyboard shortcuts

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