health

package
v0.11.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceHealth added in v0.11.0

func GetResourceHealth(obj *unstructured.Unstructured) (*appv1.HealthStatus, error)

GetResourceHealth returns the health of a k8s resource

func IsWorse

func IsWorse(current, new appv1.HealthStatusCode) bool

IsWorse returns whether or not the new health status code is a worser condition than the current

func SetApplicationHealth added in v0.11.0

func SetApplicationHealth(resStatuses []appv1.ResourceStatus, liveObjs []*unstructured.Unstructured) (*appv1.HealthStatus, error)

SetApplicationHealth updates the health statuses of all resources performed in the comparison

Types

This section is empty.

Jump to

Keyboard shortcuts

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