ContainerResource.WithImage
Method
type ContainerResource interface { // ... omitted for brevity WithImage( image string, options ...*WithImageOptions, ) ContainerResource}Signature
method
WithImage builderAllows overriding the image on a container.
WithImage( image string, options ...*WithImageOptions,) ContainerResourceParameters
imagestringImage value.options...*WithImageOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithImageOptions argument.
Tag*stringTag value.Returns
ContainerResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: