Documentation ¶
Index ¶
Constants ¶
View Source
const ( TOUCH fscRequestType = iota LISTOLD LOG DELETE_BY_POD )
View Source
const ( GET_POOL requestType = iota CLEANUP_POOLS )
View Source
const POD_PHASE_RUNNING string = "Running"
View Source
const POOLMGR_INSTANCEID_LABEL string = "poolmgrInstanceId"
Variables ¶
This section is empty.
Functions ¶
func MakeFunctionServiceCache ¶
func MakeFunctionServiceCache() *functionServiceCache
Types ¶
type GenericPool ¶
type GenericPool struct {
// contains filtered or unexported fields
}
func MakeGenericPool ¶
func MakeGenericPool( kubernetesClient *kubernetes.Clientset, env *tpr.Environment, initialReplicas int32, namespace string, fsCache *functionServiceCache, instanceId string) (*GenericPool, error)
func (*GenericPool) CleanupFunctionService ¶
func (gp *GenericPool) CleanupFunctionService(podName string) error
func (*GenericPool) GetFuncSvc ¶
func (gp *GenericPool) GetFuncSvc(m *api.ObjectMeta) (*funcSvc, error)
type GenericPoolManager ¶
type GenericPoolManager struct {
// contains filtered or unexported fields
}
func MakeGenericPoolManager ¶
func MakeGenericPoolManager( fissionClient *tpr.FissionClient, kubernetesClient *kubernetes.Clientset, fissionNamespace string, functionNamespace string, fsCache *functionServiceCache, instanceId string) *GenericPoolManager
func (*GenericPoolManager) CleanupPools ¶
func (gpm *GenericPoolManager) CleanupPools(envs []tpr.Environment)
func (*GenericPoolManager) GetPool ¶
func (gpm *GenericPoolManager) GetPool(env *tpr.Environment) (*GenericPool, error)
type Poolmgr ¶
type Poolmgr struct {
// contains filtered or unexported fields
}
func MakePoolmgr ¶
func MakePoolmgr(gpm *GenericPoolManager, fissionClient *tpr.FissionClient, fissionNs string, fsCache *functionServiceCache) *Poolmgr
Source Files ¶
Click to show internal directories.
Click to hide internal directories.