You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// InfluxDBv3Serverless is InfluxDB Cloud Serverless (fully-managed)
110
+
InfluxDBv3Serverless="influx-v3-serverless"
102
111
)
103
112
113
+
funcIsV3SrcType(srcTypestring) bool {
114
+
returnsrcType==InfluxDBv3Core||
115
+
srcType==InfluxDBv3Enterprise||
116
+
srcType==InfluxDBv3Clustered||
117
+
srcType==InfluxDBv3CloudDedicated||
118
+
srcType==InfluxDBv3Serverless
119
+
}
120
+
121
+
typeV3Configstruct {
122
+
CloudDedicatedManagementURLstring
123
+
ClusteredAccountIDstring
124
+
ClusteredClusterIDstring
125
+
TimeConditionExpr influxql.Expr// Parsed time condition for SHOW TAG VALUES queries
126
+
}
127
+
104
128
// TSDBStatus represents the current status of a time series database
105
129
typeTSDBStatusinterface {
106
130
// Connect will connect to the time series using the information in `Source`.
@@ -243,6 +267,11 @@ type Source struct {
243
267
Usernamestring`json:"username,omitempty"`// Username is the username to connect to the source
244
268
Passwordstring`json:"password,omitempty"`// Password is in CLEARTEXT
245
269
SharedSecretstring`json:"sharedSecret,omitempty"`// ShareSecret is the optional signing secret for Influx JWT authorization
270
+
ClusterIDstring`json:"clusterId,omitempty"`// ClusterID is the cluster ID for InfluxDB Cloud Dedicated sources
271
+
AccountIDstring`json:"accountId,omitempty"`// AccountID is the account ID for InfluxDB Cloud Dedicated sources
272
+
ManagementTokenstring`json:"managementToken,omitempty"`// ManagementToken is the management token for InfluxDB Cloud Dedicated sources
273
+
DatabaseTokenstring`json:"databaseToken,omitempty"`// DatabaseToken is the database token for InfluxDB Cloud Dedicated or other InfluxDB 3 sources
274
+
TagsCSVPathstring`json:"tagsCSVPath,omitempty"`// TagsCSVPath is the path to a directory containing CSV files (per db) with tags for InfluxDB Cloud Dedicated sources
246
275
URLstring`json:"url"`// URL are the connections to the source
247
276
MetaURLstring`json:"metaUrl,omitempty"`// MetaURL is the url for the meta node
248
277
InsecureSkipVerifybool`json:"insecureSkipVerify,omitempty"`// InsecureSkipVerify as true means any certificate presented by the source is accepted.
@@ -251,6 +280,7 @@ type Source struct {
251
280
Organizationstring`json:"organization"`// Organization is the organization ID that resource belongs to
252
281
Rolestring`json:"role,omitempty"`// Not Currently Used. Role is the name of the minimum role that a user must possess to access the resource.
253
282
DefaultRPstring`json:"defaultRP"`// DefaultRP is the default retention policy used in database queries to this source
283
+
DefaultDBstring`json:"defaultDB,omitempty"`// DefaultDB is the default database used in queries for InfluxDB Cloud Dedicated when database list is not available
254
284
Versionstring`json:"version,omitempty"`// Version of influxdb
0 commit comments