Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Key names in the communal credentials for Azure blob storage endpoints. AzureAccountName = "accountName" AzureBlobEndpoint = "blobEndpoint" AzureAccountKey = "accountKey" AzureDefaultProtocol = "HTTPS" )
View Source
const ( // The name of the key in the communal credential secret that holds the access key CommunalAccessKeyName = "accesskey" // The name of the key in the communal credential secret that holds the secret key CommunalSecretKeyName = "secretkey" // The name of the key in the sseCustomerKey secret that holds the client key for S3 access // if using SSE-C encryption S3SseCustomerKeyName = "clientKey" )
Variables ¶
This section is empty.
Functions ¶
func IsBucketNotExistError ¶
IsBucketNotExistError returns true if the given message text has the message about a bad bucket
func IsEndpointBadError ¶
IsEndpointBadError returns true if the given message text has the message aboud a bad endpoint
Types ¶
type AzureCredential ¶
type AzureCredential struct { // At least one of the next two need to be set AccountName string `json:"accountName,omitempty"` BlobEndpoint string `json:"blobEndpoint,omitempty"` // host name with optional port (host:port) // Only one of the two will be set AccountKey string `json:"accountKey,omitempty"` // Access key for the account or endpoint }
AzureCredential stores the credentials to connect to azb:// This structure must be kept in sync with the Vertica server format. You cannot add fields here unless there is a corresponding change in the engine.
type AzureEndpointConfig ¶
type AzureEndpointConfig struct { AccountName string `json:"accountName,omitempty"` BlobEndpoint string `json:"blobEndpoint,omitempty"` Protocol string `json:"protocol,omitempty"` IsMultiAccountEndpoint bool `json:"isMultiAccountEndpoint,omitempty"` }
AzureEndpointConfig contains config elements for a single azure endpoint. This structure must be kept insync with the Vertica server format.
Click to show internal directories.
Click to hide internal directories.