Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReqBatchCreateProjectRolePerm ¶
type ReqBatchCreateProjectRolePerm struct { ProjectRoleName string `json:"project_role_name"` Perms []string `json:"perms"` }
func (*ReqBatchCreateProjectRolePerm) Valid ¶
func (t *ReqBatchCreateProjectRolePerm) Valid() error
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"`
}
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 ReqMember ¶
type ReqMember struct {
Member entities.MemberEntity `json:"member"`
}
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"`
}
Click to show internal directories.
Click to hide internal directories.