poolmgr

package
v0.0.0-...-18dd175 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2016 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOUCH fscRequestType = iota
	LISTOLD
	LOG
	DELETE_BY_POD
)

Variables

This section is empty.

Functions

func MakeFunctionServiceCache

func MakeFunctionServiceCache() *functionServiceCache

func StartPoolmgr

func StartPoolmgr(controllerUrl string, namespace string, port int) error

Types

type API

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

func MakeAPI

func MakeAPI(gpm *GenericPoolManager, controller *controllerclient.Client, fsCache *functionServiceCache) *API

func (*API) Serve

func (api *API) Serve(port int)

type GenericPool

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

func MakeGenericPool

func MakeGenericPool(
	controllerUrl string,
	kubernetesClient *kubernetes.Clientset,
	env *fission.Environment,
	initialReplicas int32,
	namespace string,
	fsCache *functionServiceCache) (*GenericPool, error)

func (*GenericPool) CleanupFunctionService

func (gp *GenericPool) CleanupFunctionService(podName string) error

func (*GenericPool) GetFuncSvc

func (gp *GenericPool) GetFuncSvc(m *fission.Metadata) (*funcSvc, error)

type GenericPoolManager

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

func MakeGenericPoolManager

func MakeGenericPoolManager(controllerUrl string, kubernetesClient *kubernetes.Clientset, namespace string, fsCache *functionServiceCache) *GenericPoolManager

func (*GenericPoolManager) GetPool

func (gpm *GenericPoolManager) GetPool(env *fission.Environment) (*GenericPool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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