ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry variables (#78056)
ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry
This commit is contained in:
@@ -18,7 +18,7 @@ type AuthProvider string
|
||||
|
||||
type ExternalServiceRegistry interface {
|
||||
// HasExternalService returns whether an external service has been saved with that name.
|
||||
HasExternalService(ctx context.Context, name string) bool
|
||||
HasExternalService(ctx context.Context, name string) (bool, error)
|
||||
|
||||
// RemoveExternalService removes an external service and its associated resources from the database (ex: service account, token).
|
||||
RemoveExternalService(ctx context.Context, name string) error
|
||||
|
||||
Reference in New Issue
Block a user