Documentation ¶
Index ¶
- type Driver
- func (_m *Driver) Clone(ctx context.Context, source string, target string) error
- func (_m *Driver) Connection(ctx context.Context) (*sql.DB, error)
- func (_m *Driver) Create(ctx context.Context, target string) error
- func (_m *Driver) List(ctx context.Context) ([]string, error)
- func (_m *Driver) Prune(ctx context.Context) error
- func (_m *Driver) PruneList(ctx context.Context) ([]string, error)
- func (_m *Driver) Remove(ctx context.Context, target string) error
- func (_m *Driver) URI(ctx context.Context) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func NewDriver ¶
NewDriver creates a new instance of Driver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Driver) Connection ¶
Connection provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.