poolmgr

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GET_POOL requestType = iota
	CLEANUP_POOLS
)
View Source
const POD_PHASE_RUNNING string = "Running"

Variables

This section is empty.

Functions

func IsIPv6

func IsIPv6(podIP string) bool

Types

type GenericPool

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

func MakeGenericPool

func MakeGenericPool(
	fissionClient *crd.FissionClient,
	kubernetesClient *kubernetes.Clientset,
	env *crd.Environment,
	initialReplicas int32,
	namespace string,
	fsCache *fscache.FunctionServiceCache,
	instanceId string) (*GenericPool, error)

func (*GenericPool) GetFuncSvc

func (gp *GenericPool) GetFuncSvc(m *metav1.ObjectMeta) (*fscache.FuncSvc, error)

type GenericPoolManager

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

func MakeGenericPoolManager

func MakeGenericPoolManager(
	fissionClient *crd.FissionClient,
	kubernetesClient *kubernetes.Clientset,
	fissionNamespace string,
	functionNamespace string,
	fsCache *fscache.FunctionServiceCache,
	instanceId string) *GenericPoolManager

func (*GenericPoolManager) CleanupPools

func (gpm *GenericPoolManager) CleanupPools(envs []crd.Environment)

func (*GenericPoolManager) GetPool

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

Jump to

Keyboard shortcuts

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