Interface Generated.EphemeralContainerOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Generated.EphemeralContainerCommon getEphemeralContainerCommon()
      Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.
      Generated.EphemeralContainerCommonOrBuilder getEphemeralContainerCommonOrBuilder()
      Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.
      String getTargetContainerName()
      If set, the name of the container from PodSpec that this ephemeral container targets.
      com.google.protobuf.ByteString getTargetContainerNameBytes()
      If set, the name of the container from PodSpec that this ephemeral container targets.
      boolean hasEphemeralContainerCommon()
      Ephemeral containers have all of the fields of Container, plus additional fields specific to ephemeral containers.
      boolean hasTargetContainerName()
      If set, the name of the container from PodSpec that this ephemeral container targets.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasEphemeralContainerCommon

        boolean hasEphemeralContainerCommon()
         Ephemeral containers have all of the fields of Container, plus additional fields
         specific to ephemeral containers. Fields in common with Container are in the
         following inlined struct so than an EphemeralContainer may easily be converted
         to a Container.
         
        optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;
        Returns:
        Whether the ephemeralContainerCommon field is set.
      • getEphemeralContainerCommon

        Generated.EphemeralContainerCommon getEphemeralContainerCommon()
         Ephemeral containers have all of the fields of Container, plus additional fields
         specific to ephemeral containers. Fields in common with Container are in the
         following inlined struct so than an EphemeralContainer may easily be converted
         to a Container.
         
        optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;
        Returns:
        The ephemeralContainerCommon.
      • getEphemeralContainerCommonOrBuilder

        Generated.EphemeralContainerCommonOrBuilder getEphemeralContainerCommonOrBuilder()
         Ephemeral containers have all of the fields of Container, plus additional fields
         specific to ephemeral containers. Fields in common with Container are in the
         following inlined struct so than an EphemeralContainer may easily be converted
         to a Container.
         
        optional .k8s.io.api.core.v1.EphemeralContainerCommon ephemeralContainerCommon = 1;
      • hasTargetContainerName

        boolean hasTargetContainerName()
         If set, the name of the container from PodSpec that this ephemeral container targets.
         The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
         If not set then the ephemeral container uses the namespaces configured in the Pod spec.
        
         The container runtime must implement support for this feature. If the runtime does not
         support namespace targeting then the result of setting this field is undefined.
         +optional
         
        optional string targetContainerName = 2;
        Returns:
        Whether the targetContainerName field is set.
      • getTargetContainerName

        String getTargetContainerName()
         If set, the name of the container from PodSpec that this ephemeral container targets.
         The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
         If not set then the ephemeral container uses the namespaces configured in the Pod spec.
        
         The container runtime must implement support for this feature. If the runtime does not
         support namespace targeting then the result of setting this field is undefined.
         +optional
         
        optional string targetContainerName = 2;
        Returns:
        The targetContainerName.
      • getTargetContainerNameBytes

        com.google.protobuf.ByteString getTargetContainerNameBytes()
         If set, the name of the container from PodSpec that this ephemeral container targets.
         The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.
         If not set then the ephemeral container uses the namespaces configured in the Pod spec.
        
         The container runtime must implement support for this feature. If the runtime does not
         support namespace targeting then the result of setting this field is undefined.
         +optional
         
        optional string targetContainerName = 2;
        Returns:
        The bytes for targetContainerName.