Documentation ¶
Index ¶
- Constants
- func GetSelfNamespace() string
- func GetSelfPodName() string
- func GetTargetedPods() []v1.Pod
- func GetThisNodeName(watcher *Watcher) (name string, err error)
- func GetWatchedPods() []v1.Pod
- func IsPodRunning(pod *v1.Pod) bool
- func SetTargetedPods(pods []v1.Pod)
- func SetWatchedPods(pods []v1.Pod)
- func SyncConfig(configMap *v1.ConfigMap) (*regexp.Regexp, []string)
- type Watcher
Constants ¶
View Source
const ( Black = "\033[1;30m%s\033[0m" Red = "\033[1;31m%s\033[0m" Green = "\033[1;32m%s\033[0m" Yellow = "\033[1;33m%s\033[0m" Blue = "\033[1;34m%s\033[0m" Magenta = "\033[1;35m%s\033[0m" Cyan = "\033[1;36m%s\033[0m" White = "\033[1;37m%s\033[0m" )
View Source
const ( SUFFIX_CONFIG_MAP = "config-map" CONFIG_POD_REGEX = "POD_REGEX" CONFIG_NAMESPACES = "NAMESPACES" )
View Source
const (
SELF_RESOURCES_PREFIX = "kubeshark-"
)
Variables ¶
This section is empty.
Functions ¶
func GetSelfNamespace ¶
func GetSelfNamespace() string
func GetSelfPodName ¶
func GetSelfPodName() string
func GetTargetedPods ¶
func GetThisNodeName ¶
func GetWatchedPods ¶
func IsPodRunning ¶
func SetTargetedPods ¶
func SetWatchedPods ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.