यह पेज मशीन से अनुवादित है। अंग्रेज़ी मूल पढ़ें।

Component

core/compute/function

A generic event-driven compute primitive. Its operational type is `function` — event-driven compute that scales to zero — and it adds a required `runtime` value to the shared base schema's optional `display_name` and `description` knobs. An Aggregate whose work is event-triggered and idles at no capacity declares this rather than `server`, which expects inbound application traffic, or `task`, which runs once and ends. Declaring no `provides`, it publishes nothing across an edge. On Kubernetes it is realized two ways, chosen in the Manifest: as a Knative Service, or as a Deployment paired with a KEDA scaling resource; either control plane is a prerequisite the operator affirms in the Release, and the build halts while it is unaffirmed. Where the target is an AWS account, terraform/function-lambda and cloudformation/function-lambda run it as an AWS Lambda function from a container image in Amazon ECR, and emit no trigger and no URL: what invokes it is the operator's. Nothing renders until the Release sets `infra.image`. The image is the Release's own code, so an edge delivers what its `inject:` block dictates, and no declared socket narrows the mechanism: `env` entries become variables beside `FUNCTION_RUNTIME`, `runtime`'s default name, which the component's own `env` entries may replace and, while it is the default, no edge may dictate; `file` entries read-only files on Kubernetes only; and `arg` or any other mechanism is refused by name, as no realization renders a command line. A `core/secret-value` attachment's value is rendered in the clear; no realization delivers `core/referenced-secret` or `core/random-password` to it, and the two helm realizations refuse either by name.

प्रोवेनेंस

आधिकारिकऐसी हस्ताक्षर आइडेंटिटी द्वारा हस्ताक्षरित, जिसे यह कैटलॉग आधिकारिक प्रकाशक के रूप में मान्यता देता है।
सामग्री डाइजेस्ट
sha256:f213d8a7c94a54aea28b7cbb39bfbe193bbce0cd92d917b2dfe76e2b7490bf1f
प्रकाशित
2026-11-10T10:10:08Z
हस्ताक्षर आइडेंटिटी
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

हस्ताक्षर

  • आधिकारिकapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:a90266cb64063dbddda57b7aa49abfc3e0c13c7bc94ebcd420f5c198eb7243c6

इस संस्करण का रेफ़रेंस

oci://hub.aggrega.ai/component/core/compute/function:1.0.0

डेवलपर पैरामीटर

वे मान जिन्हें डेवलपर Aggregate में सेट करता है।

BaseComponents#/schemas/BaseComponentParameter का विस्तार करता है

नामटाइपडिफ़ॉल्टआवश्यकविवरण
runtimestring—हाँ—

ऑपरेटर का आकार-निर्धारण

इन्फ़्रास्ट्रक्चर का आकार-निर्धारण, जिसे ऑपरेटर हर एनवायरनमेंट के लिए समायोजित करता है।

नामटाइपडिफ़ॉल्टआवश्यकविवरण
imagestring—नहींContainer image serving the function. On AWS Lambda it is an image in Amazon ECR, in the function's Region, that implements Lambda's runtime API.
portinteger (min 1024, max 65535)8080नहींPort the function's container listens on. Read on Kubernetes only: Lambda hands each invocation to the image through its runtime API rather than over a port.
computeobject—नहीं—
min_replicasinteger (min 0)0नहींReplica floor. Zero is what lets the function occupy no compute between the events that invoke it. On Lambda a floor above zero is provisioned concurrency on the function's published version.
max_replicasinteger (min 1)5नहींReplica ceiling the realization's autoscaler may reach. On Lambda it is the function's reserved concurrency.
control_plane_presentbooleanfalseनहींOperator affirmation that the control plane the chosen realization needs is installed in the target cluster. The build halts unless this is set true, so a custom resource is never emitted as an orphan into a cluster that cannot reconcile it. Read on Kubernetes only: Lambda needs no control plane of the operator's.
scalerobject—नहीं—
overridesobject (open)—नहींRealization-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads: the AWS Lambda realizations read the function's execution role and the log group, time limit and VPC placement it runs with, each under its target's own spelling (lambda_role on terraform, Role on CloudFormation).

आउटपुट अनुबंध

वे मान जिन्हें यह घटक uses टोपोलॉजी के ज़रिए उपभोक्ताओं को प्रकाशित करता है।

कोई आउटपुट मान घोषित नहीं है।

uses सॉकेट

वे डिपेंडेंसी सॉकेट जिनसे होकर यह घटक कनेक्ट होता है। किसी सॉकेट से होकर वायर किए गए हर कनेक्शन के लक्ष्य को उस सॉकेट के लेबल सेलेक्टर को संतुष्ट करना होगा, और हर कनेक्शन सॉकेट द्वारा घोषित स्लॉट में एक अटैचमेंट ले जा सकता है। आवश्यक स्लॉट को भरना हर उस कनेक्शन का दायित्व है जिसे Aggregate या Release सॉकेट से होकर वायर करता है।

कोई uses सॉकेट घोषित नहीं है।

अटैचमेंट स्लॉट

नामित बाइंडिंग बिंदु, जिन पर कोई Feature इस घटक से अटैच होता है। स्लॉट का सेलेक्टर यह सीमित करता है कि कौन-सा Feature उसे भर सकता है, और उसकी inject सूची बताती है कि Feature की सामग्री किन तरीकों से पहुँचाई जा सकती है। आवश्यक स्लॉट को हर इंस्टेंस पर बाइंड होना चाहिए, इंस्टेंस पर या उसके ऊपर के किसी दायरे में किसी अटैचमेंट द्वारा, और संवेदनशील स्लॉट सीक्रेट सामग्री सँभालने के लिए घोषित किया जाता है। कोई Feature ऐसे नाम के तहत भी अटैच हो सकता है जिसे कोई स्लॉट घोषित नहीं करता।

कोई अटैचमेंट स्लॉट घोषित नहीं है।

सेल्फ़-इंजेक्ट अनुमति-सूची

env

संबंध

अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।

इनका उपयोग करता है

  • $refस्कीमा का विस्तार करता है (values)

    BaseComponents#/schemas/BaseComponentParameter

इनके द्वारा उपयोग किया जाता है

Component का अवधारणा संदर्भ

Aggrega कैटलॉग — घटकों, फ़ीचरों, रेसिपियों और उन्हें रेंडर करने वाले प्लगइनों का एक खुला इंडेक्स।

साझा Aggrega डिज़ाइन सिस्टम से बनाया गया।

गोपनीयता