sshpiper/libplugin
Boshi Lian 14ceadb8e8
add skel plugin for code sharing (#473)
* introduce plugin skel to reuse code

* Refactor code to use libplugin.NewSkelPlugin for plugin/kubernetes/main.go
Add YAML Plugin skel.go for plugin/yaml

* Fix code scanning alert no. 6: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* fix gpt

* fjx password handling in SkelPlugin and skelpipeToWrapper

* go fmt

* Refactor Docker plugin to use skelpipe wrapper

* Refactor skel.go to use container username instead of client username

* revert yaml test order

* fix public and password mess up

* Refactor working dir to use skel

* revert deleted file

* Refactor skel.go to remove unused code and simplify MatchConn function

* Refactor skel.go to read userKnownHosts file in KnownHosts function

* remove workingdirbykey from goreleaser

* Refactor workingdir.go to use libplugin.SplitHostPortForSSH for parsing host and port

* Refactor skel.go to remove unused code and simplify MatchConn function

* merge doc into workingdir

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-24 23:15:26 -07:00
..
ioconn Add doc and tests for ioconn package (#291) 2023-12-25 15:01:40 -08:00
doc.go libplugin 2022-07-04 16:49:50 +00:00
plugin.pb.go Add PipeCreateErrorCallback to handle pipe creation errors (#290) 2023-12-24 03:54:49 -08:00
plugin.proto Add PipeCreateErrorCallback to handle pipe creation errors (#290) 2023-12-24 03:54:49 -08:00
plugin_grpc.pb.go Add PipeCreateErrorCallback to handle pipe creation errors (#290) 2023-12-24 03:54:49 -08:00
pluginbase.go fix lint (#428) 2024-08-15 00:58:08 -07:00
skel.go add skel plugin for code sharing (#473) 2024-10-24 23:15:26 -07:00
template.go Make the log formatter configurable (#371) 2024-05-08 15:11:18 -07:00
util.go add skel plugin for code sharing (#473) 2024-10-24 23:15:26 -07:00