internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 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.
	Resource                         string // Resource table.
	ResourceComponent                string // ResourceComponent table.
	ResourceComponentRelationship    string // ResourceComponentRelationship table.
	ResourceDefinition               string // ResourceDefinition table.
	ResourceDefinitionMatchingRule   string // ResourceDefinitionMatchingRule table.
	ResourceRelationship             string // ResourceRelationship table.
	ResourceRevision                 string // ResourceRevision table.
	Role                             string // Role 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.
	Workflow                         string // Workflow table.
	WorkflowExecution                string // WorkflowExecution table.
	WorkflowStage                    string // WorkflowStage table.
	WorkflowStageExecution           string // WorkflowStageExecution table.
	WorkflowStep                     string // WorkflowStep table.
	WorkflowStepExecution            string // WorkflowStepExecution 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