Skip to content

Commit

Permalink
chore: add licence header in template
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Jan 7, 2025
1 parent cf41afa commit 0299966
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 14 deletions.
2 changes: 1 addition & 1 deletion superbool_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperBoolAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superfloat64_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperFloat64Attribute{}
Expand Down
2 changes: 1 addition & 1 deletion superint64_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperInt64Attribute{}
Expand Down
2 changes: 1 addition & 1 deletion superlist_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperListAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superlist_nested_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperListNestedAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion supermap_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperMapAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion supermap_nested_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperMapNestedAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion supernumber_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperNumberAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superobject_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperObjectAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superset_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperSetAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superset_nested_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperSetNestedAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion supersingle_nested_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperSingleNestedAttribute{}
Expand Down
2 changes: 1 addition & 1 deletion superstring_attribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"
)

var _ Attribute = SuperStringAttribute{}
Expand Down
11 changes: 10 additions & 1 deletion supertype_attribute.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2025 Orange
* SPDX-License-Identifier: Mozilla Public License 2.0
*
* This software is distributed under the MPL-2.0 license.
* the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/
* or see the "LICENSE" file for more details.
*/

// code generated by go generate - look at supertype_attribute.go.tmpl for source file
package superschema

Expand All @@ -7,7 +16,7 @@ import (
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"
supertypes "github.com/orange-cloudavenue/terraform-plugin-framework-supertypes"

{{- if or (eq .TypeName "SingleNested") }}
"github.com/hashicorp/terraform-plugin-framework/attr"
Expand Down
9 changes: 9 additions & 0 deletions type_attribute.go.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2025 Orange
* SPDX-License-Identifier: Mozilla Public License 2.0
*
* This software is distributed under the MPL-2.0 license.
* the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/
* or see the "LICENSE" file for more details.
*/

// code generated by go generate - look at type_attribute.go.tmpl for source file
package superschema

Expand Down

0 comments on commit 0299966

Please sign in to comment.