MCPcopy Create free account
hub / github.com/flant/shell-operator / NewHookController

Function NewHookController

pkg/hook/controller/hook_controller.go:41–43  ·  view source on GitHub ↗

This object needs to be placed in each hook. After calling With*Bindings and InitBindingsControllers For kube, HandleEnableKubernetesBindings needs to be called to get lists of existing objects and then StartMonitors All Handle* methods accept a callback to create tasks independently. The Kubernetes

()

Source from the content-addressed store, hash-verified

39// them to some binding context
40
41func NewHookController() *HookController {
42 return &HookController{}
43}
44
45type HookController struct {
46 KubernetesController KubernetesBindingsController

Callers 3

wireHookControllerMethod · 0.92
RunMethod · 0.92
Test_UpdateSnapshotsFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_UpdateSnapshotsFunction · 0.68