authv1

package
v0.0.0-...-be240b2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(router *gin.RouterGroup)

func RegisterAccount

func RegisterAccount(router *gin.RouterGroup)

func RegisterConstructRecord

func RegisterConstructRecord(router *gin.RouterGroup)

func RegisterDeploy

func RegisterDeploy(router *gin.RouterGroup)

func RegisterHost

func RegisterHost(router *gin.RouterGroup)

func RegisterMirror

func RegisterMirror(router *gin.RouterGroup)

func RegisterProject

func RegisterProject(router *gin.RouterGroup)

func RegisterService

func RegisterService(router *gin.RouterGroup)

Types

type ConstructIdParam

type ConstructIdParam struct {
	ConstructId int64 `json:"construct_id" form:"construct_id" binding:"required"`
}

type DeployIdParam

type DeployIdParam struct {
	DeployId int64 `json:"deploy_id" form:"deploy_id" binding:"required"`
	GroupId  int   `json:"group_id"  form:"group_id"`
}

type DeployJumpId

type DeployJumpId struct {
	DeployId int64 `json:"deploy_id" form:"deploy_id"`
	GroupId  int64 `json:"group_id"  form:"group_id"`
	HostId   int64 `json:"host_id"   form:"host_id"`
}

type HostIdParam

type HostIdParam struct {
	HostId int64 `json:"host_id" form:"host_id" binding:"required"`
}

type HostParam

type HostParam struct {
	HostId   int64  `json:"host_id" form:"host_id"`
	HostName string `json:"host_name" form:"host_name" binding:"required"`
	HostIp   string `json:"host_ip" form:"host_ip" binding:"required"`
}

type ProjectIdParam

type ProjectIdParam struct {
	ProjectId int64 `json:"project_id" form:"project_id" binding:"required"`
}

type ProjectParam

type ProjectParam struct {
	ProjectId       int64  `form:"project_id" json:"project_id"`
	ProjectName     string `form:"project_name" json:"project_name" binding:"required"`
	ProjectDescribe string `form:"project_describe" json:"project_describe" binding:"required"`
	GitDockerPath   string `form:"git_docker_path" json:"git_docker_path" binding:"required"`
	ProjectMember   string `form:"project_member" json:"project_member" binding:"required"`
}

type ServiceIdParam

type ServiceIdParam struct {
	ServiceId int64 `json:"service_id" form:"service_id" binding:"required"`
}

type ServiceParam

type ServiceParam struct {
	ServiceId       int64  `form:"service_id" json:"service_id"`
	ServiceName     string `form:"service_name" json:"service_name" binding:"required"`
	ServiceDescribe string `form:"service_describe" json:"service_describe" binding:"required"`
	HostList        string `form:"host_list" json:"host_list" binding:"required"`
	MirrorList      int64  `form:"mirror_list" json:"mirror_list" binding:"required"`
	DockerConfig    string `form:"docker_config" json:"docker_config" binding:"required"`
	ServiceMember   string `form:"service_member" json:"service_member" binding:"required"`
}

Jump to

Keyboard shortcuts

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