Skip to content

Commit

Permalink
delete core side types
Browse files Browse the repository at this point in the history
  • Loading branch information
appilon committed Jan 21, 2020
1 parent 87e325e commit 62616a9
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 1,460 deletions.
43 changes: 0 additions & 43 deletions helper/resource/grpc_test_provider.go

This file was deleted.

9 changes: 0 additions & 9 deletions internal/plugin/convert/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"sort"

"github.com/hashicorp/terraform-plugin-sdk/internal/configs/configschema"
"github.com/hashicorp/terraform-plugin-sdk/internal/providers"
proto "github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5"
)

Expand Down Expand Up @@ -69,14 +68,6 @@ func protoSchemaNestedBlock(name string, b *configschema.NestedBlock) *proto.Sch
}
}

// ProtoToProviderSchema takes a proto.Schema and converts it to a providers.Schema.
func ProtoToProviderSchema(s *proto.Schema) providers.Schema {
return providers.Schema{
Version: s.Version,
Block: ProtoToConfigSchema(s.Block),
}
}

// ProtoToConfigSchema takes the GetSchcema_Block from a grpc response and converts it
// to a terraform *configschema.Block.
func ProtoToConfigSchema(b *proto.Schema_Block) *configschema.Block {
Expand Down
47 changes: 0 additions & 47 deletions internal/providers/addressed_types.go

This file was deleted.

49 changes: 0 additions & 49 deletions internal/providers/addressed_types_test.go

This file was deleted.

3 changes: 0 additions & 3 deletions internal/providers/doc.go

This file was deleted.

Loading

0 comments on commit 62616a9

Please sign in to comment.