util

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString added in v0.10.0

func ContainsString(slice []string, s string) bool

func DeleteResourceOfPod added in v0.10.0

func DeleteResourceOfPod(pod *corev1.Pod)

func GetMountPathOfPod added in v0.10.7

func GetMountPathOfPod(pod corev1.Pod) (string, string, error)

func GetReferenceKey added in v0.10.7

func GetReferenceKey(target string) string

func IsPodError added in v0.10.0

func IsPodError(pod *corev1.Pod) bool

func IsPodHasResource added in v0.10.0

func IsPodHasResource(pod corev1.Pod) bool

func IsPodReady added in v0.10.0

func IsPodReady(pod *corev1.Pod) bool

func IsPodResourceError added in v0.10.0

func IsPodResourceError(pod *corev1.Pod) bool

func ParseEndpoint

func ParseEndpoint(endpoint string) (string, string, error)

func ParseMntPath added in v0.10.7

func ParseMntPath(cmd string) (string, string, error)

ParseMntPath return mntPath, volumeId (/jfs/volumeId, volumeId err)

Types

This section is empty.

Jump to

Keyboard shortcuts

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