internal

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.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 {
	Catalog                          string // Catalog table.
	Connector                        string // Connector table.
	CostReport                       string // CostReport table.
	DistributeLock                   string // DistributeLock table.
	Environment                      string // Environment table.
	EnvironmentConnectorRelationship string // EnvironmentConnectorRelationship table.
	Perspective                      string // Perspective table.
	Project                          string // Project table.
	Role                             string // Role table.
	Service                          string // Service table.
	ServiceRelationship              string // ServiceRelationship table.
	ServiceResource                  string // ServiceResource table.
	ServiceResourceRelationship      string // ServiceResourceRelationship table.
	ServiceRevision                  string // ServiceRevision table.
	Setting                          string // Setting table.
	Subject                          string // Subject table.
	SubjectRoleRelationship          string // SubjectRoleRelationship table.
	Template                         string // Template table.
	TemplateVersion                  string // TemplateVersion table.
	Token                            string // Token table.
	Variable                         string // Variable 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