tenantdb

package
v0.0.0-...-7605501 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TenantKVStoreNS = "TenantDB"

Variables

View Source
var TenantStore *bolt.DB

Functions

func ConnecttoBolt

func ConnecttoBolt()

func CreateTenantKey

func CreateTenantKey(name string, username string) string

func TenantDeleteKey

func TenantDeleteKey(name string, username string) error

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL