Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEndpointsName ¶
CreateEndpointsName creates name for third-party endpoints the names of Kubernetes resources should be up to maximum length of 253 characters and consist of lower case alphanumeric characters, -, and ., but certain resources have more specific restrictions.
func DescribePodStatus ¶
func DescribePodStatus(clientset kubernetes.Interface, pod *corev1.Pod, podStatus *pb.PodStatus, f k8sutil.ListEventsByPod)
DescribePodStatus -
Types ¶
type PodStatusAdvice ¶
type PodStatusAdvice string
PodStatusAdvice -
var PodStatusAdviceInitiating PodStatusAdvice = "Initiating"
PodStatusAdviceInitiating -
var PodStatusAdviceOOM PodStatusAdvice = "OutOfMemory"
PodStatusAdviceOOM -
var PodStatusAdviceUnhealthy PodStatusAdvice = "Unhealthy"
PodStatusAdviceUnhealthy -
func (PodStatusAdvice) String ¶
func (p PodStatusAdvice) String() string
String converts PodStatusAdvice to string
type SortableConditionType ¶
type SortableConditionType []corev1.PodCondition
SortableConditionType implements sort.Interface for []PodCondition based on the Type field.
func (SortableConditionType) Len ¶
func (s SortableConditionType) Len() int
func (SortableConditionType) Less ¶
func (s SortableConditionType) Less(i, j int) bool
func (SortableConditionType) Swap ¶
func (s SortableConditionType) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.