Documentation
¶
Index ¶
Constants ¶
View Source
const SourceKind string = "firestore"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Firestore configs Name string `yaml:"name" validate:"required"` Kind string `yaml:"kind" validate:"required"` Project string `yaml:"project" validate:"required"` Database string `yaml:"database"` // Optional, defaults to "(default)" }
func (Config) Initialize ¶
func (Config) SourceConfigKind ¶
type Source ¶
type Source struct { // Firestore struct with client Name string `yaml:"name"` Kind string `yaml:"kind"` Client *firestore.Client RulesClient *firebaserules.Service ProjectId string `yaml:"projectId"` DatabaseId string `yaml:"databaseId"` }
func (*Source) FirebaseRulesClient ¶
func (s *Source) FirebaseRulesClient() *firebaserules.Service
func (*Source) FirestoreClient ¶
func (*Source) GetDatabaseId ¶ added in v0.15.0
func (*Source) GetProjectId ¶
func (*Source) SourceKind ¶
Click to show internal directories.
Click to hide internal directories.