syncd: github.com/dreamans/syncd/router/project Index | Files

package project

import "github.com/dreamans/syncd/router/project"

Index

Package Files

member.go project.go space.go

func MemberAdd Uses

func MemberAdd(c *gin.Context)

func MemberList Uses

func MemberList(c *gin.Context)

func MemberRemove Uses

func MemberRemove(c *gin.Context)

func MemberSearch Uses

func MemberSearch(c *gin.Context)

func ProjectAdd Uses

func ProjectAdd(c *gin.Context)

func ProjectBuildScript Uses

func ProjectBuildScript(c *gin.Context)

func ProjectDelete Uses

func ProjectDelete(c *gin.Context)

func ProjectDetail Uses

func ProjectDetail(c *gin.Context)

func ProjectHookScript Uses

func ProjectHookScript(c *gin.Context)

func ProjectList Uses

func ProjectList(c *gin.Context)

func ProjectSwitchStatus Uses

func ProjectSwitchStatus(c *gin.Context)

func ProjectUpdate Uses

func ProjectUpdate(c *gin.Context)

func SpaceAdd Uses

func SpaceAdd(c *gin.Context)

func SpaceDelete Uses

func SpaceDelete(c *gin.Context)

func SpaceDetail Uses

func SpaceDetail(c *gin.Context)

func SpaceList Uses

func SpaceList(c *gin.Context)

func SpaceUpdate Uses

func SpaceUpdate(c *gin.Context)

type MemberAddQueryBind Uses

type MemberAddQueryBind struct {
    MemberId int `form:"member_id" binding:"required"`
    SpaceId  int `form:"space_id" binding:"required"`
}

type MemberListQueryBind Uses

type MemberListQueryBind struct {
    SpaceId int `form:"space_id" binding:"required"`
    Offset  int `form:"offset"`
    Limit   int `form:"limit" binding:"required,gte=1,lte=999"`
}

type ProjectBuildScriptBind Uses

type ProjectBuildScriptBind struct {
    ID          int    `form:"id" binding:"required"`
    BuildScript string `form:"build_script" binding:"required"`
}

type ProjectFormBind Uses

type ProjectFormBind struct {
    ID             int    `form:"id"`
    SpaceId        int    `form:"space_id"`
    Name           string `form:"name" binding:"required"`
    Description    string `form:"description"`
    NeedAudit      int    `form:"need_audit"`
    RepoUrl        string `form:"repo_url" binding:"required"`
    RepoBranch     string `form:"repo_branch"`
    DeployMode     int    `form:"deploy_mode" binding:"required"`
    OnlineCluster  []int  `form:"online_cluster" binding:"required"`
    DeployUser     string `form:"deploy_user" binding:"required"`
    DeployPath     string `form:"deploy_path" binding:"required"`
    PreDeployCmd   string `form:"pre_deploy_cmd"`
    AfterDeployCmd string `form:"after_deploy_cmd"`
    AuditNotice    string `form:"audit_notice"`
    DeployNotice   string `form:"deploy_notice"`
}

type ProjectHookScriptBind Uses

type ProjectHookScriptBind struct {
    ID               int    `form:"id" binding:"required"`
    BuildHookScript  string `form:"build_hook_script"`
    DeployHookScript string `form:"deploy_hook_script"`
}

type QueryBind Uses

type QueryBind struct {
    SpaceId int    `form:"space_id"`
    Keyword string `form:"keyword"`
    Offset  int    `form:"offset"`
    Limit   int    `form:"limit" binding:"required,gte=1,lte=999"`
}

type SpaceFormBind Uses

type SpaceFormBind struct {
    Name        string `form:"name" binding:"required"`
    Description string `form:"description"`
}

Package project imports 7 packages (graph) and is imported by 1 packages. Updated 2019-05-11. Refresh now. Tools for package owners.