Documentation ¶
Index ¶
- Variables
- func ConnectionCtyType(connectionType string) cty.Type
- func ConnectionStringFromConnectionName(evalContext *hcl.EvalContext, longName string) (connection.ConnectionStringProvider, error)
- func ConnectionTypeSupported(connectionType string) bool
- func CtyValueToConnection(value cty.Value) (_ connection.PipelingConnection, err error)
- func DefaultPipelingConnections() (map[string]connection.PipelingConnection, error)
- func NewPipelingConnection(connectionType, shortName string, declRange hcl.Range) (connection.PipelingConnection, error)
- func RegisterConnections(funcs ...ConnectionFunc)
- type ConnectionFunc
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 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 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
Click to show internal directories.
Click to hide internal directories.