Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RtObjectMap is a map of resource name to respective runtime object RtObjectMap map[string]runtime.Object // ResourceGetterMap is a map of resource name to resource Getter interface ResourceGetterMap map[string]cache.Getter // AllowedEventKindsMap is a map to filter valid event kinds AllowedEventKindsMap map[EventKind]bool // AllowedEventTypesMap is a map to filter valid event types AllowedEventTypesMap map[string]bool // KubeClient is a global kubernetes client to communicate to apiserver KubeClient kubernetes.Interface )
Functions ¶
func GetObjectMetaData ¶
func GetObjectMetaData(obj interface{}) metaV1.ObjectMeta
GetObjectMetaData returns metadata of the given object
func GetObjectTypeMetaData ¶
GetObjectTypeMetaData returns typemetadata of the given object
Types ¶
Click to show internal directories.
Click to hide internal directories.