类 DockerSpec.DockerRegistrySpec

java.lang.Object
cn.taketoday.gradle.tasks.bundling.DockerSpec.DockerRegistrySpec
封闭类:
DockerSpec

public abstract static class DockerSpec.DockerRegistrySpec extends Object
Encapsulates Docker registry authentication configuration options.
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private boolean
    allPresent(org.gradle.api.provider.Property<?>... properties)
     
    abstract org.gradle.api.provider.Property<String>
    Returns the email address associated with the Docker registry username.
    abstract org.gradle.api.provider.Property<String>
    Returns the password to use when authenticating to the Docker registry.
    abstract org.gradle.api.provider.Property<String>
    Returns the identity token to use when authenticating to the Docker registry.
    abstract org.gradle.api.provider.Property<String>
    Returns the Docker registry URL.
    abstract org.gradle.api.provider.Property<String>
    Returns the username to use when authenticating to the Docker registry.
    (专用程序包) boolean
     
    (专用程序包) boolean
     
    (专用程序包) boolean
     
    private boolean
    nonePresent(org.gradle.api.provider.Property<?>... properties)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • DockerRegistrySpec

      public DockerRegistrySpec()
  • 方法详细资料

    • getUsername

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getUsername()
      Returns the username to use when authenticating to the Docker registry.
      返回:
      the registry username
    • getPassword

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getPassword()
      Returns the password to use when authenticating to the Docker registry.
      返回:
      the registry password
    • getUrl

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getUrl()
      Returns the Docker registry URL.
      返回:
      the registry URL
    • getEmail

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getEmail()
      Returns the email address associated with the Docker registry username.
      返回:
      the registry email address
    • getToken

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getToken()
      Returns the identity token to use when authenticating to the Docker registry.
      返回:
      the registry identity token
    • hasEmptyAuth

      boolean hasEmptyAuth()
    • nonePresent

      private boolean nonePresent(org.gradle.api.provider.Property<?>... properties)
    • hasUserAuth

      boolean hasUserAuth()
    • allPresent

      private boolean allPresent(org.gradle.api.provider.Property<?>... properties)
    • hasTokenAuth

      boolean hasTokenAuth()