Documentation ¶
Index ¶
- Constants
- Variables
- func GetAllFabricsInventory(ctx context.Context) ([]*inventory.Inventory, error)
- func GetAllFabricsWithInventory(ctx context.Context) ([]*fabric.Fabric, error)
- func GetAllFabricsWithoutInventory(ctx context.Context) ([]*fabric.Fabric, error)
- func GetFabricByID(ctx context.Context, id string) (*fabric.Fabric, error)
- func GetFabricByName(ctx context.Context, name string) (*fabric.Fabric, error)
- func GetTaxonomy(ctx context.Context) (*taxonomy.Taxonomy, error)
- type S3Object
Constants ¶
View Source
const ( // dynamodb config. PK = "PK" SK = "SK" TaxonomyAllPK = "Taxonomy" TaxonomyAllSK = "All" FabricByNameSK = "FabricByName" // s3 config. CMSBucket = "cms.magnoliaco.com" CMSFabricsKey = "fabrics/api.gob" CMSInventoryKey = "inventory/all.gob" )
Variables ¶
View Source
var NotFound = errors.New("not found")
Functions ¶
func GetAllFabricsInventory ¶
func GetFabricByName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.