WithNodeMount
Method
func (IKindResource) WithNodeMount( hostPath string, containerPath string, options ...*WithNodeMountOptions,) IKindResourceSignature
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().
Applies to
This method applies to the following types: