Help us shape the future of Go! Take the 2026 Go Developer Survey

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: 2

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