Documentation
¶
Index ¶
- func ContainsString(slice []string, s string) bool
- func DirExists(path string) bool
- func FileExists(filepath string) bool
- func Fill(src interface{}, dst interface{}) error
- func GetPodSource(pod *v1.Pod) (string, error)
- func IsStaticPod(pod *v1.Pod) bool
- func MapEqualMap(src, dst map[string]string) bool
- func PartitionName(lv string) string
- func SliceEqualSlice(src, dst []string) bool
- func SliceMergeSlice(src []string, dst []string) []string
- func SliceRemoveString(slice []string, s string) (result []string)
- func SliceSubSlice(src []string, dst []string) []string
- func UntilMaxRetry(f func() error, maxRetry int, interval time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
func FileExists ¶
FileExists checks if a file exists and is not a directory
func GetPodSource ¶ added in v0.11.0
GetPodSource returns the source of the pod based on the annotation.
func IsStaticPod ¶ added in v0.11.0
IsStaticPod returns true if the pod is a static pod.
func MapEqualMap ¶
func PartitionName ¶ added in v0.10.0
func SliceEqualSlice ¶
func SliceMergeSlice ¶
func SliceRemoveString ¶
func SliceSubSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.