Documentation ¶
Index ¶
- func FirestoreDatabaseObservedState_FromProto(mapCtx *direct.MapContext, in *pb.Database) *krm.FirestoreDatabaseObservedState
- func FirestoreDatabaseSpec_FromProto(mapCtx *direct.MapContext, in *pb.Database) *krm.FirestoreDatabaseSpec
- func FirestoreDatabaseSpec_ToProto(mapCtx *direct.MapContext, in *krm.FirestoreDatabaseSpec) *pb.Database
- func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)
- type Adapter
- func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error
- func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)
- func (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, error)
- func (a *Adapter) Find(ctx context.Context) (bool, error)
- func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error
- type FirestoreDatabaseIdentity
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 (a *Adapter) Export(ctx context.Context) (*unstructured.Unstructured, 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
Click to show internal directories.
Click to hide internal directories.