mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-04-20 17:46:40 +00:00
refactor: using interfaces for accessing tenant namespaces
This commit is contained in:
8
pkg/api/status_namespaces.go
Normal file
8
pkg/api/status_namespaces.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2020-2021 Clastix Labs
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package api
|
||||
|
||||
type Tenant interface {
|
||||
GetNamespaces() []string
|
||||
}
|
||||
Reference in New Issue
Block a user