executor

package
v1.16.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartExecutor

func StartExecutor(ctx context.Context, logger *zap.Logger, functionNamespace string, envBuilderNamespace string, port int, openTracingEnabled bool) error

StartExecutor Starts executor and the executor components such as Poolmgr, deploymgr and potential future executor types

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

Executor defines a fission function executor.

func MakeExecutor

func MakeExecutor(ctx context.Context, logger *zap.Logger, cms *cms.ConfigSecretController,
	fissionClient *crd.FissionClient, types map[fv1.ExecutorType]executortype.ExecutorType,
	informers []k8sCache.SharedIndexInformer) (*Executor, error)

MakeExecutor returns an Executor for given ExecutorType(s).

func (*Executor) GetHandler added in v1.7.0

func (executor *Executor) GetHandler() http.Handler

GetHandler returns an http.Handler.

func (*Executor) Serve

func (executor *Executor) Serve(port int, openTracingEnabled bool)

Serve starts an HTTP server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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