Class Binding
java.lang.Object
org.springframework.boot.buildpack.platform.docker.type.Binding
Volume bindings to apply when creating a container.
- Since:
- 2.5.0
- Author:
- Scott Frederick, Moritz Halbritter
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static Binding
Create aBinding
from the specified source and destination.static Binding
from
(VolumeName sourceVolume, String destination) Create aBinding
from the specified source and destination.int
hashCode()
static Binding
Create aBinding
with the specified value containing a host source, container destination, and options.toString()
boolean
Whether the binding uses a sensitive container path.
-
Method Details
-
equals
-
hashCode
-
toString
-
usesSensitiveContainerPath
public boolean usesSensitiveContainerPath()Whether the binding uses a sensitive container path.- Returns:
- whether the binding uses a sensitive container path
- Since:
- 3.4.0
-
of
-
from
-
from
-