guardship 0.0.55-arm64-linux
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +79 -0
- data/exe/mothership +0 -0
- metadata +51 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: d06fef469cda648c578c8ec8ca1cbd4923fb79957173218be51351d87c688413
|
|
4
|
+
data.tar.gz: 9a3b01391f0089d2ea8b7f085849376122a9decdcc3c1890c8bbb260968eb8c5
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 474626f754d8aafd074889945654e560903cbb5cb3dc5d4c31dc64aa735ed8190d98f503227553ef348a73ad5c15f7796a04d0bab23f936967526aa3776076ea
|
|
7
|
+
data.tar.gz: 2af1c74aff6ebd4b6d9366d67813fd4e009c5e612e56f99a74ff7b8f25deedf098c3d71a29508b769c3353865b217126a3e10b90ba1a78e8fc451d041556d194
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Abdelkader Boudih
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Guardship
|
|
2
|
+
|
|
3
|
+
Precompiled binary distribution of [Mothership](https://github.com/seuros/mothership) - a process supervisor with HTTP exposure.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
gem install guardship
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Binary Variants
|
|
12
|
+
|
|
13
|
+
Guardship provides **4 binary variants** to minimize attack surface. Each variant includes only the features you need:
|
|
14
|
+
|
|
15
|
+
| Command | Features | Use Case | Attack Surface |
|
|
16
|
+
|---------|----------|----------|----------------|
|
|
17
|
+
| `mothership` | Minimal (core only) | Basic process supervision | **Smallest** - no PostgreSQL or WASM dependencies |
|
|
18
|
+
| `mothership-pg` | PostgreSQL coordination | Flagship mode with leader election | Adds tokio-postgres, excludes WASM |
|
|
19
|
+
| `mothership-wasm` | WASM plugin support | Custom WASM modules | Adds wasmtime, excludes PostgreSQL |
|
|
20
|
+
| `mothership-full` | All features | Full capabilities | **Largest** - includes all dependencies |
|
|
21
|
+
|
|
22
|
+
### Security Benefits
|
|
23
|
+
|
|
24
|
+
**Granular binaries reduce your exposure to vulnerabilities:**
|
|
25
|
+
|
|
26
|
+
- **CVE in wasmtime?** Only affects `mothership-wasm` and `mothership-full`
|
|
27
|
+
- **Bug in tokio-postgres?** Only affects `mothership-pg` and `mothership-full`
|
|
28
|
+
- **Running `mothership` (minimal)?** Immune to vulnerabilities in both PostgreSQL and WASM dependencies
|
|
29
|
+
|
|
30
|
+
This approach follows the **principle of least privilege** - only include code you actually use.
|
|
31
|
+
|
|
32
|
+
## Usage
|
|
33
|
+
|
|
34
|
+
### Basic Process Supervision
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Minimal variant (no PostgreSQL, no WASM)
|
|
38
|
+
mothership --config mothership.toml
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### PostgreSQL Flagship Coordination
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# PostgreSQL variant (leader election, multi-instance)
|
|
45
|
+
mothership-pg --config mothership.toml
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### WASM Plugin Support
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# WASM variant (custom plugins)
|
|
52
|
+
mothership-wasm --config mothership.toml
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### All Features
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Full variant (PostgreSQL + WASM)
|
|
59
|
+
mothership-full --config mothership.toml
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Supported Platforms
|
|
63
|
+
|
|
64
|
+
- Linux: x86_64, ARM64
|
|
65
|
+
- macOS: x86_64 (Intel), ARM64 (Apple Silicon)
|
|
66
|
+
|
|
67
|
+
All binaries are precompiled and ready to use - no compilation required.
|
|
68
|
+
|
|
69
|
+
## Documentation
|
|
70
|
+
|
|
71
|
+
For full documentation, configuration examples, and advanced usage:
|
|
72
|
+
|
|
73
|
+
- [Main Repository](https://github.com/seuros/mothership)
|
|
74
|
+
- [Configuration Guide](https://github.com/seuros/mothership#configuration)
|
|
75
|
+
- [API Documentation](https://docs.rs/mothership)
|
|
76
|
+
|
|
77
|
+
## License
|
|
78
|
+
|
|
79
|
+
MIT
|
data/exe/mothership
ADDED
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: guardship
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.55
|
|
5
|
+
platform: arm64-linux
|
|
6
|
+
authors:
|
|
7
|
+
- Abdelkader Boudih
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: exe
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-01-12 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: 'Process supervisor with HTTP exposure - wrap, monitor, and expose your
|
|
14
|
+
fleet. For minimal builds: cargo install mothership --no-default-features'
|
|
15
|
+
email:
|
|
16
|
+
- oss@seuros.com
|
|
17
|
+
executables:
|
|
18
|
+
- mothership
|
|
19
|
+
extensions: []
|
|
20
|
+
extra_rdoc_files: []
|
|
21
|
+
files:
|
|
22
|
+
- LICENSE
|
|
23
|
+
- README.md
|
|
24
|
+
- exe/mothership
|
|
25
|
+
homepage: https://github.com/seuros/mothership
|
|
26
|
+
licenses:
|
|
27
|
+
- BSD-3-Clause
|
|
28
|
+
metadata:
|
|
29
|
+
homepage_uri: https://github.com/seuros/mothership
|
|
30
|
+
source_code_uri: https://github.com/seuros/mothership
|
|
31
|
+
changelog_uri: https://github.com/seuros/mothership/blob/master/CHANGELOG.md
|
|
32
|
+
post_install_message:
|
|
33
|
+
rdoc_options: []
|
|
34
|
+
require_paths:
|
|
35
|
+
- lib
|
|
36
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ">="
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
requirements: []
|
|
47
|
+
rubygems_version: 3.5.22
|
|
48
|
+
signing_key:
|
|
49
|
+
specification_version: 4
|
|
50
|
+
summary: Process supervisor with HTTP exposure
|
|
51
|
+
test_files: []
|