rainbond: github.com/goodrain/rainbond/worker/util Index | Files

package util

import "github.com/goodrain/rainbond/worker/util"

Index

Package Files

pod.go thirdparty.go

func CreateEndpointsName Uses

func CreateEndpointsName(tenantName, serviceName, uuid string) string

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 Uses

func DescribePodStatus(clientset kubernetes.Interface, pod *corev1.Pod, podStatus *pb.PodStatus, f k8sutil.ListEventsByPod)

DescribePodStatus -

type PodStatusAdvice Uses

type PodStatusAdvice string

PodStatusAdvice -

var PodStatusAdviceInitiating PodStatusAdvice = "Initiating"

PodStatusAdviceInitiating -

var PodStatusAdviceOOM PodStatusAdvice = "OutOfMemory"

PodStatusAdviceOOM -

var PodStatusAdviceUnhealthy PodStatusAdvice = "Unhealthy"

PodStatusAdviceUnhealthy -

func (PodStatusAdvice) String Uses

func (p PodStatusAdvice) String() string

String converts PodStatusAdvice to string

type SortableConditionType Uses

type SortableConditionType []corev1.PodCondition

SortableConditionType implements sort.Interface for []PodCondition based on the Type field.

func (SortableConditionType) Len Uses

func (s SortableConditionType) Len() int

func (SortableConditionType) Less Uses

func (s SortableConditionType) Less(i, j int) bool

func (SortableConditionType) Swap Uses

func (s SortableConditionType) Swap(i, j int)

Package util imports 7 packages (graph) and is imported by 2 packages. Updated 2019-10-15. Refresh now. Tools for package owners.