Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct { Path string Executable bool HookConfig HookConfig Session *gexec.Session }
func GetAllHooks ¶
FIXME use addon-operator’s methods to discover all hooks.
func (*Hook) ExecuteGetConfig ¶
type HookConfig ¶
type HookConfig struct {
JSON string
}
func (*HookConfig) Array ¶
func (hc *HookConfig) Array() []gjson.Result
func (*HookConfig) Parse ¶
func (hc *HookConfig) Parse() gjson.Result
func (*HookConfig) String ¶
func (hc *HookConfig) String() string
Click to show internal directories.
Click to hide internal directories.