Documentation ¶
Index ¶
- Constants
- func DeployCommand(c *cli.Context) error
- func GenerateRandomData(c *cli.Context) error
- func GetAuthSubcommands() []*cli.Command
- func GetBranchesSubcommands() []*cli.Command
- func GetDBsSubcommands() []*cli.Command
- func GetWorkspacesSubcommands() []*cli.Command
- func GitGetLastSHA() (sha string, err error)
- func GitHasLocalChanges(filename string) (bool, error)
- func HistoryCommand(c *cli.Context) error
- func InitCommand(c *cli.Context) error
- func PrintMigration(migration spec.BranchMigration, withNoColor bool)
- func PullCommand(c *cli.Context) error
- func ShellCommand(c *cli.Context) error
- type ErrorUnauthorized
- type SettingsFile
Constants ¶
View Source
const ( SettingsYAML = "yaml" SettingsJSON = "json" )
Variables ¶
This section is empty.
Functions ¶
func DeployCommand ¶
func DeployCommand(c *cli.Context) error
func GenerateRandomData ¶
func GenerateRandomData(c *cli.Context) error
func GetAuthSubcommands ¶
func GetAuthSubcommands() []*cli.Command
func GetBranchesSubcommands ¶
func GetBranchesSubcommands() []*cli.Command
func GetDBsSubcommands ¶
func GetDBsSubcommands() []*cli.Command
func GetWorkspacesSubcommands ¶
func GetWorkspacesSubcommands() []*cli.Command
func GitGetLastSHA ¶
func GitHasLocalChanges ¶
func HistoryCommand ¶
func HistoryCommand(c *cli.Context) error
func InitCommand ¶
func InitCommand(c *cli.Context) error
func PrintMigration ¶
func PrintMigration(migration spec.BranchMigration, withNoColor bool)
func PullCommand ¶
func PullCommand(c *cli.Context) error
func ShellCommand ¶
func ShellCommand(c *cli.Context) error
Types ¶
type ErrorUnauthorized ¶
type ErrorUnauthorized struct {
// contains filtered or unexported fields
}
func (ErrorUnauthorized) Error ¶
func (e ErrorUnauthorized) Error() string
type SettingsFile ¶
type SettingsFile struct { SchemaFileFormat string `json:"schemaFileFormat"` DBName string `json:"dbName"` WorkspaceID string `json:"workspaceID"` }
func ReadSettings ¶
func ReadSettings(dir string) (*SettingsFile, error)
Click to show internal directories.
Click to hide internal directories.