Documentation
¶
Overview ¶
Package exporter writes a read-only, snapshot-consistent portable bundle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Out string
Schemas []string
NoStorage bool
SecretValues []string
Keys []string
ProjectDir string
FreeSpace func(string) (uint64, error)
// Warn receives non-secret preflight warnings; nil means os.Stderr.
Warn io.Writer
}
Options describes an export. FreeSpace is a test seam, never an env override. SecretValues and Keys come from the resolved environment, not raw env files.
type Summary ¶
type Summary struct {
Out string `json:"out"`
Tables int `json:"tables"`
Users int `json:"users"`
Objects int `json:"objects"`
StorageNote string `json:"storage_note"`
}
Summary is the command's envelope data; it never includes credentials.
Click to show internal directories.
Click to hide internal directories.