Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PatchesDirectoryPath = flag.String("astipatch-patches-directory-path", "", "the patches directory path")
)
Flags
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
PatchesDirectoryPath string `toml:"patches_directory_path"`
}
Configuration represents the patcher configuration
func FlagConfig ¶
func FlagConfig() Configuration
FlagConfig generates a Configuration based on flags
type PatchSQL ¶ added in v0.5.0
type PatchSQL []PatchSQLTransaction
type PatchSQLTransaction ¶ added in v0.5.0
type Patcher ¶
type Patcher interface { Init() error Load(c Configuration) error Patch() error Rollback() error }
Patcher represents an object capable of patching
Click to show internal directories.
Click to hide internal directories.