Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS interface { Bucket() bucket.Bucket Group() group.Group Object() object.Object Policy() policy.Policy Role() role.Role User() user.User Clone(ctx context.Context) (AWS, errors.Error) Config() Config ForcePathStyle(ctx context.Context, enabled bool) errors.Error GetBucketName() string SetBucketName(bucket string) }
type Config ¶
type Config interface { Check(ctx context.Context) errors.Error Validate() errors.Error ResetRegionEndpoint() RegisterRegionEndpoint(region string, endpoint *url.URL) errors.Error RegisterRegionAws(endpoint *url.URL) errors.Error SetRegion(region string) GetRegion() string SetEndpoint(endpoint *url.URL) GetEndpoint() *url.URL IsHTTPs() bool ResolveEndpoint(service, region string) (sdkaws.Endpoint, error) SetRetryer(retryer func() sdkaws.Retryer) GetConfig(ctx context.Context, cli *http.Client) (*sdkaws.Config, errors.Error) JSON() ([]byte, error) Clone() Config GetBucketName() string SetBucketName(bucket string) }
Click to show internal directories.
Click to hide internal directories.