Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
change import references to flanksource/konfigadm repository
Browse files Browse the repository at this point in the history
this changes all the references from github.com/moshloop/konfigadm
to github.com/flanksource/konfigadm in all go files and in go.mod
too
  • Loading branch information
karuppiah7890 committed Feb 9, 2020
1 parent 54d4565 commit 7cc2761
Show file tree
Hide file tree
Showing 45 changed files with 76 additions and 76 deletions.
2 changes: 1 addition & 1 deletion cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"strconv"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/cloud-init.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

cloudinit "github.com/moshloop/konfigadm/pkg/cloud-init"
cloudinit "github.com/flanksource/konfigadm/pkg/cloud-init"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"os"

_ "github.com/moshloop/konfigadm/pkg"
"github.com/moshloop/konfigadm/pkg/phases"
"github.com/moshloop/konfigadm/pkg/types"
_ "github.com/flanksource/konfigadm/pkg"
"github.com/flanksource/konfigadm/pkg/phases"
"github.com/flanksource/konfigadm/pkg/types"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/image_aliases.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cmd

import (
"github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var images = map[string]Image{
Expand Down
8 changes: 4 additions & 4 deletions cmd/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"path"
"strings"

"github.com/moshloop/konfigadm/pkg/build/ova"
"github.com/moshloop/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/build/ova"
"github.com/flanksource/konfigadm/pkg/types"

. "github.com/moshloop/konfigadm/pkg/build"
. "github.com/flanksource/konfigadm/pkg/build"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"

"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"os"

"github.com/moshloop/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/types"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/moshloop/konfigadm
module github.com/flanksource/konfigadm

require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/moshloop/konfigadm/cmd"
"github.com/flanksource/konfigadm/cmd"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
Expand Down
6 changes: 3 additions & 3 deletions pkg/apps/cleanup.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package apps

import (
"github.com/moshloop/konfigadm/pkg/build"
"github.com/moshloop/konfigadm/pkg/phases"
. "github.com/moshloop/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/build"
"github.com/flanksource/konfigadm/pkg/phases"
. "github.com/flanksource/konfigadm/pkg/types"
)

var Cleanup Phase = cleanup{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/apps/cni.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package apps

import (
. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

var CNI Phase = cni{}
Expand Down
6 changes: 3 additions & 3 deletions pkg/apps/cri.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"strings"

"github.com/moshloop/konfigadm/pkg/phases"
. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/phases"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var CRI Phase = cri{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/apps/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package apps
import (
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

var Kubernetes Phase = kubernetes{}
Expand Down
6 changes: 3 additions & 3 deletions pkg/apps/kubernetes_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package apps_test

import (
_ "github.com/flanksource/konfigadm/pkg"
. "github.com/flanksource/konfigadm/pkg/types"
. "github.com/onsi/gomega"
"testing"
_ "github.com/moshloop/konfigadm/pkg"
. "github.com/moshloop/konfigadm/pkg/types"
."github.com/onsi/gomega"
)

func TestMarkPackages(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/build/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package build
import (
"strings"

cloudinit "github.com/moshloop/konfigadm/pkg/cloud-init"
"github.com/moshloop/konfigadm/pkg/types"
cloudinit "github.com/flanksource/konfigadm/pkg/cloud-init"
"github.com/flanksource/konfigadm/pkg/types"
)

type Driver interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/build/libguestfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"os"
"path"

"github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
"github.com/mitchellh/colorstring"
"github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v3"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/ova/ova.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

log "github.com/sirupsen/logrus"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/ova/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/build/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/mitchellh/colorstring"
log "github.com/sirupsen/logrus"

"github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

type Qemu struct{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/scratch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"runtime"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud-init/iso.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path"
"strings"

"github.com/moshloop/konfigadm/pkg/utils"
"github.com/flanksource/konfigadm/pkg/utils"
)

//CreateISO creates a new ISO with the user/meta data and returns a path to the iso
Expand Down
6 changes: 3 additions & 3 deletions pkg/phases.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package pkg

import (
"github.com/moshloop/konfigadm/pkg/apps"
"github.com/moshloop/konfigadm/pkg/phases"
"github.com/moshloop/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/apps"
"github.com/flanksource/konfigadm/pkg/phases"
"github.com/flanksource/konfigadm/pkg/types"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/apt.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/commands.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package phases

import (
. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

var CommandsPhase AllPhases = command{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package phases_test
import (
"testing"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/onsi/gomega"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

var Containers Phase = containers{}
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package phases_test

import (
"testing"
_ "github.com/moshloop/konfigadm/pkg"
. "github.com/moshloop/konfigadm/pkg/types"
_ "github.com/flanksource/konfigadm/pkg"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/onsi/gomega"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/flosch/pongo2"
log "github.com/sirupsen/logrus"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/utils"
)

var Context Phase = context{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/onsi/gomega"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

func TestArgs(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package phases
import (
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/dnf.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/environment.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package phases

import (
. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var Environment Phase = environment{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io/ioutil"
"os"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
log "github.com/sirupsen/logrus"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/files_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package phases_test

import (
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/onsi/gomega"
"io/ioutil"
"testing"
. "github.com/moshloop/konfigadm/pkg/types"
"github.com/onsi/gomega"
)

func TestCopy(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package phases
import (
"fmt"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

//OS provides an abstraction over different operating systems
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

log "github.com/sirupsen/logrus"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var Packages AllPhases = packages{}
Expand Down
2 changes: 1 addition & 1 deletion pkg/phases/packages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package phases_test
import (
"testing"

. "github.com/moshloop/konfigadm/pkg/types"
. "github.com/flanksource/konfigadm/pkg/types"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/redhat.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package phases
import (
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/phases/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

. "github.com/moshloop/konfigadm/pkg/types"
"github.com/moshloop/konfigadm/pkg/utils"
. "github.com/flanksource/konfigadm/pkg/types"
"github.com/flanksource/konfigadm/pkg/utils"
)

var Services Phase = services{}
Expand Down
Loading

0 comments on commit 7cc2761

Please sign in to comment.