Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTenants ¶
CreateTenants creates resources for tenants given a file for definition.
func ExportTenants ¶
ExportTenants exports all the tenants to a file.
Types ¶
type Tenant ¶
type Tenant struct { Name string `yaml:"name"` Namespaces []string `yaml:"namespaces"` ClusterRole string `yaml:"clusterRole"` Labels map[string]string `yaml:"labels"` }
Tenant represents a tenant that we generate resources for in the tenancy system.
Click to show internal directories.
Click to hide internal directories.