Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISA ¶
type ISA interface { Get(ctx context.Context, id dssmodels.ID) (*ridmodels.IdentificationServiceArea, error) // Delete deletes the IdentificationServiceArea identified by "id" and owned by "owner". // Returns the delete IdentificationServiceArea and all Subscriptions affected by the delete. Delete(ctx context.Context, isa *ridmodels.IdentificationServiceArea) (*ridmodels.IdentificationServiceArea, []*ridmodels.Subscription, error) // InsertISA inserts or updates an ISA. Insert(ctx context.Context, isa *ridmodels.IdentificationServiceArea) (*ridmodels.IdentificationServiceArea, []*ridmodels.Subscription, error) // Update Update(ctx context.Context, isa *ridmodels.IdentificationServiceArea) (*ridmodels.IdentificationServiceArea, []*ridmodels.Subscription, error) // SearchSubscriptions returns all subscriptions ownded by "owner" in "cells". Search(ctx context.Context, cells s2.CellUnion, earliest *time.Time, latest *time.Time) ([]*ridmodels.IdentificationServiceArea, error) }
ISA is an interface to a storage layer for the ISA entity
type Subscription ¶
type Subscription interface { Get(ctx context.Context, id dssmodels.ID) (*ridmodels.Subscription, error) // Delete deletes the IdentificationServiceArea identified by "id" and owned by "owner". // Returns the delete IdentificationServiceArea and all Subscriptions affected by the delete. Delete(ctx context.Context, sub *ridmodels.Subscription) (*ridmodels.Subscription, error) // Insert inserts or updates an ISA. Insert(ctx context.Context, sub *ridmodels.Subscription) (*ridmodels.Subscription, error) // Update Update(ctx context.Context, sub *ridmodels.Subscription) (*ridmodels.Subscription, error) // Search returns all subscriptions ownded by in "cells". Search(ctx context.Context, cells s2.CellUnion) ([]*ridmodels.Subscription, error) // SearchByOwner returns all subscriptions ownded by "owner" in "cells". SearchByOwner(ctx context.Context, cells s2.CellUnion, owner dssmodels.Owner) ([]*ridmodels.Subscription, error) }
Subscription is an interface to a storage layer for the Subscription entity
Click to show internal directories.
Click to hide internal directories.