mirror of
https://github.com/docker/docs.git
synced 2026-04-01 00:38:52 +07:00
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>
19 lines
456 B
Go
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"`
|
|
}
|