Documentation
¶
Index ¶
- func GetObject(client S3Client, bucket, key string) ([]byte, error)
- func GetParameter(client SSMClient, parameterPath string, withDecryption bool) ([]byte, error)
- func NewLoader(source string) (interface{}, error)
- func ParseS3Path(path string) (bucket, key string)
- type LocalLoader
- type S3Client
- type S3Loader
- type SSMClient
- type SSMLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParameter ¶
func ParseS3Path ¶
Types ¶
type LocalLoader ¶
type LocalLoader struct {
Path string
}
type S3Client ¶
type S3Client interface {
GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
}
Click to show internal directories.
Click to hide internal directories.