util

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllContainerNamesWithGroups

func AllContainerNamesWithGroups(containers []*model.Container) []string

AllContainerNamesWithGroups lists the names of all containers and optionally includes the k8s container name as well as any group names a container belongs to.

func AllPods

func AllPods(containers []*model.Container) []string

AllPods returns the names of all k8s pods the specified containers belong to (if any).

func FindContainer

func FindContainer(allnetns network.NetworkNamespaces, name string, typ string) *model.Container

FindContainer returns the container matching the specified name and type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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