Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ObtainStores ¶
func ObtainStores(ctx context.Context, cfg Config) (blockv1.BlockAPIServer, datasetv1.DatasetAPIServer, error)
Types ¶
type Config ¶
type Config struct { Endpoint string `json:"endpoint" usage:"location of s3 endpoint" default:"s3.amazonaws.com"` TLS livetls.Config `json:"tls"` AccessKeyID string `json:"access_key_id" usage:"the access key id used to identify the client"` SecretAccessKey string `json:"secret_access_key" usage:"the secret access key used to authenticate the client"` Region string `json:"region" usage:"the region where the bucket exists"` Bucket string `json:"bucket" usage:"the name of the bucket to use"` }
Click to show internal directories.
Click to hide internal directories.