Files
docker-docs/drivers/amazonec2/amz/keypair.go
Evan Hazlett 57810b298d This adds a method to the Driver: PreCreateCheck. This can be used
where you want to run some prerequisite checks before attempting to
create
the machine.  In the case of EC2, this is a check for an existing
keypair.  This can be used in the other drivers in the future as well.

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-26 11:27:12 -05:00

19 lines
456 B
Go

package amz
type CreateKeyPairResponse struct {
KeyName string `xml:"keyName"`
KeyFingerprint string `xml:"keyFingerprint"`
KeyMaterial []byte `xml:"keyMaterial"`
}
type ImportKeyPairResponse struct {
KeyName string `xml:"keyName"`
KeyFingerprint string `xml:"keyFingerprint"`
KeyMaterial []byte `xml:"keyMaterial"`
}
type KeyPair struct {
KeyFingerprint string `xml:"keyFingerprint"`
KeyName string `xml:"keyName"`
}