Skip to content

Commit

Permalink
Merge pull request #43 from docker/nicks/pkg-names
Browse files Browse the repository at this point in the history
repo structure: rename internal/pkg/ to internal/
  • Loading branch information
nicks authored Aug 28, 2024
2 parents 4f190d9 + ddeafbc commit e393dee
Show file tree
Hide file tree
Showing 22 changed files with 19 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/provider/data_source_access_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_access_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_org.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_org_team_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/data_source_repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/data_source_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/pkg/repositoryutils"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/docker/terraform-provider-docker/internal/repositoryutils"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"regexp"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/docker/terraform-provider-docker/tools"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_access_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/docker/terraform-provider-docker/internal/envvar"
"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_team.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_org_team_member_association.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/resource_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"regexp"
"strings"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/pkg/repositoryutils"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/docker/terraform-provider-docker/internal/repositoryutils"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource_repository_team_permission.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/docker/terraform-provider-docker/internal/envvar"
"github.com/docker/terraform-provider-docker/internal/pkg/hubclient"
"github.com/docker/terraform-provider-docker/internal/hubclient"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/terraform"
)
Expand Down
File renamed without changes.

0 comments on commit e393dee

Please sign in to comment.