resource

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewID

func NewID(schema, name string) string

NewID creates new absolute id for Terraform

func SplitIDInSchema

func SplitIDInSchema(id string) (schema, name string, err error)

SplitIDInSchema takes an id prefixed by Schema and extracts the different parts

Types

type DatabaseMeta added in v0.0.13

type DatabaseMeta struct {
	Schema     string
	ObjectName string
}

DatabaseMeta represents information about Database Objects

func GetMetaFromQNDefault added in v0.0.13

func GetMetaFromQNDefault(qn, schemaDefault string) (meta DatabaseMeta, err error)

GetMetaFromQNDefault uses a qualified name and returns the schema and name. Should name not be qualified fallback to default schema

Jump to

Keyboard shortcuts

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