Skip to content

Commit

Permalink
remove network logic cli
Browse files Browse the repository at this point in the history
  • Loading branch information
carterabdallahbrev committed Nov 6, 2024
1 parent 9501426 commit 5e54f86
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 192 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func NewBrevCommand() *cobra.Command { //nolint:funlen,gocognit,gocyclo // defin
return cmds
}

func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *store.AuthHTTPStore, noLoginCmdStore *store.AuthHTTPStore, loginAuth *auth.LoginAuth) { //nolint:funlen // define brev command
func createCmdTree(cmd *cobra.Command, t *terminal.Terminal, loginCmdStore *store.AuthHTTPStore, noLoginCmdStorN *store.AuthHTTPStore, loginAuth *auth.LoginAuth) { //nolint:funlen // define brev command
cmd.AddCommand(set.NewCmdSet(t, loginCmdStore, noLoginCmdStore))

Check failure on line 233 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / release-test

undefined: noLoginCmdStore

Check failure on line 233 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04)

undefined: noLoginCmdStore

Check failure on line 233 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / ci (ubuntu-20.04)

undefined: noLoginCmdStore
cmd.AddCommand(ls.NewCmdLs(t, loginCmdStore, noLoginCmdStore))

Check failure on line 234 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / release-test

undefined: noLoginCmdStore

Check failure on line 234 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04)

undefined: noLoginCmdStore

Check failure on line 234 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / ci (ubuntu-20.04)

undefined: noLoginCmdStore
cmd.AddCommand(org.NewCmdOrg(t, loginCmdStore, noLoginCmdStore))

Check failure on line 235 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / release-test

undefined: noLoginCmdStore

Check failure on line 235 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / build (ubuntu-20.04)

undefined: noLoginCmdStore

Check failure on line 235 in pkg/cmd/cmd.go

View workflow job for this annotation

GitHub Actions / ci (ubuntu-20.04)

undefined: noLoginCmdStore
Expand Down
3 changes: 0 additions & 3 deletions pkg/cmd/tasks/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
breverrors "github.com/brevdev/brev-cli/pkg/errors"
"github.com/brevdev/brev-cli/pkg/k8s"
"github.com/brevdev/brev-cli/pkg/ssh"
"github.com/brevdev/brev-cli/pkg/store"
"github.com/brevdev/brev-cli/pkg/tasks"
"github.com/brevdev/brev-cli/pkg/terminal"
"github.com/hashicorp/go-multierror"
Expand All @@ -24,9 +23,7 @@ type TaskStore interface {
k8s.K8sStore
CopyBin(targetBin string) error
WriteString(path, data string) error
RegisterNode(publicKey string) error
GetOrCreateFile(path string) (afero.File, error)
GetNetworkAuthKey() (*store.GetAuthKeyResponse, error)
GetCurrentWorkspaceID() (string, error)
GetWorkspace(workspaceID string) (*entity.Workspace, error)
GetCurrentUser() (*entity.User, error)
Expand Down
188 changes: 0 additions & 188 deletions pkg/store/network.go

This file was deleted.

0 comments on commit 5e54f86

Please sign in to comment.