Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrExecutableNotFound = errors.New("executable not found")
)
View Source
var (
ErrQueryNotFound = errors.New("query not found")
)
Functions ¶
This section is empty.
Types ¶
type FileExecutor ¶
type FileExecutor struct {
// contains filtered or unexported fields
}
type GitExecutor ¶
type GitExecutor struct {
*FileExecutor
}
func NewGitExecutor ¶
func NewGitExecutor() (*GitExecutor, error)
func (*GitExecutor) Checkout ¶
func (r *GitExecutor) Checkout(issueBranch string) error
func (*GitExecutor) Stash ¶
func (r *GitExecutor) Stash(pop bool) error
type SqlExecutor ¶
type SqlExecutor struct {
// contains filtered or unexported fields
}
func NewSqlExecutor ¶
func NewSqlExecutor(config SqlExecutorConfig) (*SqlExecutor, error)
func (*SqlExecutor) ListAvailableTemplates ¶
func (r *SqlExecutor) ListAvailableTemplates() []string
type SqlExecutorConfig ¶
type SqlExecutorConfig struct { // do not change order or delete properties!!! this change will need changes in configview.go TemplatesPath string `yaml:"templatesPath" placeholder:"Path to sql templates"` DbConnectionString string `yaml:"dbConnectionString" placeholder:"DB connection string"` DbVendor string `yaml:"dbVendor" placeholder:"Database vendor"` }
Click to show internal directories.
Click to hide internal directories.