internal

package
v0.0.0-...-738d89c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSchemaConfigContext

func NewSchemaConfigContext(parent context.Context, config SchemaConfig) context.Context

NewSchemaConfigContext returns a new context with the given SchemaConfig attached.

Types

type SchemaConfig

type SchemaConfig struct {
	DecisionDef    string // DecisionDef table.
	DecisionReqDef string // DecisionReqDef table.
	Deployment     string // Deployment table.
	IdentityLink   string // IdentityLink table.
	OrgApp         string // OrgApp table.
	OrgRole        string // OrgRole table.
	OrgRoleUser    string // OrgRoleUser table.
	OrgUser        string // OrgUser table.
	ProcDef        string // ProcDef table.
	ProcInst       string // ProcInst table.
	Task           string // Task table.
}

SchemaConfig represents alternative schema names for all tables that can be passed at runtime.

func SchemaConfigFromContext

func SchemaConfigFromContext(ctx context.Context) SchemaConfig

SchemaConfigFromContext returns a SchemaConfig stored inside a context, or empty if there isn't one.

Jump to

Keyboard shortcuts

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