Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fnproject/fn
/ functions
Functions
2,053 in github.com/fnproject/fn
⨍
Functions
2,053
◇
Types & classes
309
Function
TestImageCacherBasic2
(t *testing.T)
api/agent/drivers/docker/image_cache_test.go:103
Function
TestImageCacherBasic3
(t *testing.T)
api/agent/drivers/docker/image_cache_test.go:143
Function
TestImageCacherBasic4
(t *testing.T)
api/agent/drivers/docker/image_cache_test.go:222
Function
TestImageCleaner1
Basic startup scenario. ListImages() with exempt as well as exceeding capacity images should result in image removals.
api/agent/drivers/docker/image_cleaner_test.go:36
Function
TestImageCleaner2
Basic cookie scenario, cookie marks a huge image as busy, then unmark it. Image cache should not report IsMaxCapacity() first, but after unmark, it sh
api/agent/drivers/docker/image_cleaner_test.go:91
Function
TestImagePullConcurrent1
Lets do concurrent docker-pulls for an image with two different tags. This should results in only two calls to docker-pull.
api/agent/drivers/docker/image_puller_test.go:32
Function
TestImagePullConcurrent2
Lets do concurrent docker-pulls for an image but with error.
api/agent/drivers/docker/image_puller_test.go:79
Function
TestImagePullConcurrent3
(t *testing.T)
api/agent/drivers/docker/image_puller_test.go:115
Function
TestInitTimeoutContainer
(t *testing.T)
test/fn-system-tests/exec_fn_test.go:18
Function
TestInvokeRunnerMinimalConcurrentHotSync
Minimal test that checks the possibility of invoking concurrent hot sync functions.
api/server/runner_fninvoke_test.go:384
Function
TestInvokeRunnerTimeout
(t *testing.T)
api/server/runner_fninvoke_test.go:304
Function
TestLoggerIsStringerAndWorks
(t *testing.T)
api/agent/agent_test.go:282
Function
TestLoggerTooBig
(t *testing.T)
api/agent/agent_test.go:307
Function
TestMain
(m *testing.M)
test/fn-system-tests/system_test.go:451
Function
TestMain
(m *testing.M)
api/server/middleware_test.go:21
Function
TestMergeAnnotations
(t *testing.T)
api/models/annotations_test.go:228
Function
TestMiddlewareChaining
(t *testing.T)
api/server/middleware_test.go:37
Function
TestMigrateUp
(t *testing.T)
api/datastore/sql/migratex/migrate_test.go:33
Function
TestMilliCPUsUnmarshal
(t *testing.T)
api/models/config_test.go:30
Function
TestNBIOResourceTracker
(t *testing.T)
api/agent/agent_test.go:1189
Function
TestNaivePlacer_EmptyList_NoError
Simple empty list without no error, should spin and wait for runners until placer timeout
api/runnerpool/naive_placer_test.go:97
Function
TestNaivePlacer_EmptyList_UserError
Simple empty list with user error, should fail quick with user error
api/runnerpool/naive_placer_test.go:73
Function
TestNaivePlacer_EmptyList_WithServiceError
Simple empty list with service error, should spin and wait for runners until placer timeout
api/runnerpool/naive_placer_test.go:121
Function
TestNaivePlacer_SimpleList_NoError
Start with simple list with no error with runners-503 indefinitely
api/runnerpool/naive_placer_test.go:191
Function
TestNaivePlacer_SimpleList_UserError
Start with simple list with no error with runners-503 twice, then empty list with user error. should round robin the runners twice, but then fail quic
api/runnerpool/naive_placer_test.go:150
Function
TestNewStaticPool
(t *testing.T)
api/agent/static_pool_test.go:14
Function
TestNonHttpTrigger
(t *testing.T)
api/server/trigger_annotator_test.go:56
Function
TestOneRunner
(t *testing.T)
api/agent/lb_agent_test.go:152
Function
TestParseImage
(t *testing.T)
api/agent/drivers/driver_test.go:7
Function
TestPipesAreClear
(t *testing.T)
api/agent/agent_test.go:939
Function
TestPlainDoEvict
Eviction will take place since the first container is idle
api/agent/agent_evict_test.go:218
Function
TestPlainNoEvict
Eviction will NOT take place since the first container is busy
api/agent/agent_evict_test.go:187
Function
TestRIDFoundInMetadata
(t *testing.T)
grpcutil/dial_test.go:11
Function
TestRIDNotFoundInMetadata
(t *testing.T)
grpcutil/dial_test.go:24
Function
TestRegistryEnv
(t *testing.T)
api/agent/drivers/docker/registry_test.go:64
Function
TestRegistrySubDomains
(t *testing.T)
api/agent/drivers/docker/registry_test.go:23
Function
TestResourceGetSimple
(t *testing.T)
api/agent/resource_test.go:57
Function
TestResourceGetSimpleNB
(t *testing.T)
api/agent/resource_test.go:122
Function
TestRootMiddleware
(t *testing.T)
api/server/middleware_test.go:68
Function
TestRunnerDocker
(t *testing.T)
api/agent/drivers/docker/docker_test.go:147
Function
TestRunnerDockerCleanCase1
case1 - running container that does not belong us (tag mismatch) (should not get killed)
api/agent/drivers/docker/docker_test.go:354
Function
TestRunnerDockerCleanCase2
case2 - running container is ours (should not get killed)
api/agent/drivers/docker/docker_test.go:382
Function
TestRunnerDockerCleanCase3
case3 - running container that does not belong us (should get destroyed)
api/agent/drivers/docker/docker_test.go:410
Function
TestRunnerDockerCleanCase4
case4 - dead container that does not belong us (should get destroyed)
api/agent/drivers/docker/docker_test.go:438
Function
TestRunnerDockerInvalidSyslog
(t *testing.T)
api/agent/drivers/docker/docker_test.go:533
Function
TestRunnerDockerLocalDebug
(t *testing.T)
api/agent/drivers/docker/docker_test.go:563
Function
TestRunnerDockerNetworks
(t *testing.T)
api/agent/drivers/docker/docker_test.go:186
Function
TestRunnerDockerNoNetwork
create container with disable net. query container HostConfig, where NetworkMode should be 'none'
api/agent/drivers/docker/docker_test.go:491
Function
TestRunnerDockerPool
(t *testing.T)
api/agent/drivers/docker/docker_pool_test.go:20
Function
TestRunnerDockerPoolFaulty
(t *testing.T)
api/agent/drivers/docker/docker_pool_test.go:101
Function
TestRunnerDockerStdout
(t *testing.T)
api/agent/drivers/docker/docker_test.go:230
Function
TestRunnerStatus_CallsStatusImage
(t *testing.T)
api/agent/runner_status_test.go:73
Function
TestRunnerStatus_InvokesCustomFuncAndCallsStatusImage
(t *testing.T)
api/agent/runner_status_test.go:95
Function
TestRunnerStatus_InvokesCustomFunction
Functional behavior Verify returns default status if neither image nor custom health Verify submits a status call to the Agent (to run in container co
api/agent/runner_status_test.go:31
Function
TestRunnerStatus_NoStatusImageCallWhenCheckerFails
(t *testing.T)
api/agent/runner_status_test.go:122
Function
TestRunnerStatus_ReturnsDefaultStatus
(t *testing.T)
api/agent/runner_status_test.go:50
Function
TestSetEnvUint
TestSetEnvUint tests the normal use cases
api/agent/config_test.go:83
Function
TestSetEnvUintError
TestSetEnvUintError tests the error use cases
api/agent/config_test.go:117
Function
TestSetEnvUintPointer
TestSetEnvUintPointer tests the normal use cases
api/agent/config_test.go:10
Function
TestSetEnvUintPointerError
TestSetEnvUintPointerError tests the error use cases
api/agent/config_test.go:56
Function
TestSlotErrorRetention
(t *testing.T)
api/agent/agent_test.go:1449
Function
TestSlotNewContainerLogic1
(t *testing.T)
api/agent/slots_test.go:169
Function
TestSlotQueueBasic1
(t *testing.T)
api/agent/slots_test.go:72
Function
TestSlotQueueBasic2
(t *testing.T)
api/agent/slots_test.go:144
Function
TestSlotQueueBasic3
(t *testing.T)
api/agent/slots_test.go:210
Function
TestStaticUrlFnAnnotator
(t *testing.T)
api/server/fn_annotator_test.go:99
Function
TestStaticUrlTriggerAnnotator
(t *testing.T)
api/server/trigger_annotator_test.go:125
Function
TestStatus_verifyIO
TestStatus_verifyIO verifies RunnerProtocol.Status2(..) behavior Note: this test depends on the default status checker image which echoes its input
test/fn-system-tests/exec_runner_status_test.go:419
Function
TestSubmitError
(t *testing.T)
api/agent/agent_test.go:352
Function
TestTmpFsRW
Tmp directory should be RW by default.
api/agent/agent_test.go:709
Function
TestTmpFsSize
(t *testing.T)
api/agent/agent_test.go:801
Function
TestTriggerCreate
(t *testing.T)
api/server/trigger_test.go:21
Function
TestTriggerDelete
(t *testing.T)
api/server/trigger_test.go:139
Function
TestTriggerEquality
(t *testing.T)
api/models/trigger_test.go:101
Function
TestTriggerGet
(t *testing.T)
api/server/trigger_test.go:270
Function
TestTriggerJsonMarshalling
(t *testing.T)
api/models/trigger_test.go:22
Function
TestTriggerList
(t *testing.T)
api/server/trigger_test.go:183
Function
TestTriggerListJsonMarshalling
(t *testing.T)
api/models/trigger_test.go:34
Function
TestTriggerRunnerExecEmptyBody
(t *testing.T)
api/server/runner_httptrigger_test.go:135
Function
TestTriggerRunnerExecution
(t *testing.T)
api/server/runner_httptrigger_test.go:199
Function
TestTriggerRunnerGet
(t *testing.T)
api/server/runner_httptrigger_test.go:51
Function
TestTriggerRunnerMinimalConcurrentHotSync
Minimal test that checks the possibility of invoking concurrent hot sync functions.
api/server/runner_httptrigger_test.go:456
Function
TestTriggerRunnerPost
(t *testing.T)
api/server/runner_httptrigger_test.go:91
Function
TestTriggerRunnerTimeout
(t *testing.T)
api/server/runner_httptrigger_test.go:374
Function
TestTriggerUpdate
(t *testing.T)
api/server/trigger_test.go:389
Function
TestTriggerValidate
(t *testing.T)
api/models/trigger_test.go:59
Function
TestValidInValid
(t *testing.T)
api/id/id_test.go:44
Function
TestValidateApp
(t *testing.T)
api/models/app_test.go:180
Function
TestValidateAppName
(t *testing.T)
api/models/app_test.go:152
Function
TestValidateFn
(t *testing.T)
api/models/fn_test.go:138
Function
TestValidateFnName
(t *testing.T)
api/models/fn_test.go:111
Function
TestValidateTrigger
(t *testing.T)
api/models/trigger_test.go:179
Function
TestValidateTriggerName
(t *testing.T)
api/models/trigger_test.go:151
Function
TestVolumeValidation
(t *testing.T)
api/agent/drivers/docker/docker_test.go:116
Function
TestWaitGroupBlast
(t *testing.T)
api/common/wait_utils_test.go:48
Function
TestWaitGroupEmpty
(t *testing.T)
api/common/wait_utils_test.go:17
Function
TestWaitGroupSingle
(t *testing.T)
api/common/wait_utils_test.go:94
Function
TestWithLBCallOptions
We verify that we can add callOptions which are executed after the option supplied to GetCall
api/agent/lb_agent_test.go:271
Method
TmpFsSize
()
api/agent/agent.go:1378
Method
TmpFsSize
()
api/agent/drivers/docker/docker_pool.go:71
← previous
next →
1,601–1,700 of 2,053, ranked by callers