Class StringSource

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<StringSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class StringSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<StringSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    StringSource allows specifying a string inline, or externally via env var or file. When it contains only a string value, it marshals to a simple JSON string.
    See Also:
    Serialized Form
    • Constructor Detail

      • StringSource

        public StringSource()
        No args constructor for use in serialization
    • Method Detail

      • getEnv

        public String getEnv()
        env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.
      • setEnv

        public void setEnv​(String env)
        env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.
      • getFile

        public String getFile()
        file references a file containing the cleartext value, or an encrypted value if a keyFile is specified.
      • setFile

        public void setFile​(String file)
        file references a file containing the cleartext value, or an encrypted value if a keyFile is specified.
      • getKeyFile

        public String getKeyFile()
        keyFile references a file containing the key to use to decrypt the value.
      • setKeyFile

        public void setKeyFile​(String keyFile)
        keyFile references a file containing the key to use to decrypt the value.
      • getValue

        public String getValue()
        value specifies the cleartext value, or an encrypted value if keyFile is specified.
      • setValue

        public void setValue​(String value)
        value specifies the cleartext value, or an encrypted value if keyFile is specified.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)