firestore

package
v1.123.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirestoreDatabaseObservedState_FromProto

func FirestoreDatabaseObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Database) *krm.FirestoreDatabaseObservedState

func FirestoreDatabaseSpec_FromProto

func FirestoreDatabaseSpec_FromProto(mapCtx *direct.MapContext, in *pb.Database) *krm.FirestoreDatabaseSpec

func FirestoreDatabaseSpec_ToProto

func FirestoreDatabaseSpec_ToProto(mapCtx *direct.MapContext, in *krm.FirestoreDatabaseSpec) *pb.Database

func NewModel

func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func (*Adapter) Create

func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*Adapter) Delete

func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete implements the Adapter interface.

func (*Adapter) Export

func (*Adapter) Find

func (a *Adapter) Find(ctx context.Context) (bool, error)

func (*Adapter) Update

func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

type FirestoreDatabaseIdentity

type FirestoreDatabaseIdentity struct {
	// contains filtered or unexported fields
}

func BuildID

func BuildID(project, firestoredatabase string) *FirestoreDatabaseIdentity

BuildID builds a unique identifier FirestoreDatabaseIdentity from resource components

func (*FirestoreDatabaseIdentity) AsExternalRef

func (c *FirestoreDatabaseIdentity) AsExternalRef() *string

AsExternalRef builds a externalRef from a FirestoreDatabase

func (*FirestoreDatabaseIdentity) FullyQualifiedName

func (c *FirestoreDatabaseIdentity) FullyQualifiedName() string

FullyQualifiedName builds a FirestoreDatabase resource fully qualified name

func (*FirestoreDatabaseIdentity) Parent

func (c *FirestoreDatabaseIdentity) Parent() string

Parent builds a FirestoreDatabase parent

Jump to

Keyboard shortcuts

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