Class JibPluginConfiguration.CredHelperParameters

  • All Implemented Interfaces:
    com.google.cloud.tools.jib.plugins.common.RawConfiguration.CredHelperConfiguration
    Enclosing class:
    JibPluginConfiguration

    public static class JibPluginConfiguration.CredHelperParameters
    extends java.lang.Object
    implements com.google.cloud.tools.jib.plugins.common.RawConfiguration.CredHelperConfiguration
    Configuration for [from|to].credHelper parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getEnvironment()  
      java.util.Optional<java.lang.String> getHelperName()  
      void set​(java.lang.String helper)
      Default setter for Maven.
      void setHelper​(java.lang.String helper)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CredHelperParameters

        public CredHelperParameters()
    • Method Detail

      • getHelperName

        public java.util.Optional<java.lang.String> getHelperName()
        Specified by:
        getHelperName in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration.CredHelperConfiguration
      • getEnvironment

        public java.util.Map<java.lang.String,​java.lang.String> getEnvironment()
        Specified by:
        getEnvironment in interface com.google.cloud.tools.jib.plugins.common.RawConfiguration.CredHelperConfiguration
      • setHelper

        public void setHelper​(@Nullable
                              java.lang.String helper)
      • set

        public void set​(@Nullable
                        java.lang.String helper)
        Default setter for Maven. Makes this syntax possible:
        
         <configuration>
           <to>
             ...
             <credHelper>ecr-login</credHelper>
             ...
           </to>
         </configuration>
         
        Parameters:
        helper - the credential helper