Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.33 KB

File metadata and controls

55 lines (40 loc) · 2.33 KB
title vastde functions
description Manage VAST DataEngine functions

vastde functions

Manage VAST DataEngine functions

Synopsis

Manage VAST DataEngine functions for serverless code execution.

Functions are the core building blocks of DataEngine applications. A function is a container-based unit of execution that processes events and data. Functions are triggered by events from triggers, pipelines, or direct invocations, and can be written in any language that runs in a container.

The function lifecycle includes:

  1. Initialize a function project with scaffolding (init)
  2. Build the function container image locally (build)
  3. Create the function in DataEngine (create)
  4. Invoke the function to execute it (invoke)
  5. Update the function configuration or code (update)

Functions support versioning through revisions, allowing you to maintain multiple versions and roll back if needed. Each function can have environment variables, resource limits, and scaling configurations. Functions can be tested locally before deployment using the localrun command.

Subcommands

  • build - Build a VAST DataEngine function locally
  • create - Create a VAST DataEngine function
  • delete - Delete a VAST DataEngine function
  • get - Get a VAST DataEngine function details
  • init - Generate a VAST DataEngine function scaffold
  • invoke - Send a cloudEvent to a local VAST DataEngine function
  • list - List VAST DataEngine functions
  • localrun - Run a built VAST DataEngine function as a local container
  • update - Update a VAST DataEngine function

Options

Global options

Flag Type Description Default
--dry-run bool Simulate the operation without making actual changes to the system
-o, --output string Output format: json, yaml, human human
--silent bool Suppress UI outputs, such as spinner and success messages
-v, --verbose int Verbosity level (0-9): 0=standard, 1=verbose, 2=detailed, 3=extended, 4=debug, 5=trace 0

See Also

  • vastde - VAST DataEngine CLI