Interface V1.SecretProjectionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getItems(int index)
    If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
    int
    If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
    If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
    getItemsOrBuilder(int index)
    If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
    If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
    optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    boolean
    Specify whether the Secret or its key must be defined +optional
    boolean
    optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    boolean
    Specify whether the Secret or its key must be defined +optional

    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

    • hasLocalObjectReference

      boolean hasLocalObjectReference()
      optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    • getLocalObjectReference

      V1.LocalObjectReference getLocalObjectReference()
      optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    • getLocalObjectReferenceOrBuilder

      V1.LocalObjectReferenceOrBuilder getLocalObjectReferenceOrBuilder()
      optional .k8s.io.api.core.v1.LocalObjectReference localObjectReference = 1;
    • getItemsList

      List<V1.KeyToPath> getItemsList()
       If unspecified, each key-value pair in the Data field of the referenced
       Secret will be projected into the volume as a file whose name is the
       key and content is the value. If specified, the listed keys will be
       projected into the specified paths, and unlisted keys will not be
       present. If a key is specified which is not present in the Secret,
       the volume setup will error unless it is marked optional. Paths must be
       relative and may not contain the '..' path or start with '..'.
       +optional
       
      repeated .k8s.io.api.core.v1.KeyToPath items = 2;
    • getItems

      V1.KeyToPath getItems(int index)
       If unspecified, each key-value pair in the Data field of the referenced
       Secret will be projected into the volume as a file whose name is the
       key and content is the value. If specified, the listed keys will be
       projected into the specified paths, and unlisted keys will not be
       present. If a key is specified which is not present in the Secret,
       the volume setup will error unless it is marked optional. Paths must be
       relative and may not contain the '..' path or start with '..'.
       +optional
       
      repeated .k8s.io.api.core.v1.KeyToPath items = 2;
    • getItemsCount

      int getItemsCount()
       If unspecified, each key-value pair in the Data field of the referenced
       Secret will be projected into the volume as a file whose name is the
       key and content is the value. If specified, the listed keys will be
       projected into the specified paths, and unlisted keys will not be
       present. If a key is specified which is not present in the Secret,
       the volume setup will error unless it is marked optional. Paths must be
       relative and may not contain the '..' path or start with '..'.
       +optional
       
      repeated .k8s.io.api.core.v1.KeyToPath items = 2;
    • getItemsOrBuilderList

      List<? extends V1.KeyToPathOrBuilder> getItemsOrBuilderList()
       If unspecified, each key-value pair in the Data field of the referenced
       Secret will be projected into the volume as a file whose name is the
       key and content is the value. If specified, the listed keys will be
       projected into the specified paths, and unlisted keys will not be
       present. If a key is specified which is not present in the Secret,
       the volume setup will error unless it is marked optional. Paths must be
       relative and may not contain the '..' path or start with '..'.
       +optional
       
      repeated .k8s.io.api.core.v1.KeyToPath items = 2;
    • getItemsOrBuilder

      V1.KeyToPathOrBuilder getItemsOrBuilder(int index)
       If unspecified, each key-value pair in the Data field of the referenced
       Secret will be projected into the volume as a file whose name is the
       key and content is the value. If specified, the listed keys will be
       projected into the specified paths, and unlisted keys will not be
       present. If a key is specified which is not present in the Secret,
       the volume setup will error unless it is marked optional. Paths must be
       relative and may not contain the '..' path or start with '..'.
       +optional
       
      repeated .k8s.io.api.core.v1.KeyToPath items = 2;
    • hasOptional

      boolean hasOptional()
       Specify whether the Secret or its key must be defined
       +optional
       
      optional bool optional = 4;
    • getOptional

      boolean getOptional()
       Specify whether the Secret or its key must be defined
       +optional
       
      optional bool optional = 4;