annon_ktl v0.2.3 Annon.Controller

annonktl controls the Annon API Gateway cluster.

Discovery commands:

status Status of Annon API Gateway cluster. routes Prints all routes.

Cluster configuration commands:

taint Update API health status. apply Create or update one of resources. get Display one or many resources (supports: requests, request, api). delete Delete resources (supports: request, api). pull Experimental. Pull remote configuration and store in YAML file.

Informational commands:

help Help about any command. version Prints annonktl and gateway versions. config Manage annonktl configuration.

List of global options:

—context=my_context - The name of annonktl context to use. —management-endpoint=http://example.com/ - URL to Annon API Gateway management endpoint. -h, —help - Display help for annonktl command.

Environment variables:

ANNONKTL_MANAGEMENT_ENDPOINT=’’ - URL to Annon API Gateway management endpoint. ANNONKTL_CONTEXT=’’ - The name of annonktl context to use. ANNONKTL_CONFIG=’~/.config/annonktl/context.json’ - Path to the file that stores annonktl configs.

Global options have higher priority than environment variables.

Link to this section Summary

Link to this section Functions

Link to this function main(args \\ [])
Link to this function puts_missing_command_error(command \\ "", argv)