Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLetterOrNumber ¶
func IsValidSQLName ¶
Types ¶
type SQLServerAuthMetadata ¶
type SQLServerAuthMetadata struct { ConnectionString string `mapstructure:"connectionString" mapstructurealiases:"url"` DatabaseName string `mapstructure:"databaseName" mapstructurealiases:"database"` SchemaName string `mapstructure:"schemaName" mapstructurealiases:"schema"` UseAzureAD bool `mapstructure:"useAzureAD"` // contains filtered or unexported fields }
SQLServerAuthMetadata contains the auth metadata for a SQL Server component.
func (*SQLServerAuthMetadata) GetConnector ¶
GetConnector returns the connector from the connection string or Azure AD. The returned connector can be used with sql.OpenDB.
Click to show internal directories.
Click to hide internal directories.