Documentation ¶
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 ¶ added in v1.0.1
type FaasController struct {
// contains filtered or unexported fields
}
FaasController is Function controller.
func (*FaasController) Category ¶ added in v1.0.1
func (f *FaasController) Category() supervisor.ObjectCategory
Category returns the category of FaasController.
func (*FaasController) Close ¶ added in v1.0.1
func (f *FaasController) Close()
Close closes Function.
func (*FaasController) DefaultSpec ¶ added in v1.0.1
func (f *FaasController) DefaultSpec() interface{}
DefaultSpec returns the default spec of Function.
func (*FaasController) Inherit ¶ added in v1.0.1
func (f *FaasController) Inherit(superSpec *supervisor.Spec, previousGeneration supervisor.Object)
Inherit inherits previous generation of Function.
func (*FaasController) Init ¶ added in v1.0.1
func (f *FaasController) Init(superSpec *supervisor.Spec)
Init initializes Function.
func (*FaasController) Kind ¶ added in v1.0.1
func (f *FaasController) Kind() string
Kind returns the kind of FaasController.
func (*FaasController) Status ¶ added in v1.0.1
func (f *FaasController) Status() *supervisor.Status
Status returns Status generated by Runtime.
func (*FaasController) Validate ¶ added in v1.0.1
func (f *FaasController) Validate() error
Validate validates the spec
Click to show internal directories.
Click to hide internal directories.