Documentation ¶
Overview ¶
Package function provides FaasController.
Index ¶
- Constants
- type FaasController
- func (f *FaasController) Category() supervisor.ObjectCategory
- func (f *FaasController) Close()
- func (f *FaasController) DefaultSpec() interface{}
- func (f *FaasController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)
- func (f *FaasController) Init(superSpec *supervisor.Spec)
- func (f *FaasController) Kind() string
- func (f *FaasController) Status() *supervisor.Status
- func (f *FaasController) Validate() error
Constants ¶
View Source
const ( // Category is the category of FaasController. Category = supervisor.CategoryBusinessController // Kind is the kind of FaaSController. Kind = "FaaSController" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FaasController ¶
type FaasController struct {
// contains filtered or unexported fields
}
FaasController is Function controller.
func (*FaasController) Category ¶
func (f *FaasController) Category() supervisor.ObjectCategory
Category returns the category of FaasController.
func (*FaasController) DefaultSpec ¶
func (f *FaasController) DefaultSpec() interface{}
DefaultSpec returns the default spec of Function.
func (*FaasController) Inherit ¶
func (f *FaasController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)
Inherit inherits previous generation of Function.
func (*FaasController) Init ¶
func (f *FaasController) Init(superSpec *supervisor.Spec)
Init initializes Function.
func (*FaasController) Kind ¶
func (f *FaasController) Kind() string
Kind returns the kind of FaasController.
func (*FaasController) Status ¶
func (f *FaasController) Status() *supervisor.Status
Status returns Status generated by Runtime.
func (*FaasController) Validate ¶
func (f *FaasController) Validate() error
Validate validates the spec
Directories ¶
Path | Synopsis |
---|---|
Package provider defines and implements FaasProvider interface.
|
Package provider defines and implements FaasProvider interface. |
Package spec provides the spec for FaaS.
|
Package spec provides the spec for FaaS. |
Package storage provides the storage for FaaS.
|
Package storage provides the storage for FaaS. |
Package worker provides the worker for FaaSController.
|
Package worker provides the worker for FaaSController. |
Click to show internal directories.
Click to hide internal directories.