public class DockerResourceLoader extends Object implements org.springframework.core.io.ResourceLoader
ResourceLoader that loads DockerResources from locations of the format
docker:<repository>:<tag> where the value for "repository:tag" conforms to the rules
for referencing Docker images.| Constructor and Description |
|---|
DockerResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the
ClassLoader for this ResourceLoader. |
org.springframework.core.io.Resource |
getResource(String location)
Returns a
DockerResource for the provided location. |
public org.springframework.core.io.Resource getResource(String location)
DockerResource for the provided location.getResource in interface org.springframework.core.io.ResourceLoaderlocation - the image location. May optionally be preceded by
followed by a colon, e.g. docker:springcloud/app-name:tagDockerResourcepublic ClassLoader getClassLoader()
ClassLoader for this ResourceLoader.getClassLoader in interface org.springframework.core.io.ResourceLoaderCopyright © 2019 Pivotal Software, Inc.. All rights reserved.