analysis

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	MissingImageStreamErr        = "MissingImageStream"
	MissingImageStreamTagWarning = "MissingImageStreamTag"
	MissingReadinessProbeWarning = "MissingReadinessProbe"

	SingleHostVolumeWarning = "SingleHostVolume"
	MissingPVCWarning       = "MissingPersistentVolumeClaim"
)

Variables

This section is empty.

Functions

func FindDeploymentConfigReadinessWarnings

func FindDeploymentConfigReadinessWarnings(g osgraph.Graph, f osgraph.Namer, setProbeCommand string) []osgraph.Marker

FindDeploymentConfigReadinessWarnings inspects deploymentconfigs and reports those that don't have readiness probes set up.

func FindDeploymentConfigTriggerErrors

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

FindDeploymentConfigTriggerErrors checks for possible failures in deployment config image change triggers.

Precedence of failures: 1. The image stream for the tag of interest does not exist. 2. The image stream tag does not exist.

func FindPersistentVolumeClaimWarnings

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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