graph

package
v3.7.0-0.119.0+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TriggersDeploymentEdgeKind points from DeploymentConfigs to ImageStreamTags that trigger the deployment
	TriggersDeploymentEdgeKind = "TriggersDeployment"
	// UsedInDeploymentEdgeKind points from DeploymentConfigs to DockerImageReferences that are used in the deployment
	UsedInDeploymentEdgeKind = "UsedInDeployment"
	// DeploymentEdgeKind points from DeploymentConfigs to the ReplicationControllers that are fulfilling the deployment
	DeploymentEdgeKind = "Deployment"
	// VolumeClaimEdgeKind goes from DeploymentConfigs to PersistentVolumeClaims indicating a request for persistent storage.
	VolumeClaimEdgeKind = "VolumeClaim"
)

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 AddAllVolumeClaimEdges added in v1.4.0

func AddAllVolumeClaimEdges(g osgraph.Graph)

func AddTriggerEdges

AddTriggerEdges creates edges that point to named Docker image repositories for each image used in the deployment.

func AddVolumeClaimEdges added in v1.4.0

func AddVolumeClaimEdges(g osgraph.Graph, dcNode *deploygraph.DeploymentConfigNode)

func BelongsToDeploymentConfig added in v1.0.2

func BelongsToDeploymentConfig(config *deployapi.DeploymentConfig, b *kapi.ReplicationController) bool

func RelevantDeployments added in v1.0.2

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 (RecentDeploymentReferences) Less

func (m RecentDeploymentReferences) Less(i, j int) bool

func (RecentDeploymentReferences) Swap

func (m RecentDeploymentReferences) Swap(i, j int)

Directories

Path Synopsis
Package analysis provides functions that analyse deployment configurations and setup markers that will be reported by oc status
Package analysis provides functions that analyse deployment configurations and setup markers that will be reported by oc status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL