| 12345678910111213141516 |
- package cloudcost
- import (
- "time"
- "github.com/opencost/opencost/core/pkg/opencost"
- )
- // Repository is an interface for storing and retrieving CloudCost data
- type Repository interface {
- Has(time.Time, string) (bool, error)
- Get(time.Time, string) (*opencost.CloudCostSet, error)
- Keys() ([]string, error)
- Put(*opencost.CloudCostSet) error
- Expire(time.Time) error
- }
|