v25uninstall

package
v2.7.0-test.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveAgents

func RemoveAgents(ctx context.Context, namespace string) []k8sapi.Workload

RemoveAgents will remove the agent from all workloads in the given namespace, or in all namespaces if the given namespace is the empty string. Errors that occur during this process are logged but not considered fatal.

The function returns slice of all workloads that were found to have an agent (either by explicitly modified workload, or by annotation enablement) is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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