Documentation
¶
Index ¶
Constants ¶
View Source
const TenantKVStoreNS = "TenantDB"
Variables ¶
View Source
var TenantStore *bolt.DB
Functions ¶
func ConnecttoBolt ¶
func ConnecttoBolt()
func CreateTenantKey ¶
func TenantDeleteKey ¶
func TenantList ¶
func TenantList()
func TenantStoreKey ¶
func TenantStoreKey(name string, val *TenantData) error
Types ¶
type TenantData ¶
type TenantData struct { MasterKubeConfig []string `json:"masterKubeConfig"` MasterSA []string `json:"masterSA"` TargetSA []string `json:"targetSA"` TargetKubeConfig []string `json:"targetKubeConfig"` }
func TenantGetKey ¶
func TenantGetKey(name string, user string) *TenantData
type TenantPost ¶
type TenantPost struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.