Skip to content

Commit 41c5220

Browse files
feat: Add cloud hypervisor VM forking helpers
1 parent 708b64f commit 41c5220

57 files changed

Lines changed: 205 additions & 205 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 37
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-ec9459bfe289a85521771fc591586ab6938f3060a516c5a9b953c508fca285a5.yml
3-
openapi_spec_hash: 327106f17c1b6b057c8bc0c67f866a3c
4-
config_hash: a1af5d178d489535e5daee07b8d45d07
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-68bd472fc1704fc7ff7ed01b4213dda068a0865d42693d47ecef90651526febb.yml
3+
openapi_spec_hash: 18ec995954b05d8dfb1e9e3254cf579a
4+
config_hash: d452c139da1e46a44a68b91e8a40de72

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To use a local version of this library from source in another project, edit the
4141
directive. This can be done through the CLI with the following:
4242

4343
```sh
44-
$ go mod edit -replace github.com/kernel/hypeman=/path/to/hypeman
44+
$ go mod edit -replace github.com/kernel/hypeman-go=/path/to/hypeman-go
4545
```
4646

4747
## Running tests

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- x-release-please-start-version -->
44

5-
<a href="https://pkg.go.dev/github.com/kernel/hypeman"><img src="https://pkg.go.dev/badge/github.com/kernel/hypeman.svg" alt="Go Reference"></a>
5+
<a href="https://pkg.go.dev/github.com/kernel/hypeman-go"><img src="https://pkg.go.dev/badge/github.com/kernel/hypeman-go.svg" alt="Go Reference"></a>
66

77
<!-- x-release-please-end -->
88

@@ -17,7 +17,7 @@ It is generated with [Stainless](https://www.stainless.com/).
1717

1818
```go
1919
import (
20-
"github.com/kernel/hypeman" // imported as hypeman
20+
"github.com/kernel/hypeman-go" // imported as hypeman
2121
)
2222
```
2323

@@ -28,7 +28,7 @@ Or to pin the version:
2828
<!-- x-release-please-start-version -->
2929

3030
```sh
31-
go get -u 'github.com/kernel/hypeman@v0.13.0'
31+
go get -u 'github.com/kernel/hypeman-go@v0.13.0'
3232
```
3333

3434
<!-- x-release-please-end -->
@@ -48,8 +48,8 @@ import (
4848
"context"
4949
"fmt"
5050

51-
"github.com/kernel/hypeman"
52-
"github.com/kernel/hypeman/option"
51+
"github.com/kernel/hypeman-go"
52+
"github.com/kernel/hypeman-go/option"
5353
)
5454

5555
func main() {
@@ -276,7 +276,7 @@ client.Health.Check(context.TODO(), ...,
276276

277277
The request option `option.WithDebugLog(nil)` may be helpful while debugging.
278278

279-
See the [full list of request options](https://pkg.go.dev/github.com/kernel/hypeman/option).
279+
See the [full list of request options](https://pkg.go.dev/github.com/kernel/hypeman-go/option).
280280

281281
### Pagination
282282

@@ -491,7 +491,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
491491

492492
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
493493

494-
We are keen for your feedback; please open an [issue](https://www.github.com/kernel/hypeman/issues) with questions, bugs, or suggestions.
494+
We are keen for your feedback; please open an [issue](https://www.github.com/kernel/hypeman-go/issues) with questions, bugs, or suggestions.
495495

496496
## Development
497497

aliases.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package hypeman
44

55
import (
6-
"github.com/kernel/hypeman/internal/apierror"
7-
"github.com/kernel/hypeman/packages/param"
6+
"github.com/kernel/hypeman-go/internal/apierror"
7+
"github.com/kernel/hypeman-go/packages/param"
88
)
99

1010
// aliased to make [param.APIUnion] private when embedding

api.md

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

build.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ import (
1414
"slices"
1515
"time"
1616

17-
"github.com/kernel/hypeman/internal/apiform"
18-
"github.com/kernel/hypeman/internal/apijson"
19-
"github.com/kernel/hypeman/internal/apiquery"
20-
"github.com/kernel/hypeman/internal/requestconfig"
21-
"github.com/kernel/hypeman/option"
22-
"github.com/kernel/hypeman/packages/param"
23-
"github.com/kernel/hypeman/packages/respjson"
24-
"github.com/kernel/hypeman/packages/ssestream"
17+
"github.com/kernel/hypeman-go/internal/apiform"
18+
"github.com/kernel/hypeman-go/internal/apijson"
19+
"github.com/kernel/hypeman-go/internal/apiquery"
20+
"github.com/kernel/hypeman-go/internal/requestconfig"
21+
"github.com/kernel/hypeman-go/option"
22+
"github.com/kernel/hypeman-go/packages/param"
23+
"github.com/kernel/hypeman-go/packages/respjson"
24+
"github.com/kernel/hypeman-go/packages/ssestream"
2525
)
2626

2727
// BuildService contains methods and other services that help with interacting with

build_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"os"
1111
"testing"
1212

13-
"github.com/kernel/hypeman"
14-
"github.com/kernel/hypeman/internal/testutil"
15-
"github.com/kernel/hypeman/option"
13+
"github.com/kernel/hypeman-go"
14+
"github.com/kernel/hypeman-go/internal/testutil"
15+
"github.com/kernel/hypeman-go/option"
1616
)
1717

1818
func TestBuildNewWithOptionalParams(t *testing.T) {

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os"
99
"slices"
1010

11-
"github.com/kernel/hypeman/internal/requestconfig"
12-
"github.com/kernel/hypeman/option"
11+
"github.com/kernel/hypeman-go/internal/requestconfig"
12+
"github.com/kernel/hypeman-go/option"
1313
)
1414

1515
// Client creates a struct with services and top level methods that help with

client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/kernel/hypeman"
15-
"github.com/kernel/hypeman/internal"
16-
"github.com/kernel/hypeman/option"
14+
"github.com/kernel/hypeman-go"
15+
"github.com/kernel/hypeman-go/internal"
16+
"github.com/kernel/hypeman-go/option"
1717
)
1818

1919
type closureTransport struct {

device.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"slices"
1111
"time"
1212

13-
"github.com/kernel/hypeman/internal/apijson"
14-
"github.com/kernel/hypeman/internal/requestconfig"
15-
"github.com/kernel/hypeman/option"
16-
"github.com/kernel/hypeman/packages/param"
17-
"github.com/kernel/hypeman/packages/respjson"
13+
"github.com/kernel/hypeman-go/internal/apijson"
14+
"github.com/kernel/hypeman-go/internal/requestconfig"
15+
"github.com/kernel/hypeman-go/option"
16+
"github.com/kernel/hypeman-go/packages/param"
17+
"github.com/kernel/hypeman-go/packages/respjson"
1818
)
1919

2020
// DeviceService contains methods and other services that help with interacting

0 commit comments

Comments
 (0)