Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDriver ¶
type IDriver interface {
// Name of driver
Name() string
// CmdCreate - get command for create new transaction
CmdCreate() *cli.Command
// CmdUp - get command for apply transactions
CmdUp() *cli.Command
// CmdDown - get command for cancel transactions
CmdDown() *cli.Command
// Up - apply transactions
// Deprecated. Use UpFS
Up(
c context.Context,
uri string,
registryName string,
path string,
) error
// UpFS - apply transactions
UpFS(
c context.Context,
uri string,
registryName string,
fs filesystem.FS,
options ...internal.IOption,
) (err_ error)
// Down - cancel transactions
// Deprecated. Use DownFS
Down(
c context.Context,
uri string,
registryName string,
path string,
count int,
) error
// DownFS - cancel transactions
DownFS(
c context.Context,
uri string,
registryName string,
fs filesystem.FS,
count int,
options ...internal.IOption,
) error
}
Click to show internal directories.
Click to hide internal directories.