Commit Graph

16 Commits (59a9459d00ed7ed5f5aa668426275cfbd9bef96a)

Author SHA1 Message Date
noah metz b66fad2c8e Fixed update path and added more tests 2023-06-24 19:48:59 -06:00
noah metz 2de5276ecc Rework of graph.go and resource.go for state 2023-06-23 10:10:25 -06:00
noah metz 5cd741b42e intermediary 2023-06-22 15:50:42 -06:00
noah metz 753a5ed358 Changed resources needed by an event from a slice to a map 2023-06-21 12:26:22 -06:00
noah metz 9103b01990 Removed fmt.Printf from graph_test.go 2023-06-21 10:48:08 -06:00
noah metz e0b0cc7712 Moved manager_test.go to graph_test.go 2023-06-21 10:47:00 -06:00
noah metz 0c3193162c renamed graph_test.go to manager_test.go 2023-05-29 19:20:45 -06:00
noah metz 11bf1e5344 Split to seperate files and removed FSM libary to prepare for embedded callback mechanism 2023-05-29 19:17:52 -06:00
noah metz c06ff16fc9 Added EventQueue and added child_event_type that defines the required type of child_info. Look at how to make this not take up memory in each struct. 2023-05-08 21:42:33 -06:00
noah metz 272022629b Added TestAddEvent test 2023-04-08 16:59:36 -06:00
noah metz 81b3ab65bf Added constructor for EventManger that requires a single event with no children and a list of Resources ordered by dependency. Updated main and tests to match. 2023-04-08 16:51:34 -06:00
noah metz d4da75d6a1 Removed comment 2023-04-08 15:52:06 -06:00
noah metz 3e5b52884f Added update to lock/unlock for resource 2023-04-08 15:51:42 -06:00
noah metz 2b562abe01 Added naive locking/unlocking. Want to verify if it's possible to get into a deadlock with current implementation. 2023-04-08 15:47:51 -06:00
noah metz e4366c5bf2 Added 3rd tier to TestResourceUpdate 2023-04-08 15:26:04 -06:00
noah metz 07c78387d8 Added tests for graph.go 2023-04-08 15:23:40 -06:00