Skip to content

Commit bdfacfa

Browse files
mariansteemow
andauthored
Prepend github.com/giantswarm/ to module name (#350)
* Prepend github.com/giantswarm/ to module name * Fix: Update missed imports in agent commands package Update remaining old muster/ import paths to github.com/giantswarm/muster/ in the commands package that were missed in the initial refactoring. Files updated: - internal/agent/commands/describe_command.go - internal/agent/commands/filter_command.go - internal/agent/commands/list_command.go --------- Co-authored-by: Timo Derstappen <timo@giantswarm.io> Co-authored-by: Timo Derstappen <teemow@gmail.com>
1 parent 57c2fc9 commit bdfacfa

File tree

177 files changed

+390
-340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+390
-340
lines changed

.cursor/rules/architecture.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ alwaysApply: true
4545
Any other package that needs to use the service **MUST** retrieve the handler from the `api` package. It **MUST NOT** import the service package directly.
4646
```go
4747
// in another_package/logic.go
48-
import "muster/internal/api"
48+
import "github.com/giantswarm/muster/internal/api"
4949

5050
func DoWork(ctx context.Context) {
5151
handler := api.GetMyService()

cmd/agent.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"syscall"
99
"time"
1010

11-
"muster/internal/agent"
12-
"muster/internal/agent/oauth"
13-
"muster/internal/api"
14-
"muster/internal/cli"
15-
"muster/internal/config"
11+
"github.com/giantswarm/muster/internal/agent"
12+
"github.com/giantswarm/muster/internal/agent/oauth"
13+
"github.com/giantswarm/muster/internal/api"
14+
"github.com/giantswarm/muster/internal/cli"
15+
"github.com/giantswarm/muster/internal/config"
1616

1717
"github.com/spf13/cobra"
1818
)

cmd/agent_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"testing"
55

6-
"muster/internal/cli"
6+
"github.com/giantswarm/muster/internal/cli"
77

88
"github.com/mark3labs/mcp-go/mcp"
99
)

cmd/auth.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import (
77
"os"
88
"strings"
99

10-
"muster/internal/api"
11-
"muster/internal/config"
12-
pkgoauth "muster/pkg/oauth"
10+
pkgoauth "github.com/giantswarm/muster/pkg/oauth"
11+
12+
"github.com/giantswarm/muster/internal/api"
13+
"github.com/giantswarm/muster/internal/config"
1314

1415
"github.com/spf13/cobra"
1516
)

cmd/auth_helpers.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ import (
77
"strings"
88
"time"
99

10-
"muster/internal/agent"
11-
"muster/internal/agent/oauth"
12-
"muster/internal/api"
13-
"muster/internal/cli"
14-
"muster/internal/config"
15-
pkgoauth "muster/pkg/oauth"
10+
pkgoauth "github.com/giantswarm/muster/pkg/oauth"
11+
12+
"github.com/giantswarm/muster/internal/agent"
13+
"github.com/giantswarm/muster/internal/agent/oauth"
14+
"github.com/giantswarm/muster/internal/api"
15+
"github.com/giantswarm/muster/internal/cli"
16+
"github.com/giantswarm/muster/internal/config"
1617

1718
"github.com/jedib0t/go-pretty/v6/text"
1819
"github.com/mark3labs/mcp-go/mcp"

cmd/auth_login.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import (
44
"context"
55
"fmt"
66

7-
"muster/internal/api"
8-
pkgoauth "muster/pkg/oauth"
7+
pkgoauth "github.com/giantswarm/muster/pkg/oauth"
8+
9+
"github.com/giantswarm/muster/internal/api"
910

1011
"github.com/spf13/cobra"
1112
)

cmd/auth_status.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import (
55
"fmt"
66
"strings"
77

8-
"muster/internal/api"
9-
"muster/internal/cli"
10-
pkgoauth "muster/pkg/oauth"
8+
pkgoauth "github.com/giantswarm/muster/pkg/oauth"
9+
10+
"github.com/giantswarm/muster/internal/api"
11+
"github.com/giantswarm/muster/internal/cli"
1112

1213
"github.com/jedib0t/go-pretty/v6/text"
1314
"github.com/spf13/cobra"

cmd/check.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ package cmd
22

33
import (
44
"fmt"
5-
"muster/internal/cli"
5+
6+
"github.com/giantswarm/muster/internal/cli"
67

78
"github.com/spf13/cobra"
89
)

cmd/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"text/tabwriter"
1111

12-
musterctx "muster/internal/context"
12+
musterctx "github.com/giantswarm/muster/internal/context"
1313

1414
"github.com/spf13/cobra"
1515
"gopkg.in/yaml.v3"

cmd/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ package cmd
33
import (
44
"context"
55
"fmt"
6-
"muster/internal/cli"
76
"os"
87
"strconv"
98
"strings"
109

10+
"github.com/giantswarm/muster/internal/cli"
11+
1112
"github.com/spf13/cobra"
1213
)
1314

0 commit comments

Comments
 (0)