Documentation
¶
Index ¶
Constants ¶
View Source
const ( KindNode = "Node" KindPod = "Pod" KindService = "Service" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceMetaData ¶
type ResourceMetaData struct {
// Informers need that internal object is an ObjectMeta instance
metav1.ObjectMeta
Kind string
OwnerName string
OwnerKind string
HostName string
HostIP string
NetworkName string
IPs []string
SecondaryNetKeys []string
}
ResourceMetaData contains precollected metadata for Pods, Nodes and Services. Not all the fields are populated for all the above types. To save memory, we just keep in memory the necessary data for each Type. For more information about which fields are set for each type, please refer to the instantiation function of the respective informers.
Click to show internal directories.
Click to hide internal directories.