IKindResource.WithNodeMount
Method
type IKindResource interface { // ... omitted for brevity WithNodeMount( hostPath string, containerPath string, options ...*WithNodeMountOptions, ) IKindResource}Signature
method
WithNodeMount builderAdds an extra host mount to every Kind node container.
WithNodeMount( hostPath string, containerPath string, options ...*WithNodeMountOptions,) IKindResourceParameters
hostPath stringThe path on the host. Relative paths are resolved against the AppHost directory before being written to the Kind config.containerPath stringThe absolute path inside the Kind node container.options...*WithNodeMountOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithNodeMountOptions argument.
ReadOnly *booltrue to mount the path read-only.Returns
IKindResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: