From 03481ffc54558a05b2fe98219c2f2a08f741c242 Mon Sep 17 00:00:00 2001 From: Mickael Stanislas Date: Mon, 30 Dec 2024 21:24:10 +0100 Subject: [PATCH] chore!: move to orange --- .gitmodules | 0 README.md | 16 ++++++++-------- go.mod | 8 +++++--- go.sum | 4 ++-- superbool_attribute.go | 2 +- superfloat64_attribute.go | 2 +- superint64_attribute.go | 2 +- superlist_attribute.go | 2 +- superlist_nested_attribute.go | 2 +- supermap_attribute.go | 2 +- supermap_nested_attribute.go | 2 +- supernumber_attribute.go | 2 +- superobject_attribute.go | 2 +- superset_attribute.go | 2 +- superset_nested_attribute.go | 2 +- supersingle_nested_attribute.go | 2 +- superstring_attribute.go | 2 +- supertype_attribute.go.tmpl | 2 +- 18 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index 4269489..9319f33 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@
- - Latest release + + Latest release - - Last commit + + Last commit - - Stars + + Stars - - Issues + + Issues
diff --git a/go.mod b/go.mod index eece128..b1a9dec 100644 --- a/go.mod +++ b/go.mod @@ -1,19 +1,21 @@ module github.com/FrangipaneTeam/terraform-plugin-framework-superschema -go 1.21 -toolchain go1.23.0 +go 1.22.0 + +toolchain go1.23.1 require ( - github.com/FrangipaneTeam/terraform-plugin-framework-supertypes v0.4.0 github.com/hashicorp/terraform-plugin-framework v1.13.0 github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 github.com/iancoleman/strcase v0.3.0 + github.com/orange-cloudavenue/terraform-plugin-framework-supertypes v0.5.0 ) require ( github.com/fatih/color v1.17.0 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect diff --git a/go.sum b/go.sum index 72a2dbe..a5156ab 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/FrangipaneTeam/terraform-plugin-framework-supertypes v0.4.0 h1:5lFfjKOhBxBQNwQ63PZWBc5Unqgi5ppYq9RDoN05N+k= -github.com/FrangipaneTeam/terraform-plugin-framework-supertypes v0.4.0/go.mod h1:klzXBi/0nMGXBh4bzRjP2wef+HE6rfCMia81Glc2+eY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -31,6 +29,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= +github.com/orange-cloudavenue/terraform-plugin-framework-supertypes v0.5.0 h1:0rogLDkZ5gbdEs0zNQ3orqLaLk5gwwF+8LxsnqWCcN8= +github.com/orange-cloudavenue/terraform-plugin-framework-supertypes v0.5.0/go.mod h1:16/Jv7sxRN3PhKkb7I2LAi7gtpQju65Kd+jmlE2st04= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/superbool_attribute.go b/superbool_attribute.go index 31b1652..9e127b1 100644 --- a/superbool_attribute.go +++ b/superbool_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperBoolAttribute{} diff --git a/superfloat64_attribute.go b/superfloat64_attribute.go index 0346e0f..944dcf9 100644 --- a/superfloat64_attribute.go +++ b/superfloat64_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperFloat64Attribute{} diff --git a/superint64_attribute.go b/superint64_attribute.go index 7716aba..c7f10ea 100644 --- a/superint64_attribute.go +++ b/superint64_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperInt64Attribute{} diff --git a/superlist_attribute.go b/superlist_attribute.go index e374ef0..ec33b3b 100644 --- a/superlist_attribute.go +++ b/superlist_attribute.go @@ -4,11 +4,11 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" "github.com/hashicorp/terraform-plugin-framework/attr" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperListAttribute{} diff --git a/superlist_nested_attribute.go b/superlist_nested_attribute.go index fc9de0d..ae5cae2 100644 --- a/superlist_nested_attribute.go +++ b/superlist_nested_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperListNestedAttribute{} diff --git a/supermap_attribute.go b/supermap_attribute.go index 26b1071..1e3d5d3 100644 --- a/supermap_attribute.go +++ b/supermap_attribute.go @@ -4,11 +4,11 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" "github.com/hashicorp/terraform-plugin-framework/attr" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperMapAttribute{} diff --git a/supermap_nested_attribute.go b/supermap_nested_attribute.go index 12fedc1..59ffca5 100644 --- a/supermap_nested_attribute.go +++ b/supermap_nested_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperMapNestedAttribute{} diff --git a/supernumber_attribute.go b/supernumber_attribute.go index 2c1edab..832cda8 100644 --- a/supernumber_attribute.go +++ b/supernumber_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperNumberAttribute{} diff --git a/superobject_attribute.go b/superobject_attribute.go index d0be722..2d62be8 100644 --- a/superobject_attribute.go +++ b/superobject_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperObjectAttribute{} diff --git a/superset_attribute.go b/superset_attribute.go index 30f3627..8272438 100644 --- a/superset_attribute.go +++ b/superset_attribute.go @@ -4,11 +4,11 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" "github.com/hashicorp/terraform-plugin-framework/attr" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSetAttribute{} diff --git a/superset_nested_attribute.go b/superset_nested_attribute.go index 171ad10..5a654d1 100644 --- a/superset_nested_attribute.go +++ b/superset_nested_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSetNestedAttribute{} diff --git a/supersingle_nested_attribute.go b/supersingle_nested_attribute.go index a01317a..976cefb 100644 --- a/supersingle_nested_attribute.go +++ b/supersingle_nested_attribute.go @@ -4,12 +4,12 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" "github.com/hashicorp/terraform-plugin-framework/attr" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperSingleNestedAttribute{} diff --git a/superstring_attribute.go b/superstring_attribute.go index 29c785a..886513b 100644 --- a/superstring_attribute.go +++ b/superstring_attribute.go @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" ) var _ Attribute = SuperStringAttribute{} diff --git a/supertype_attribute.go.tmpl b/supertype_attribute.go.tmpl index b7b86e3..0d4806b 100644 --- a/supertype_attribute.go.tmpl +++ b/supertype_attribute.go.tmpl @@ -4,10 +4,10 @@ package superschema import ( "context" - "github.com/FrangipaneTeam/terraform-plugin-framework-supertypes" schemaD "github.com/hashicorp/terraform-plugin-framework/datasource/schema" schemaR "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" + "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes" {{- if or (eq .TypeName "SingleNested") }} "github.com/hashicorp/terraform-plugin-framework/attr"