Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreeman451 committed Mar 3, 2025
1 parent 36c3149 commit fd1cdde
Show file tree
Hide file tree
Showing 21 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions cmd/cloud/main.go → cmd/core/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"flag"
"log"

"github.com/carverauto/serviceradar/pkg/cloud"
"github.com/carverauto/serviceradar/pkg/cloud/api"
"github.com/carverauto/serviceradar/pkg/core"
"github.com/carverauto/serviceradar/pkg/core/api"
"github.com/carverauto/serviceradar/pkg/grpc"
"github.com/carverauto/serviceradar/pkg/lifecycle"
"github.com/carverauto/serviceradar/proto"
Expand All @@ -40,7 +40,7 @@ func run() error {
flag.Parse()

// Load configuration
cfg, err := cloud.LoadConfig(*configPath)
cfg, err := core.LoadConfig(*configPath)
if err != nil {
return err
}
Expand All @@ -49,7 +49,7 @@ func run() error {
ctx := context.Background()

// Create cloud server
server, err := cloud.NewServer(ctx, &cfg)
server, err := core.NewServer(ctx, &cfg)
if err != nil {
return err
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/cloud/errors.go → pkg/core/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import "errors"

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/interfaces.go → pkg/core/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

//go:generate mockgen -destination=mock_server.go -package=cloud github.com/carverauto/serviceradar/pkg/cloud NodeService,CloudService

package cloud
package core

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/mock_server.go → pkg/core/mock_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/cloud/node_recovery.go → pkg/core/node_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/server.go → pkg/core/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/server_test.go → pkg/core/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/types.go → pkg/core/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package cloud
package core

import (
"sync"
Expand Down

0 comments on commit fd1cdde

Please sign in to comment.