We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e26894e commit d0b4fd2Copy full SHA for d0b4fd2
1 file changed
types.lua
@@ -0,0 +1,22 @@
1
+---@class LuaShipStartProps
2
+---@class flags string[]
3
+---@class volumes string[]string[]
4
+---@class command string
5
+
6
7
+---@class LuaShipMachine
8
+---@field provider "podman"| "docker"
9
+---@field docker_file string
10
+---@field add_comptime_command fun(command:string)
11
+---@field copy fun(host_data:string,dest_data:string)
12
+---@field env fun(name:string,value:string)
13
+---@field save_to_file fun(filename:string)
14
+---@field start fun(props:LuaShipStartProps)
15
16
17
+---@class LuaShip
18
+---@field create_machine fun(distro:string):LuaShipMachine
19
+---@field open fun(filename:string,mode:string)
20
+---@field os_execute fun(command:string):boolean
21
+---@field os_remove fun(filename:string)
22
+---@field error fun(errror:string)
0 commit comments