Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Container event reason list CreatedContainer = "Created" StartedContainer = "Started" FailedToCreateContainer = "Failed" FailedToStartContainer = "Failed" KillingContainer = "Killing" BackOffStartContainer = "BackOff" ExceededGracePeriod = "ExceededGracePeriod" // Image event reason list PullingImage = "Pulling" PulledImage = "Pulled" FailedToPullImage = "Failed" FailedToInspectImage = "InspectFailed" ErrImageNeverPullPolicy = "ErrImageNeverPull" BackOffPullImage = "BackOff" // kubelet event reason list NodeReady = "NodeReady" NodeNotReady = "NodeNotReady" NodeSchedulable = "NodeSchedulable" NodeNotSchedulable = "NodeNotSchedulable" StartingKubelet = "Starting" KubeletSetupFailed = "KubeletSetupFailed" FailedDetachVolume = "FailedDetachVolume" FailedMountVolume = "FailedMount" FailedUnMountVolume = "FailedUnMount" SuccessfulDetachVolume = "SuccessfulDetachVolume" SuccessfulMountVolume = "SuccessfulMountVolume" SuccessfulUnMountVolume = "SuccessfulUnMountVolume" HostPortConflict = "HostPortConflict" NodeSelectorMismatching = "NodeSelectorMismatching" InsufficientFreeCPU = "InsufficientFreeCPU" InsufficientFreeMemory = "InsufficientFreeMemory" OutOfDisk = "OutOfDisk" HostNetworkNotSupported = "HostNetworkNotSupported" UndefinedShaper = "NilShaper" NodeRebooted = "Rebooted" ContainerGCFailed = "ContainerGCFailed" ImageGCFailed = "ImageGCFailed" // Image manager event reason list InvalidDiskCapacity = "InvalidDiskCapacity" FreeDiskSpaceFailed = "FreeDiskSpaceFailed" // Probe event reason list ContainerUnhealthy = "Unhealthy" // Pod worker event reason list FailedSync = "FailedSync" // Config event reason list FailedValidation = "FailedValidation" // Lifecycle hooks FailedPostStartHook = "FailedPostStartHook" FailedPreStopHook = "FailedPreStopHook" UnfinishedPreStopHook = "UnfinishedPreStopHook" )
Variables ¶
This section is empty.
Functions ¶
func ToObjectReference ¶
func ToObjectReference(ref *v1.ObjectReference) *clientv1.ObjectReference
ToObjectReference takes an old style object reference and converts it to a client-go one
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.