discovery

package
v0.0.0-...-ce12dd1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerType

type ContainerType = string

ContainerType is the type of a container in a pod.

const (
	ContainerTypeStandard  ContainerType = "Container"
	ContainerTypeInit      ContainerType = "InitContainer"
	ContainerTypeEphemeral ContainerType = "EphemeralContainer"
)

type DiscoveredContainer

type DiscoveredContainer struct {
	// Name is the name of a container in a pod.
	Name string

	// Type is the ContainerType of the container in its pod.
	Type ContainerType

	// Pod is the DiscoveredPod which this container is a part of.
	Pod DiscoveredPod
}

DiscoveredContainer is a container which was observed during the discovery process.

type DiscoveredImage

type DiscoveredImage struct {
	// Image is a fully qualified container image name and tag or digest.
	Image string

	// Containers is a list of DiscoveredContainer objects which are using
	// the discovered image.
	Containers []DiscoveredContainer
}

DiscoveredImage is a container image which was discovered in one or more workloads.

type DiscoveredPod

type DiscoveredPod struct {
	// Name is the pod.metadata.name value where the image was discovered.
	Name string

	// Namespace is the pod.metadata.namespace value of the pod.
	Namespace string
}

DiscoveredPod is a pod that contains a discovered image.

type Manifest

type Manifest struct {
	DiscoveredImages []DiscoveredImage
}

Manifest represents the discovered components for a given application.

Jump to

Keyboard shortcuts

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