resources

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(data *schema.ResourceData, meta interface{}) error

func CreateResource added in v0.3.0

func CreateResource(
	t string,
	properties []string,
	s map[string]*schema.Schema,
	builder func(string) *snowflake.Builder,
	read func(*schema.ResourceData, interface{}) error,
) func(*schema.ResourceData, interface{}) error

func CreateRole

func CreateRole(data *schema.ResourceData, meta interface{}) error

func CreateRoleGrants

func CreateRoleGrants(data *schema.ResourceData, meta interface{}) error

func CreateUser

func CreateUser(data *schema.ResourceData, meta interface{}) error

func CreateWarehouse

func CreateWarehouse(data *schema.ResourceData, meta interface{}) error

func DBExec

func DBExec(db *sql.DB, query string, args ...interface{}) error

func Database

func Database() *schema.Resource

func DeleteDatabase

func DeleteDatabase(data *schema.ResourceData, meta interface{}) error

func DeleteResource added in v0.3.0

func DeleteResource(t string, builder func(string) *snowflake.Builder) func(*schema.ResourceData, interface{}) error

func DeleteRole

func DeleteRole(data *schema.ResourceData, meta interface{}) error

func DeleteRoleGrants

func DeleteRoleGrants(data *schema.ResourceData, meta interface{}) error

func DeleteUser

func DeleteUser(data *schema.ResourceData, meta interface{}) error

func DeleteWarehouse

func DeleteWarehouse(data *schema.ResourceData, meta interface{}) error

func ReadDatabase

func ReadDatabase(data *schema.ResourceData, meta interface{}) error

func ReadRole

func ReadRole(data *schema.ResourceData, meta interface{}) error

func ReadRoleGrants

func ReadRoleGrants(data *schema.ResourceData, meta interface{}) error

func ReadUser

func ReadUser(data *schema.ResourceData, meta interface{}) error

func ReadWarehouse

func ReadWarehouse(data *schema.ResourceData, meta interface{}) error

func Role

func Role() *schema.Resource

func RoleGrants

func RoleGrants() *schema.Resource

func UpdateDatabase

func UpdateDatabase(data *schema.ResourceData, meta interface{}) error

func UpdateResource added in v0.3.0

func UpdateResource(
	t string,
	properties []string,
	s map[string]*schema.Schema,
	builder func(string) *snowflake.Builder,
	read func(*schema.ResourceData, interface{}) error,
) func(*schema.ResourceData, interface{}) error

func UpdateRole

func UpdateRole(data *schema.ResourceData, meta interface{}) error

func UpdateRoleGrants

func UpdateRoleGrants(data *schema.ResourceData, meta interface{}) error

func UpdateUser

func UpdateUser(data *schema.ResourceData, meta interface{}) error

func UpdateWarehouse

func UpdateWarehouse(data *schema.ResourceData, meta interface{}) error

func User

func User() *schema.Resource

func UserExists added in v0.3.0

func UserExists(data *schema.ResourceData, meta interface{}) (bool, error)

func Warehouse

func Warehouse() *schema.Resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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