project

package
v0.9.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfig

func CheckConfig(c *kli.CommandContext) error

checkConfig and configFingerprint handle `backd config check|fingerprint`. They need only CONFIG_DIR.

func ConfigFingerprint

func ConfigFingerprint(c *kli.CommandContext) error

func ExportDecrypt

func ExportDecrypt(c *kli.CommandContext) error

exportDecrypt handles `backd export-decrypt`: a copy of a package with some encrypted fields opened, made offline.

func FunctionsTypes

func FunctionsTypes(c *kli.CommandContext) error

func ListDatabases

func ListDatabases(c *kli.CommandContext) error

listDatabases handles `backd databases [--collections]`: it prints the MongoDB databases the config uses, data databases and realm system databases, sorted; with --collections, every collection as <database>.<collection>. It needs only CONFIG_DIR, so deploy scripts can grant a least-privilege user access to exactly these.

func OpenAPICommand

func OpenAPICommand(c *kli.CommandContext) error

openapiCommand handles `backd openapi`: it generates a realm's OpenAPI document from the local CONFIG_DIR, to standard output or --out, or with --check compares the file.

func RulesTest

func RulesTest(c *kli.CommandContext) error

rulesTest handles `backd rules test`: it runs every collection's rules.test.yaml against its rules, with no database. Needs only CONFIG_DIR.

func TemplateCollectionPolicy

func TemplateCollectionPolicy(c *kli.CommandContext) error

func TemplateDatabase

func TemplateDatabase(c *kli.CommandContext) error

func TemplateEmailCapture

func TemplateEmailCapture(c *kli.CommandContext) error

func TemplateFunction

func TemplateFunction(c *kli.CommandContext) error

func TemplateProject

func TemplateProject(c *kli.CommandContext) error

func TemplateRealm

func TemplateRealm(c *kli.CommandContext) error

templateRealm, templateDatabase, templateFunction and templateProject handle `backd template ...`: they write files under CONFIG_DIR (the project template, a whole directory) and list what they created.

func TypesCommand

func TypesCommand(c *kli.CommandContext) error

typesCommand handles `backd types`: it generates a realm's TypeScript types from the local CONFIG_DIR, or from a running instance with --from, and writes them, or checks or diffs them against the files already there.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL