Skip to content

Commit

Permalink
chore: add godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kian99 committed Jan 10, 2025
1 parent 9d5dde9 commit 482999b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/jimm/jimm.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ type AuditLogManager interface {
StartCleanup(ctx context.Context)
}

// ServiceAccountManager provides methods to assign ownerhsip and credentials to service accounts.
type ServiceAccountManager interface {
// AddServiceAccount assigns an unowned service account to the provided user.
AddServiceAccount(ctx context.Context, u *openfga.User, clientId string) error
Expand Down
1 change: 1 addition & 0 deletions internal/jimm/serviceaccount/serviceaccount_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2025 Canonical.

package serviceaccount_test

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright 2025 Canonical.

package mocks

import (
Expand Down

0 comments on commit 482999b

Please sign in to comment.