ContainerResource.WithContainerFiles
Method
type ContainerResource interface { // ... omitted for brevity WithContainerFiles( destinationPath string, sourcePath string, options ...*ContainerFilesOptions, ) ContainerResource}Signature
method
WithContainerFiles builderCreates or updates files and folders in a container by copying them from a source path on the host.
WithContainerFiles( destinationPath string, sourcePath string, options ...*ContainerFilesOptions,) ContainerResourceParameters
destinationPath stringThe destination absolute path in the container.sourcePath stringThe source path on the host to copy files from.options...*ContainerFilesOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *ContainerFilesOptions struct.
Returns
ContainerResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: