Documentation ¶
Index ¶
- func Delete(id string) error
- func DeleteVars(id, variables string) error
- func DeleteVarsFromFile(id, filePath string) error
- func Init(regionName, table string)
- func Save(id, vars string) error
- func SaveFromFile(id, fileName string) error
- func SetDB(newDB dynamodbiface.DynamoDBAPI)
- func Update(id, vars string) error
- func UpdateFromFile(id, fileName string) error
- type DynamodbItem
- type Item
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteVars ¶
DeleteVars deletes the given variables from the item with id of id
func DeleteVarsFromFile ¶
DeleteVarsFromFile deletes the variables found in the file filepath
func Init ¶
func Init(regionName, table string)
Init sets up connection to dynamodb. This must be called before using any other functions in the store package.
func SaveFromFile ¶
SaveFromFile gets env vars from a env file and saves to dynamo
func SetDB ¶
func SetDB(newDB dynamodbiface.DynamoDBAPI)
SetDB allows user to set db. Created for testing mostly
func UpdateFromFile ¶
UpdateFromFile updates stuff from a file
Types ¶
type DynamodbItem ¶
DynamodbItem is not what we want?
Click to show internal directories.
Click to hide internal directories.