refactor: using interfaces for accessing tenant namespaces

This commit is contained in:
Dario Tranchitella
2022-10-13 15:48:38 +02:00
parent 4835b94839
commit 360a8d2b56
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// Copyright 2020-2021 Clastix Labs
// SPDX-License-Identifier: Apache-2.0
package api
type Tenant interface {
GetNamespaces() []string
}