8000 GitHub - cyverse-de/app-exposer: Allows clients to create Ingress, Service, and Endpoint objects in a K8s cluster. Intended for interactive apps in the DE.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allows clients to create Ingress, Service, and Endpoint objects in a K8s cluster. Intended for interactive apps in the DE.

License

Notifications You must be signed in to change notification settings

cyverse-de/app-exposer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app-exposer

app-exposer is a service for the CyVerse Discovery Environment that provides a CRUD API for managing VICE analyses.

Development

Prerequisites

  • just - A command runner, similar to but different from Make. See just for more info.
  • go - The Go programming language. See Go for more info.
  • swag - A Swagger 2.0 documentation generator for Go. See swag for more info.

Build

You will need just installed, along with the Go programming language and the bash shell.

To build app-exposer alone, run:

just app-exposer

To build workflow-builder alone, run:

just workflow-builder

To build both, run:

just

To clean your local repo, run:

just clean

Uses Go modules, so make sure you have a generally up-to-date version of Go installed locally.

The API documentation is written using the OpenAPI 3 specification and is located in api.yml. You can use redoc to view the documentation locally:

Install: npm install -g redoc-cli

Run: redoc-cli serve -w api.yml

For configuration, use example-config.yml as a reference. You'll need to either port-forward to or run job-status-listener locally and reference the correct port in the config.

Initializing the Swagger docs with swag

The command used to initialize the ./docs directory with the swag tool was

swag init -g app.go -d cmd/app-exposer/,httphandlers/

The General Info file for swag is cmd/app-exposer/main.go.

About

Allows clients to create Ingress, Service, and Endpoint objects in a K8s cluster. Intended for interactive apps in the DE.

Resources

License

Packages

No packages published

Contributors 7

Languages

0