vmware-archive / kubeless-ui

Graphical User Interface for Kubeless
Apache License 2.0
417 stars 75 forks source link

Think about integrating a repo of functions #7

Open sebgoa opened 7 years ago

sebgoa commented 7 years ago

Say some functions are packaged as "charts"

Retrieve this library of functions and display them in the UI, offering possibility to deploy.

remstos commented 7 years ago

That's a great idea 👍 Also being able to pick some sample functions and edit them to fit needs

sebgoa commented 7 years ago

if the function bundle in that yet to be build repo had some markdown documentaiton, we should render that markdown in the UI:

https://github.com/chjj/marked/

migmartri commented 7 years ago

I used that library for Github's flavored Markdown rendering in Monocular. I also added some extra CSS to make it look similar to Github.

https://github.com/helm/monocular/pull/83/files

sebgoa commented 7 years ago

@kemcake see here: https://github.com/bitnami/functions

that's a basic repo of functions. Just the beginning. Functions are in the incubator repo, once they are tested they will move to a stable repo like the charts.

We are not going to push bundles on an http server like charts (at least not now).

So it would be good to be able to browse the functions in this repo in the UI, then select one and be able to start it.

Makes sense ?

remstos commented 7 years ago

Ok I can start with this repo to fetch functions, the UI will be ready to handle the future stable repo. But few questions: