npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gdnsl/plugin-function

v0.0.55

Published

gdnsl plugin for function commands

Downloads

5

Readme

@gdnsl/plugin-function

gdnsl plugin for function commands

Usage

$ npm install -g @gdnsl/plugin-function
$ @gdnsl/plugin-function COMMAND
running command...
$ @gdnsl/plugin-function (--version)
@gdnsl/plugin-function/0.0.55 darwin-x64 node-v14.20.0
$ @gdnsl/plugin-function --help [COMMAND]
USAGE
  $ @gdnsl/plugin-function COMMAND
...

Commands

@gdnsl/plugin-function function info NAME

Get edge function information.

USAGE
  $ @gdnsl/plugin-function function info [NAME] [-h] [-c <value>] [--fabric <value>] [-o json]

FLAGS
  -c, --config=<value>  gdnsl config file (default is ./gdnsl.yaml).
  -h, --help            Help to get function information.
  -o, --output=(json)   Output format. Only json is allowed.
  --fabric=<value>      Name of the fabric. Default will be "_system".

DESCRIPTION
  Get edge function information.

EXAMPLES
  # Get edge function information
  gdnsl function info

@gdnsl/plugin-function function invoke NAME

Invoke function.

USAGE
  $ @gdnsl/plugin-function function invoke [NAME] [-h] [-c <value>] [--fabric <value>] [-p <value>]

FLAGS
  -c, --config=<value>    gdnsl config file (default is ./gdnsl.yaml).
  -h, --help              Help to invoke function.
  -p, --param=<value>...  key=value pair representing the parameters of function
  --fabric=<value>        Name of the fabric. Default will be "_system".

DESCRIPTION
  Invoke function.

EXAMPLES
  # Invoke function without parameters
  gdnsl function invoke functionName
  # Invoke function with parameters
  gdnsl function invoke functionName --param "offset=0" "limit=10"

@gdnsl/plugin-function function list

List edge worker functions.

USAGE
  $ @gdnsl/plugin-function function list [-h] [-c <value>] [--fabric <value>] [-o json]

FLAGS
  -c, --config=<value>  gdnsl config file (default is ./gdnsl.yaml).
  -h, --help            Help to list functions.
  -o, --output=(json)   Output format. Only json is allowed.
  --fabric=<value>      Name of the fabric. Default will be "_system".

DESCRIPTION
  List edge worker functions.

EXAMPLES
  # List all edge functions.
  gdnsl function list

@gdnsl/plugin-function function remove NAME

Remove function.

USAGE
  $ @gdnsl/plugin-function function remove [NAME] [-h] [-c <value>] [--fabric <value>]

FLAGS
  -c, --config=<value>  gdnsl config file (default is ./gdnsl.yaml).
  -h, --help            Help to remove function.
  --fabric=<value>      Name of the fabric. Default will be "_system".

DESCRIPTION
  Remove function.

EXAMPLES
  # Remove function
  gdnsl function delete functionName

@gdnsl/plugin-function help [COMMAND]

Display help for @gdnsl/plugin-function.

USAGE
  $ @gdnsl/plugin-function help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for @gdnsl/plugin-function.

See code: @oclif/plugin-help

@gdnsl/plugin-function metadata add

Add edge worker metadata.

USAGE
  $ @gdnsl/plugin-function metadata add [-h] [-c <value>] [--fabric <value>] [-t akamai] [-a <value>] [-b <value>]
    [-s <value>] [-t <value>] [-h <value>] [-i <value>] [-g <value>]

FLAGS
  -a, --access-token=<value>      Akamai access token
  -b, --baseurl=<value>           Akamai endpoint url
  -c, --config=<value>            gdnsl config file (default is ./gdnsl.yaml).
  -g, --group-id=<value>          Akamai property group id
  -h, --help                      Help to add metadata.
  -h, --hostname=<value>          Akamai property host name
  -i, --resource-tier-id=<value>  Specify the Akamai tier used for your integration. Dynamic Computer should be 200 and
                                  Basic Compute should be 100.
  -s, --client-secret=<value>     Part of Akamai credentials - Secret
  -t, --client-token=<value>      Part of Akamai credentials - Token
  -t, --type=<option>             [default: akamai] Specifies type of the edge worker. Values - "akamai". Default -
                                  "akamai"
                                  <options: akamai>
  --fabric=<value>                Name of the fabric. Default will be "_system".

