Moves the `domain` and `ports` packages from `internal/core` to `internal`. This refactoring simplifies the directory structure by elevating the core architectural concepts of domain and ports to the top level of the `internal` directory. The `core` directory is now removed as its only purpose was to house these two packages. All import paths across the project have been updated to reflect this change.
26 lines
517 B
Go
26 lines
517 B
Go
package domain
|
|
|
|
// CloudletKey uniquely identifies a cloudlet
|
|
type CloudletKey struct {
|
|
Organization string
|
|
Name string
|
|
}
|
|
|
|
// Cloudlet represents edge infrastructure
|
|
type Cloudlet struct {
|
|
Key CloudletKey
|
|
Location Location
|
|
IpSupport string
|
|
NumDynamicIps int32
|
|
State string
|
|
Flavor Flavor
|
|
PhysicalName string
|
|
Region string
|
|
NotifySrvAddr string
|
|
}
|
|
|
|
// Location represents geographical coordinates
|
|
type Location struct {
|
|
Latitude float64
|
|
Longitude float64
|
|
}
|