terraform/terraform
Martin Atkins 183833affc core: terraform.ResourceProvider.GetSchema method
In order to parse provider, resource and data source configuration from
HCL2 config files, we need to know the relevant configuration schema.
This new method allows Terraform Core to request these from a provider.

This is a breaking change to this interface, so all of its implementers
in this package are updated too. This includes concrete implementations
of the new method in helper/schema that use the schema conversion code
added in an earlier commit to produce a configschema.Block automatically.

Plugins compiled against prior versions of helper/schema will not have
support for this method, and so calls to them will fail. Callers of
this new method will therefore need to sniff for support using the
SchemaAvailable field added to both ResourceType and DataSource.

This careful handling will need to persist until next time we increment
the plugin protocol version, at which point we can make the breaking
change of requiring this information to be available.
2017-10-17 07:23:41 -07:00
..
test-fixtures
context.go
context_apply_test.go
context_components.go
context_graph_type.go
context_import.go
context_import_test.go
context_input_test.go
context_plan_test.go
context_refresh_test.go
context_test.go
context_validate_test.go
debug.go
debug_test.go
diff.go
diff_test.go
edge_destroy.go
eval.go
eval_apply.go
eval_check_prevent_destroy.go
eval_context.go
eval_context_builtin.go
eval_context_builtin_test.go
eval_context_mock.go
eval_count.go
eval_count_boundary.go
eval_count_computed.go
eval_diff.go
eval_diff_test.go
eval_error.go
eval_filter.go
eval_filter_operation.go
eval_if.go
eval_import_state.go
eval_interpolate.go
eval_interpolate_test.go
eval_local.go
eval_local_test.go
eval_noop.go
eval_output.go
eval_output_test.go
eval_provider.go
eval_provider_test.go
eval_provisioner.go
eval_provisioner_test.go
eval_read_data.go
eval_refresh.go
eval_resource.go
eval_sequence.go
eval_sequence_test.go
eval_state.go
eval_state_test.go
eval_test.go
eval_validate.go
eval_validate_selfref.go
eval_validate_selfref_test.go
eval_validate_test.go
eval_variable.go
eval_variable_test.go
evaltree_provider.go
features.go
graph.go
graph_builder.go
graph_builder_apply.go
graph_builder_apply_test.go
graph_builder_destroy_plan.go
graph_builder_import.go
graph_builder_input.go
graph_builder_plan.go
graph_builder_plan_test.go
graph_builder_refresh.go
graph_builder_refresh_test.go
graph_builder_test.go
graph_builder_validate.go
graph_dot.go
graph_dot_test.go
graph_interface_subgraph.go
graph_test.go
graph_walk.go
graph_walk_context.go
graph_walk_operation.go
graph_walk_test.go
graphtype_string.go
hook.go
hook_mock.go
hook_stop.go
hook_stop_test.go
hook_test.go
instancetype.go
instancetype_string.go
interpolate.go
interpolate_test.go
module_dependencies.go
module_dependencies_test.go
node_count_boundary.go
node_data_destroy.go
node_data_refresh.go
node_data_refresh_test.go
node_local.go
node_module_variable.go
node_module_variable_test.go
node_output.go
node_output_orphan.go
node_provider.go
node_provider_abstract.go
node_provider_disabled.go
node_provisioner.go
node_resource_abstract.go
node_resource_abstract_count.go
node_resource_apply.go
node_resource_destroy.go
node_resource_destroy_test.go
node_resource_plan.go
node_resource_plan_destroy.go
node_resource_plan_instance.go
node_resource_plan_orphan.go
node_resource_refresh.go
node_resource_refresh_test.go
node_resource_validate.go
node_root_variable.go
path.go
plan.go
plan_test.go
resource.go
resource_address.go
resource_address_test.go
resource_provider.go core: terraform.ResourceProvider.GetSchema method 2017-10-17 07:23:41 -07:00
resource_provider_mock.go core: terraform.ResourceProvider.GetSchema method 2017-10-17 07:23:41 -07:00
resource_provider_mock_test.go
resource_provisioner.go
resource_provisioner_mock.go
resource_provisioner_mock_test.go
resource_test.go
schemas.go core: terraform.ResourceProvider.GetSchema method 2017-10-17 07:23:41 -07:00
semantics.go
semantics_test.go
state.go
state_add.go
state_add_test.go
state_filter.go
state_filter_test.go
state_test.go
state_upgrade_v1_to_v2.go
state_upgrade_v1_to_v2_test.go
state_upgrade_v2_to_v3.go
state_v1.go
terraform_test.go
test_failure
testing.go
transform.go
transform_attach_config_provider.go
transform_attach_config_resource.go
transform_attach_state.go
transform_config.go
transform_config_flat.go
transform_config_flat_test.go
transform_config_old.go
transform_config_test.go
transform_count_boundary.go
transform_deposed.go
transform_destroy_cbd.go
transform_destroy_cbd_test.go
transform_destroy_edge.go
transform_destroy_edge_test.go
transform_diff.go
transform_diff_test.go
transform_expand.go
transform_expand_test.go
transform_import_provider.go
transform_import_state.go
transform_local.go
transform_module_variable.go
transform_module_variable_test.go
transform_orphan_count.go
transform_orphan_count_test.go
transform_orphan_output.go
transform_orphan_resource.go
transform_orphan_resource_test.go
transform_output.go
transform_provider.go
transform_provider_disable.go
transform_provider_test.go
transform_provisioner.go
transform_provisioner_test.go
transform_reference.go
transform_reference_test.go
transform_resource_count.go
transform_root.go
transform_root_test.go
transform_state.go
transform_targets.go
transform_targets_test.go
transform_transitive_reduction.go
transform_transitive_reduction_test.go
transform_variable.go
transform_vertex.go
transform_vertex_test.go
ui_input.go
ui_input_mock.go
ui_input_prefix.go
ui_input_prefix_test.go
ui_output.go
ui_output_callback.go
ui_output_callback_test.go
ui_output_mock.go
ui_output_mock_test.go
ui_output_provisioner.go
ui_output_provisioner_test.go
upgrade_state_v1_test.go
upgrade_state_v2_test.go
user_agent.go
util.go
util_test.go
variables.go
variables_test.go
version.go
version_required.go
walkoperation_string.go