org.springframework.cloud.dataflow.configuration.metadata.container

## Class DefaultContainerImageMetadataResolver

- java.lang.Object
- - org.springframework.cloud.dataflow.configuration.metadata.container.DefaultContainerImageMetadataResolver

- All Implemented Interfaces:
    ContainerImageMetadataResolver

      public class DefaultContainerImageMetadataResolver
      extends Object
      implements ContainerImageMetadataResolver

  Leverages the Docker Registry HTTP V2 API to retrieve the configuration object and the labels form the specified image.
  Author:
    Christian Tzolov, Ilayaperumal Gopinathan

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultContainerImageMetadataResolver(org.springframework.cloud.dataflow.container.registry.ContainerRegistryService containerRegistryService)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,String>` | `getImageLabels(String imageName)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultContainerImageMetadataResolver

          public DefaultContainerImageMetadataResolver(org.springframework.cloud.dataflow.container.registry.ContainerRegistryService containerRegistryService)

  - ### Method Detail

    - #### getImageLabels

          public Map<String,String> getImageLabels(String imageName)

      Specified by:
        `getImageLabels` in interface `ContainerImageMetadataResolver`
      Parameters:
        `imageName` - container image name
      Returns:
        Returns map of all image configuration labels.

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.