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

Component

core/compute/task

A generic ephemeral compute primitive. Its operational type is `task` — ephemeral compute that runs to completion and dies, such as a database migration — with two optional fields of its own, `schedule` and `timeout`. An Aggregate declares this for work that ends, rather than `server` or `worker`, which are both long-running. helm/task runs it on Kubernetes, on its `schedule` as a CronJob and once at deploy without one. compose/task runs it on Docker Compose once at each `docker compose up`, and refuses a `schedule`. terraform/task-ecs and cloudformation/task-ecs run it as an Amazon ECS task on Fargate, on its schedule through EventBridge Scheduler, and refuse it with none, as nothing on AWS would start it. With no `schedule`, `core/manual-trigger` holds it until someone starts a run, with the command each realization's description names. 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 `TASK_TIMEOUT`, `timeout`'s default name, which the component's own `env` entries may replace and, while it is the default, no edge may dictate; `file` entries files, read-only on Kubernetes, and none on Amazon ECS; 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 written into the rendered workload in the clear, and on Docker Compose so is a `core/referenced-secret` attachment's origin; no other realization delivers `core/referenced-secret`, none delivers `core/random-password`, and the helm realization refuses either by name.

संस्करण

1.0.01.0.1

प्रोवेनेंस

आधिकारिकऐसी हस्ताक्षर आइडेंटिटी द्वारा हस्ताक्षरित, जिसे यह कैटलॉग आधिकारिक प्रकाशक के रूप में मान्यता देता है।
सामग्री डाइजेस्ट
sha256:03cf624d2ae77e9ac8b0ad1c9a2a15ef81253d582ce2d53758e2a0ea5632afa3
प्रकाशित
2026-11-15T08:09:01Z
हस्ताक्षर आइडेंटिटी
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:2a329698f512d71016a645fb928c74351d20be091ac3ac5cdb035a33021f9dff

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

oci://hub.aggrega.ai/component/core/compute/task:1.0.1

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

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

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

नामटाइपडिफ़ॉल्टआवश्यकविवरण
schedulestring—नहींA cron expression of five fields — minute, hour, day of the month, month and day of the week — such as 30 2 * * 1-5. Kubernetes runs it in its controller manager's time zone; Amazon ECS runs it through EventBridge Scheduler, in UTC unless the Release names a time zone, and refuses one the scheduler cannot carry exactly, such as one restricting both the day of the month and the day of the week. Docker Compose has no scheduler and refuses a schedule.
timeoutstring—नहींHow long a run may take, delivered to the container as TASK_TIMEOUT, or under the name an env entry of the component's own inject block reading it alone gives it, for the application's own code to honour: no realization sets a deadline at which the platform stops a run.

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

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

नामटाइपडिफ़ॉल्टआवश्यकविवरण
imagestring—नहींContainer image the run executes.
computeobject—नहीं—
overridesobject (open)—नहींProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads: the Amazon ECS realizations read the cluster, subnets, security groups and roles the task runs and is started under, and the schedule's time zone, each under its target's own spelling (subnet_ids on terraform, Subnets on CloudFormation), and the Kubernetes and Docker Compose realizations read none of its keys.

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

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

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

uses सॉकेट

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

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

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

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

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

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

env

संबंध

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

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

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

    BaseComponents#/schemas/BaseComponentParameter

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

  • लागू होता है core/egress-allowlist v1.0.0Feature

    लागू होता है

  • लागू होता है core/manual-trigger v1.0.0Feature

    लागू होता है

  • इम्प्लीमेंट करता है task v1.0.1Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task v1.0.1Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-cloud-run v1.0.0Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-container-apps v1.0.0Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-container-apps v1.0.0Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-ecs v1.0.1Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-ecs v1.0.1Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-ecs v1.1.0Recipe

    इम्प्लीमेंट करता है

  • इम्प्लीमेंट करता है task-ecs v1.1.0Recipe

    इम्प्लीमेंट करता है

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

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

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

गोपनीयता