adapter

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 6 Imported by: 1 module, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildClusterRoleFieldsDto added in v1.4.0

func BuildClusterRoleFieldsDto(entity, accessType, cluster, namespace, group, kind, resource, actionType, subAction string) *bean3.RoleModelFieldsDto

func BuildJobsRoleFieldsDto added in v1.4.0

func BuildJobsRoleFieldsDto(entity, team, entityName, environment, actionType, accessType, workflow, subAction string) *bean3.RoleModelFieldsDto

func BuildOtherRoleFieldsDto added in v1.4.0

func BuildOtherRoleFieldsDto(entity, team, entityName, environment, actionType, accessType string, OldValues bool, subAction string, approver bool) *bean3.RoleModelFieldsDto

func BuildRoleFilterFromRoleF added in v1.4.0

func BuildRoleFilterFromRoleF(roleF bean2.RoleFilter) bean2.RoleFilter

func BuildSelfRegisterDto added in v1.4.0

func BuildSelfRegisterDto(userInfo *bean2.UserInfo) *bean2.SelfRegisterDto

func BuildSuperAdminRoleFieldsDto added in v1.4.0

func BuildSuperAdminRoleFieldsDto() *bean3.RoleModelFieldsDto

func BuildUserInfo added in v1.4.0

func BuildUserInfo(id int32, emailId string, userGroupMapDto *bean2.UserGroupMapDto) bean2.UserInfo

func BuildUserInfoResponseAdapter added in v1.4.0

func BuildUserInfoResponseAdapter(requestUserInfo *bean2.UserInfo, emailId string) *bean2.UserInfo

func CreateRestrictedGroup added in v0.7.0

func CreateRestrictedGroup(roleGroupName string, hasSuperAdminPermission bool) bean2.RestrictedGroup

func GetCasbinGroupPolicy added in v1.4.0

func GetCasbinGroupPolicy(emailId string, role string, twcDto *bean2.TimeoutWindowConfigDto) bean.Policy

func GetCasbinGroupPolicyForEmailAndRoleOnly added in v1.4.0

func GetCasbinGroupPolicyForEmailAndRoleOnly(emailId string, role string) bean.Policy

func GetNoTokenProvidedError added in v1.4.0

func GetNoTokenProvidedError() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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