driver

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 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 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
	Up(
		c context.Context,
		uri string,
		registryName string,
		path string,
	) error
	// Down - cancel transactions
	Down(
		c context.Context,
		uri string,
		registryName string,
		path string,
		count int,
	) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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