Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Key names in the communal credentials for Azure blob storage endpoints.
AzureAccountName = "accountName"
AzureBlobEndpoint = "blobEndpoint"
AzureAccountKey = "accountKey"
AzureSharedAccessSignature = "sharedAccessSignature"
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"
)
Variables ¶
This section is empty.
Functions ¶
func IsBucketNotExistError ¶
func IsBucketNotExistError(op string) bool
IsBucketNotExistError returns true if the given message text has the message about a bad bucket
func IsEndpointBadError ¶
func IsEndpointBadError(op string) bool
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
SharedAccessSignature string `json:"sharedAccessSignature,omitempty"` // Access token for finer-grained access control
}
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.