Documentation
¶
Index ¶
- func GetRegion(endpoint ...string) (string, error)
- func GetSSHPubKey(endpoint ...string) (string, error)
- func GetUserData(endpoint ...string) (*vmspec.VMSpec, error)
- func NewConnection(region string) (*connection, error)
- type ASMClient
- type Connection
- type HTTPError
- type S3Client
- type S3Object
- type SSMClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSSHPubKey ¶
func NewConnection ¶
Types ¶
type ASMClient ¶
type ASMClient interface {
// GetSecretList retrieves only one item but returns a
// WritableList, for consistency with the other AWS clients,
// and since it has the desired behavior for writing to disk.
GetSecretList(secretID string) (collections.WritableList, error)
GetSecretMap(secretID string) (map[string]string, error)
GetSecretValue(secretID string) ([]byte, error)
}
func NewASMClient ¶
type Connection ¶
type S3Client ¶
type S3Client interface {
GetObjectList(bucket, keyPrefix string) (collections.WritableList, error)
GetObjectMap(bucket, keyPrefix string) (map[string]string, error)
GetObjectValue(bucket, keyPrefix string) ([]byte, error)
}
func NewS3Client ¶
Click to show internal directories.
Click to hide internal directories.