integrationtests

package
v2.12.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAmazonParameters

func LoadAmazonParameters(t *testing.T) (string, string, string, string)

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

func LoadECSParameters(t *testing.T) (string, string, string, string, string)

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

func LoadGoogleHMACParameters(t *testing.T) (string, string, string, string, string)

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

func LoadGoogleParameters(t *testing.T) (string, string)

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

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL