package
1.9.0-alpha.1
Repository: https://github.com/easeway/kubernetes.git
Documentation: pkg.go.dev

# Functions

ConvertToTimestamp takes a string, parses it using the RFC3339Nano layout, and converts it to a Timestamp object.
No description provided by the author
No description provided by the author
No description provided by the author
GetPodSource returns the source of the pod based on the annotation.
No description provided by the author
Gets all validated sources from the specified sources.
IsCritical returns true if parameters bear the critical pod annotation key.
IsCriticalPod returns true if the pod bears the critical pod annotation key.
NewTimestamp returns a Timestamp object using the current time.
SortInitContainerStatuses ensures that statuses are in the order that their init container appears in the pod spec.

# Constants

Pods with the given ids are new to this source.
Updates from all sources.
Updates from Kubernetes API Server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pods with the given ids are gracefully deleted from this source.
different container runtimes.
These constants identify the sources of pods Updates from a file.
Updates from querying a web page.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pods with the given ids have unexpected status in this source, kubelet should reconcile status with this source.
No description provided by the author
Pods with the given ids have been removed from this source.
system default DNS resolver configuration.
No description provided by the author
This is the current pod configuration.
SyncPodCreate is when the pod is created from source.
SyncPodKill is when the pod is killed based on a trigger internal to the kubelet for eviction.
SyncPodSync is when the pod is synced to ensure desired state.
SyncPodUpdate is when the pod is updated from source.
Pods with the given ids have been updated in this source.

# Structs

PodUpdate defines an operation sent on the channel.
Reservation represents reserved resources for non-pod components.
Timestamp wraps around time.Time and offers utilities to format and parse the time using RFC3339Nano.

# Interfaces

No description provided by the author

# Type aliases

A pod UID for a mirror pod.
PodOperation defines what changes will be made on a pod configuration.
A pod UID which has been translated/resolved to the representation known to kubelets.
A type to help sort container statuses based on container names.
SyncPodType classifies pod updates, eg: create, update.