database

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	InputDir       string
	OutputDir      string
	Driver         string
	URI            string
	Hosts          []string
	Username       string
	Password       string
	Keyspace       string
	DeploySeedData bool
}

func (*Database) ApplySync

func (d *Database) ApplySync(statements []string) error

func (*Database) CreateFixturesSync

func (d *Database) CreateFixturesSync() error

func (*Database) PlanSyncFromFile added in v0.10.0

func (d *Database) PlanSyncFromFile(filename string, specType string) ([]string, error)

func (*Database) PlanSyncSeedData added in v0.13.0

func (d *Database) PlanSyncSeedData(spec *schemasv1alpha4.TableSpec) ([]string, error)

func (*Database) PlanSyncTableSpec added in v0.10.0

func (d *Database) PlanSyncTableSpec(spec *schemasv1alpha4.TableSpec) ([]string, error)

func (*Database) PlanSyncTypeSpec added in v0.12.0

func (d *Database) PlanSyncTypeSpec(spec *schemasv1alpha4.DataTypeSpec) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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