pagurus

module
v0.0.0-...-c73ad4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2020 License: MIT

README

Pagurus

Function

Function is a CRD that indicates a function created by user. The controller will create a crab service for each given function.

Crab

TODO: Crab is not needed, we can create a router as fission does. For function creation, we only add the code to share storage.

A crab is a application run as deployment in kubernetes for a given function. When called by triggers(often with input data), it will find a shell to execute and return the result.

Shell

Shell is a long lived executor with suitable environments for some functions, when a function completes, it does not exit and waits for the next one.

fission function create --name hello --env python --code hello.py --executortype poolmgr fission function create --name hello --env python --code hello.py --executortype poolmgr --type async --callback ...

Service userspace, when the pod tag itself as busy, the service will not send request to it.

To achive a event mesh, each Pod can decide whether or not to accept traffic.

Directories

Path Synopsis
cmd
pkg
apis/function/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
function/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
function/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
function/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
function/clientset/versioned/typed/function/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
function/clientset/versioned/typed/function/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL