Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // WrapperShell :If host already set env like DATADISK=/data // This function add env to the shell, like: // Input shell: cat /etc/hosts // Output shell: DATADISK=/data cat /etc/hosts // So that you can get env values in you shell script WrapperShell(host, shell string) string // RenderAll :render env to all the files in dir RenderAll(host, dir string) error }
func NewEnvProcessor ¶
Click to show internal directories.
Click to hide internal directories.