vo

package
v0.0.0-...-0473bba Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReqApp

type ReqApp struct {
	App entities.AppEntity `json:"app"`
}

func (*ReqApp) Valid

func (t *ReqApp) Valid() error

validate request app params

type ReqBatchCreateProjectRolePerm

type ReqBatchCreateProjectRolePerm struct {
	ProjectRoleName string   `json:"project_role_name"`
	Perms           []string `json:"perms"`
}

func (*ReqBatchCreateProjectRolePerm) Valid

type ReqBatchProjectRolePerm

type ReqBatchProjectRolePerm struct {
	ProjectRoleId   int64    `json:"project_role_id"`
	ProjectRoleName string   `json:"project_role_name"`
	Perms           []string `json:"perms"`
}

func (*ReqBatchProjectRolePerm) Valid

func (t *ReqBatchProjectRolePerm) Valid() error

type ReqBuild

type ReqBuild struct {
	Build entities.BuildEntity `json:"build"`
}

func (*ReqBuild) Valid

func (t *ReqBuild) Valid() error

type ReqCluster

type ReqCluster struct {
	Cluster entities.ClusterEntity `json:"cluster"`
}

func (*ReqCluster) Valid

func (t *ReqCluster) Valid() error

type ReqDeployment

type ReqDeployment struct {
	Deployment entities.DeploymentEntity `json:"deployment"`
}

func (*ReqDeployment) Valid

func (t *ReqDeployment) Valid() error

type ReqEnv

type ReqEnv struct {
	Env entities.EnvEntity `json:"env"`
}

func (*ReqEnv) Valid

func (t *ReqEnv) Valid() error

type ReqMember

type ReqMember struct {
	Member entities.MemberEntity `json:"member"`
}

func (*ReqMember) Valid

func (t *ReqMember) Valid() error

type ReqProject

type ReqProject struct {
	Project entities.ProjectEntity `json:"project"`
}

func (*ReqProject) Valid

func (t *ReqProject) Valid() error

type ReqProjectRole

type ReqProjectRole struct {
	ProjectRole entities.ProjectRoleEntity `json:"project_role"`
}

func (*ReqProjectRole) Valid

func (t *ReqProjectRole) Valid(valid validation.Validation) error

type ReqProjectRolePerm

type ReqProjectRolePerm struct {
	Perm entities.ProjectRolePermEntity `json:"project_role_perm"`
}

func (*ReqProjectRolePerm) Valid

func (t *ReqProjectRolePerm) Valid() error

type ReqSystem

type ReqSystem struct {
	System entities.SystemEntity `json:"system"`
}

func (*ReqSystem) Valid

func (t *ReqSystem) Valid(valid validation.Validation) error

validate request system params

type ReqUser

type ReqUser struct {
	User entities.UserEntity `json:"user"`
}

Jump to

Keyboard shortcuts

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