DESCRIPTION
  Add edge worker metadata.

EXAMPLES
  # Add edge worker metadata integration parameters
  gdnsl metadata add --access-token xxxx --baseurl xxxx --client-secret xxxx --client-token xxxx --hostname xxxx --resource-tier-id xxxx --group-id xxxx

@gdnsl/plugin-function metadata delete

Delete edge worker Metadata.

USAGE
  $ @gdnsl/plugin-function metadata delete [-h] [-c <value>] [--fabric <value>]

FLAGS
  -c, --config=<value>  gdnsl config file (default is ./gdnsl.yaml).
  -h, --help            Help to delete metadata.
  --fabric=<value>      Name of the fabric. Default will be "_system".

DESCRIPTION
  Delete edge worker Metadata.

EXAMPLES
  # Delete Edge Worker Metadata integration parameters
  gdnsl metadata delete

@gdnsl/plugin-function metadata get

List edge worker metadata.

USAGE
  $ @gdnsl/plugin-function metadata get [-h] [-c <value>] [--fabric <value>] [-o json]

FLAGS
  -c, --config=<value>  gdnsl config file (default is ./gdnsl.yaml).
  -h, --help            Help to get metadata.
  -o, --output=(json)   Output format. Only json is allowed.
  --fabric=<value>      Name of the fabric. Default will be "_system".

DESCRIPTION
  List edge worker metadata.

EXAMPLES
  # List all edge worker metadata integration parameters
  gdnsl metadata get

@gdnsl/plugin-function metadata modify

Modify edge worker metadata.

USAGE
  $ @gdnsl/plugin-function metadata modify [-h] [-c <value>] [--fabric <value>] [-t akamai] [-a <value>] [-b <value>]
    [-s <value>] [-t <value>] [-h <value>] [-i <value>] [-g <value>]

FLAGS
  -a, --access-token=<value>      Akamai access token
  -b, --baseurl=<value>           Akamai endpoint url
  -c, --config=<value>            gdnsl config file (default is ./gdnsl.yaml).
  -g, --group-id=<value>          Akamai property group id
  -h, --help                      Help to modify metadata.
  -h, --hostname=<value>          Akamai property host name
  -i, --resource-tier-id=<value>  Specify the Akamai tier used for your integration. Dynamic Computer should be 200 and
                                  Basic Compute should be 100.
  -s, --client-secret=<value>     Part of Akamai credentials - Secret
  -t, --client-token=<value>      Part of Akamai credentials - Token
  -t, --type=<option>             [default: akamai] Specifies type of the edge worker. Values - "akamai". Default -
                                  "akamai"
                                  <options: akamai>
  --fabric=<value>                Name of the fabric. Default will be "_system".

DESCRIPTION
  Modify edge worker metadata.

EXAMPLES
  # Modify edge worker metadata integration parameters
  gdnsl metadata modify --access-token xxxx --baseurl xxxx --client-secret xxxx --client-token xxxx --hostname xxxx --resource-tier-id xxxx --group-id xxxx

@gdnsl/plugin-function query-worker deploy NAME QUERYWORKERNAME [TYPE] [ENVIRONMENT]

Deploy the query worker to the edge worker environment.

USAGE
  $ @gdnsl/plugin-function query-worker deploy [NAME] [QUERYWORKERNAME] [TYPE] [ENVIRONMENT] [-h] [-c <value>] [--fabric
    <value>] [--type akamai] [--environment PRODUCTION|STAGING] [-o json]

