-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconstants.go
More file actions
51 lines (48 loc) · 1.66 KB
/
Copy pathconstants.go
File metadata and controls
51 lines (48 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright 2022 IBM Corp.
// SPDX-License-Identifier: Apache-2.0
package databasetypes
const AccessKey = "access_key"
const AccessKeyID = "access_key_id"
const AdditionalProperties = "additional properties"
const AwsAccessKeyID = "awsAccessKeyId"
const AwsRegion = "awsRegion"
const AwsSecretAccessKey = "awsSecretAccessKey"
const AwsSessionToken = "awsSessionToken"
const Bucket = "bucket"
const BucketName = "bucketName"
const ConfigSource = "configSource"
const ConnectionOptions = "connectionOptions"
const ConnectionType = "connectionType"
const CustomDatabase = "CustomDatabase"
const Database = "database"
const DatabaseSchema = "databaseSchema"
const Datalake = "Datalake"
const Default = "default"
const DefaultMySQLPort = 3306
const EmptyString = ""
const Endpoint = "endpoint"
const EndPointURL = "endPointURL"
const Generic = "generic"
const Host = "host"
const HostPort = "hostPort"
const Mysql = "Mysql" // 'Mysql' is the name used by OpenMetadata
const MysqlLowercase = "mysql" // 'mysql' is the connection name in the fybrik taxonomy
const ObjectKey = "object_key"
const Other = "other"
const Password = "password"
const Port = "port"
const Region = "region"
const S3 = "s3"
const Scheme = "scheme"
const SecretAccessID = "secret_access_id"
const SecretKey = "secret_key"
const SessionToken = "session_token"
const SecurityConfig = "securityConfig"
const Table = "table"
const Type = "type"
const Username = "username"
const Value = "value"
// error message constants
const FailedToConvert = "%s: failed to convert interface to map"
const RequiredFieldMissing = "required fields missing: %s"
const SomeRequiredFieldsMissing = "some of the required fields in %s are missing"