Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigSourceAnnotationKey = "kubernetes.io/config.source" ConfigMirrorAnnotationKey = v1.MirrorPodAnnotationKey ConfigFirstSeenAnnotationKey = "kubernetes.io/config.seen" ConfigHashAnnotationKey = "kubernetes.io/config.hash" )
View Source
const ( // This is the current pod configuration SET PodOperation = iota // Pods with the given ids are new to this source ADD // Pods with the given ids are gracefully deleted from this source DELETE // Pods with the given ids have been removed from this source REMOVE // Pods with the given ids have been updated in this source UPDATE // Pods with the given ids have unexpected status in this source, // kubelet should reconcile status with this source RECONCILE // Pods with the given ids have been restored from a checkpoint. RESTORE // These constants identify the sources of pods // Updates from a file FileSource = "file" // Updates from querying a web page HTTPSource = "http" // Updates from Kubernetes API Server ApiserverSource = "api" // Updates from all sources AllSource = "*" NamespaceDefault = metav1.NamespaceDefault )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerUpdate ¶
type ContainerUpdate struct { Pods []*ketiv1.Pod Op PodOperation Source string }
type PodOperation ¶
type PodOperation int
Click to show internal directories.
Click to hide internal directories.