Documentation ¶
Index ¶
- func CreateOrUpdateService(c client.Client, service *corev1.Service) error
- func GetPodReadyCondition(status corev1.PodStatus) *corev1.PodCondition
- func IsPodNotAvailable(pod *corev1.Pod, minNotReadySeconds int32) bool
- func IsPodReady(pod *corev1.Pod) bool
- func IsPodReadyConditionTrue(status corev1.PodStatus) bool
- func LoadYamlTemplate(fname string) (str string, err error)
- func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateService ¶ added in v0.6.0
func GetPodReadyCondition ¶ added in v0.5.8
func GetPodReadyCondition(status corev1.PodStatus) *corev1.PodCondition
GetPodReadyCondition extracts the pod ready condition from the given status and returns that. Returns nil if the condition is not present.
func IsPodNotAvailable ¶ added in v0.5.8
func IsPodReady ¶ added in v0.5.8
IsPodReady returns true if a pod is ready; false otherwise.
func IsPodReadyConditionTrue ¶ added in v0.5.8
IsPodReadyConditionTrue returns true if a pod is ready; false otherwise.
func LoadYamlTemplate ¶
func ParseTemplate ¶
ParseTemplate validates and parses passed as argument template.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.