api

package
v0.0.0-...-0e91422 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

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) Run

func (o *Operation) Run(req *gcli.Request, resp interface{}) error

func (*Operation) WithConsumer

func (o *Operation) WithConsumer(consumer *jwtbuilder.Consumer) *Operation

func (*Operation) WithQueryParam

func (o *Operation) WithQueryParam(key, value string) *Operation

func (*Operation) WithQueryParams

func (o *Operation) WithQueryParams(queryParams map[string]string) *Operation

func (*Operation) WithScopes

func (o *Operation) WithScopes(scopes []string) *Operation

func (*Operation) WithTenant

func (o *Operation) WithTenant(tenant string) *Operation

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

Jump to

Keyboard shortcuts

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