Documentation ¶
Index ¶
- Constants
- func AddAllExposedPodEdges(g osgraph.MutableUniqueGraph)
- func AddAllExposedPodTemplateSpecEdges(g osgraph.MutableUniqueGraph)
- func AddAllManagedByRCPodEdges(g osgraph.MutableUniqueGraph)
- func AddAllMountableSecretEdges(g osgraph.Graph)
- func AddAllMountedSecretEdges(g osgraph.Graph)
- func AddAllRequestedServiceAccountEdges(g osgraph.Graph)
- func AddExposedPodEdges(g osgraph.MutableUniqueGraph, node *kubegraph.ServiceNode)
- func AddExposedPodTemplateSpecEdges(g osgraph.MutableUniqueGraph, node *kubegraph.ServiceNode)
- func AddManagedByRCPodEdges(g osgraph.MutableUniqueGraph, rcNode *kubegraph.ReplicationControllerNode)
- func AddMountableSecretEdges(g osgraph.Graph, saNode *kubegraph.ServiceAccountNode)
- func AddMountedSecretEdges(g osgraph.Graph, podSpec *kubegraph.PodSpecNode)
- func AddRequestedServiceAccountEdges(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode)
Constants ¶
const ( // ExposedThroughServiceEdgeKind goes from a PodTemplateSpec or a Pod to Service. The head should make the service's selector. ExposedThroughServiceEdgeKind = "ExposedThroughService" // ManagedByRCEdgeKind goes from Pod to ReplicationController when the Pod satisfies the ReplicationController's label selector ManagedByRCEdgeKind = "ManagedByRC" // MountedSecretEdgeKind goes from PodSpec to Secret indicating that is or will be a request to mount a volume with the Secret. MountedSecretEdgeKind = "MountedSecret" // MountableSecretEdgeKind goes from ServiceAccount to Secret indicating that the SA allows the Secret to be mounted MountableSecretEdgeKind = "MountableSecret" // ReferencedServiceAccountEdgeKind goes from PodSpec to ServiceAccount indicating that Pod is or will be running as the SA. ReferencedServiceAccountEdgeKind = "ReferencedServiceAccount" )
Variables ¶
This section is empty.
Functions ¶
func AddAllExposedPodEdges ¶
func AddAllExposedPodEdges(g osgraph.MutableUniqueGraph)
AddAllExposedPodEdges calls AddExposedPodEdges for every ServiceNode in the graph
func AddAllExposedPodTemplateSpecEdges ¶
func AddAllExposedPodTemplateSpecEdges(g osgraph.MutableUniqueGraph)
AddAllExposedPodTemplateSpecEdges calls AddExposedPodTemplateSpecEdges for every ServiceNode in the graph
func AddAllManagedByRCPodEdges ¶ added in v1.0.2
func AddAllManagedByRCPodEdges(g osgraph.MutableUniqueGraph)
AddAllManagedByRCPodEdges calls AddManagedByRCPodEdges for every ServiceNode in the graph
func AddAllMountableSecretEdges ¶ added in v1.0.2
func AddAllMountedSecretEdges ¶ added in v1.0.2
func AddAllRequestedServiceAccountEdges ¶ added in v1.0.2
func AddExposedPodEdges ¶
func AddExposedPodEdges(g osgraph.MutableUniqueGraph, node *kubegraph.ServiceNode)
AddExposedPodEdges ensures that a directed edge exists between a service and all the pods in the graph that match the service selector
func AddExposedPodTemplateSpecEdges ¶
func AddExposedPodTemplateSpecEdges(g osgraph.MutableUniqueGraph, node *kubegraph.ServiceNode)
AddExposedPodTemplateSpecEdges ensures that a directed edge exists between a service and all the PodTemplateSpecs in the graph that match the service selector
func AddManagedByRCPodEdges ¶ added in v1.0.2
func AddManagedByRCPodEdges(g osgraph.MutableUniqueGraph, rcNode *kubegraph.ReplicationControllerNode)
AddManagedByRCPodEdges ensures that a directed edge exists between an RC and all the pods in the graph that match the label selector
func AddMountableSecretEdges ¶ added in v1.0.2
func AddMountableSecretEdges(g osgraph.Graph, saNode *kubegraph.ServiceAccountNode)
func AddMountedSecretEdges ¶ added in v1.0.2
func AddMountedSecretEdges(g osgraph.Graph, podSpec *kubegraph.PodSpecNode)
func AddRequestedServiceAccountEdges ¶ added in v1.0.2
func AddRequestedServiceAccountEdges(g osgraph.Graph, podSpecNode *kubegraph.PodSpecNode)
Types ¶
This section is empty.