Help us shape the future of Go! Take the 2026 Go Developer Survey

firebase

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Overview

Package firebase registers the Firebase importer source (`nself db import firebase`). Purpose: read Firestore (REST), a `firebase auth:export` file and Cloud Storage (JSON API) into a portable bundle for the shared loader and verifier. Inputs: --project, --credentials-file or FIRESTORE_EMULATOR_HOST, --auth-export, --bucket. Outputs: a v1 portable bundle. Constraints: no key or token leaves memory; modified-scrypt users arrive without a password and are listed for reset.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInput

func CheckInput(in importer.Input) error

CheckInput validates the flag values without touching the network, so the command can show a precise message before the importer runs (the run layer reduces extraction errors to fixed text).

Types

type Source

type Source struct{}

func (Source) Detect

Detect is a cheap probe: inputs valid, the API reachable, the auth export countable.

func (Source) Extract

func (Source) Extract(ctx context.Context, in importer.Input, stage string) (importer.Extracted, error)

func (Source) Flags

func (Source) Flags() []importer.FlagSpec

func (Source) Name

func (Source) Name() string

Jump to

Keyboard shortcuts

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