package
1.6.3
Repository: https://github.com/marmotedu/iam.git
Documentation: pkg.go.dev

# Packages

Package authorizer defines authorization interface.

# Functions

NewAuditLogger creates a AuditLogger with default parameters.
NewAuthorizer creates a local repository authorizer and returns it.
NewMockAuthorizationInterface creates a new mock instance.
NewPolicyManager initializes a new PolicyManager for given apimachinery api client.

# Structs

AuditLogger outputs and cache information about granting or rejecting policies.
Authorizer implement the authorize interface that use local repository to authorize the subject access review.
MockAuthorizationInterface is a mock of AuthorizationInterface interface.
MockAuthorizationInterfaceMockRecorder is the mock recorder for MockAuthorizationInterface.
PolicyManager is a mysql implementation for Manager to store policies persistently.

# Interfaces

AuthorizationInterface defiens the CURD method for lady policy.