KubernetesResource
Handle
Represents a compute resource for Kubernetes.
type KubernetesResource interface { Resource ResourceWithParent}Properties
property
ParentKubernetesEnvironmentResource getGets the Parent property
Parent() KubernetesEnvironmentResourceMethods
method
AddManifest Adds an arbitrary Kubernetes manifest to this service's generated Helm chart for polyglot callers.
AddManifest( apiVersion string, kind string, name string, options ...*AddManifestOptions,) KubernetesManifestResourceParameters
apiVersion stringThe Kubernetes API version for the manifest.kindstringThe Kubernetes resource kind for the manifest.namestringThe Kubernetes metadata name for the manifest.options...*AddManifestOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddManifestOptions argument.
Configurefunc(obj KubernetesManifestResource) callbackA callback that configures the manifest fields.Returns
KubernetesManifestResource The added Kubernetes manifest resource.
Returns a handle; failures surface later via Err().