Skip to content

Commit

Permalink
Add new methods to AccessResourcesGetter interface (#32862)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakule authored Oct 3, 2023
1 parent 809ea8e commit 491aebb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/modules/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ type AccessResourcesGetter interface {
ListAccessLists(context.Context, int, string) ([]*accesslist.AccessList, string, error)
ListResources(ctx context.Context, req proto.ListResourcesRequest) (*types.ListResourcesResponse, error)

ListAccessListMembers(ctx context.Context, accessList string, pageSize int, pageToken string) (members []*accesslist.AccessListMember, nextToken string, err error)
GetAccessListMember(ctx context.Context, accessList string, memberName string) (*accesslist.AccessListMember, error)

GetUser(userName string, withSecrets bool) (types.User, error)
GetRole(ctx context.Context, name string) (types.Role, error)
}
Expand Down

0 comments on commit 491aebb

Please sign in to comment.