{"modulePath":"github.com/2lambda123/openshift-origin","version":"v1.0.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package veneers\n\n## Functions\n\n```go\nfunc CompareImagePipeline(a, b *ImagePipeline) bool\n```\n\n```go\nfunc CompareObjectMeta(a, b *kapi.ObjectMeta) bool\n```\n\n```go\nfunc UncoveredDeploymentFlowEdges(covered osgraph.NodeSet) osgraph.EdgeFunc\n```\nUncoveredDeploymentFlowEdges preserves (and duplicates) edges that were not covered by a deployment flow. As a special case, it preserves edges between Services and DeploymentConfigs.\n\n```go\nfunc UncoveredDeploymentFlowNodes(covered osgraph.NodeSet) osgraph.NodeFunc\n```\nUncoveredDeploymentFlowNodes includes nodes that either services or deployment configs, or which haven't previously been covered.\n\n## Types\n\n```go\ntype DeploymentFlow struct {\n\tDeployment *deploygraph.DeploymentConfigNode\n\tImages     []ImagePipeline\n}\n```\n\n```go\ntype DeploymentPipelineMap map[*deploygraph.DeploymentConfigNode][]ImagePipeline\n```\nDeploymentPipelineMap describes a single deployment config and the objects that contributed to that deployment.\n\n```go\nfunc DeploymentPipelines(g osgraph.Graph) (DeploymentPipelineMap, osgraph.NodeSet)\n```\nDeploymentPipelines returns a map of DeploymentConfigs to the deployment flows that create them, extracted from the provided Graph.\n\n```go\ntype ImagePipeline struct {\n\tImage ImageTagLocation\n\tBuild *buildgraph.BuildConfigNode\n\t// If set, the base image used by the build\n\tBaseImage ImageTagLocation\n\t// If set, the source repository that inputs to the build\n\tSource SourceLocation\n}\n```\nImagePipeline represents a build, its output, and any inputs. The input to a build may be another ImagePipeline.\n\n```go\nfunc ImagePipelineFromNode(g osgraph.Graph, n graph.Node, covered osgraph.NodeSet) (ImagePipeline, bool)\n```\nImagePipelineFromNode attempts to locate a build flow from the provided node. If no such build flow can be located, false is returned.\n\n```go\ntype ImageTagLocation interface {\n\tID() int\n\tImageSpec() string\n\tImageTag() string\n}\n```\nImageTagLocation identifies the source or destination of an image. Represents both a tag in a Docker image repository, as well as a tag in an OpenShift image stream.\n\n```go\ntype ServiceGroup struct {\n\tServices    []ServiceReference\n\tDeployments []DeploymentFlow\n\tBuilds      []ImagePipeline\n}\n```\nServiceGroup is a related set of resources that should be displayed together logically. They are usually sorted internally.\n\n```go\nfunc ServiceAndDeploymentGroups(g osgraph.Graph) []ServiceGroup\n```\nServiceAndDeploymentGroups breaks the provided graph of API relationships into ServiceGroup objects, ordered consistently. Groups are organized so that overlapping Services and DeploymentConfigs are part of the same group, Deployment Configs are each in their own group, and then BuildConfigs are part of the last service group.\n\n```go\ntype ServiceReference struct {\n\tService     *kubegraph.ServiceNode\n\tCoveredDCs  []*deploygraph.DeploymentConfigNode\n\tCoveredRCs  []*kubegraph.ReplicationControllerNode\n\tCoveredPods []*kubegraph.PodNode\n}\n```\nServiceReference is a service and the DeploymentConfigs it covers\n\n```go\ntype SortedDeploymentPipelines []DeploymentFlow\n```\n\n```go\nfunc (m SortedDeploymentPipelines) Len() int\n```\n\n```go\nfunc (m SortedDeploymentPipelines) Less(i, j int) bool\n```\n\n```go\nfunc (m SortedDeploymentPipelines) Swap(i, j int)\n```\n\n```go\ntype SortedImagePipelines []ImagePipeline\n```\n\n```go\nfunc (m SortedImagePipelines) Len() int\n```\n\n```go\nfunc (m SortedImagePipelines) Less(i, j int) bool\n```\n\n```go\nfunc (m SortedImagePipelines) Swap(i, j int)\n```\n\n```go\ntype SortedServiceGroups []ServiceGroup\n```\n\n```go\nfunc (m SortedServiceGroups) Len() int\n```\n\n```go\nfunc (m SortedServiceGroups) Less(i, j int) bool\n```\n\n```go\nfunc (m SortedServiceGroups) Swap(i, j int)\n```\n\n```go\ntype SortedServiceReferences []ServiceReference\n```\n\n```go\nfunc (m SortedServiceReferences) Len() int\n```\n\n```go\nfunc (m SortedServiceReferences) Less(i, j int) bool\n```\n\n```go\nfunc (m SortedServiceReferences) Swap(i, j int)\n```\n\n```go\ntype SourceLocation interface {\n\tID() int\n}\n```\nSourceLocation identifies a repository that is an input to a build.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/api/graph/veneers","name":"veneers","synopsis":"","isRedistributable":true}
