Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶ added in v0.9.0
RenderTemplate :using renderData got from clusterfile to render all the files in dir with ".tmpl" as suffix. The scope of renderData comes from cluster.spec.env
func WrapperShell ¶ added in v0.9.0
WrapperShell :If target host already set env like DATADISK=/data in the clusterfile, This function will WrapperShell cmd like: Input shell: cat /etc/hosts Output shell: DATADISK=/data cat /etc/hosts it is convenient for user to get env in scripts The scope of env comes from cluster.spec.env and host.env
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.