Documentation
¶
Overview ¶
Package pluginfw contains the changes specific to the plugin framework
Note: This shouldn't depend on internal/providers/sdkv2 or internal/providers
Index ¶
- func GetDatabricksProviderPluginFramework(opts ...PluginFrameworkOption) provider.Provider
- func GetSdkV2DataSourcesToRemove(dataSourceFallbacks []string) []string
- func GetSdkV2ResourcesToRemove(resourceFallbacks []string) []string
- type DatabricksProviderPluginFramework
- func (p *DatabricksProviderPluginFramework) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *DatabricksProviderPluginFramework) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *DatabricksProviderPluginFramework) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *DatabricksProviderPluginFramework) Resources(ctx context.Context) []func() resource.Resource
- func (p *DatabricksProviderPluginFramework) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PluginFrameworkOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabricksProviderPluginFramework ¶
func GetDatabricksProviderPluginFramework(opts ...PluginFrameworkOption) provider.Provider
func GetSdkV2DataSourcesToRemove ¶ added in v1.57.0
GetSdkV2DataSourcesToRemove is a helper function to get the list of data sources that are migrated away from sdkv2 to plugin framework
func GetSdkV2ResourcesToRemove ¶ added in v1.57.0
GetSdkV2ResourcesToRemove is a helper function to get the list of resources that are migrated away from sdkv2 to plugin framework
Types ¶
type DatabricksProviderPluginFramework ¶
type DatabricksProviderPluginFramework struct {
// contains filtered or unexported fields
}
func (*DatabricksProviderPluginFramework) Configure ¶
func (p *DatabricksProviderPluginFramework) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*DatabricksProviderPluginFramework) DataSources ¶
func (p *DatabricksProviderPluginFramework) DataSources(ctx context.Context) []func() datasource.DataSource
func (*DatabricksProviderPluginFramework) Metadata ¶
func (p *DatabricksProviderPluginFramework) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*DatabricksProviderPluginFramework) Resources ¶
func (p *DatabricksProviderPluginFramework) Resources(ctx context.Context) []func() resource.Resource
func (*DatabricksProviderPluginFramework) Schema ¶
func (p *DatabricksProviderPluginFramework) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type PluginFrameworkOption ¶ added in v1.71.0
type PluginFrameworkOption interface {
Apply(*pluginFrameworkOptions)
}
PluginFrameworkOption is an interface for acceptance tests to specify resources / data sources to fallback to SDK V2
func WithConfigCustomizer ¶ added in v1.71.0
func WithConfigCustomizer(customizer func(*config.Config) error) PluginFrameworkOption
WithConfigCustomizer allows the caller to customize the SDK config before config resolution, so customizer-set fields (e.g. Host) participate in resolveHostMetadata and auth.
func WithSdkV2DataSourceFallbacks ¶ added in v1.57.0
func WithSdkV2DataSourceFallbacks(fallbacks []string) PluginFrameworkOption
WithSdkV2DataSourceFallbacks is a helper function to specify data sources to fallback to SDK V2
func WithSdkV2ResourceFallbacks ¶ added in v1.57.0
func WithSdkV2ResourceFallbacks(fallbacks []string) PluginFrameworkOption
WithSdkV2ResourceFallbacks is a helper function to specify resources to fallback to SDK V2
Directories
¶
| Path | Synopsis |
|---|---|
|
Code generated from OpenAPI specs by Databricks SDK Generator.
|
Code generated from OpenAPI specs by Databricks SDK Generator. |
|
Code generated from OpenAPI specs by Databricks SDK Generator.
|
Code generated from OpenAPI specs by Databricks SDK Generator. |
|
Code generated from OpenAPI specs by Databricks SDK Generator.
|
Code generated from OpenAPI specs by Databricks SDK Generator. |
|
Code generated from OpenAPI specs by Databricks SDK Generator.
|
Code generated from OpenAPI specs by Databricks SDK Generator. |
|
Package declarative classifies Databricks API errors that carry server-provided "declarative_context" metadata, so generated Terraform resources can act on server-signaled conditions (e.g.
|
Package declarative classifies Databricks API errors that carry server-provided "declarative_context" metadata, so generated Terraform resources can act on server-signaled conditions (e.g. |
|
products
|
|
|
Code generated from OpenAPI specs by Databricks SDK Generator.
|
Code generated from OpenAPI specs by Databricks SDK Generator. |