Interface V1.DownwardAPIVolumeFileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.DownwardAPIVolumeFile, V1.DownwardAPIVolumeFile.Builder
Enclosing class:
V1

public static interface V1.DownwardAPIVolumeFileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
    Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
    int
    Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
    Required: Path is the relative path name of the file to be created.
    com.google.protobuf.ByteString
    Required: Path is the relative path name of the file to be created.
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
    boolean
    Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
    boolean
    Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
    boolean
    Required: Path is the relative path name of the file to be created.
    boolean
    Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

    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 Details

    • hasPath

      boolean hasPath()
       Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
       
      optional string path = 1;
    • getPath

      String getPath()
       Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
       
      optional string path = 1;
    • getPathBytes

      com.google.protobuf.ByteString getPathBytes()
       Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
       
      optional string path = 1;
    • hasFieldRef

      boolean hasFieldRef()
       Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;
    • getFieldRef

      V1.ObjectFieldSelector getFieldRef()
       Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;
    • getFieldRefOrBuilder

      V1.ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
       Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;
    • hasResourceFieldRef

      boolean hasResourceFieldRef()
       Selects a resource of the container: only resources limits and requests
       (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
       +optional
       
      optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;
    • getResourceFieldRef

      V1.ResourceFieldSelector getResourceFieldRef()
       Selects a resource of the container: only resources limits and requests
       (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
       +optional
       
      optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;
    • getResourceFieldRefOrBuilder

      V1.ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
       Selects a resource of the container: only resources limits and requests
       (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
       +optional
       
      optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;
    • hasMode

      boolean hasMode()
       Optional: mode bits used to set permissions on this file, must be an octal value
       between 0000 and 0777 or a decimal value between 0 and 511.
       YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
       If not specified, the volume defaultMode will be used.
       This might be in conflict with other options that affect the file
       mode, like fsGroup, and the result can be other mode bits set.
       +optional
       
      optional int32 mode = 4;
    • getMode

      int getMode()
       Optional: mode bits used to set permissions on this file, must be an octal value
       between 0000 and 0777 or a decimal value between 0 and 511.
       YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
       If not specified, the volume defaultMode will be used.
       This might be in conflict with other options that affect the file
       mode, like fsGroup, and the result can be other mode bits set.
       +optional
       
      optional int32 mode = 4;