Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: cloud.google.com/go/firestore
Package firestore provides a client for reading and writing to a Cloud Firestore
database.
See https://cloud.google.com/firestore/docs for an introduction
to Cloud Firestore and additional help on using the Firestore API.
See https://godoc.org/cloud.google.com/go for authentication, timeouts,
connection pooling and similar aspects of this package.
Note: you can't use both Cloud Firestore and Cloud Datastore in the same
project.
To start working with this package, create a client with a project ID:
In Firestore, documents are sets of key-value pairs, and collections are groups of
documents. A Firestore database consists of a hierarchy of alternating collections
and documents, referred to by slash-separated paths like
"States/California/Cities/SanFrancisco".
This client is built around references to collections and documents. CollectionRefs
and DocumentRefs are lightweight values that refer to the corresponding database
entities. Creating a ref does not involve any network traffic.
Use DocumentRef.Get to read a document. The result is a DocumentSnapshot.
Call its Data method to obtain the entire document contents as a map.
You can also obtain a single field with DataAt, or extract the data into a struct
with DataTo. With the type definition
we can extract the document's data into a value of type State:
Note that this client supports struct tags beginning with "firestore:" that work like
the tags of the encoding/json package, letting you rename fields, ignore them, or
omit their values when empty.
To retrieve multiple documents from their references in a single call, use
Client.GetAll.
For writing individual documents, use the methods on DocumentReference.
Create creates a new document.
The first return value is a WriteResult, which contains the time
at which the document was updated.
Create fails if the document exists. Another method, Set, either replaces an existing
document or creates a new one.
To update some fields of an existing document, use Update. It takes a list of
paths to update and their corresponding values.
Use DocumentRef.Delete to delete a document.
You can condition Deletes or Updates on when a document was last changed. Specify
these preconditions as an option to a Delete or Update method. The check and the
write happen atomically with a single RPC.
Here we update a doc only if it hasn't changed since we read it.
You could also do this with a transaction.
To perform multiple writes at once, use a WriteBatch. Its methods chain
for convenience.
WriteBatch.Commit sends the collected writes to the server, where they happen
atomically.
You can use SQL to select documents from a collection. Begin with the collection, and
build up a query using Select, Where and other methods of Query.
Supported operators include '<', '<=', '>', '>=', '==', 'in', 'array-contains', and
'array-contains-any'.
Call the Query's Documents method to get an iterator, and use it like
the other Google Cloud Client iterators.
To get all the documents in a collection, you can use the collection itself
as a query.
You can partition the documents of a Collection Group allowing for smaller subqueries.
You can also Serialize/Deserialize queries making it possible to run/stream the
queries elsewhere; another process or machine for instance.
Use a transaction to execute reads and writes atomically. All reads must happen
before any writes. Transaction creation, commit, rollback and retry are handled for
you by the Client.RunTransaction method; just provide a function and use the
read and write methods of the Transaction passed to it.
This package supports the Cloud Firestore emulator, which is useful for testing and
development. Environment variables are used to indicate that Firestore traffic should be
directed to the emulator instead of the production Firestore service.
To install and run the emulator and its environment variables, see the documentation
at https://cloud.google.com/sdk/gcloud/reference/beta/emulators/firestore/. Once the
emulator is running, set FIRESTORE_EMULATOR_HOST to the API endpoint.
17 versions
Latest release: 7 months ago
1,504 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/cloud.google.com/go/firestore
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/googleapis%2Fgoogle-cloud-go
Dependent Repos 57,670
admariner/jitsu Fork of jitsucom/jitsu
Jitsu is an open-source data integration platform- v1.6.1 configurator/backend/go.mod
- v1.1.0 configurator/backend/go.sum
- v1.6.1 configurator/backend/go.sum
- v1.6.1 server/go.mod
- v1.1.0 server/go.sum
- v1.6.1 server/go.sum
Size: 29.4 MB - Last synced: about 2 months ago - Pushed: 10 months ago
brotherlogic/logging
Logging for system- v1.9.0 go.sum
Size: 607 KB - Last synced: 8 days ago - Pushed: 8 days ago
kmodules/resource-metadata
API for defining metadata about Kubernetes resources- v1.1.0 go.sum
Size: 75.6 MB - Last synced: about 14 hours ago - Pushed: 1 day ago
vearutop/cache-story
Demo repository for a blog post.- v1.1.0 go.sum
Size: 4.59 MB - Last synced: 2 months ago - Pushed: 2 months ago
ossf/scorecard-action
Official GitHub Action for OpenSSF Scorecard.- v1.1.0 go.sum
- v1.6.0 go.sum
- v1.6.1 go.sum
Size: 6.39 MB - Last synced: about 14 hours ago - Pushed: 6 days ago
zeromike/syft Fork of anchore/syft
CLI tool and library for generating a Software Bill of Materials from container images and filesystems- v1.1.0 go.sum
- v1.6.0 go.sum
- v1.6.1 go.sum
Size: 10.4 MB - Last synced: 12 months ago - Pushed: almost 2 years ago
aberja/argo Fork of argoproj/argo-workflows
Argo Workflows: Get stuff done with Kubernetes.- v1.1.0 go.sum
- v1.6.1 go.sum
Size: 67.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
krasish/test-infra Fork of kyma-project/test-infra
Test infrastructure for the Kyma project.- v1.6.1 development/gcp/cloud-functions/getfailureinstancedetails/go.mod
- v1.1.0 development/gcp/cloud-functions/getfailureinstancedetails/go.sum
- v1.5.0 development/gcp/cloud-functions/getfailureinstancedetails/go.sum
- v1.6.1 development/gcp/cloud-functions/getfailureinstancedetails/go.sum
- v1.5.0 development/gcp/cloud-functions/getslackuserforgithubuser/go.mod
- v1.5.0 development/kyma-ci-force-bot/ciforcebot/go.mod
- v1.1.0 development/kyma-ci-force-bot/ciforcebot/go.sum
- v1.5.0 development/kyma-ci-force-bot/ciforcebot/go.sum
- v1.6.1 go.mod
- v1.1.0 go.sum
- v1.5.0 go.sum
- v1.6.1 go.sum
Size: 15.3 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
luthersystems/sandbox
End-to-end "hello world" application on the Luther Platform.- v1.1.0 go.sum
Size: 473 KB - Last synced: 16 days ago - Pushed: 16 days ago
spolti/kie-cloud-operator Fork of kiegroup/kie-cloud-operator
OCP Operator for KIE- v1.1.0 go.sum
Size: 100 MB - Last synced: 8 months ago - Pushed: 8 months ago
murilo-bracero/raspstore
- v1.5.0 application/auth-service/go.mod
- v1.5.0 application/auth-service/go.sum
Size: 25.7 MB - Last synced: 14 days ago - Pushed: 6 months ago
cheqd/tendermint Fork of tendermint/tendermint
β Tendermint Core (BFT Consensus) in Go- v1.1.0 go.sum
Size: 142 MB - Last synced: 26 days ago - Pushed: over 1 year ago
champ-oss/terraform-aws-metabase
- v1.1.0 test/src/go.sum
Size: 241 KB - Last synced: 2 days ago - Pushed: 3 days ago
fahedouch/crossplane-runtime Fork of crossplane/crossplane-runtime
A set of libraries for writing Crossplane controllers.- v1.1.0 go.sum
Size: 2.37 MB - Last synced: 10 months ago - Pushed: 10 months ago
nakamasato/mysql-operator
Manage MySQL users, databases, schemas, etc.- v1.1.0 go.sum
Size: 1.59 MB - Last synced: 1 day ago - Pushed: 2 days ago
HazemBittar/gotestwaf Fork of wallarm/gotestwaf
An open-source project in Golang to test different web application firewalls (WAF) for detection logic and bypasses- v1.1.0 go.sum
Size: 9.74 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
observIQ/grafana-agent Fork of grafana/agent
Telemetry agent for the LGTM stack.- v1.1.0 go.sum
- v1.5.0 go.sum
Size: 48.3 MB - Last synced: 5 months ago - Pushed: 5 months ago
tharun208/loki Fork of grafana/loki
Like Prometheus, but for logs.- v1.1.0 operator/go.sum
Size: 168 MB - Last synced: 18 days ago - Pushed: about 1 year ago
Tatsinnit/kubelogin Fork of Azure/kubelogin
A Kubernetes credential (exec) plugin implementing azure authentication- v1.1.0 go.sum
Size: 1.63 MB - Last synced: 18 days ago - Pushed: 3 months ago
xpivarc/kubevirt Fork of kubevirt/kubevirt
Kubernetes Virtualization API and runtime in order to define and manage virtual machines.- v1.1.0 go.sum
- v1.1.0 staging/src/kubevirt.io/client-go/go.sum
Size: 262 MB - Last synced: 2 months ago - Pushed: 2 months ago
antonyggvzvmnxxcx/linkerd2 Fork of linkerd/linkerd2
Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.- v1.1.0 go.sum
- v1.6.1 go.sum
Size: 33.5 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
gtully/activemq-artemis-operator Fork of artemiscloud/activemq-artemis-operator
- v1.1.0 go.sum
Size: 55.1 MB - Last synced: 1 day ago - Pushed: 2 days ago
FranLucchini/try_seldonCore_JenkinsX
Check how to use Seldon Core with Jenkins X- v1.1.0 versionStream/tests/go.sum
Size: 244 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago
carlkyrillos/integreatly-operator Fork of integr8ly/integreatly-operator
An Openshift Operator based on the Operator SDK for installing and reconciling Integreatly services- v1.1.0 go.sum
Size: 126 MB - Last synced: 17 days ago - Pushed: 17 days ago
rancher-max/rancher Fork of rancher/rancher
Complete container management platform- v1.1.0 cmd/rancherd/go.sum
- v1.1.0 go.sum
- v1.6.0 go.sum
- v1.1.0 pkg/apis/go.sum
Size: 131 MB - Last synced: 24 days ago - Pushed: 24 days ago
FairwindsOps/insights-cli
A command line tool for Fairwinds Insights- v1.1.0 go.sum
Size: 460 KB - Last synced: 18 days ago - Pushed: 19 days ago
slachiewicz/kubernetes-client Fork of fabric8io/kubernetes-client
Java client for Kubernetes & OpenShift- v1.1.0 extensions/camel-k/generator-v1/go.sum
- v1.1.0 extensions/camel-k/generator-v1alpha1/go.sum
- v1.1.0 extensions/certmanager/generator-v1/go.sum
- v1.1.0 extensions/certmanager/generator-v1alpha2/go.sum
- v1.1.0 extensions/certmanager/generator-v1alpha3/go.sum
- v1.1.0 extensions/certmanager/generator-v1beta1/go.sum
- v1.1.0 extensions/chaosmesh/generator/go.sum
- v1.1.0 extensions/knative/generator/go.sum
- v1.1.0 extensions/tekton/generator-v1beta1/go.sum
- v1.1.0 kubernetes-model-generator/go.sum
Size: 466 MB - Last synced: 1 day ago - Pushed: 2 days ago
accuknox/tools
Collection of command line tools to deploy policy engines, policy discovery engines and associated components.- v1.1.0 container-snapshot/go.sum
- v1.6.1 container-snapshot/go.sum
Size: 40.1 MB - Last synced: 10 months ago - Pushed: 10 months ago
jrivera-px/operator Fork of libopenstorage/operator
Storage operator for Kubernetes- v1.1.0 go.sum
- v1.2.0 go.sum
Size: 34.9 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
paketo-buildpacks/go
A Cloud Native Buildpack for Go- v1.1.0 go.sum
- v1.6.0 go.sum
- v1.6.1 go.sum
Size: 82.6 MB - Last synced: 2 days ago - Pushed: 2 days ago
paketo-buildpacks/dotnet-core
A Cloud Native Buildpack for .NET Core- v1.1.0 go.sum
- v1.6.0 go.sum
- v1.6.1 go.sum
Size: 134 MB - Last synced: 2 days ago - Pushed: 2 days ago
cilium/cilium-olm π¦
- v1.1.0 tools/go.sum
Size: 982 KB - Last synced: 9 months ago - Pushed: 12 months ago
eblindeman/dashboard Fork of kubernetes/dashboard
General-purpose web UI for Kubernetes clusters- v1.1.0 go.sum
Size: 152 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
rxrddd/austin-v2
εΊδΊkratos ηθεζΆζ―ζ¨ιεΉ³ε°- v1.9.0 go.sum
Size: 1.77 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
stolostron/governance-policy-template-sync Fork of open-cluster-management-io/governance-policy-template-sync π¦
- v1.1.0 go.sum
Size: 6.81 MB - Last synced: 20 days ago - Pushed: 9 months ago
backube/pvc-transfer
A Golang library for handling data replication of Kubernetes PVCs- v1.1.0 go.sum
Size: 143 KB - Last synced: 9 months ago - Pushed: over 1 year ago
RafaySystems/terraform-provider-rafay
Rafay terraform provider- v1.1.0 go.sum
- v1.6.1 go.sum
Size: 4.33 MB - Last synced: about 6 hours ago - Pushed: about 7 hours ago
IBM/ibm-commonui-operator
Operator used to install the common webui service- v1.1.0 go.sum
Size: 45.5 MB - Last synced: 5 days ago - Pushed: 6 days ago
dariuszSki/zbgp-speaker
- v1.1.0 go.sum
- v1.6.1 go.sum
Size: 53.7 KB - Last synced: 9 months ago - Pushed: 9 months ago
LATOKEN/bridge-backend-service
- v1.6.1 src/go.sum
Size: 449 KB - Last synced: 4 months ago - Pushed: over 1 year ago
GoogleCloudPlatform/gke-poc-toolkit
π¦ Demo generator for Google Kubernetes Engine!- v1.1.0 cli/go.sum
- v1.6.0 cli/go.sum
Size: 12.8 MB - Last synced: 7 days ago - Pushed: 8 days ago
Mu-L/docker-slim Fork of slimtoolkit/slim
DockerSlim (docker-slim): Don't change anything in your Docker container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)- v1.6.1 go.sum
Size: 64.8 MB - Last synced: 25 days ago - Pushed: 30 days ago
outscale/cluster-api-provider-outscale
- v1.1.0 go.sum
- v1.6.0 go.sum
Size: 15.7 MB - Last synced: 12 days ago - Pushed: 12 days ago
kubeshop/kusk
CLI for Kusk Gateway related functionality- v1.1.0 go.sum
Size: 6.51 MB - Last synced: 20 days ago - Pushed: over 1 year ago
drh-determined-ai/determined Fork of determined-ai/determined
Determined: Deep Learning Training Platform- v1.1.0 agent/go.sum
- v1.1.0 master/go.sum
- v1.6.0 master/go.sum
Size: 114 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
kubernetes-sigs/cluster-api-provider-nested
Cluster API Provider for Nested Clusters- v1.1.0 go.sum
- v1.1.0 hack/tools/go.sum
- v1.1.0 virtualcluster/go.sum
- v1.1.0 virtualcluster/pkg/vn-agent/server/test/go.sum
Size: 3.04 MB - Last synced: 16 days ago - Pushed: 16 days ago
stratosnet/stratos-chain
Stratos Blockchain- v1.1.0 go.sum
Size: 5.25 MB - Last synced: 1 day ago - Pushed: 2 days ago