Documentation ¶
Index ¶
- Constants
- func AddAllDeploymentEdges(g osgraph.MutableUniqueGraph)
- func AddAllTriggerEdges(g osgraph.MutableUniqueGraph)
- func AddDeploymentEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode
- func AddTriggerEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode
- func BelongsToDeploymentConfig(config *deployapi.DeploymentConfig, b *kapi.ReplicationController) bool
- func RelevantDeployments(g osgraph.Graph, dcNode *deploygraph.DeploymentConfigNode) (*kubegraph.ReplicationControllerNode, []*kubegraph.ReplicationControllerNode)
- type RecentDeploymentReferences
Constants ¶
View Source
const ( TriggersDeploymentEdgeKind = "TriggersDeployment" UsedInDeploymentEdgeKind = "UsedInDeployment" DeploymentEdgeKind = "Deployment" )
Variables ¶
This section is empty.
Functions ¶
func AddAllDeploymentEdges ¶ added in v1.0.2
func AddAllDeploymentEdges(g osgraph.MutableUniqueGraph)
func AddAllTriggerEdges ¶
func AddAllTriggerEdges(g osgraph.MutableUniqueGraph)
func AddDeploymentEdges ¶ added in v1.0.2
func AddDeploymentEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode
func AddTriggerEdges ¶
func AddTriggerEdges(g osgraph.MutableUniqueGraph, node *deploygraph.DeploymentConfigNode) *deploygraph.DeploymentConfigNode
AddTriggerEdges creates edges that point to named Docker image repositories for each image used in the deployment.
func BelongsToDeploymentConfig ¶ added in v1.0.2
func BelongsToDeploymentConfig(config *deployapi.DeploymentConfig, b *kapi.ReplicationController) bool
func RelevantDeployments ¶ added in v1.0.2
func RelevantDeployments(g osgraph.Graph, dcNode *deploygraph.DeploymentConfigNode) (*kubegraph.ReplicationControllerNode, []*kubegraph.ReplicationControllerNode)
RelevantDeployments returns the active deployment and a list of inactive deployments (in order from newest to oldest)
Types ¶
type RecentDeploymentReferences ¶
type RecentDeploymentReferences []*kubegraph.ReplicationControllerNode
func (RecentDeploymentReferences) Len ¶
func (m RecentDeploymentReferences) Len() int
func (RecentDeploymentReferences) Less ¶
func (m RecentDeploymentReferences) Less(i, j int) bool
func (RecentDeploymentReferences) Swap ¶
func (m RecentDeploymentReferences) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.