Documentation
¶
Index ¶
- func IdentifierName(cr *v1alpha1.RoleCollectionAssignment) string
- func Setup(mgr ctrl.Manager, o controller.Options) error
- type RoleAssigner
- type RoleAssignerMock
- func (u *RoleAssignerMock) AssignRole(ctx context.Context, origin, identifier, rolecollection string) error
- func (u *RoleAssignerMock) HasRole(ctx context.Context, origin, identifier, roleCollection string) (bool, error)
- func (u *RoleAssignerMock) RevokeRole(ctx context.Context, origin, identifier, rolecollection string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentifierName ¶
func IdentifierName(cr *v1alpha1.RoleCollectionAssignment) string
IdentifierName returns the identifier for the entity to be assigned to the rolecollection (username or groupname)
Types ¶
type RoleAssigner ¶
type RoleAssignerMock ¶
type RoleAssignerMock struct { CalledIdentifier *string // contains filtered or unexported fields }
func (*RoleAssignerMock) AssignRole ¶
func (u *RoleAssignerMock) AssignRole(ctx context.Context, origin, identifier, rolecollection string) error
func (*RoleAssignerMock) RevokeRole ¶
func (u *RoleAssignerMock) RevokeRole(ctx context.Context, origin, identifier, rolecollection string) error
Click to show internal directories.
Click to hide internal directories.