tenant

package
v0.0.0-...-86ca01b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(conn *core.Connection, id string) error

func Mappings

func Mappings(conn *core.Connection) (map[string]string, map[string]string, error)

func Resolve

func Resolve(conn *core.Connection, tenantname string) (string, error)

func ReverseResolve

func ReverseResolve(conn *core.Connection, tenantid string) (string, error)

Types

type MartiniTenant

type MartiniTenant struct {
	Name       string `json:"name"`
	Email      string `json:"email"`
	Registered string `json:"registered"`
	Password   string `json:"password"`
	Id         string `json:"id"`
}

password only when new

func List

func List(conn *core.Connection) ([]MartiniTenant, error)

func (*MartiniTenant) Create

func (m *MartiniTenant) Create(conn *core.Connection) error

Jump to

Keyboard shortcuts

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