Skip to content

Commit 26a56ec

Browse files
committed
Added simple Dashboard UI
1 parent ca7347e commit 26a56ec

Some content is hidden

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

69 files changed

+11356
-499
lines changed

.air.toml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Config file for [Air](https://github.com/cosmtrek/air) in TOML format
2+
3+
# Working directory
4+
# . or absolute path, please note that the directories following must be under root.
5+
root = "."
6+
tmp_dir = "tmp"
7+
8+
[build]
9+
# Just plain old shell command. You could use `make` as well.
10+
cmd = "go build -o ./tmp/main ./web/main.go"
11+
# Binary file yields from `cmd`.
12+
bin = "tmp/main"
13+
# Customize binary.
14+
full_bin = "APP_ENV=dev APP_USER=air ./tmp/main"
15+
# Watch these filename extensions.
16+
include_ext = ["go", "tpl", "tmpl", "html"]
17+
# Ignore these filename extensions or directories.
18+
exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules", "logs"]
19+
# Watch these directories if you specified.
20+
include_dir = []
21+
# Exclude files.
22+
exclude_file = []
23+
# This log file places in your tmp_dir.
24+
log = "air.log"
25+
# It's not necessary to trigger build each time file changes if it's too frequent.
26+
delay = 1000 # ms
27+
# Stop running old binary when build errors occur.
28+
stop_on_error = true
29+
# Send Interrupt signal before killing process (windows does not support this feature)
30+
send_interrupt = false
31+
# Delay after sending Interrupt signal
32+
kill_delay = 500 # ms
33+
34+
[log]
35+
# Show log time
36+
time = false
37+
38+
[color]
39+
# Customize each part's color. If no color found, use the raw app log.
40+
main = "magenta"
41+
watcher = "cyan"
42+
build = "yellow"
43+
runner = "green"
44+
45+
[misc]
46+
# Delete tmp directory on exit
47+
clean_on_exit = true

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313

1414
# Dependency directories (remove the comment below to include it)
1515
# vendor/
16+
# Database
17+
*.db
18+
# tmp builds by air
19+
tmp
20+
logs

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# reka
2+
> Never forget that instance running again
3+
24
A Cloud Infrastructure Management Tool to stop, resume, clean and destroy resources based on tags
35

46
### Project Name
@@ -12,13 +14,17 @@ Currently Supports:
1214
### TODO
1315
- [x] Bootstrap application architecture
1416
- [x] get resources with specified tags for destruction
15-
- [ ] Add Resource Manager Dependencies
1617
- [ ] Schedule tasks for destruction
17-
- [ ] Expose API
18-
- [ ] Create CLI to interact with API
19-
- [ ] Create GUI to interact with API
18+
- [ ] Create Web Dashboard
19+
- [ ] Allow users to specify tags/resources to track from reka UI with reaping Details
20+
- [ ] Support Manual Trigger of resources reaping from Dashboard/CLI
21+
- [ ] Allow authentication username and password set in config file
22+
- [ ] Create Kubernetes Manifests and Helm Charts
23+
- [ ] Create CLI
2024

2125
#### AWS
26+
- [x] EC2: Stop|Resume| Destroy
27+
- [x] S3: Destroy
2228
- [ ] EKS : Stop|Resume: by Resizing | Destroy
2329
- [ ] RDS : Stop | resume | Destroy
2430
- [ ] EBS : Destroy | Unused EBS Volumes

api/main.go

-34
This file was deleted.

cmd/cleanup.go

-61
This file was deleted.

cmd/root.go

-94
This file was deleted.

0 commit comments

Comments
 (0)