This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
automatizace:helm [2023/01/12 10:47] tomas [with] |
automatizace:helm [2024/08/13 16:16] (current) tomas [komentáře] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Bloky/Akce ===== | ===== Bloky/Akce ===== | ||
+ | |||
+ | ==== komentáře ==== | ||
+ | < | ||
+ | ==== define/ | ||
+ | definice funkce | ||
+ | < | ||
+ | velikost: .Values.obraz.velikost | ||
+ | {{- end -}} | ||
+ | obraz: {{ include " | ||
==== if ==== | ==== if ==== | ||
Line 27: | Line 36: | ||
===== Operatory ===== | ===== Operatory ===== | ||
+ | '' | ||
+ | < | ||
+ | {{- fail " | ||
+ | {{- end }}</ | ||
+ | |||
+ | ==== proměnné ==== | ||
+ | $promanna := " | ||
+ | .Value.aaa.bbb ... reference na proměnnou z values aaa.bbb\\ | ||
+ | index " | ||
+ | |||
+ | ==== seznamy - list ==== | ||
+ | splitList "/" | ||
+ | last ... vrátí poslední prvek pole/ | ||
+ | first ... vrátí první prvek pole/ | ||
+ | list $ .\\ | ||
+ | |||
+ | |||
+ | ==== logické: ==== | ||
+ | contains " | ||
+ | hasPrefix " | ||
+ | hasSuffin " | ||
+ | and () () ... logický a operátor\\ | ||
+ | or () () ... logické nebo\\ | ||
+ | not () ... negace\\ | ||
+ | ==== řetězce ==== | ||
+ | cat " | ||
+ | indent 2 ... udsadí text 2 mezerama\\ | ||
+ | nindent 4 ... udělá nový řádek a odsazení 4 mezery\\ | ||
+ | randAlphaNum uses 0-9a-zA-Z | ||
+ | randAlpha uses a-zA-Z | ||
+ | randNumeric uses 0-9 | ||
+ | randAscii uses all printable ASCII characters | ||
+ | replace " " " | ||
+ | quote ... vloží text do dvojitých uvozovek\\ | ||
+ | squote ... vloží text do jednoduchých uvozovek\\ | ||