Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New
deprecated
New returns a new confmap.Provider that reads the configuration from a file.
This Provider supports "s3" scheme, and can be called with a "uri" that follows:
s3-uri : s3://[BUCKET].s3.[REGION].amazonaws.com/[KEY]
One example for s3-uri be like: s3://doc-example-bucket.s3.us-west-2.amazonaws.com/photos/puppy.jpg References: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
Examples: `s3://DOC-EXAMPLE-BUCKET.s3.us-west-2.amazonaws.com/photos/puppy.jpg` - (unix, windows)
Deprecated: [v0.100.0] Use NewFactory() instead.
func NewFactory ¶ added in v0.100.0
func NewFactory() confmap.ProviderFactory
NewFactory returns a new confmap.ProviderFactory that creates a confmap.Provider which reads configuration from a file obtained from an s3 bucket.
This Provider supports "s3" scheme, and can be called with a "uri" that follows:
s3-uri : s3://[BUCKET].s3.[REGION].amazonaws.com/[KEY]
One example for s3-uri be like: s3://doc-example-bucket.s3.us-west-2.amazonaws.com/photos/puppy.jpg References: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
Examples: `s3://DOC-EXAMPLE-BUCKET.s3.us-west-2.amazonaws.com/photos/puppy.jpg` - (unix, windows)
Types ¶
This section is empty.