Documentation ¶
Index ¶
- Constants
- func Config(o *v1.Config, domains []string) *v1.Config
- type Loader
- type Tenants
- func (t *Tenants) All() []*v1.Tenant
- func (t *Tenants) AllDomains() (o []*v1.Domain)
- func (t *Tenants) Domains(id string) []*v1.Domain
- func (t *Tenants) Get(domain string) *v1.Tenant
- func (t *Tenants) GetByID(id string) *v1.Tenant
- func (t *Tenants) TenantBySiteID(ctx context.Context, siteId string) (tenantId string)
Constants ¶
View Source
const Default = "staples"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tenants ¶
type Tenants struct {
// contains filtered or unexported fields
}
func NewTenants ¶
func (*Tenants) AllDomains ¶
Click to show internal directories.
Click to hide internal directories.