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 API ¶
type API struct {
// contains filtered or unexported fields
}
func MakeAPI ¶
func MakeAPI(gpm *GenericPoolManager, controller *controllerclient.Client, fsCache *functionServiceCache) *API
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, instanceId string) (*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, instanceId string) *GenericPoolManager
func (*GenericPoolManager) CleanupPools ¶
func (gpm *GenericPoolManager) CleanupPools(envs []fission.Environment)
func (*GenericPoolManager) GetPool ¶
func (gpm *GenericPoolManager) GetPool(env *fission.Environment) (*GenericPool, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.