Documentation ¶
Index ¶
Constants ¶
View Source
const JsonLibName = "json"
Variables ¶
This section is empty.
Functions ¶
func DecodeValue ¶
DecodeValue converts the value to a Lua value.
This function only converts values that the encoding/json package decodes to. All other values will return lua.LNil.
Types ¶
type LuaManager ¶
type LuaManager struct{}
func (*LuaManager) RunLuaScript ¶
func (m *LuaManager) RunLuaScript(obj *unstructured.Unstructured, script string) (*lua.LState, error)
Click to show internal directories.
Click to hide internal directories.