Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegisterFunc = func(config *go_hook.HookConfig, reconcileFunc reconcileFunc) bool { Registry().Add(newCommonGoHook(config, reconcileFunc)) return true }
Functions ¶
func FromUnstructured ¶
func FromUnstructured(unstructuredObj *unstructured.Unstructured, obj interface{}) error
func ToUnstructured ¶
func ToUnstructured(obj interface{}) (*unstructured.Unstructured, error)
Types ¶
type HookRegistry ¶
type HookRegistry struct {
// contains filtered or unexported fields
}
func Registry ¶
func Registry() *HookRegistry
func (*HookRegistry) Add ¶
func (h *HookRegistry) Add(hook go_hook.GoHook)
func (*HookRegistry) Hooks ¶
func (h *HookRegistry) Hooks() []HookWithMetadata
type HookWithMetadata ¶
type HookWithMetadata struct { Hook go_hook.GoHook Metadata *go_hook.HookMetadata }
Click to show internal directories.
Click to hide internal directories.