Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DockerLogin ¶ added in v0.2.8
DockerLogin uses a docker client to login to metahub
func GetSSMPassword ¶ added in v0.2.6
GetSSMPassword fetches the metahub password from SSM
Types ¶
type Config ¶
type Config struct { //TODO: Password should be a hash User string `yaml:"user"` Password string `yaml:"password"` Types []MachineType `yaml:"types"` }
Config holds a list of MachineTypes
func CreateConfigFromFile ¶
CreateConfigFromFile parses a file and returns a workshop
func ParseConfig ¶
ParseConfig takes a bytearray and unmarshals it
type EC2Meta ¶ added in v0.2.6
EC2Meta holds the infos for the instance
func GetMetaData ¶ added in v0.2.6
GetMetaData fetches the metadata of an instance
func (*EC2Meta) GetMetahubFeatures ¶ added in v0.2.6
GetMetahubFeatures returns the features
func (*EC2Meta) GetMetahubTypename ¶ added in v0.2.6
GetMetahubTypename returns the typename to login to metahub
type MachineType ¶
MachineType stores the name and the list of features
Click to show internal directories.
Click to hide internal directories.