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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUpdate 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
-
Method Details
-
getLabels
Return the image labels. If the image has no labels, an emptyMapis returned.- Returns:
- the image labels, never
null
-
getEnv
Return the image environment variables. If the image has no environment variables, an emptyMapis 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
-