bsdkrun 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +70 -4
- data/lib/bsdkrun/args.rb +66 -0
- data/lib/bsdkrun/client.rb +564 -0
- data/lib/bsdkrun/errors.rb +25 -0
- data/lib/bsdkrun/shell_session.rb +139 -0
- data/lib/bsdkrun/types.rb +94 -2
- data/lib/bsdkrun/version.rb +1 -1
- data/lib/bsdkrun/websocket_frame.rb +116 -0
- data/lib/bsdkrun/ws_client.rb +315 -0
- data/lib/bsdkrun.rb +5 -1
- metadata +8 -4
data/lib/bsdkrun.rb
CHANGED
|
@@ -11,9 +11,13 @@ require_relative "bsdkrun/images"
|
|
|
11
11
|
require_relative "bsdkrun/volumes"
|
|
12
12
|
require_relative "bsdkrun/networks"
|
|
13
13
|
require_relative "bsdkrun/system"
|
|
14
|
+
require_relative "bsdkrun/websocket_frame"
|
|
15
|
+
require_relative "bsdkrun/ws_client"
|
|
16
|
+
require_relative "bsdkrun/shell_session"
|
|
17
|
+
require_relative "bsdkrun/client"
|
|
14
18
|
|
|
15
19
|
# bsdkrun — a Ruby SDK for {https://github.com/tsirysndr/bsdkrun bsdkrun}, a
|
|
16
|
-
# Firecracker-style microVM launcher for BSD and
|
|
20
|
+
# Firecracker-style microVM launcher for BSD, Linux, and unikernel guests. A thin wrapper
|
|
17
21
|
# around the +bsdkrun+ CLI: it builds argv, shells out, and parses JSON output.
|
|
18
22
|
#
|
|
19
23
|
# @example
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bsdkrun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tsiry Sandratraina
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
version: '13.0'
|
|
40
40
|
description: |
|
|
41
41
|
A thin, dependency-free Ruby wrapper around the `bsdkrun` CLI. Boot and drive
|
|
42
|
-
BSD/Linux microVMs programmatically: create sandboxes, exec commands, manage
|
|
42
|
+
BSD/Linux/unikernel microVMs programmatically: create sandboxes, exec commands, manage
|
|
43
43
|
lifecycle, and wire up global networks, volumes and images.
|
|
44
44
|
email:
|
|
45
45
|
- tsiry.sndr@gmail.com
|
|
@@ -51,15 +51,19 @@ files:
|
|
|
51
51
|
- lib/bsdkrun.rb
|
|
52
52
|
- lib/bsdkrun/args.rb
|
|
53
53
|
- lib/bsdkrun/binary.rb
|
|
54
|
+
- lib/bsdkrun/client.rb
|
|
54
55
|
- lib/bsdkrun/errors.rb
|
|
55
56
|
- lib/bsdkrun/images.rb
|
|
56
57
|
- lib/bsdkrun/networks.rb
|
|
57
58
|
- lib/bsdkrun/process.rb
|
|
58
59
|
- lib/bsdkrun/sandbox.rb
|
|
60
|
+
- lib/bsdkrun/shell_session.rb
|
|
59
61
|
- lib/bsdkrun/system.rb
|
|
60
62
|
- lib/bsdkrun/types.rb
|
|
61
63
|
- lib/bsdkrun/version.rb
|
|
62
64
|
- lib/bsdkrun/volumes.rb
|
|
65
|
+
- lib/bsdkrun/websocket_frame.rb
|
|
66
|
+
- lib/bsdkrun/ws_client.rb
|
|
63
67
|
homepage: https://github.com/tsirysndr/bsdkrun
|
|
64
68
|
licenses:
|
|
65
69
|
- MIT
|
|
@@ -83,6 +87,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
87
|
requirements: []
|
|
84
88
|
rubygems_version: 4.0.10
|
|
85
89
|
specification_version: 4
|
|
86
|
-
summary: Ruby SDK for bsdkrun — a Firecracker-style microVM launcher for BSD
|
|
87
|
-
guests.
|
|
90
|
+
summary: Ruby SDK for bsdkrun — a Firecracker-style microVM launcher for BSD, Linux,
|
|
91
|
+
and unikernel guests.
|
|
88
92
|
test_files: []
|