function

package
v2.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package function provides FaasController.

Index

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

Category returns the category of FaasController.

func (*FaasController) Close

func (f *FaasController) Close()

Close closes Function.

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.

Jump to

Keyboard shortcuts

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