Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AddToManagerFuncs is a list of functions to add all Controllers to the Manager AddToManagerFuncs []func(manager.Manager) error )
Functions ¶
func AddToManager ¶
AddToManager adds all Controllers to the Manager
func WatchResourceOrStackError ¶
func WatchResourceOrStackError(controller controller.Controller, resource NamedResource, owner runtime.Object)
WatchResourceOrStackError watch the resource passed as resource and set owner as the parent
Types ¶
type NamedResource ¶
type NamedResource struct { Object interface{} Name string }
type RuntimeResource ¶
type RuntimeResource struct { Object runtime.Object types.NamespacedName }
type StaticResource ¶
type StaticResource struct { Object metav1.Object types.NamespacedName }
Click to show internal directories.
Click to hide internal directories.