Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddManifestFromContent

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
func (KindClusterResource) AddManifestFromContent(
name string,
content string,
) K8sManifestResource

Signature

methodAddManifestFromContentbuilder
Adds Kubernetes manifest content to be applied to the Kind cluster via kubectl apply -f -.
AddManifestFromContent(
name string,
content string,
) K8sManifestResource
namestringThe name of the manifest resource.
contentstringThe Kubernetes manifest YAML content.
K8sManifestResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types: