Skip to content

Commit

Permalink
Move implementation to an internal package
Browse files Browse the repository at this point in the history
  • Loading branch information
dghubble committed Apr 1, 2023
1 parent 46692ea commit 0cc04fc
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Notable changes between releases.

* Update the target stable Ignition spec version to v3.4.0 ([#156](https://github.com/poseidon/terraform-provider-ct/pull/156))
* Parse Butane Configs to Ignition v3.4.0
* Move implementation to an `internal` package ([#157](https://github.com/poseidon/terraform-provider-ct/pull/157))

## v0.12.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"regexp"
Expand Down
2 changes: 1 addition & 1 deletion ct/hashcode.go → internal/hashcode.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"hash/crc32"
Expand Down
2 changes: 1 addition & 1 deletion ct/provider.go → internal/provider.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down
2 changes: 1 addition & 1 deletion ct/provider_test.go → internal/provider_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ct
package internal

import (
"testing"
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"

"github.com/poseidon/terraform-provider-ct/ct"
"github.com/poseidon/terraform-provider-ct/internal"
)

func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: ct.Provider,
ProviderFunc: internal.Provider,
})
}

0 comments on commit 0cc04fc

Please sign in to comment.