Pin
e4d58ff94b
testing
2024-05-21 21:08:35 -04:00
Pin
fdd643c528
efhjksedjksejkn.fk
2024-05-14 22:31:05 -04:00
Pin
81bc834b26
yes i try i
2024-05-14 22:09:54 -04:00
e4d2076fa2
Send message to a worker
2024-04-04 22:59:10 -04:00
3f8bd314b6
Make a frontend in front of an actor
2024-03-30 17:14:49 -04:00
8be9dfc093
Add a clean target
2024-03-30 16:18:47 -04:00
f11569691f
Move build target to first target
...
This makes it so you can just run make to build both the client and the daemon.
2024-03-30 16:18:33 -04:00
873ed765f4
Do not modify the argument we are given.
...
By duplicating it, we make it so popping frames off the message does not modify the argument.
This make sure the value remains useful to the caller.
2024-03-07 18:50:47 -05:00
2493f8916a
Update usage
...
Tell users they should specify the name for an image.
2024-03-07 18:42:05 -05:00
bc7ccbd805
Move function implementations out of the header file.
2024-03-06 23:32:07 -05:00
5f98d369fa
Prefix libguestfs-inspect functions with guestfs_inspect_.
...
The functions are also made non-static.
This is in preparation to moving the header function implementations to a .c file.
2024-03-06 23:32:07 -05:00
1d17e047b7
Add header guard to libguestfs-inspect.h
2024-03-06 23:22:29 -05:00
3c9564cb3e
Use environment variable for the socket.
...
The default behavior is to create a socket file at /tmp/guestfs-inspect.sock.
If XDG_RUNTIME_DIR is set, that will be used instead of /tmp.
One could instead specify GUESTFS_INSPECT_ENDPOINT, which requires the full endpoint, as specified by: https://libzmq.readthedocs.io/en/zeromq3-x/zmq_connect.html
You will likely want to use ipc://, but you can probably use tcp:// or (e)pgm:// if that is appropriate.
2024-03-06 23:22:29 -05:00
ba3ac50325
Remove unused include
2024-03-06 19:25:05 -05:00
465d6f0cd4
Set workdir in the Dockerfile
2024-03-06 19:24:34 -05:00
1378a5a31a
Free the worker
2024-03-06 19:24:34 -05:00
Pin
46d9500d3a
small fix
2024-03-05 20:40:11 -05:00
Pin
20fc94fb35
testing errors
2024-03-03 18:46:41 -05:00
c6f9204014
Cat seems to hang forever
2024-03-03 17:43:58 -05:00
6700d98ad6
Fully branch cat and ls
2024-03-03 17:41:06 -05:00
49b9f43c76
Initial branching by command in the client
2024-03-03 17:23:54 -05:00
ebc07d0cf7
Add common support for cat command.
2024-03-03 17:19:11 -05:00
75139f709d
Start branching based on the command type
2024-03-03 17:15:03 -05:00
1e5357c4cf
Added destroy command function
2024-03-03 17:14:43 -05:00
7d9c451799
Resolve leaks in the client
2024-03-03 17:02:24 -05:00
a7992436b1
Replace multi-worker attempt with simple single worker
...
Get things working before scaling it up
2024-03-03 16:54:02 -05:00
e94211e5f4
Cleanup socket
2024-03-03 16:52:47 -05:00
2b4aa5cbaf
Add message to show the number of paths sent to the worker to ls
2024-03-03 16:51:03 -05:00
bdf9fc7718
Fix error reading from the wrong msg object
2024-03-03 16:50:45 -05:00
b99513c8b3
Fix serialization
...
Was putting new data in the front of the message instead of the end.
This mismatched with how I was deserializing the messages
2024-03-03 16:50:45 -05:00
32a03a3895
Add message to show when the daemon is ready
2024-03-03 16:50:45 -05:00
16e95af02a
Serialize struct from the client
2024-03-03 16:48:44 -05:00
a4b56107aa
Add deserialize function
2024-03-03 16:09:58 -05:00
8a814b1d93
Add basic serialization of the message
2024-03-03 15:57:53 -05:00
9422f77119
Update struct to use pointers instead of flexible length structs
2024-03-03 15:46:18 -05:00
859ee90048
Send message from daemon to client
2024-03-03 15:41:10 -05:00
83f62dc217
Remove router loop
2024-03-03 15:35:11 -05:00
ea58a6ebd3
Do not use redundant pointer to pointer
2024-03-03 15:22:36 -05:00
eaf8dde6c3
Do not use draft API
2024-03-03 15:22:15 -05:00
26af0a5a5d
trying to use the draft api to get router ids
2024-03-03 15:18:18 -05:00
187acad82a
Trying to send a reply string from the worker
2024-03-03 15:18:18 -05:00
d6c57e9e32
Automatically select the first worker for development
2024-03-03 14:19:32 -05:00
07ee70b002
Add print statements for debugging
2024-03-03 14:16:51 -05:00
d60c0d419b
Add debug flag
2024-03-03 02:05:33 -05:00
ec9a78a459
Send the message and get the reply
2024-03-03 02:05:33 -05:00
2c4cb0e235
Uncomment worker loop
2024-03-03 02:05:33 -05:00
fd2ee16f79
Renamed enum
2024-03-03 02:05:33 -05:00
44a5f6773c
Build command object
2024-03-03 02:05:33 -05:00
Pin
d01a6e593a
Merge branch 'dev' of https://git.robbyzambito.me/robby/guestfs-inspect into dev
2024-03-03 01:13:14 -05:00
Pin
2505662cfb
breaking out init_guestfs and cat_file
2024-03-03 01:12:59 -05:00