WithContainerFiles
Method
func (ContainerResource) WithContainerFiles( destinationPath string, sourcePath string, options ...*ContainerFilesOptions,) ContainerResourceSignature
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().
Applies to
This method applies to the following types: