类 ImageConfig

java.lang.Object
cn.taketoday.buildpack.platform.json.MappedObject
cn.taketoday.buildpack.platform.docker.type.ImageConfig

public class ImageConfig extends MappedObject
Image configuration information.
从以下版本开始:
4.0
作者:
Phillip Webb, Andy Wilkinson
  • 字段详细资料

  • 构造器详细资料

    • ImageConfig

      ImageConfig(JsonNode node)
  • 方法详细资料

    • extractLabels

      private Map<String,String> extractLabels()
    • parseConfigEnv

      private Map<String,String> parseConfigEnv()
    • getNodeCopy

      JsonNode getNodeCopy()
    • getLabels

      public Map<String,String> getLabels()
      Return the image labels. If the image has no labels, an empty Map is returned.
      返回:
      the image labels, never null
    • getEnv

      public Map<String,String> getEnv()
      Return the image environment variables. If the image has no environment variables, an empty Map is returned.
      返回:
      the env, never null
    • copy

      public ImageConfig copy(Consumer<ImageConfig.Update> update)
      Create an updated copy of this image config.
      参数:
      update - consumer to apply updates
      返回:
      an updated image config