WithClusterLifetime
Method
func (IKindResource) WithClusterLifetime(lifetime ClusterLifetime) IKindResourceSignature
method
WithClusterLifetime builderSets the cluster lifetime. When
Session (the default), the cluster is deleted on graceful shutdown or other process-exit signals on a best-effort basis. When Persistent, the cluster survives AppHost restarts and is reused on next startup.WithClusterLifetime(lifetime ClusterLifetime) IKindResourceParameters
lifetimeClusterLifetime The desired cluster lifetime.Returns
IKindResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: