dbtool

package
v0.0.0-...-193f563 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTool

type DBTool interface {
	MissingColumns(models []database.Model) ([]agentConfig.MissingColumns, error)
	Verify(modelList []database.Model) error
	AutoMigrate([]agentConfig.MissingColumns) error
	RemoveACLUser(username string) error
	CreateACLUser(user *database.User, forceCreate bool) error
	CreateUserWithACL(models []database.Model, user *database.User, forceCreate bool) error
}

DBTool interface for tooling when agent working with db

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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