WithLifetime
Method
func (ContainerResource) WithLifetime(lifetime ContainerLifetime) ContainerResourceSignature
method
WithLifetime builderSets the lifetime behavior of the container resource.
WithLifetime(lifetime ContainerLifetime) ContainerResourceParameters
lifetimeContainerLifetime The lifetime behavior of the container resource. The default behavior is Session.Returns
ContainerResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: