Documentation
¶
Index ¶
- func ConfigureDataSource(req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) *common.DatabricksClient
- func ConfigureResource(req resource.ConfigureRequest, resp *resource.ConfigureResponse) *common.DatabricksClient
- func GetDatabricksProductionName(name string) string
- func GetDatabricksStagingName(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureDataSource ¶
func ConfigureDataSource(req datasource.ConfigureRequest, resp *datasource.ConfigureResponse) *common.DatabricksClient
ConfigureDataSource is a helper function for configuring a general data source. It returns the DatabricksClient if it can be successfully fetched from the ProviderData in the request; otherwise, the error is appended to the diagnostics of the response.
func ConfigureResource ¶
func ConfigureResource(req resource.ConfigureRequest, resp *resource.ConfigureResponse) *common.DatabricksClient
ConfigureDataSource is a helper function for configuring a general resource. It returns the DatabricksClient if it can be successfully fetched from the ProviderData in the request; otherwise, the error is appended to the diagnostics of the response.
func GetDatabricksProductionName ¶ added in v1.54.0
func GetDatabricksStagingName ¶ added in v1.54.0
GetDatabricksStagingName returns the resource name for a given resource with _pluginframework suffix. Once a migrated resource is ready to be used as default, the Metadata method for that resource should be updated to use GetDatabricksProductionName.
Types ¶
This section is empty.