gfs

package
v0.3.1-rc10 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package gfs helps with Google FireStore

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDoc

func GetDoc(ctx context.Context, firestoreClient *firestore.Client, documentPath string, retriesNumber time.Duration) (*firestore.DocumentSnapshot, bool)

GetDoc check if a document exist with retries

func ListKeyNames added in v0.3.1

func ListKeyNames(ctx context.Context, firestoreClient *firestore.Client, serviceName string) (serviceAccountKeyNames []string, err error)

ListKeyNames retrieve the list of recorded keyname for a given microservice

func RecordKeyName added in v0.3.1

func RecordKeyName(core *deploy.Core, serviceAccountKeyName string, retriesNumber time.Duration) (err error)

RecordKeyName records the service account key name used by a deployed microservice instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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