app_specific_connection

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseConnectionCtyType = cty.Capsule("BaseConnectionCtyType", reflect.TypeOf(&connection.ConnectionImpl{}))
View Source
var ConnectionTypeRegistry map[string]ConnectionFunc

Functions

func ConnectionCtyType

func ConnectionCtyType(connectionType string) cty.Type

func ConnectionStringFromConnectionName

func ConnectionStringFromConnectionName(evalContext *hcl.EvalContext, longName string) (connection.ConnectionStringProvider, error)

ConnectionStringFromConnectionName resolves the connection name to a conneciton onbject in the eval context and return the connection string

func ConnectionTypeSupported

func ConnectionTypeSupported(connectionType string) bool

func CtyValueToConnection

func CtyValueToConnection(value cty.Value) (_ connection.PipelingConnection, err error)

func DefaultPipelingConnections

func DefaultPipelingConnections() (map[string]connection.PipelingConnection, error)

func NewPipelingConnection

func NewPipelingConnection(connectionType, shortName string, declRange hcl.Range) (connection.PipelingConnection, error)

func RegisterConnections

func RegisterConnections(funcs ...ConnectionFunc)

Types

type ConnectionFunc

type ConnectionFunc func(string, hcl.Range) connection.PipelingConnection

Jump to

Keyboard shortcuts

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