Class ImageConfig
java.lang.Object
org.springframework.boot.buildpack.platform.json.MappedObject
org.springframework.boot.buildpack.platform.docker.type.ImageConfig
Image configuration information.
- Since:
- 2.3.0
- Author:
- Phillip Webb, Andy Wilkinson
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Update class used to change data when creating a copy.Nested classes/interfaces inherited from class org.springframework.boot.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C>
-
Method Summary
Methods inherited from class org.springframework.boot.buildpack.platform.json.MappedObject
childrenAt, getNode, getRoot, of, of, of, valueAt, valueAt
-
Method Details
-
getLabels
Return the image labels. If the image has no labels, an emptyMap
is returned.- Returns:
- the image labels, never
null
-
getEnv
Return the image environment variables. If the image has no environment variables, an emptyMap
is returned.- Returns:
- the env, never
null
-
copy
Create an updated copy of this image config.- Parameters:
update
- consumer to apply updates- Returns:
- an updated image config
-