Commit Graph

75 Commits

Author SHA1 Message Date
Jeff Carr 08757bc315 code cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 09:19:15 -05:00
Jeff Carr cc0ca1dd7c add flags for marking droplets as archived
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 09:13:02 -05:00
Jeff Carr 1ca936e98e fixed my config after totally destroying things
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 07:26:59 -05:00
Jeff Carr e58f78eb2d rename FindDroplet() -> FindDropletByName()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 06:49:05 -05:00
Jeff Carr 67cb013c83 add time duration to cluster
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 04:52:14 -05:00
Jeff Carr 96f29d6f3b move more into add.go
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 04:29:51 -05:00
Jeff Carr c2229b65ab complies. made 'droplet.Current' for tmp data
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 04:21:46 -05:00
Jeff Carr 1352c3c49f compiles and builds
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 04:06:17 -05:00
Jeff Carr 89f0d31e0f better to store as a string
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 02:04:13 -05:00
Jeff Carr 301fbfc3b0 add droplets.LocalOnly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 01:59:18 -05:00
Jeff Carr 18053caca8 events are in cluster.E
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 18:10:40 -05:00
Jeff Carr 9608bb680f rename and rm old code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 11:06:14 -05:00
Jeff Carr 6a0d4d3e38 rename
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 11:04:55 -05:00
Jeff Carr 42e34f41cf add droplet.MarshalJSON()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 11:01:42 -05:00
Jeff Carr ae69eafee5 func for droplet migration and change state
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 05:08:31 -05:00
Jeff Carr bf46163a87 timestamp example format was wrong
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 11:03:26 -05:00
Jeff Carr 099363089b try to actually make real files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 07:49:03 -05:00
Jeff Carr eba6f5c188 filepath.Walk is overkill here
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 07:20:47 -05:00
Jeff Carr 6b5323da11 backup all the files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 06:35:37 -05:00
Jeff Carr 3a9e77a4fb backup the cluster config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 06:05:49 -05:00
Jeff Carr dc2dba2655 droplet.ForceHypervisor for binding it there
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 05:43:30 -05:00
Jeff Carr 8e33396b4a need this marshal for start
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 20:10:25 -05:00
Jeff Carr a4e6d7a58b start cleaning junk fields from config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 12:33:13 -05:00
Jeff Carr ef32a06292 virtigo compiles
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 08:54:48 -05:00
Jeff Carr e176a9b536 config files in 4 pieces for human ease of use
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 07:28:33 -05:00
Jeff Carr 32b0be6149 writes out 4 config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 06:44:44 -05:00
Jeff Carr ade54fdeda events should not be plural
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 06:01:19 -05:00
Jeff Carr a8484013dc cleaner config file handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 03:46:59 -05:00
Jeff Carr f8981ab3c1 store dirs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 00:23:26 -05:00
Jeff Carr 473729eb35 read event config maybe works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 17:01:48 -05:00
Jeff Carr 2882686caf anypb is probably overkill here
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 03:34:03 -05:00
Jeff Carr e706152207 rm old code
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 18:56:38 -05:00
Jeff Carr 954e555ac7 deprecate old experiment
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 18:22:31 -05:00
Jeff Carr 7a0925041e of course I spelled this wrong
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 17:52:46 -05:00
Jeff Carr 6de8328027 just make a .proto file for experiments
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 17:50:50 -05:00
Jeff Carr 68ffae38b7 keep and deprecate
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 17:21:40 -05:00
Jeff Carr 19a8dfe13d don't do experiements anymore in droplets.proto
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 17:12:05 -05:00
Jeff Carr 87b7bc17b3 seperate config files for droplets, hypervisors & events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 16:57:50 -05:00
Jeff Carr dac27e31b5 update thinking in the notes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 16:16:47 -05:00
Jeff Carr 5b7c1879c6 minor formating
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 16:09:39 -05:00
Jeff Carr 7a31bd08c5 add timestamp and any types
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 16:04:26 -05:00
Jeff Carr 965f0ada9c easy updates
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 15:30:51 -05:00
Jeff Carr c3aebcdcf2 switched virtigo to DropletState enum
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 19:16:22 -05:00
Jeff Carr 4404eb588d another total violation of protobuf by renumbering
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 17:39:50 -05:00
Jeff Carr 884c46a300 add qemu machine and arch
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 16:19:11 -05:00
Jeff Carr 0a9392be61 virtigo can now replace libvirt xml files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 16:06:02 -05:00
Jeff Carr f3f3ca4f11 formatting for bytes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 07:18:20 -05:00
Jeff Carr 5868daa09e update AddDroplet()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 06:37:08 -05:00
Jeff Carr 7cff6fef31 no idea the right way to do this
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 00:24:09 -05:00
Jeff Carr 2eff11bb21 notsure
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 00:20:22 -05:00