| Modifier and Type | Method and Description |
|---|---|
VolumeMount |
VolumeMount.withMountPath(String mountPath)
Set the path within the container where the volume should be mounted.
|
VolumeMount |
VolumeMount.withName(String name)
Set the name of the volume mount.
|
VolumeMount |
VolumeMount.withReadOnly(Boolean readOnly)
Set the flag indicating whether the volume mount is read-only.
|
| Modifier and Type | Method and Description |
|---|---|
List<VolumeMount> |
Container.volumeMounts()
Get the volume mounts available to the container instance.
|
| Modifier and Type | Method and Description |
|---|---|
Container |
Container.withVolumeMounts(List<VolumeMount> volumeMounts)
Set the volume mounts available to the container instance.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/