package
1.9.2
Repository: https://github.com/tkestack/tke.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BcryptPassword decodes base64 string and bcrypts password.
No description provided by the author
No description provided by the author
CaseInsensitiveContains ignores case when check a string contains the sub string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FilterAPIKey is used to filter apiKey that do not belong to the tenant.
FilterCustomPolicyBinding is used to filter policy that do not belong to the tenant.
FilterGroup is used to filter group that do not belong to the tenant.
FilterLocalIdentity is used to filter localIdentity that do not belong to the tenant.
FilterPolicy is used to filter policy that do not belong to the tenant.
FilterPolicy is used to filter policy that do not belong to the tenant.
FilterRole is used to filter role that do not belong to the tenant.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GroupResource is group resource useed to register these objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAdapter creates a new adaptor instance.
NewGenericKeySigner creates a generic key signer instance.
NewRoleManager is the constructor for creating an instance of the default RoleManager implementation.
No description provided by the author
No description provided by the author
PredicateProjectIDListOptions determines the query options according to the project attribute of the request user.
PredicateProjectListOptions determines the query options according to the project attribute of the request user.
PredicateUserNameListOptions determines the query options according to the username attribute of the request user.
PredicateV1ListOptions determines the query options according to the tenant attribute of the request user.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VerifyDecodedPassword verifies password.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
GroupName is the group name use in this package.
GRule represents user groups to which users belongs or the associated Policies.
GRuleFieldNumber represents the maximum number of valid value fields in the Rule object: V0, V1, V2.
No description provided by the author
No description provided by the author
No description provided by the author
PRule represents RBAC rules.
PRuleFieldNumber represents the maximum number of valid value fields in the Rule object: V0, V1, V2, V3, V4.

# Variables

No description provided by the author
SchemeGroupVersion is group version used to register these objects.

# Structs

APIClaims is the claims section of jwt token.
KeyData contains the necessary info of api key validated.
RestAdapter is the policy storage adapter for Casbin.
Role represents the data structure for a role in RBAC.
RoleManager provides a default implementation for the RoleManager interface.

# Interfaces

KeySigner is a interface used to generate api key for a user.

# Type aliases

No description provided by the author