kubernetes

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SelfResourcesPrefix = "kubeshark-"
)

Variables

View Source
var OverridePodTargeting bool

Functions

func IsPodRunning added in v0.6.2

func IsPodRunning(pod *v1.Pod) bool

func SetNamespaces added in v0.6.2

func SetNamespaces(namespaces []string)

func SetRegex added in v0.6.2

func SetRegex(regex *regexp.Regexp)

func StartWatching added in v0.6.2

func StartWatching(clusterMode bool, callback func() error)

func UpdateCurrentlyTargetedPods added in v0.6.2

func UpdateCurrentlyTargetedPods() error

Types

type Watcher added in v0.6.2

type Watcher struct {
	// contains filtered or unexported fields
}
var K8sWatcher *Watcher

func NewFromInCluster added in v0.6.2

func NewFromInCluster(errOut chan error, callback func() error) *Watcher

func (*Watcher) Start added in v0.6.2

func (watcher *Watcher) Start(ctx context.Context, clusterMode bool)

Jump to

Keyboard shortcuts

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