internal

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashStrings

func HashStrings(elems ...string) ([]byte, error)

func HashUnknown

func HashUnknown(elems ...[]interface{}) ([]byte, error)

func MustCreateTestClient

func MustCreateTestClient() *exaprovider.Client

func MustCreateTestConf

func MustCreateTestConf() exasol.ConnConf

func RootName

func RootName(s *terraform.State, id string) (string, error)

Types

type Conn

type Conn interface {
	Commit() error
	Execute(string, ...interface{}) (map[string]interface{}, error)
	FetchSlice(string, ...interface{}) ([][]interface{}, error)
}

type Data

type Data interface {
	Get(name string) interface{}
	Set(name string, d interface{}) error
	Id() string
	SetId(id string)
	HasChange(name string) bool
	GetChange(name string) (interface{}, interface{})
}

type TestData

type TestData struct {
	Values    map[string]interface{}
	NewValues map[string]interface{}
	// contains filtered or unexported fields
}

func (*TestData) Get

func (d *TestData) Get(name string) interface{}

func (*TestData) GetChange

func (d *TestData) GetChange(name string) (interface{}, interface{})

func (*TestData) HasChange

func (d *TestData) HasChange(name string) bool

func (*TestData) Id

func (d *TestData) Id() string

func (*TestData) Set

func (d *TestData) Set(name string, value interface{}) error

func (*TestData) SetId

func (d *TestData) SetId(id string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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