Versions in this module Expand all Collapse all v0 v0.2.0 Aug 7, 2024 Changes in this version + func GetIMDS(path string) (string, error) v0.1.0 Jul 8, 2024 Changes in this version + 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 interface + GetSecretList func(secretID string) (collections.WritableList, error) + GetSecretMap func(secretID string) (map[string]string, error) + GetSecretValue func(secretID string) ([]byte, error) + func NewASMClient(cfg aws.Config) ASMClient + type Connection interface + ASMClient func() ASMClient + S3Client func() S3Client + SSMClient func() SSMClient + type HTTPError struct + func (h *HTTPError) Error() string + type S3Client interface + GetObjectList func(bucket, keyPrefix string) (collections.WritableList, error) + GetObjectMap func(bucket, keyPrefix string) (map[string]string, error) + GetObjectValue func(bucket, keyPrefix string) ([]byte, error) + func NewS3Client(cfg aws.Config) S3Client + type S3Object struct + func (s *S3Object) Close() error + func (s *S3Object) Read(p []byte) (n int, err error) + type SSMClient interface + GetParameterList func(ssmPath string) (collections.WritableList, error) + GetParameterMap func(ssmPath string) (map[string]string, error) + GetParameterValue func(ssmPath string) ([]byte, error) + func NewSSMClient(cfg aws.Config) SSMClient v0.1.0-pre.1 Jul 8, 2024