Commit Graph

27 Commits

Author SHA1 Message Date
2d7edca680 moving log to custom simplelog 2024-04-03 23:44:01 -06:00
6522b08704 update go.mod and go.sum 2024-04-02 12:50:11 -06:00
6b90de66a5 adding functionality to commands 2024-03-31 04:17:00 -06:00
ebbb4ebb49 adding functionality to commands 2024-03-29 20:05:51 -06:00
ece374d1a9 add subcommands for clustctl daemon
- start: starts the clustvirt daemon
- stop: stops the clustvirt daemon
- restart: first stops then starts the daemon
- reload: attempt to reload the clustvirt configuration after making changes
2024-03-29 19:28:06 -06:00
68c2c29fa9 add cobra for cli management 2024-03-29 14:48:21 -06:00
5dfffc496b merge migrate_chi_to_new_nethttp
no longer using chi for routing
2024-03-25 15:33:04 -06:00
8e62f7e271 merge migrate_to_libvirtxml
completed migration to libvirtxml
2024-03-23 22:05:06 -06:00
48bdc94351 merge barnch switch_to_templ
- Moved to templ for templating
- Started adding cluster statistics
2024-03-19 09:13:44 -06:00
6e0198de35 fixed list icons
- instead of trying to change their colors in css, i created new svgs based on the ones I wanted
2024-03-14 01:54:41 -06:00
c170739128 remove resized svgs. It was only the viewbox 2024-03-13 22:38:35 -06:00
fada05c56d add icons for tailwind
- svg icons from heroicons.com
- add Type to String map for:
  - StoragePoolState
  - StorageVolType
- default icons are sized 24x24
  - added 36x36, 48x48, 64x64
- adding styling to home.gohtml homepage
2024-03-13 22:21:01 -06:00
2419d5d3a6 add basic chi http server
- added air to reload the server on changes automatically
- added tailwindcss
- added base page structure in html using _index, _header and _footer
- added static homepage
- added style.css built by tailwindcss
- added basic View object to control views and templates
2024-03-13 19:12:48 -06:00
f96a911722 host will now load VM data
- All host node info is done using goroutines to speed up the process as much as possible
- The vast majority of data is stored at this point
  - Need to work out refreshes, using either polling or events
2024-03-12 22:17:42 -06:00
899a80f2e5 make file naming consistent 2024-03-12 10:34:16 -06:00
bb9feaef44 properly stubbed each library so it will compile 2024-03-12 10:33:14 -06:00
1bfdaf28c7 Add file stubs, add comments to guide dev in host
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2024-03-12 01:38:29 -06:00
b5ab70fc25 getting host data before each vm on host data
- Hostdata is useful
2024-03-11 23:35:32 -06:00
00758af30b Now pulling VM data from named VMs
- Next is to get the list and setting the information using go routines for each VM
2024-03-11 19:39:17 -06:00
5b16a75bdf refactor from all in main to lib
- lib/guest is for managing, displaying, etc. virtual machines
- lib/host is the same for hosts
2024-03-11 12:48:14 -06:00
4ecf05bf82 Adding basic wrappers
- Wrapper for Host connection called Host
  - Allows for easier usage of the API
- Wrapper for Domains called GuestVM, which pulls VM information and allows
  other functionality in a better way
2024-03-10 20:32:11 -06:00
bab4f2506b Added ability to check domains on host
super simple example to show it can work
2024-03-10 00:15:49 -07:00
9ce8b81e06 update README.md
- Discovered simplest method of quorum
  - if the controller can't reach a host, it's down
2024-03-09 23:54:40 -07:00
user_name
6a6d0d2f21 Add git-lfs
Signed-off-by: user_name <user_email>
2024-03-09 23:24:29 -07:00
user_name
5731493f1d Update README.md
Signed-off-by: user_name <user_email>
2024-03-09 23:18:31 -07:00
d7dffa395c Already have a readme locally, so I'm removing this one in favour of that one
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2024-03-09 23:17:47 -07:00
254ff5bc4b Initial commit 2024-03-09 23:17:16 -07:00