package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Functions
AddTriggerDeploymentConfigsEdges creates edges that point to named Docker image repositories for each image used in the deployment.
DeploymentConfigHasTrigger returns a function that can identify the image for each container.
EachTemplateImage iterates a pod spec, looking for triggers that match each container and invoking fn with each located image.
IgnoreTriggers ignores the triggers.
RelevantDeployments returns the active deployment and a list of inactive deployments (in order from newest to oldest).
TemplateImageForContainer locates the requested container in a pod spec, returning information about the trigger (if it exists), or an error.
# Constants
DeploymentEdgeKind points from DeploymentConfigs to the ReplicationControllers that are fulfilling the deployment.
ManagedByControllerEdgeKind goes from Pod to controller when the Pod satisfies a controller's label selector.
TriggersDeploymentEdgeKind points from DeploymentConfigs to ImageStreamTags that trigger the deployment.
UsedInDeploymentEdgeKind points from DeploymentConfigs to DockerImageReferences that are used in the deployment.
VolumeClaimEdgeKind goes from DeploymentConfigs to PersistentVolumeClaims indicating a request for persistent storage.
# Structs
TemplateImage is a structure for helping a caller iterate over a PodSpec.
# Type aliases
TriggeredByFunc returns a TemplateImage or error from the provided container.