Documentation ¶
Index ¶
- func Contains(s []string, e string) bool
- func GetFromAndToPathsFromK8s(iClient interface{}, pods []string, ...) ([]skbn.FromToPair, error)
- func GetFromAndToPathsK8sToDst(k8sClient interface{}, namespace, pod, container, path, dstBasePath string) ([]skbn.FromToPair, error)
- func GetRandString() string
- func GetReadyPods(iClient interface{}, namespace, selector string) ([]string, error)
- func GetTimeStamp() string
- func MapKeysToSlice(m map[string]string) []string
- func SliceContainsSlice(outers, inners []string) error
- func SplitInTwo(s, sep string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromAndToPathsFromK8s ¶
func GetFromAndToPathsFromK8s(iClient interface{}, pods []string, namespace, container, path, dstBasePath string) ([]skbn.FromToPair, error)
GetFromAndToPathsFromK8s aggregates paths from all pods
func GetFromAndToPathsK8sToDst ¶
func GetFromAndToPathsK8sToDst(k8sClient interface{}, namespace, pod, container, path, dstBasePath string) ([]skbn.FromToPair, error)
GetFromAndToPathsK8sToDst performs a path mapping between Kubernetes and a destination
func GetReadyPods ¶
GetReadyPods gets a list of all ready ports according to defined namespace and selector
func MapKeysToSlice ¶
MapKeysToSlice converts a map to a slice using the keys as the values
func SliceContainsSlice ¶
SliceContainsSlice verifies that outer slice contains inner slice
func SplitInTwo ¶
SplitInTwo splits a string to two parts by a delimeter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.