schema

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	// contains filtered or unexported fields
}

func NewRepo

func NewRepo(baseDir string, logger logrus.FieldLogger) (*Repo, error)

func (*Repo) DBPath

func (r *Repo) DBPath() string

func (*Repo) LoadSchema

func (r *Repo) LoadSchema(ctx context.Context) (*schemauc.State, error)

func (*Repo) SaveSchema

func (r *Repo) SaveSchema(ctx context.Context, schema schemauc.State) error

Jump to

Keyboard shortcuts

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