perm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteCloudApiResource = "delete from cloud_api_resource"
View Source
const DeleteCloudPerm = "delete from cloud_perm"
View Source
const DeleteCloudPermRole = "delete from cloud_perm_role"
View Source
const DeleteCloudPermRolePerm = "delete from cloud_perm_role_perm"
View Source
const DeleteCloudPermRoleUser = "delete from cloud_perm_role_user"
View Source
const DeleteCloudUserPerm = "delete from cloud_user_perm"
View Source
const InsertCloudApiResource = "insert into cloud_api_resource"
View Source
const InsertCloudPerm = "insert into cloud_perm"
View Source
const InsertCloudPermRole = "insert into cloud_perm_role"
View Source
const InsertCloudPermRolePerm = "insert into cloud_perm_role_perm"
View Source
const InsertCloudPermRoleUser = "insert into cloud_perm_role_user"
View Source
const InsertCloudUserPerm = "insert into cloud_user_perm"
View Source
const SelectCloudApiResource = "" /* 148-byte string literal not displayed */
View Source
const SelectCloudPerm = "select user,perm_id,create_user,description,groups,roles,create_time,last_modify_time,last_modify_user from cloud_perm"
View Source
const SelectCloudPermRole = "" /* 134-byte string literal not displayed */
View Source
const SelectCloudPermRolePerm = "select role_id,perm_name,create_user,create_time from cloud_perm_role_perm"
View Source
const SelectCloudPermRoleUser = "select role_id,user_name,group_name,create_user,create_time from cloud_perm_role_user"
View Source
const SelectCloudUserPerm = "" /* 197-byte string literal not displayed */
View Source
const SelectPerm3 = `` /* 218-byte string literal not displayed */
View Source
const SelectPerm4 = `` /* 278-byte string literal not displayed */
View Source
const SelectPerm5 = `` /* 337-byte string literal not displayed */
View Source
const UpdateCloudApiResource = "update cloud_api_resource"
View Source
const UpdateCloudPerm = "update cloud_perm"
View Source
const UpdateCloudPermRole = "update cloud_perm_role"
View Source
const UpdateCloudPermRolePerm = "update cloud_perm_role_perm"
View Source
const UpdateCloudPermRoleUser = "update cloud_perm_role_user"
View Source
const UpdateCloudUserPerm = "update cloud_user_perm"

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudApiResource

type CloudApiResource struct {
	//创建时间
	CreateTime string
	//创建用户
	CreateUser string
	//
	ResourceId int64
	//最近修改用户
	LastModifyUser string
	//服务描述信息
	Description string
	//apiurl地址
	ApiUrl string
	//api名称
	Name string
	//是否是公开的,公开的将不受权限控制
	ApiType string
	//最近修改时间
	LastModifyTime string
	// 请求方法
	Method string
	// 父节点
	Parent string
}

2018-02-06 08:22:46.2597971 +0800 CST

type CloudPerm

type CloudPerm struct {
	//最近修改时间
	LastModifyTime string
	//最近修改用户
	LastModifyUser string
	//拥有团队
	Groups string
	//拥有权限角色
	Roles string
	//创建时间
	CreateTime string
	//创建用户
	CreateUser string
	//服务描述信息
	Description string
	//拥有用户
	User string
	//
	PermId int64
}

2018-02-06 08:22:40.5954731 +0800 CST

type CloudPermRole

type CloudPermRole struct {
	//创建时间
	CreateTime string
	//最近修改时间
	LastModifyTime string
	//最近修改用户
	LastModifyUser string
	//服务描述信息
	Description string
	//
	RoleId int64
	//角色名称
	RoleName string
	//拥有权限
	Permissions string
	//创建用户
	CreateUser string
	// 是否删除
	IsDel int64
}

2018-02-06 08:22:35.6731915 +0800 CST

type CloudPermRolePerm

type CloudPermRolePerm struct {
	//
	CreateUser string
	//
	CreateTime string
	//
	RoleId int64
	//
	PermName string
}

2018-09-11 08:14:56.2238194 +0800 CST

type CloudPermRoleUser

type CloudPermRoleUser struct {
	//
	RoleId int64
	//
	UserName string
	//
	GroupName string
	//
	CreateUser string
	//
	CreateTime string
}

2018-09-11 10:20:19.8537039 +0800 CST

type CloudUserPerm

type CloudUserPerm struct {
	//
	ResourceType string
	//
	LastModifyTime string
	//
	LastModifyUser string
	//
	Ent string
	//
	Description string
	//
	ParentUser string
	//
	Name string
	//
	UserName string
	//
	ResourceName string
	//
	SubUser string
	//
	CreateUser string
	//
	CreateTime string
	//
	ClusterName string
	//
	PermId int64
	//
	GroupName string
}

2018-08-23 08:38:08.9273685 +0800 CST

Jump to

Keyboard shortcuts

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