package
23.10.11+incompatible
Repository: https://github.com/projecteru2/cli.git
Documentation: pkg.go.dev
# Functions
EnvParser .
ExitCoder wraps a cli Action function into a function with ExitCoder interface.
GenerateFileOptions returns file options.
GetHostname .
GetNetworks returns a networkmode -> ip map.
GetSpecFromRemote gets specs from a remote position.
NewCoreRPCClient returns an RPC client to use it actually wraps the GetRPCClient method.
ParseExtraResources .
ParseRAMInHuman returns int value in bytes of a human readable string e.g.
ReadAllFiles open each pair in files and returns a map with key as dstfile, value as linux file files: list of srcfile:dstfile:mode:uid:gid.
SplitEquality transfers a list of aaa=bbb, xxx=yyy into {aaa:bbb, xxx:yyy}.
SplitFiles transfers a list of src:dst to {src: dst}.