K3sServiceEndpointResource
Handle
interface K3sServiceEndpointResource extends IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, K3sClusterResource]], IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringEnvironmentVariable: string; readonly connectionStringExpression: ReferenceExpression; hostPort: number; readonly namespace: string; readonly parent: K3sClusterResource; readonly serviceName: string; readonly servicePort: number;}8 members
Properties
property
connectionStringEnvironmentVariable stringgetThe environment variable name used to inject the service URL into dependents (`services__{name}__url`), following the Aspire service-discovery convention.
property
connectionStringExpression ReferenceExpression getGets the manifest expression for the service URL. Resolves to `http(s)://localhost:{hostPort}` when the endpoint is ready.
property
hostPort numberget · setGets the host port bound by the port-forward listener.
property
namespacestringgetGets the Kubernetes namespace that contains the Service.
property
parentK3sClusterResource getGets the Parent property
property
serviceName stringgetGets the name of the Kubernetes Service being forwarded.
property
servicePort numbergetGets the port number declared on the Kubernetes Service.