Package k8s.io.api.core.v1
Interface Generated.LifecycleHandlerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.LifecycleHandler,Generated.LifecycleHandler.Builder
- Enclosing class:
- Generated
public static interface Generated.LifecycleHandlerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.ExecActiongetExec()Exec specifies a command to execute in the container.Generated.ExecActionOrBuildergetExecOrBuilder()Exec specifies a command to execute in the container.Generated.HTTPGetActiongetHttpGet()HTTPGet specifies an HTTP GET request to perform.Generated.HTTPGetActionOrBuildergetHttpGetOrBuilder()HTTPGet specifies an HTTP GET request to perform.Generated.SleepActiongetSleep()Sleep represents a duration that the container should sleep.Generated.SleepActionOrBuildergetSleepOrBuilder()Sleep represents a duration that the container should sleep.Generated.TCPSocketActiongetTcpSocket()Deprecated.Generated.TCPSocketActionOrBuildergetTcpSocketOrBuilder()Deprecated.booleanhasExec()Exec specifies a command to execute in the container.booleanhasHttpGet()HTTPGet specifies an HTTP GET request to perform.booleanhasSleep()Sleep represents a duration that the container should sleep.booleanhasTcpSocket()Deprecated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExec
boolean hasExec()
Exec specifies a command to execute in the container. +optional
optional .k8s.io.api.core.v1.ExecAction exec = 1;- Returns:
- Whether the exec field is set.
-
getExec
Generated.ExecAction getExec()
Exec specifies a command to execute in the container. +optional
optional .k8s.io.api.core.v1.ExecAction exec = 1;- Returns:
- The exec.
-
getExecOrBuilder
Generated.ExecActionOrBuilder getExecOrBuilder()
Exec specifies a command to execute in the container. +optional
optional .k8s.io.api.core.v1.ExecAction exec = 1;
-
hasHttpGet
boolean hasHttpGet()
HTTPGet specifies an HTTP GET request to perform. +optional
optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;- Returns:
- Whether the httpGet field is set.
-
getHttpGet
Generated.HTTPGetAction getHttpGet()
HTTPGet specifies an HTTP GET request to perform. +optional
optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;- Returns:
- The httpGet.
-
getHttpGetOrBuilder
Generated.HTTPGetActionOrBuilder getHttpGetOrBuilder()
HTTPGet specifies an HTTP GET request to perform. +optional
optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;
-
hasTcpSocket
boolean hasTcpSocket()
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified. +optional
optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;- Returns:
- Whether the tcpSocket field is set.
-
getTcpSocket
Generated.TCPSocketAction getTcpSocket()
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified. +optional
optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;- Returns:
- The tcpSocket.
-
getTcpSocketOrBuilder
Generated.TCPSocketActionOrBuilder getTcpSocketOrBuilder()
Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified. +optional
optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;
-
hasSleep
boolean hasSleep()
Sleep represents a duration that the container should sleep. +featureGate=PodLifecycleSleepAction +optional
optional .k8s.io.api.core.v1.SleepAction sleep = 4;- Returns:
- Whether the sleep field is set.
-
getSleep
Generated.SleepAction getSleep()
Sleep represents a duration that the container should sleep. +featureGate=PodLifecycleSleepAction +optional
optional .k8s.io.api.core.v1.SleepAction sleep = 4;- Returns:
- The sleep.
-
getSleepOrBuilder
Generated.SleepActionOrBuilder getSleepOrBuilder()
Sleep represents a duration that the container should sleep. +featureGate=PodLifecycleSleepAction +optional
optional .k8s.io.api.core.v1.SleepAction sleep = 4;
-
-