From aee4d44b45b3f7262f657f7fd2887c07f6705be8 Mon Sep 17 00:00:00 2001 From: katexochen <49727155+katexochen@users.noreply.github.com> Date: Tue, 7 Jun 2022 11:05:52 +0200 Subject: [PATCH] Create cli/internal package --- cli/cmd/init.go | 6 +++--- cli/cmd/recover.go | 2 +- cli/cmd/verify.go | 2 +- cli/{ => internal}/proto/client.go | 0 cli/{ => internal}/proto/client_test.go | 0 cli/{ => internal}/proto/recover.go | 0 cli/{ => internal}/proto/respclients.go | 0 cli/{ => internal}/proto/respclients_test.go | 0 cli/{ => internal}/status/status.go | 0 cli/{ => internal}/status/status_test.go | 0 cli/{ => internal}/vpn/vpn.go | 0 cli/{ => internal}/vpn/vpn_test.go | 0 12 files changed, 5 insertions(+), 5 deletions(-) rename cli/{ => internal}/proto/client.go (100%) rename cli/{ => internal}/proto/client_test.go (100%) rename cli/{ => internal}/proto/recover.go (100%) rename cli/{ => internal}/proto/respclients.go (100%) rename cli/{ => internal}/proto/respclients_test.go (100%) rename cli/{ => internal}/status/status.go (100%) rename cli/{ => internal}/status/status_test.go (100%) rename cli/{ => internal}/vpn/vpn.go (100%) rename cli/{ => internal}/vpn/vpn_test.go (100%) diff --git a/cli/cmd/init.go b/cli/cmd/init.go index 46d5bccc8..885dbf659 100644 --- a/cli/cmd/init.go +++ b/cli/cmd/init.go @@ -15,9 +15,9 @@ import ( "github.com/edgelesssys/constellation/cli/cloud/cloudcmd" "github.com/edgelesssys/constellation/cli/cloudprovider" "github.com/edgelesssys/constellation/cli/gcp" - "github.com/edgelesssys/constellation/cli/proto" - "github.com/edgelesssys/constellation/cli/status" - "github.com/edgelesssys/constellation/cli/vpn" + "github.com/edgelesssys/constellation/cli/internal/proto" + "github.com/edgelesssys/constellation/cli/internal/status" + "github.com/edgelesssys/constellation/cli/internal/vpn" "github.com/edgelesssys/constellation/coordinator/atls" "github.com/edgelesssys/constellation/coordinator/pubapi/pubproto" coordinatorstate "github.com/edgelesssys/constellation/coordinator/state" diff --git a/cli/cmd/recover.go b/cli/cmd/recover.go index 1105c00b4..9f5827f2a 100644 --- a/cli/cmd/recover.go +++ b/cli/cmd/recover.go @@ -9,7 +9,7 @@ import ( "github.com/edgelesssys/constellation/cli/cloud/cloudcmd" "github.com/edgelesssys/constellation/cli/cloudprovider" - "github.com/edgelesssys/constellation/cli/proto" + "github.com/edgelesssys/constellation/cli/internal/proto" "github.com/edgelesssys/constellation/coordinator/util" "github.com/edgelesssys/constellation/internal/constants" "github.com/edgelesssys/constellation/internal/file" diff --git a/cli/cmd/verify.go b/cli/cmd/verify.go index adba6054b..fe1a6ff2a 100644 --- a/cli/cmd/verify.go +++ b/cli/cmd/verify.go @@ -7,7 +7,7 @@ import ( "github.com/edgelesssys/constellation/cli/cloud/cloudcmd" "github.com/edgelesssys/constellation/cli/cloudprovider" - "github.com/edgelesssys/constellation/cli/proto" + "github.com/edgelesssys/constellation/cli/internal/proto" "github.com/edgelesssys/constellation/internal/constants" "github.com/edgelesssys/constellation/internal/file" "github.com/spf13/afero" diff --git a/cli/proto/client.go b/cli/internal/proto/client.go similarity index 100% rename from cli/proto/client.go rename to cli/internal/proto/client.go diff --git a/cli/proto/client_test.go b/cli/internal/proto/client_test.go similarity index 100% rename from cli/proto/client_test.go rename to cli/internal/proto/client_test.go diff --git a/cli/proto/recover.go b/cli/internal/proto/recover.go similarity index 100% rename from cli/proto/recover.go rename to cli/internal/proto/recover.go diff --git a/cli/proto/respclients.go b/cli/internal/proto/respclients.go similarity index 100% rename from cli/proto/respclients.go rename to cli/internal/proto/respclients.go diff --git a/cli/proto/respclients_test.go b/cli/internal/proto/respclients_test.go similarity index 100% rename from cli/proto/respclients_test.go rename to cli/internal/proto/respclients_test.go diff --git a/cli/status/status.go b/cli/internal/status/status.go similarity index 100% rename from cli/status/status.go rename to cli/internal/status/status.go diff --git a/cli/status/status_test.go b/cli/internal/status/status_test.go similarity index 100% rename from cli/status/status_test.go rename to cli/internal/status/status_test.go diff --git a/cli/vpn/vpn.go b/cli/internal/vpn/vpn.go similarity index 100% rename from cli/vpn/vpn.go rename to cli/internal/vpn/vpn.go diff --git a/cli/vpn/vpn_test.go b/cli/internal/vpn/vpn_test.go similarity index 100% rename from cli/vpn/vpn_test.go rename to cli/internal/vpn/vpn_test.go