Documentation
¶
Index ¶
- func ContainsString(slice []string, s string) bool
- func DeleteResourceOfPod(pod *corev1.Pod)
- func GetMountPathOfPod(pod corev1.Pod) (string, string, error)
- func GetReferenceKey(target string) string
- func GetTime(str string) (time.Time, error)
- func GetTimeAfterDelay(delayStr string) (string, error)
- func IsJobCompleted(job *batchv1.Job) bool
- func IsJobFailed(job *batchv1.Job) bool
- func IsPodError(pod *corev1.Pod) bool
- func IsPodHasResource(pod corev1.Pod) bool
- func IsPodReady(pod *corev1.Pod) bool
- func IsPodResourceError(pod *corev1.Pod) bool
- func ParseEndpoint(endpoint string) (string, string, error)
- func ParseMntPath(cmd string) (string, string, error)
- func QuoteForShell(cmd string) string
- func ShouldDelay(pod *corev1.Pod, Client *k8s.K8sClient) (shouldDelay bool, err error)
- func StripPasswd(uri string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶ added in v0.10.0
func DeleteResourceOfPod ¶ added in v0.10.0
func GetMountPathOfPod ¶ added in v0.10.7
func GetReferenceKey ¶ added in v0.10.7
func GetTimeAfterDelay ¶ added in v0.13.0
GetTimeAfterDelay get time which after delay
func IsJobCompleted ¶ added in v0.13.0
func IsJobFailed ¶ added in v0.13.0
func IsPodError ¶ added in v0.10.0
func IsPodHasResource ¶ added in v0.10.0
func IsPodReady ¶ added in v0.10.0
func IsPodResourceError ¶ added in v0.10.0
func ParseMntPath ¶ added in v0.10.7
ParseMntPath return mntPath, volumeId (/jfs/volumeId, volumeId err)
func QuoteForShell ¶ added in v0.13.0
func ShouldDelay ¶ added in v0.13.0
func StripPasswd ¶ added in v0.13.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.