analysis

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagNotAvailableWarning         = "ImageStreamTagNotAvailable"
	LatestBuildFailedErr           = "LatestBuildFailed"
	MissingRequiredRegistryErr     = "MissingRequiredRegistry"
	MissingOutputImageStreamErr    = "MissingOutputImageStream"
	CyclicBuildConfigWarning       = "CyclicBuildConfig"
	MissingImageStreamTagWarning   = "MissingImageStreamTag"
	MissingImageStreamImageWarning = "MissingImageStreamImage"
)

Variables

This section is empty.

Functions

func FindCircularBuilds

func FindCircularBuilds(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

FindCircularBuilds checks all build configs for cycles

func FindMissingInputImageStreams

func FindMissingInputImageStreams(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

FindMissingInputImageStreams checks all build configs and confirms that their From element exists

Precedence of failures: 1. A build config's input points to an image stream that does not exist 2. A build config's input uses an image stream tag reference in an existing image stream, but no images within the image stream have that tag assigned 3. A build config's input uses an image stream image reference in an exisiting image stream, but no images within the image stream have the supplied image hexadecimal ID

func FindPendingTags

func FindPendingTags(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

FindPendingTags inspects all imageStreamTags that serve as outputs to builds.

Precedence of failures: 1. A build config points to the non existent tag but no current build exists. 2. A build config points to the non existent tag but the latest build has failed.

func FindUnpushableBuildConfigs

func FindUnpushableBuildConfigs(g osgraph.Graph, f osgraph.Namer) []osgraph.Marker

FindUnpushableBuildConfigs checks all build configs that will output to an IST backed by an ImageStream and checks to make sure their builds can push.

Types

This section is empty.

Jump to

Keyboard shortcuts

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