package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Functions
AddAllExposedPodEdges calls AddExposedPodEdges for every ServiceNode in the graph.
AddAllExposedPodTemplateSpecEdges calls AddExposedPodTemplateSpecEdges for every ServiceNode in the graph.
AddAllManagedByControllerPodEdges calls AddManagedByControllerPodEdges for every node in the graph TODO: should do this through an interface (selects pods).
AddExposedPodEdges ensures that a directed edge exists between a service and all the pods in the graph that match the service selector.
AddExposedPodTemplateSpecEdges ensures that a directed edge exists between a service and all the PodTemplateSpecs in the graph that match the service selector.
AddManagedByControllerPodEdges ensures that a directed edge exists between a controller and all the pods in the graph that match the label selector.
RelevantDeployments returns the active deployment and a list of inactive deployments (in order from newest to oldest).
# Constants
DeploymentEdgeKind points from Deployment to the ReplicaSet that are fulfilling the deployment.
ExposedThroughServiceEdgeKind goes from a PodTemplateSpec or a Pod to Service.
MountableSecretEdgeKind goes from ServiceAccount to Secret indicating that the SA allows the Secret to be mounted.
MountedSecretEdgeKind goes from PodSpec to Secret indicating that is or will be a request to mount a volume with the Secret.
ReferencedServiceAccountEdgeKind goes from PodSpec to ServiceAccount indicating that Pod is or will be running as the SA.
ScalingEdgeKind goes from HorizontalPodAutoscaler to scaled objects indicating that the HPA scales the object.
TriggersDeploymentEdgeKind points from DeploymentConfigs to ImageStreamTags that trigger the deployment.
UsedInDeploymentEdgeKind points from DeploymentConfigs to DockerImageReferences that are used in the deployment.