Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ changelog:

release:
github:
owner: onkernel
owner: kernel
name: hypeman
prerelease: auto
draft: false
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<p align="center">
<strong>Run containerized workloads in VMs, powered by <a href="https://github.com/cloud-hypervisor/cloud-hypervisor">Cloud Hypervisor</a>.</strong>
<img alt="GitHub License" src="https://img.shields.io/github/license/onkernel/hypeman">
<img alt="GitHub License" src="https://img.shields.io/github/license/kernel/hypeman">
<a href="https://discord.gg/FBrveQRcud"><img src="https://img.shields.io/discord/1342243238748225556?logo=discord&logoColor=white&color=7289DA" alt="Discord"></a>
</p>

Expand All @@ -39,12 +39,12 @@ To connect to a Hypeman server from another machine, install just the CLI:

**Homebrew:**
```bash
brew install onkernel/tap/hypeman
brew install kernel/tap/hypeman
```

**Go:**
```bash
go install 'github.com/onkernel/hypeman-cli/cmd/hypeman@latest'
go install 'github.com/kernel/hypeman-cli/cmd/hypeman@latest'
```

**Configure remote access:**
Expand Down
4 changes: 2 additions & 2 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ This project uses [Semantic Versioning](https://semver.org/).
## Getting Binaries

### Released Version
Download from the [Releases](https://github.com/onkernel/hypeman/releases) page.
Download from the [Releases](https://github.com/kernel/hypeman/releases) page.

### Building from Source
```bash
git clone https://github.com/onkernel/hypeman
git clone https://github.com/kernel/hypeman
cd hypeman
make build
# Binary at ./bin/hypeman
Expand Down
20 changes: 10 additions & 10 deletions cmd/api/api/api.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package api

import (
"github.com/onkernel/hypeman/cmd/api/config"
"github.com/onkernel/hypeman/lib/builds"
"github.com/onkernel/hypeman/lib/devices"
"github.com/onkernel/hypeman/lib/images"
"github.com/onkernel/hypeman/lib/ingress"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/network"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/resources"
"github.com/onkernel/hypeman/lib/volumes"
"github.com/kernel/hypeman/cmd/api/config"
"github.com/kernel/hypeman/lib/builds"
"github.com/kernel/hypeman/lib/devices"
"github.com/kernel/hypeman/lib/images"
"github.com/kernel/hypeman/lib/ingress"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/network"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/resources"
"github.com/kernel/hypeman/lib/volumes"
)

// ApiService implements the oapi.StrictServerInterface
Expand Down
22 changes: 11 additions & 11 deletions cmd/api/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import (
"testing"
"time"

"github.com/onkernel/hypeman/cmd/api/config"
"github.com/onkernel/hypeman/lib/devices"
"github.com/onkernel/hypeman/lib/images"
"github.com/onkernel/hypeman/lib/instances"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/network"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/paths"
"github.com/onkernel/hypeman/lib/resources"
"github.com/onkernel/hypeman/lib/system"
"github.com/onkernel/hypeman/lib/volumes"
"github.com/kernel/hypeman/cmd/api/config"
"github.com/kernel/hypeman/lib/devices"
"github.com/kernel/hypeman/lib/images"
"github.com/kernel/hypeman/lib/instances"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/network"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/paths"
"github.com/kernel/hypeman/lib/resources"
"github.com/kernel/hypeman/lib/system"
"github.com/kernel/hypeman/lib/volumes"
"github.com/stretchr/testify/require"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/api/api/builds.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"net/http"
"strconv"

"github.com/onkernel/hypeman/lib/builds"
"github.com/onkernel/hypeman/lib/logger"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/builds"
"github.com/kernel/hypeman/lib/logger"
"github.com/kernel/hypeman/lib/oapi"
)

// ListBuilds returns all builds
Expand Down
10 changes: 5 additions & 5 deletions cmd/api/api/cp.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"time"

"github.com/gorilla/websocket"
"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
Expand Down
10 changes: 5 additions & 5 deletions cmd/api/api/cp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"testing"
"time"

"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/paths"
"github.com/onkernel/hypeman/lib/system"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/paths"
"github.com/kernel/hypeman/lib/system"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/api/api/devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"

"github.com/onkernel/hypeman/lib/devices"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/devices"
"github.com/kernel/hypeman/lib/oapi"
)

// ListDevices returns all registered devices
Expand Down
10 changes: 5 additions & 5 deletions cmd/api/api/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"time"

"github.com/gorilla/websocket"
"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
)

var upgrader = websocket.Upgrader{
Expand Down
12 changes: 6 additions & 6 deletions cmd/api/api/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"testing"
"time"

"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/paths"
"github.com/onkernel/hypeman/lib/system"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/paths"
"github.com/kernel/hypeman/lib/system"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/api/api/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"context"

"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/oapi"
)

// GetHealth implements health check endpoint
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/api/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"errors"

"github.com/onkernel/hypeman/lib/images"
"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/images"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/oapi"
)

func (s *ApiService) ListImages(ctx context.Context, request oapi.ListImagesRequestObject) (oapi.ListImagesResponseObject, error) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/api/api/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

"github.com/onkernel/hypeman/lib/images"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/images"
"github.com/kernel/hypeman/lib/oapi"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/api/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"errors"

"github.com/onkernel/hypeman/lib/ingress"
"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/ingress"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/oapi"
)

// ListIngresses lists all ingress resources
Expand Down
16 changes: 8 additions & 8 deletions cmd/api/api/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
"strings"

"github.com/c2h5oh/datasize"
"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/network"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/resources"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/network"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/resources"
"github.com/samber/lo"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/api/api/instances_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"testing"
"time"

"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/paths"
"github.com/onkernel/hypeman/lib/system"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/paths"
"github.com/kernel/hypeman/lib/system"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/api/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
v1 "github.com/google/go-containerregistry/pkg/v1"
"github.com/google/go-containerregistry/pkg/v1/remote"
"github.com/google/go-containerregistry/pkg/v1/types"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/paths"
"github.com/onkernel/hypeman/lib/registry"
"github.com/onkernel/hypeman/lib/system"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/paths"
"github.com/kernel/hypeman/lib/registry"
"github.com/kernel/hypeman/lib/system"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
10 changes: 5 additions & 5 deletions cmd/api/api/resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"errors"
"net/http"

"github.com/onkernel/hypeman/lib/images"
"github.com/onkernel/hypeman/lib/ingress"
"github.com/onkernel/hypeman/lib/instances"
"github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/volumes"
"github.com/kernel/hypeman/lib/images"
"github.com/kernel/hypeman/lib/ingress"
"github.com/kernel/hypeman/lib/instances"
"github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/volumes"
)

// InstanceResolver adapts instances.Manager to middleware.ResourceResolver.
Expand Down
4 changes: 2 additions & 2 deletions cmd/api/api/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package api
import (
"context"

"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/resources"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/resources"
)

// GetResources returns host resource capacity and allocations
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/api/volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"mime/multipart"
"strconv"

"github.com/onkernel/hypeman/lib/logger"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/volumes"
"github.com/kernel/hypeman/lib/logger"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/volumes"
)

// ListVolumes lists all volumes
Expand Down
2 changes: 1 addition & 1 deletion cmd/api/api/volumes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"testing"

"github.com/onkernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/oapi"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
20 changes: 10 additions & 10 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
nethttpmiddleware "github.com/oapi-codegen/nethttp-middleware"
"github.com/onkernel/hypeman"
"github.com/onkernel/hypeman/cmd/api/api"
"github.com/onkernel/hypeman/cmd/api/config"
"github.com/onkernel/hypeman/lib/guest"
"github.com/onkernel/hypeman/lib/hypervisor/qemu"
"github.com/onkernel/hypeman/lib/instances"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/oapi"
"github.com/onkernel/hypeman/lib/otel"
"github.com/onkernel/hypeman/lib/vmm"
"github.com/kernel/hypeman"
"github.com/kernel/hypeman/cmd/api/api"
"github.com/kernel/hypeman/cmd/api/config"
"github.com/kernel/hypeman/lib/guest"
"github.com/kernel/hypeman/lib/hypervisor/qemu"
"github.com/kernel/hypeman/lib/instances"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/oapi"
"github.com/kernel/hypeman/lib/otel"
"github.com/kernel/hypeman/lib/vmm"
"github.com/riandyrn/otelchi"
"golang.org/x/sync/errgroup"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/api/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/golang-jwt/jwt/v5"
nethttpmiddleware "github.com/oapi-codegen/nethttp-middleware"
mw "github.com/onkernel/hypeman/lib/middleware"
"github.com/onkernel/hypeman/lib/oapi"
mw "github.com/kernel/hypeman/lib/middleware"
"github.com/kernel/hypeman/lib/oapi"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
Loading