KindClusterResource.AddManifest

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
type KindClusterResource interface {
// ... omitted for brevity
AddManifest(
name string,
manifestPath string,
) K8sManifestResource
}

Signature

methodAddManifestbuilder
Adds a Kubernetes manifest to be applied to the Kind cluster via kubectl apply.
AddManifest(
name string,
manifestPath string,
) K8sManifestResource
namestringThe name of the manifest resource.
manifestPathstringAbsolute path to a Kubernetes manifest file, a directory of manifest files, or a Kustomize overlay directory. Relative paths are not supported. URL fetch is not supported; reference a local file or directory.
K8sManifestResource

A reference to the IResourceBuilder.

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

Defined on

This method is defined on the following type: