KindDeployedResource.WithNamespace

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
type KindDeployedResource interface {
// ... omitted for brevity
WithNamespace(namespace string) KindDeployedResource
}

Signature

methodWithNamespacebuilder
Sets the Kubernetes namespace for the deployment.
WithNamespace(namespace string) KindDeployedResource
namespacestringThe Kubernetes namespace.
KindDeployedResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: