Skip to content

Commit

Permalink
Provider module made internal
Browse files Browse the repository at this point in the history
  • Loading branch information
alxrem committed Apr 9, 2021
1 parent 2654a1a commit f5eb9bb
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.10.0 (Unreleased)
## 0.9.1 (Unreleased)

NOTES:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runscope
package provider

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

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runscope
package provider

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

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runscope
package provider

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

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runscope
package provider

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

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

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

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

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

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

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

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

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

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

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

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

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Note this source file ends in an '_'; otherwise the compiler
// will treat is as a test file.

package runscope
package provider

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

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

// Takes the result of flatmap.Expand for an array of strings
// and returns a []*string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runscope
package provider

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

import "github.com/terraform-providers/terraform-provider-runscope/internal/runscope"

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package main

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
"github.com/terraform-providers/terraform-provider-runscope/runscope"
"github.com/terraform-providers/terraform-provider-runscope/internal/provider"
)

func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: runscope.Provider,
ProviderFunc: provider.Provider,
})
}

0 comments on commit f5eb9bb

Please sign in to comment.