Skip to content

Commit

Permalink
feat: rename go mod (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rumstead authored Sep 26, 2022
1 parent 5a1994e commit d854a86
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions cmd/clusters/clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (
"github.com/spf13/cobra"
"google.golang.org/protobuf/encoding/protojson"

"github.com/rumstead/argo-cd-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/argo-cd-toolkit/pkg/gitops/argocd"
"github.com/rumstead/argo-cd-toolkit/pkg/kubernetes"
"github.com/rumstead/argo-cd-toolkit/pkg/kubernetes/k3d"
"github.com/rumstead/argo-cd-toolkit/pkg/logging"
"github.com/rumstead/gitops-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/gitops-toolkit/pkg/gitops/argocd"
"github.com/rumstead/gitops-toolkit/pkg/kubernetes"
"github.com/rumstead/gitops-toolkit/pkg/kubernetes/k3d"
"github.com/rumstead/gitops-toolkit/pkg/logging"
)

var cfgFile string
Expand Down Expand Up @@ -79,7 +79,7 @@ to quickly create a Cobra application.`,
if err != nil {
return err
}
workdir := fmt.Sprintf("%s/argo-cd-toolkit/", outputDir)
workdir := fmt.Sprintf("%s/gitops-toolkit/", outputDir)
defer os.RemoveAll(workdir)
// create the clusters
clusterDistro := k3d.NewK3dDistro(workdir)
Expand Down
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ package cmd
import (
"github.com/spf13/cobra"

"github.com/rumstead/argo-cd-toolkit/cmd/clusters"
"github.com/rumstead/gitops-toolkit/cmd/clusters"
)

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "argo-cd-toolkit",
Use: "gitops-toolkit",
Short: "A brief description of your application",
Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/
package main

import "github.com/rumstead/argo-cd-toolkit/cmd"
import "github.com/rumstead/gitops-toolkit/cmd"

func main() {
cmd.Execute()
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/v1alpha1/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/rumstead/argo-cd-toolkit/pkg/config/v1alpha1/request-clusters",
"$id": "https://github.com/rumstead/gitops-toolkit/pkg/config/v1alpha1/request-clusters",
"$defs": {
"Credentials": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"os/exec"

"github.com/rumstead/argo-cd-toolkit/pkg/logging"
"github.com/rumstead/gitops-toolkit/pkg/logging"
)

type Command struct {
Expand Down
8 changes: 4 additions & 4 deletions pkg/gitops/argocd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import (

"github.com/k3d-io/k3d/v5/pkg/logger"

tkexec "github.com/rumstead/argo-cd-toolkit/pkg/exec"
"github.com/rumstead/argo-cd-toolkit/pkg/kubernetes"
tkexec "github.com/rumstead/gitops-toolkit/pkg/exec"
"github.com/rumstead/gitops-toolkit/pkg/kubernetes"

_ "embed"

"github.com/rumstead/argo-cd-toolkit/pkg/gitops"
"github.com/rumstead/argo-cd-toolkit/pkg/logging"
"github.com/rumstead/gitops-toolkit/pkg/gitops"
"github.com/rumstead/gitops-toolkit/pkg/logging"
)

//go:embed embed/addClusters.sh
Expand Down
2 changes: 1 addition & 1 deletion pkg/gitops/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gitops
import (
"context"

"github.com/rumstead/argo-cd-toolkit/pkg/kubernetes"
"github.com/rumstead/gitops-toolkit/pkg/kubernetes"
)

type Engine interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/kubernetes/k3d/k3d.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"github.com/k3d-io/k3d/v5/pkg/types"
log "github.com/sirupsen/logrus"

"github.com/rumstead/argo-cd-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/argo-cd-toolkit/pkg/kubernetes"
"github.com/rumstead/argo-cd-toolkit/pkg/random"
"github.com/rumstead/gitops-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/gitops-toolkit/pkg/kubernetes"
"github.com/rumstead/gitops-toolkit/pkg/random"
)

type K3d struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubernetes/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kubernetes
import (
"context"

"github.com/rumstead/argo-cd-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/gitops-toolkit/pkg/config/v1alpha1"
)

type Distro interface {
Expand Down
2 changes: 1 addition & 1 deletion schema/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/invopop/jsonschema"

"github.com/rumstead/argo-cd-toolkit/pkg/config/v1alpha1"
"github.com/rumstead/gitops-toolkit/pkg/config/v1alpha1"
)

func main() {
Expand Down

0 comments on commit d854a86

Please sign in to comment.