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
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) (*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)
Click to show internal directories.
Click to hide internal directories.