Documentation
¶
Overview ¶
Package store implements the database operations required for config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AWS Profile. Profile string // AWS Region. Region string )
Functions ¶
func NewSession ¶ added in v0.4.0
func NewSession() *store
NewSession creates the config file required by nephele to function, if not present and creates a new database connection and returns a new store.
Types ¶
type Credentials ¶ added in v0.3.0
type Credentials struct { AccessId string `db:"access_id"` // AWS Access Key ID SecretKey string `db:"secret_key"` // AWS Secret Access Key Region string `db:"region"` // AWS Region }
func GetCredentials ¶
func GetCredentials() *Credentials
GetCredentials returns accessId, secretKey and region information for the current AWS profile.
Click to show internal directories.
Click to hide internal directories.