Documentation
¶
Index ¶
- func AcquireMaintenance(ctx context.Context, home string) (func() error, error)
- func AppendLog(ctx context.Context, db *sql.DB, event LogEvent) (string, error)
- func Backup(ctx context.Context, db *sql.DB, destination string) (err error)
- func BackupExisting(ctx context.Context, source, destination string) error
- func CaptureText(ctx context.Context, db *sql.DB, path string) ([]byte, error)
- func CollectArtifacts(ctx context.Context, home string) (int, error)
- func HasText(ctx context.Context, db *sql.DB, path string) (bool, error)
- func Open(ctx context.Context, home string, kind Kind) (*sql.DB, error)
- func OpenReadOnly(ctx context.Context, path string) (*sql.DB, error)
- func Path(home string, kind Kind) (string, error)
- func ReadArtifact(home, id string) ([]byte, error)
- func ReleaseDataPool(home string) error
- func RestoreBackup(ctx context.Context, destination, source string) error
- func RestoreText(ctx context.Context, db *sql.DB, path string) error
- func RunArtifactCollection(ctx context.Context, home string)
- func StoreArtifact(home string, content []byte) (string, error)
- type Kind
- type Lease
- type LogEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcquireMaintenance ¶
func ReadArtifact ¶
func ReleaseDataPool ¶
func RunArtifactCollection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.