{"modulePath":"github.1git.de/openshift/origin","version":"v3.6.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package graph\n\n## Constants\n\n```go\nconst (\n\t// TriggersDeploymentEdgeKind points from DeploymentConfigs to ImageStreamTags that trigger the deployment\n\tTriggersDeploymentEdgeKind = \"TriggersDeployment\"\n\t// UsedInDeploymentEdgeKind points from DeploymentConfigs to DockerImageReferences that are used in the deployment\n\tUsedInDeploymentEdgeKind = \"UsedInDeployment\"\n\t// DeploymentEdgeKind points from DeploymentConfigs to the ReplicationControllers that are fulfilling the deployment\n\tDeploymentEdgeKind = \"Deployment\"\n\t// VolumeClaimEdgeKind goes from DeploymentConfigs to PersistentVolumeClaims indicating a request for persistent storage.\n\tVolumeClaimEdgeKind = \"VolumeClaim\"\n)\n```\n\n## Functions\n\n```go\nfunc AddAllDeploymentEdges(g osgraph.MutableUniqueGraph)\n```\n\n```go\nfunc AddAllTriggerEdges(g osgraph.MutableUniqueGraph)\n```\n\n```go\nfunc AddAllVolumeClaimEdges(g osgraph.Graph)\n```\n\n```go\nfunc AddDeploymentEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode\n```\n\n```go\nfunc AddTriggerEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode\n```\nAddTriggerEdges creates edges that point to named Docker image repositories for each image used in the deployment.\n\n```go\nfunc AddVolumeClaimEdges(g osgraph.Graph, dcNode *deploygraph.DeploymentConfigNode)\n```\n\n```go\nfunc BelongsToDeploymentConfig(config *deployapi.DeploymentConfig, b *kapi.ReplicationController) bool\n```\n\n```go\nfunc RelevantDeployments(g osgraph.Graph, dcNode *deploygraph.DeploymentConfigNode) (*kubegraph.ReplicationControllerNode, []*kubegraph.ReplicationControllerNode)\n```\nRelevantDeployments returns the active deployment and a list of inactive deployments (in order from newest to oldest)\n\n## Types\n\n```go\ntype RecentDeploymentReferences []*kubegraph.ReplicationControllerNode\n```\n\n```go\nfunc (m RecentDeploymentReferences) Len() int\n```\n\n```go\nfunc (m RecentDeploymentReferences) Less(i, j int) bool\n```\n\n```go\nfunc (m RecentDeploymentReferences) Swap(i, j int)\n```\n\n","path":"github.1git.de/openshift/origin/pkg/deploy/graph","name":"graph","synopsis":"","isRedistributable":true}
