k8s

package
v3.20.13 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CelEnvOption = []cel.EnvOption{}
View Source
var TestHealthy = `` /* 481-byte string literal not displayed */
View Source
var TestLuaStatus = `` /* 737-byte string literal not displayed */
View Source
var TestProgressing = `` /* 357-byte string literal not displayed */
View Source
var TestUnhealthy = `` /* 2449-byte string literal not displayed */

Functions

func GetStatus

func GetStatus(in interface{}) string

func GetUnstructured

func GetUnstructured(in interface{}) *unstructured.Unstructured

func GetUnstructuredMap

func GetUnstructuredMap(in interface{}) []byte

func IsHealthy

func IsHealthy(in interface{}) bool

Types

type HealthStatus

type HealthStatus struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	OK      bool   `json:"ok"`
}

func GetHealth

func GetHealth(in interface{}) HealthStatus

Jump to

Keyboard shortcuts

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