Documentation
¶
Index ¶
- Constants
- type DBConfig
- type DBname
- type Engine
- func (e *Engine) Close() error
- func (e *Engine) Connect() error
- func (d *Engine) CreateFromSnap(snapName SnapName) (int64, error)
- func (d *Engine) DisableTemplate() (int64, error)
- func (d *Engine) Drop(dbName DBname) (int64, error)
- func (d *Engine) EnableTemplate() (int64, error)
- func (e *Engine) GetCommentForDatabase(dbName string) (*string, error)
- func (e *Engine) GetName() string
- func (d *Engine) GetSnap(snapName SnapName) (DBname, error)
- func (d *Engine) GetSnapshots() ([]SnapInfo, error)
- func (d *Engine) Snap(snapName SnapName) (int64, error)
- func (d *Engine) TerminateConnections() (int64, error)
- func (e *Engine) WriteCommentForDatabase(dbName string, comment string) error
- type SnapInfo
- type SnapName
Constants ¶
View Source
const DbNameSuffix = "_snapvault"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func DirectEngine ¶
func LoadEngine ¶
func (*Engine) DisableTemplate ¶
func (*Engine) EnableTemplate ¶
func (*Engine) GetCommentForDatabase ¶
func (*Engine) GetSnapshots ¶
func (*Engine) TerminateConnections ¶
Click to show internal directories.
Click to hide internal directories.