Documentation ¶
Index ¶
- func LoadAmazonParameters(t *testing.T) (string, string, string, string)
- func LoadECSParameters(t *testing.T) (string, string, string, string, string)
- func LoadGoogleHMACParameters(t *testing.T) (string, string, string, string, string)
- func LoadGoogleParameters(t *testing.T) (string, string)
- func LoadMicrosoftParameters(t *testing.T) (string, string, string)
- type BackendType
- type ClientType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAmazonParameters ¶
LoadAmazonParameters loads the test parameters for S3 object storage:
id - the key id credential secret - the key secret credential bucket - the S3 bucket to issue requests towards region - the S3 region that the bucket is in
func LoadECSParameters ¶
LoadECSParameters loads the test parameters for ECS object storage (credentials can be requested for a new account from portal.ecstestdrive.com):
id - the key id credential secret - the key secret credential bucket - the ECS bucket to issue requests towards region - a dummy region - some clients require this but it is unused with 'endpoint' endpoint - the S3-compatible server to send requests to
func LoadGoogleHMACParameters ¶
LoadGoogleHMACParameters loads the test parameters for GCS object storage, specifically for use with S3-compatible clients:
id - the key id credential secret - the key secret credential bucket - the GCS bucket to issue requests towards region - the GCS region that the bucket is in endpoint - the S3-compatible server to send requests to
func LoadGoogleParameters ¶
LoadGoogleParameters loads the test parameters for GCS object storage:
bucket - the GCS bucket to issue requests towards creds - the JSON GCP credentials to use
Types ¶
type BackendType ¶
type BackendType string
BackendType is used to tell the tests which backend is being tested so some testing can be skipped for backends that do not support certain behavior.
const ( AmazonBackend BackendType = "Amazon" ECSBackend BackendType = "ECS" GoogleBackend BackendType = "Google" )
type ClientType ¶
type ClientType string
ClientType is used to tell the tests which client is being tested so some testing can be skipped for clients that do not support certain behavior.