Versions in this module Expand all Collapse all v0 v0.0.5 Dec 7, 2022 v0.0.4 Nov 15, 2022 Changes in this version + var ErrAuthenticationFailed = errors.New("failed to authenticate") + var ErrModuleNotFound = errors.New("failed to find requested module") + var ErrNamespaceNotFound = errors.New("failed to find requested namespace") + var ErrTenantNotFound = errors.New("failed to find requested tenant") + func ResolveCapabilitiesFromSource(source Source, ident, namespace string, log *vlog.Logger) (*capabilities.CapabilityConfig, error) + func TokenHash(token string) []byte + type Credential interface + Scheme func() string + Value func() string + type CredentialSupplier func(ctx context.Context) (Credential, error) + type Options interface + Logger func() *vlog.Logger + type Overview struct + TenantRefs References + type References struct + Identifiers map[string]int64 + type Source interface + Authentication func(ident, namespace string, version int64) (*tenant.Authentication, error) + Capabilities func(ident, namespace string, version int64) (*capabilities.CapabilityConfig, error) + Connections func(ident, namespace string, version int64) ([]tenant.Connection, error) + GetModule func(FQMN string) (*tenant.Module, error) + Overview func() (*Overview, error) + Queries func(ident, namespace string, version int64) ([]tenant.DBQuery, error) + Start func(opts Options) error + State func() (*State, error) + StaticFile func(identifier string, tenantVersion int64, path string) ([]byte, error) + TenantOverview func(ident string) (*TenantOverview, error) + Workflows func(ident, namespace string, version int64) ([]tenant.Workflow, error) + type State struct + SystemVersion int64 + type TenantOverview struct + Config *tenant.Config + Identifier string + Version int64