Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ExpediaGroup/flyte
/ TakeAction
Function
TakeAction
execution/handler.go:121–156 ·
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
6
TestTakeAction_ShouldReturnActionWhenPackHasAnyNewActionsAndNameIsNotSpecified
Function · 0.85
TestTakeAction_ShouldReturnActionWhenPackHasNewActionsWithTheGivenName
Function · 0.85
TestTakeAction_ShouldReturn404WhenPackDoesNotExist
Function · 0.85
TestTakeAction_ShouldReturn500WhenThereIsErrorRetrievingPack
Function · 0.85
TestTakeAction_ShouldReturn500WhenThereIsErrorTakingAction
Function · 0.85
TestTakeAction_ShouldReturn204WhenPackDoesNotHaveNewAction
Function · 0.85
Calls
6
WriteResponse
Function · 0.92
toActionResponse
Function · 0.85
WriteHeader
Method · 0.80
TakeAction
Method · 0.80
Get
Method · 0.65
UpdateLastSeen
Method · 0.65
Tested by
6
TestTakeAction_ShouldReturnActionWhenPackHasAnyNewActionsAndNameIsNotSpecified
Function · 0.68
TestTakeAction_ShouldReturnActionWhenPackHasNewActionsWithTheGivenName
Function · 0.68
TestTakeAction_ShouldReturn404WhenPackDoesNotExist
Function · 0.68
TestTakeAction_ShouldReturn500WhenThereIsErrorRetrievingPack
Function · 0.68
TestTakeAction_ShouldReturn500WhenThereIsErrorTakingAction
Function · 0.68
TestTakeAction_ShouldReturn204WhenPackDoesNotHaveNewAction
Function · 0.68