Documentation ¶
Index ¶
- func Context(fileContext file.Context) (cont *base.Context, err error)
- func DisplayCoverageInfo(schemaCoverageInfo cov.SchemaCoverageInfo)
- func NewCoverageCommand() *cobra.Command
- func NewGenerateASTCommand() *cobra.Command
- func NewMigrateCommand() *cobra.Command
- func NewMigrateDownCommand() *cobra.Command
- func NewMigrateResetCommand() *cobra.Command
- func NewMigrateStatusCommand() *cobra.Command
- func NewMigrateUpCommand() *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewServeCommand() *cobra.Command
- func NewValidateCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type ErrList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶ added in v0.5.0
Context is a function that takes a file context and returns a base context and an error.
func DisplayCoverageInfo ¶ added in v0.4.0
func DisplayCoverageInfo(schemaCoverageInfo cov.SchemaCoverageInfo)
DisplayCoverageInfo - Display the schema coverage information
func NewCoverageCommand ¶ added in v0.4.0
NewCoverageCommand - creates a new coverage command
func NewGenerateASTCommand ¶ added in v0.5.4
NewGenerateASTCommand creates a new cobra.Command to generate the Abstract Syntax Tree (AST) from a given file. The command expects exactly one argument, which is the URL or path to the file. It also allows for flags registration for further validation (like coverage flags).
func NewMigrateCommand ¶ added in v0.3.1
NewMigrateCommand - Creates new migrate command
func NewMigrateDownCommand ¶ added in v0.3.1
NewMigrateDownCommand - Creates new migrate down command
func NewMigrateResetCommand ¶ added in v0.5.4
NewMigrateResetCommand - Creates new migrate reset command
func NewMigrateStatusCommand ¶ added in v0.3.1
NewMigrateStatusCommand - Creates new migrate status command
func NewMigrateUpCommand ¶ added in v0.3.1
NewMigrateUpCommand - Creates new migrate up command
func NewRootCommand ¶
NewRootCommand - Creates new root command
func NewServeCommand ¶
NewServeCommand returns a new Cobra command that can be used to run the "permify serve" command. The command takes no arguments and runs the serve() function to start the Permify service. The command has a short description of what it does.
func NewValidateCommand ¶
NewValidateCommand - creates a new validate command
func NewVersionCommand ¶ added in v0.3.5
NewVersionCommand - Creates new Version command