From 491aebb75b23709fffa6ba60ebfe19a12a8a0910 Mon Sep 17 00:00:00 2001 From: Jakub Nyckowski Date: Tue, 3 Oct 2023 16:15:03 -0400 Subject: [PATCH] Add new methods to AccessResourcesGetter interface (#32862) --- lib/modules/modules.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/modules/modules.go b/lib/modules/modules.go index efdba8f59ced2..bfbf7b1af8d73 100644 --- a/lib/modules/modules.go +++ b/lib/modules/modules.go @@ -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) }