public static interface V1.LifecycleOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
V1.Handler |
getPostStart()
PostStart is called immediately after a container is created.
|
V1.HandlerOrBuilder |
getPostStartOrBuilder()
PostStart is called immediately after a container is created.
|
V1.Handler |
getPreStop()
PreStop is called immediately before a container is terminated.
|
V1.HandlerOrBuilder |
getPreStopOrBuilder()
PreStop is called immediately before a container is terminated.
|
boolean |
hasPostStart()
PostStart is called immediately after a container is created.
|
boolean |
hasPreStop()
PreStop is called immediately before a container is terminated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasPostStart()
PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler postStart = 1;V1.Handler getPostStart()
PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler postStart = 1;V1.HandlerOrBuilder getPostStartOrBuilder()
PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler postStart = 1;boolean hasPreStop()
PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler preStop = 2;V1.Handler getPreStop()
PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler preStop = 2;V1.HandlerOrBuilder getPreStopOrBuilder()
PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks +optional
optional .k8s.io.api.core.v1.Handler preStop = 2;Copyright © 2019. All rights reserved.