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, Corneil du Plessis
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultContainerImageMetadataResolver
(org.springframework.cloud.dataflow.container.registry.ContainerRegistryService containerRegistryService) -
Method Summary
-
Constructor Details
-
DefaultContainerImageMetadataResolver
public DefaultContainerImageMetadataResolver(org.springframework.cloud.dataflow.container.registry.ContainerRegistryService containerRegistryService)
-
-
Method Details
-
getImageLabels
- Specified by:
getImageLabels
in interfaceContainerImageMetadataResolver
- Parameters:
imageName
- container image name- Returns:
- Returns map of all image configuration labels.
-