FLAGS
  -c, --config=<value>    gdnsl config file (default is ./gdnsl.yaml).
  -h, --help              Help to deploy query-worker.
  -o, --output=(json)     Output format. Only json is allowed.
  --environment=<option>  [default: PRODUCTION] Specifies deployment environment. Values - "PRODUCTION" or "STAGING".
                          Default - "PRODUCTION"
                          <options: PRODUCTION|STAGING>
  --fabric=<value>        Name of the fabric. Default will be "_system".
  --type=<option>         [default: akamai] Specifies type of the edge worker. Values - "akamai". Default - "akamai"
                          <options: akamai>

DESCRIPTION
  Deploy the query worker to the edge worker environment.

EXAMPLES
  # Deploy the query worker to the edge.
  gdnsl query-worker deploy edgeworkername queryworker
  # Deploy the query worker to the edge with another type
  gdnsl query-worker deploy edgeworkername queryworker --type akamai
  # Deploy the query worker to the edge with another type and different environment
  gdnsl query-worker deploy edgeworkername queryworker --type akamai --environment PRODUCTION

@gdnsl/plugin-function stream-adhoc-query deploy NAME STREAMWORKERNAME

Deploy the stream adhoc query to the edge worker environment.

USAGE
  $ @gdnsl/plugin-function stream-adhoc-query deploy [NAME] [STREAMWORKERNAME] [-h] [-c <value>] [--fabric <value>] [--type
    akamai] [--environment PRODUCTION|STAGING] [-o json]

FLAGS
  -c, --config=<value>    gdnsl config file (default is ./gdnsl.yaml).
  -h, --help              Help to deploy stream-adhoc-query.
  -o, --output=(json)     Output format. Only json is allowed.
  --environment=<option>  [default: PRODUCTION] Specifies deployment environment. Values - "PRODUCTION" or "STAGING".
                          Default - "PRODUCTION"
                          <options: PRODUCTION|STAGING>
  --fabric=<value>        Name of the fabric. Default will be "_system".
  --type=<option>         [default: akamai] Specifies type of the edge worker. Values - "akamai". Default - "akamai"
                          <options: akamai>

DESCRIPTION
  Deploy the stream adhoc query to the edge worker environment.

EXAMPLES
  # Deploy the stream adhoc query to the edge.
  gdnsl stream-adhoc-query deploy edgeworkername streamworkername
  # Deploy the stream adhoc query to the edge with another type
  gdnsl stream-adhoc-query deploy edgeworkername streamworkername --type akamai
  # DDeploy the stream adhoc query to the edge with another type and different environment
  gdnsl stream-adhoc-query deploy edgeworkername streamworkername --type akamai --environment PRODUCTION

@gdnsl/plugin-function stream-publisher deploy NAME STREAMWORKERNAME STREAMNAME [TYPE] [ENVIRONMENT]

Deploy the stream publisher to the edge worker environment.

USAGE
  $ @gdnsl/plugin-function stream-publisher deploy [NAME] [STREAMWORKERNAME] [STREAMNAME] [TYPE] [ENVIRONMENT] [-h] [-c
    <value>] [--fabric <value>] [--type akamai] [--environment PRODUCTION|STAGING] [-o json]

FLAGS
  -c, --config=<value>    gdnsl config file (default is ./gdnsl.yaml).
  -h, --help              Help to deploy stream-publisher.
  -o, --output=(json)     Output format. Only json is allowed.
  --environment=<option>  [default: PRODUCTION] Specifies deployment environment. Values - "PRODUCTION" or "STAGING".
                          Default - "PRODUCTION"
                          <options: PRODUCTION|STAGING>
  --fabric=<value>        Name of the fabric. Default will be "_system".
  --type=<option>         [default: akamai] Specifies type of the edge worker. Values - "akamai". Default - "akamai"
                          <options: akamai>

DESCRIPTION
  Deploy the stream publisher to the edge worker environment.

EXAMPLES
  # Deploy the stream publisher to the edge.
  gdnsl stream-publisher deploy edgeworkername streamworkername streamname
  # Deploy the stream publisher to the edge with another type
  gdnsl stream-publisher deploy edgeworkername streamworkername streamname --type akamai
  # DDeploy the stream publisher to the edge with another type and different environment
  gdnsl stream-publisher deploy edgeworkername streamworkername streamname --type akamai --environment PRODUCTION