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.
Click to show internal directories.
Click to hide internal directories.