Documentation
¶
Index ¶
- func Create(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Delete(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Find() *cli.Command
- func List(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Materialize(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Migrate() *cli.Command
- func Pull() *cli.Command
- func Query() *cli.Command
- func Read(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Resolve() *cli.Command
- func Serve(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Setup() *cli.Command
- func Truncate() *cli.Command
- func Update(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Validate(homeDir func() (string, error), getWd func() (string, error), ...) *cli.Command
- func Version(ver, commit, date string) *cli.Command
- func Watch() *cli.Command
- type GitHubDBFactory
- type GitHubFileReaderFactory
- type ViewBuilderFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶ added in v0.9.0
func Create( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), newDB func(string, *ingitdb.Definition) (dal.DB, error), logf func(...any), ) *cli.Command
Create returns the create command group.
func Delete ¶
func Delete( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), newDB func(string, *ingitdb.Definition) (dal.DB, error), logf func(...any), ) *cli.Command
Delete returns the delete command group.
func List ¶
func List( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), ) *cli.Command
List returns the list command.
func Materialize ¶
func Materialize( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), viewBuilder materializer.ViewBuilder, logf func(...any), ) *cli.Command
Materialize returns the materialize command.
func Read ¶ added in v0.9.2
func Read( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), newDB func(string, *ingitdb.Definition) (dal.DB, error), logf func(...any), ) *cli.Command
Read returns the read command group.
func Serve ¶
func Serve( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), newDB func(string, *ingitdb.Definition) (dal.DB, error), logf func(...any), ) *cli.Command
Serve returns the serve command.
func Update ¶ added in v0.9.0
func Update( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), newDB func(string, *ingitdb.Definition) (dal.DB, error), logf func(...any), ) *cli.Command
Update returns the update command group.
func Validate ¶
func Validate( homeDir func() (string, error), getWd func() (string, error), readDefinition func(string, ...ingitdb.ReadOption) (*ingitdb.Definition, error), dataVal datavalidator.DataValidator, incVal datavalidator.IncrementalValidator, logf func(...any), ) *cli.Command
Validate returns the validate command.
Types ¶
type GitHubDBFactory ¶ added in v0.14.0
type GitHubDBFactory interface {
NewGitHubDBWithDef(cfg dalgo2ghingitdb.Config, def *ingitdb.Definition) (dal.DB, error)
}
GitHubDBFactory creates a GitHub-backed DAL database.
type GitHubFileReaderFactory ¶ added in v0.14.0
type GitHubFileReaderFactory interface {
NewGitHubFileReader(cfg dalgo2ghingitdb.Config) (dalgo2ghingitdb.FileReader, error)
}
GitHubFileReaderFactory creates a GitHub file reader.
type ViewBuilderFactory ¶ added in v0.14.0
type ViewBuilderFactory interface {
ViewBuilderForCollection(colDef *ingitdb.CollectionDef) (materializer.ViewBuilder, error)
}
ViewBuilderFactory creates a view builder for a collection.
Source Files
¶
- create.go
- create_record.go
- delete.go
- delete_collection.go
- delete_record.go
- delete_records.go
- delete_view.go
- find.go
- list.go
- materialize.go
- migrate.go
- pull.go
- query.go
- read.go
- read_collection.go
- read_record.go
- read_record_github.go
- record_context.go
- resolve.go
- seams.go
- serve.go
- serve_mcp.go
- setup.go
- truncate.go
- update.go
- update_record.go
- validate.go
- version.go
- view_builder_helper.go
- watch.go
Click to show internal directories.
Click to hide internal directories.