Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExpediaGroup/flyte
/ PostFlow
Function
PostFlow
flow/handler.go:38–67 ·
view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
7
TestPostFlow_ShouldAddFlowToRepoForValidRequest
Function · 0.85
TestPostFlow_TestValidJsonWithMissingField
Function · 0.85
TestPostFlow_ShouldReturn500WhenFlowIsEmpty
Function · 0.85
TestPostFlow_ShouldReturn500ForInvalidRequest
Function · 0.85
TestPostFlow_ShouldReturn500_WhenErrorHappens
Function · 0.85
TestPostFlow_ShouldErrorIfUnableToSetAbsolutePath
Function · 0.85
TestPostFlow_ShouldErrorIfUnableToFindFile
Function · 0.85
Calls
7
UriBuilder
Function · 0.92
validateJsonAgainstSchema
Function · 0.85
WriteHeader
Method · 0.80
Header
Method · 0.80
Build
Method · 0.80
Path
Method · 0.80
Add
Method · 0.65
Tested by
7
TestPostFlow_ShouldAddFlowToRepoForValidRequest
Function · 0.68
TestPostFlow_TestValidJsonWithMissingField
Function · 0.68
TestPostFlow_ShouldReturn500WhenFlowIsEmpty
Function · 0.68
TestPostFlow_ShouldReturn500ForInvalidRequest
Function · 0.68
TestPostFlow_ShouldReturn500_WhenErrorHappens
Function · 0.68
TestPostFlow_ShouldErrorIfUnableToSetAbsolutePath
Function · 0.68
TestPostFlow_ShouldErrorIfUnableToFindFile
Function · 0.68