Documentation ¶
Index ¶
- type Operation
- func (o *Operation) Run(req *gcli.Request, resp interface{}) error
- func (o *Operation) WithConsumer(consumer *jwtbuilder.Consumer) *Operation
- func (o *Operation) WithQueryParam(key, value string) *Operation
- func (o *Operation) WithQueryParams(queryParams map[string]string) *Operation
- func (o *Operation) WithScopes(scopes []string) *Operation
- func (o *Operation) WithTenant(tenant string) *Operation
- type Tenant
- type TenantStatus
- type TestTenantsManager
- func (mgr TestTenantsManager) CleanupDB(transact persistence.Transactioner)
- func (mgr TestTenantsManager) GetDefaultTenantID() string
- func (mgr TestTenantsManager) GetIDByName(t *testing.T, name string) string
- func (mgr *TestTenantsManager) InitializeDB(transact persistence.Transactioner)
- func (mgr TestTenantsManager) List() []Tenant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
func (*Operation) WithConsumer ¶
func (o *Operation) WithConsumer(consumer *jwtbuilder.Consumer) *Operation
func (*Operation) WithQueryParam ¶
func (*Operation) WithQueryParams ¶
func (*Operation) WithScopes ¶
func (*Operation) WithTenant ¶
type Tenant ¶
type Tenant struct { ID string `db:"id"` Name string `db:"external_name"` ExternalTenant string `db:"external_tenant"` ProviderName string `db:"provider_name"` Status TenantStatus `db:"status"` }
type TenantStatus ¶
type TenantStatus string
const ( Active TenantStatus = "Active" Inactive TenantStatus = "Inactive" )
type TestTenantsManager ¶
type TestTenantsManager struct {
// contains filtered or unexported fields
}
func (TestTenantsManager) CleanupDB ¶
func (mgr TestTenantsManager) CleanupDB(transact persistence.Transactioner)
func (TestTenantsManager) GetDefaultTenantID ¶
func (mgr TestTenantsManager) GetDefaultTenantID() string
func (TestTenantsManager) GetIDByName ¶
func (mgr TestTenantsManager) GetIDByName(t *testing.T, name string) string
func (*TestTenantsManager) InitializeDB ¶
func (mgr *TestTenantsManager) InitializeDB(transact persistence.Transactioner)
func (TestTenantsManager) List ¶
func (mgr TestTenantsManager) List() []Tenant
Click to show internal directories.
Click to hide internal directories.