KindClusterResource
Handle
type KindClusterResource interface { IKindResource Resource ResourceWithWaitSupport}Methods
Adds a Helm chart to be deployed to the Kind cluster.
AddHelmChart( name string, chartRef string,) KindHelmChartResourceParameters
namestringThe name of the Helm release.chartRef stringChart reference passed to helm install. Any form Helm supports: OCI (oci://registry/chart ), repo (repo/chart ), or local path (./charts/my-app ).Returns
KindHelmChartResource A reference to the I.
Returns a handle; failures surface later via Err().
Adds a Kubernetes manifest to be applied to the Kind cluster via
kubectl apply.AddManifest( name string, manifestPath string,) K8sManifestResourceParameters
namestringThe name of the manifest resource.manifestPath stringAbsolute 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.Returns
K8sManifestResource A reference to the I.
Returns a handle; failures surface later via Err().
Adds Kubernetes manifest content to be applied to the Kind cluster via
kubectl apply -f - .AddManifestFromContent( name string, content string,) K8sManifestResourceParameters
namestringThe name of the manifest resource.contentstringThe Kubernetes manifest YAML content.Returns
K8sManifestResource A reference to the I.
Returns a handle; failures surface later via Err().