Documentation ¶
Index ¶
- type Store
- func (s *Store) DeleteAllMappingAuthTokens(ctx context.Context, owner string) error
- func (s *Store) GetAllAssumedCoverageLocationsAtWithRes(ctx context.Context, at time.Time, res int) ([]h3light.Cell, error)
- func (s *Store) GetAllAssumedUnverifiedCoverageLocationsWithRes(ctx context.Context, res int) ([]h3light.Cell, error)
- func (s *Store) GetAssumedCoverageLocationsForGateway(ctx context.Context, gatewayID types.ID, at time.Time) ([]h3light.Cell, error)
- func (s *Store) GetAssumedCoverageLocationsInRegionAtWithRes(ctx context.Context, region h3light.Cell, at time.Time, res int) ([]h3light.Cell, error)
- func (s *Store) GetAssumedUnverifiedCoverageByLocation(ctx context.Context, location h3light.Cell) (*types.AssumedUnverifiedCoverage, error)
- func (s *Store) GetAssumedUnverifiedCoverageLocationsInRegionWithRes(ctx context.Context, region h3light.Cell, res int) ([]h3light.Cell, error)
- func (s *Store) GetCoverageForGatewayAt(ctx context.Context, gatewayID types.ID, at time.Time) ([]*types.CoverageHistory, error)
- func (s *Store) GetCoverageInRegionAt(ctx context.Context, region h3light.Cell, at time.Time) ([]*types.CoverageHistory, error)
- func (s *Store) GetMapping(ctx context.Context, id types.ID) (*types.MappingRecord, error)
- func (s *Store) GetMappingAuthTokenByChallenge(ctx context.Context, challenge string) (*models.DBMappingAuthToken, error)
- func (s *Store) GetMappingAuthTokenByCode(ctx context.Context, code string) (*models.DBMappingAuthToken, error)
- func (s *Store) GetMappingsForMapperInPeriod(ctx context.Context, mapperID types.ID, start time.Time, end time.Time, ...) ([]*types.MappingRecord, string, error)
- func (s *Store) GetMinMaxCoverageDates(ctx context.Context) (time.Time, time.Time, error)
- func (s *Store) GetRecentMappingsInRegion(ctx context.Context, region h3light.Cell, since time.Duration) ([]*types.MappingRecord, error)
- func (s *Store) GetUnverifiedMappingRecord(ctx context.Context, id types.ID) (*types.UnverifiedMappingRecord, error)
- func (s *Store) GetUnverifiedMappingRecordsInRegion(ctx context.Context, region h3light.Cell) ([]*types.UnverifiedMappingRecord, error)
- func (s *Store) GetValidMappingsInRegionBetween(ctx context.Context, region h3light.Cell, start time.Time, end time.Time) ([]*types.MappingRecord, error)
- func (s *Store) StoreAssumedCoverage(ctx context.Context, assumedCoverageHistories []*types.AssumedCoverageHistory) error
- func (s *Store) StoreAssumedUnverifiedCoverage(ctx context.Context, assumedCoverage *types.AssumedUnverifiedCoverage) error
- func (s *Store) StoreCoverage(ctx context.Context, coverageHistories []*types.CoverageHistory) error
- func (s *Store) StoreMapping(ctx context.Context, mappingRecord *types.MappingRecord) error
- func (s *Store) StoreMappingAuthToken(ctx context.Context, mappingAuthToken *models.DBMappingAuthToken) error
- func (s *Store) StoreUnverifiedMappingRecord(ctx context.Context, mappingRecord *types.UnverifiedMappingRecord) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteAllMappingAuthTokens ¶
func (*Store) GetAllAssumedCoverageLocationsAtWithRes ¶
func (s *Store) GetAllAssumedCoverageLocationsAtWithRes(ctx context.Context, at time.Time, res int) ([]h3light.Cell, error)
GetAllAssumedCoverageLocationsAtWithRes implements store.Store
func (*Store) GetAllAssumedUnverifiedCoverageLocationsWithRes ¶
func (*Store) GetAssumedCoverageLocationsForGateway ¶
func (s *Store) GetAssumedCoverageLocationsForGateway(ctx context.Context, gatewayID types.ID, at time.Time) ([]h3light.Cell, error)
GetAssumedCoverageLocationsForGateway implements store.Store
func (*Store) GetAssumedCoverageLocationsInRegionAtWithRes ¶
func (s *Store) GetAssumedCoverageLocationsInRegionAtWithRes(ctx context.Context, region h3light.Cell, at time.Time, res int) ([]h3light.Cell, error)
GetAssumedCoverageLocationsInRegionAtWithRes implements store.Store
func (*Store) GetAssumedUnverifiedCoverageByLocation ¶
func (*Store) GetAssumedUnverifiedCoverageLocationsInRegionWithRes ¶
func (*Store) GetCoverageForGatewayAt ¶
func (s *Store) GetCoverageForGatewayAt(ctx context.Context, gatewayID types.ID, at time.Time) ([]*types.CoverageHistory, error)
GetCoverageForGatewayAt implements store.Store
func (*Store) GetCoverageInRegionAt ¶
func (s *Store) GetCoverageInRegionAt(ctx context.Context, region h3light.Cell, at time.Time) ([]*types.CoverageHistory, error)
GetCoverageInRegionAt implements store.Store
func (*Store) GetMapping ¶
func (*Store) GetMappingAuthTokenByChallenge ¶
func (*Store) GetMappingAuthTokenByCode ¶
func (*Store) GetMappingsForMapperInPeriod ¶
func (*Store) GetMinMaxCoverageDates ¶
GetMinMaxCoverageDates implements store.Store
func (*Store) GetRecentMappingsInRegion ¶
func (*Store) GetUnverifiedMappingRecord ¶
func (*Store) GetUnverifiedMappingRecordsInRegion ¶
func (*Store) GetValidMappingsInRegionBetween ¶
func (s *Store) GetValidMappingsInRegionBetween(ctx context.Context, region h3light.Cell, start time.Time, end time.Time) ([]*types.MappingRecord, error)
GetRecentValidMappingsInRegion implements store.Store
func (*Store) StoreAssumedCoverage ¶
func (s *Store) StoreAssumedCoverage(ctx context.Context, assumedCoverageHistories []*types.AssumedCoverageHistory) error
StoreAssumedCoverage implements store.Store
func (*Store) StoreAssumedUnverifiedCoverage ¶
func (*Store) StoreCoverage ¶
func (s *Store) StoreCoverage(ctx context.Context, coverageHistories []*types.CoverageHistory) error
StoreCoverage implements store.Store
func (*Store) StoreMapping ¶
func (*Store) StoreMappingAuthToken ¶
func (*Store) StoreUnverifiedMappingRecord ¶
Click to show internal directories.
Click to hide internal directories.