handler

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateSystemRoleBinding added in v1.7.0

func CreateOrUpdateSystemRoleBinding(c *gin.Context)

func CreatePolicies added in v1.10.0

func CreatePolicies(c *gin.Context)

func CreatePolicyBinding added in v1.10.0

func CreatePolicyBinding(c *gin.Context)

func CreatePresetRole added in v1.10.0

func CreatePresetRole(c *gin.Context)

func CreatePublicPolicy added in v1.10.0

func CreatePublicPolicy(c *gin.Context)

func CreateRole

func CreateRole(c *gin.Context)

func CreateRoleBinding

func CreateRoleBinding(c *gin.Context)

func CreateSystemPolicy added in v1.10.0

func CreateSystemPolicy(c *gin.Context)

func CreateSystemRole added in v1.7.0

func CreateSystemRole(c *gin.Context)

func CreateSystemRoleBinding added in v1.7.0

func CreateSystemRoleBinding(c *gin.Context)

func DeletePolicies added in v1.10.0

func DeletePolicies(c *gin.Context)

func DeletePolicy added in v1.10.0

func DeletePolicy(c *gin.Context)

func DeletePolicyBinding added in v1.10.0

func DeletePolicyBinding(c *gin.Context)

func DeletePolicyBindings added in v1.10.0

func DeletePolicyBindings(c *gin.Context)

func DeletePresetRole added in v1.10.0

func DeletePresetRole(c *gin.Context)

func DeletePublicPolicies added in v1.10.0

func DeletePublicPolicies(c *gin.Context)

func DeleteRole added in v1.7.0

func DeleteRole(c *gin.Context)

func DeleteRoleBinding added in v1.7.0

func DeleteRoleBinding(c *gin.Context)

func DeleteRoleBindings added in v1.7.0

func DeleteRoleBindings(c *gin.Context)

func DeleteRoles added in v1.7.0

func DeleteRoles(c *gin.Context)

func DeleteSystemPolicy added in v1.10.0

func DeleteSystemPolicy(c *gin.Context)

func DeleteSystemRole added in v1.7.0

func DeleteSystemRole(c *gin.Context)

func DeleteSystemRoleBinding added in v1.7.0

func DeleteSystemRoleBinding(c *gin.Context)

func DownloadBundle

func DownloadBundle(c *gin.Context)

func GetPolicies added in v1.10.0

func GetPolicies(c *gin.Context)

func GetPolicy added in v1.10.0

func GetPolicy(c *gin.Context)

func GetPolicyRegistrationDefinitions added in v1.7.0

func GetPolicyRegistrationDefinitions(c *gin.Context)

func GetPresetRole added in v1.10.0

func GetPresetRole(c *gin.Context)

func GetPublicPolicy added in v1.10.0

func GetPublicPolicy(c *gin.Context)

func GetRole added in v1.7.0

func GetRole(c *gin.Context)

func GetUserResourcesPermission added in v1.10.0

func GetUserResourcesPermission(c *gin.Context)

func GetUserRules added in v1.12.0

func GetUserRules(c *gin.Context)

func GetUserRulesByProject added in v1.12.0

func GetUserRulesByProject(c *gin.Context)

func ListPolicies added in v1.10.0

func ListPolicies(c *gin.Context)

func ListPolicyBindings added in v1.10.0

func ListPolicyBindings(c *gin.Context)

func ListPresetRoles added in v1.10.0

func ListPresetRoles(c *gin.Context)

func ListPublicPolicies added in v1.10.0

func ListPublicPolicies(c *gin.Context)

func ListRoleBindings added in v1.7.0

func ListRoleBindings(c *gin.Context)

func ListRoles added in v1.7.0

func ListRoles(c *gin.Context)

func ListSystemPolicies added in v1.10.0

func ListSystemPolicies(c *gin.Context)

func ListSystemRoleBindings added in v1.7.0

func ListSystemRoleBindings(c *gin.Context)

func ListSystemRoles added in v1.7.0

func ListSystemRoles(c *gin.Context)

func ListUserBindings added in v1.7.0

func ListUserBindings(c *gin.Context)

func SearchSystemRoleBinding added in v1.12.0

func SearchSystemRoleBinding(c *gin.Context)

func UpdateOrCreatePolicy added in v1.10.0

func UpdateOrCreatePolicy(c *gin.Context)

func UpdateOrCreatePresetRole added in v1.10.0

func UpdateOrCreatePresetRole(c *gin.Context)

func UpdateOrCreatePublicPolicy added in v1.10.0

func UpdateOrCreatePublicPolicy(c *gin.Context)

func UpdateOrCreateRole added in v1.7.0

func UpdateOrCreateRole(c *gin.Context)

func UpdateOrCreateSystemPolicy added in v1.10.0

func UpdateOrCreateSystemPolicy(c *gin.Context)

func UpdateOrCreateSystemRole added in v1.7.0

func UpdateOrCreateSystemRole(c *gin.Context)

func UpdatePolicy added in v1.10.0

func UpdatePolicy(c *gin.Context)

func UpdatePolicyBinding added in v1.10.0

func UpdatePolicyBinding(c *gin.Context)

func UpdatePresetRole added in v1.10.0

func UpdatePresetRole(c *gin.Context)

func UpdatePublicPolicy added in v1.10.0

func UpdatePublicPolicy(c *gin.Context)

func UpdateRole added in v1.7.0

func UpdateRole(c *gin.Context)

func UpdateRoleBinding added in v1.7.0

func UpdateRoleBinding(c *gin.Context)

func UpdateRoleBindings added in v1.10.0

func UpdateRoleBindings(c *gin.Context)

func UpdateSystemRoleBindings added in v1.12.0

func UpdateSystemRoleBindings(c *gin.Context)

Types

type GetUserResourcesPermissionReq added in v1.10.0

type GetUserResourcesPermissionReq struct {
	ProjectName  string   `json:"project_name"      form:"project_name"`
	Uid          string   `json:"uid"               form:"uid"`
	Resources    []string `json:"resources"         form:"resources"`
	ResourceType string   `json:"resource_type"     form:"resource_type"`
}

type Router

type Router struct{}

func (*Router) Inject

func (*Router) Inject(router *gin.RouterGroup)

type SearchSystemRoleBindingArgs added in v1.12.0

type SearchSystemRoleBindingArgs struct {
	Uids []string `json:"uids"`
}

Jump to

Keyboard shortcuts

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