Documentation
¶
Index ¶
- Variables
- func WithInstance(instance interface{}) (source.Driver, error)
- type AssetFunc
- type AssetSource
- type Bindata
- func (b *Bindata) Close() error
- func (b *Bindata) First() (version uint, err error)
- func (b *Bindata) MarkSkipMigrations(version uint, dir source.Direction)
- func (b *Bindata) Next(version uint) (nextVersion uint, err error)
- func (b *Bindata) Open(url string) (source.Driver, error)
- func (b *Bindata) Prev(version uint) (prevVersion uint, err error)
- func (b *Bindata) PrintSummary(dir source.Direction)
- func (b *Bindata) ReadDown(version uint) (r io.ReadCloser, identifier string, location string, fn source.MigrationFunc, ...)
- func (b *Bindata) ReadUp(version uint) (r io.ReadCloser, identifier string, location string, fn source.MigrationFunc, ...)
- func (b *Bindata) UpdateStatus(version uint, status source.Status, errstr string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAssetSource = fmt.Errorf("expects *AssetSource")
Functions ¶
func WithInstance ¶
Types ¶
type AssetSource ¶
func Resource ¶
func Resource(names []string, afn AssetFunc) *AssetSource
type Bindata ¶
type Bindata struct {
// contains filtered or unexported fields
}
func (*Bindata) MarkSkipMigrations ¶
func (*Bindata) PrintSummary ¶
func (*Bindata) ReadDown ¶
func (b *Bindata) ReadDown(version uint) (r io.ReadCloser, identifier string, location string, fn source.MigrationFunc, err error)
Click to show internal directories.
Click to hide internal directories.