SYMBOL INDEX (15148 symbols across 1598 files) FILE: agent/assistant/agent.go method Stream (line 23) | func (ast *Assistant) Stream(ctx *context.Context, inputMessages []conte... method GetConnector (line 613) | func (ast *Assistant) GetConnector(ctx *context.Context, opts ...*contex... method Info (line 641) | func (ast *Assistant) Info(locale ...string) *message.AssistantInfo { method getStreamHandler (line 656) | func (ast *Assistant) getStreamHandler(ctx *context.Context, opts ...*co... method sendAgentStreamStart (line 666) | func (ast *Assistant) sendAgentStreamStart(ctx *context.Context, handler... method sendAgentStreamEnd (line 688) | func (ast *Assistant) sendAgentStreamEnd(ctx *context.Context, handler m... method sendStreamEndOnError (line 723) | func (ast *Assistant) sendStreamEndOnError(ctx *context.Context, handler... method handleInterrupt (line 729) | func (ast *Assistant) handleInterrupt(ctx *context.Context, signal *cont... method initializeCapabilities (line 755) | func (ast *Assistant) initializeCapabilities(ctx *context.Context, opts ... method buildToolRetryMessages (line 778) | func (ast *Assistant) buildToolRetryMessages( FILE: agent/assistant/agent_interrupt_test.go function newTestContextWithInterrupt (line 18) | func newTestContextWithInterrupt(chatID, assistantID string) (*context.C... function TestAgentInterruptGraceful (line 64) | func TestAgentInterruptGraceful(t *testing.T) { function TestAgentInterruptForce (line 154) | func TestAgentInterruptForce(t *testing.T) { function TestAgentMultipleInterrupts (line 247) | func TestAgentMultipleInterrupts(t *testing.T) { function TestAgentInterruptWithoutStream (line 331) | func TestAgentInterruptWithoutStream(t *testing.T) { function TestAgentInterruptContextCleanup (line 372) | func TestAgentInterruptContextCleanup(t *testing.T) { FILE: agent/assistant/agent_next_test.go function newAgentNextTestContext (line 16) | func newAgentNextTestContext(chatID, assistantID string) *context.Context { function TestAgentNextStandard (line 39) | func TestAgentNextStandard(t *testing.T) { function TestAgentNextCustomData (line 76) | func TestAgentNextCustomData(t *testing.T) { function TestAgentNextDelegate (line 118) | func TestAgentNextDelegate(t *testing.T) { function TestAgentNextConditional (line 154) | func TestAgentNextConditional(t *testing.T) { function TestAgentWithoutNextHook (line 202) | func TestAgentWithoutNextHook(t *testing.T) { FILE: agent/assistant/assistant.go function init (line 18) | func init() { type agentCallerWrapper (line 57) | type agentCallerWrapper struct method Stream (line 61) | func (w *agentCallerWrapper) Stream(ctx *agentContext.Context, message... function Get (line 66) | func Get(id string) (*Assistant, error) { method GetPlaceholder (line 71) | func (ast *Assistant) GetPlaceholder(locale string) *store.Placeholder { method GetName (line 87) | func (ast *Assistant) GetName(locale string) string { method GetDescription (line 92) | func (ast *Assistant) GetDescription(locale string) string { method Save (line 97) | func (ast *Assistant) Save() error { method Map (line 111) | func (ast *Assistant) Map() map[string]interface{} { method Validate (line 156) | func (ast *Assistant) Validate() error { method Assets (line 170) | func (ast *Assistant) Assets(name string, data sui.Data) (string, error) { method Clone (line 192) | func (ast *Assistant) Clone() *Assistant { method GetInfo (line 471) | func (ast *Assistant) GetInfo(locale ...string) *store.AssistantInfo { function GetInfoByIDs (line 505) | func GetInfoByIDs(ids []string, locale ...string) map[string]*store.Assi... method Update (line 524) | func (ast *Assistant) Update(data map[string]interface{}) error { method GetMergedSearchConfig (line 681) | func (ast *Assistant) GetMergedSearchConfig() *searchTypes.Config { FILE: agent/assistant/build.go method BuildRequest (line 13) | func (ast *Assistant) BuildRequest(ctx *context.Context, messages []cont... method buildMessages (line 32) | func (ast *Assistant) buildMessages(ctx *context.Context, messages []con... method buildSystemPrompts (line 75) | func (ast *Assistant) buildSystemPrompts(ctx *context.Context, createRes... method shouldDisableGlobalPrompts (line 124) | func (ast *Assistant) shouldDisableGlobalPrompts(ctx *context.Context, c... method getAssistantPrompts (line 143) | func (ast *Assistant) getAssistantPrompts(ctx *context.Context, createRe... method getPromptPresetKey (line 160) | func (ast *Assistant) getPromptPresetKey(ctx *context.Context, createRes... method buildContextVariables (line 178) | func (ast *Assistant) buildContextVariables(ctx *context.Context) map[st... method buildCompletionOptions (line 268) | func (ast *Assistant) buildCompletionOptions(ctx *context.Context, creat... method applyAssistantOptions (line 296) | func (ast *Assistant) applyAssistantOptions(options *context.CompletionO... method applyContextOptions (line 454) | func (ast *Assistant) applyContextOptions(options *context.CompletionOpt... method applyCreateResponseOptions (line 466) | func (ast *Assistant) applyCreateResponseOptions(options *context.Comple... method getUses (line 537) | func (ast *Assistant) getUses() *context.Uses { method applyMCPTools (line 543) | func (ast *Assistant) applyMCPTools(ctx *context.Context, options *conte... method buildAndApplyMCPTools (line 560) | func (ast *Assistant) buildAndApplyMCPTools(ctx *context.Context, option... FILE: agent/assistant/build_content.go method BuildContent (line 16) | func (ast *Assistant) BuildContent(ctx *context.Context, messages []cont... function convertFilesToText (line 58) | func convertFilesToText(ctx *context.Context, messages []context.Message... function convertInterfaceToParts (line 116) | func convertInterfaceToParts(items []interface{}) []context.ContentPart { FILE: agent/assistant/build_mcp_test.go function TestBuildRequest_MCP (line 12) | func TestBuildRequest_MCP(t *testing.T) { function contains (line 288) | func contains(s, substr string) bool { function findSubstring (line 297) | func findSubstring(s, substr string) bool { FILE: agent/assistant/build_prompts_test.go function containsString (line 18) | func containsString(content interface{}, substr string) bool { function newPromptTestContext (line 28) | func newPromptTestContext(chatID, assistantID string) *context.Context { function newMinimalTestContext (line 55) | func newMinimalTestContext() *context.Context { function TestBuildSystemPromptsIntegration (line 59) | func TestBuildSystemPromptsIntegration(t *testing.T) { function TestPromptPresetAssistant (line 615) | func TestPromptPresetAssistant(t *testing.T) { FILE: agent/assistant/build_test.go function newTestContext (line 14) | func newTestContext(chatID, assistantID string) *context.Context { function TestBuildRequest (line 43) | func TestBuildRequest(t *testing.T) { FILE: agent/assistant/cache.go type Cache (line 9) | type Cache struct method Get (line 32) | func (c *Cache) Get(id string) (*Assistant, bool) { method Put (line 44) | func (c *Cache) Put(assistant *Assistant) { method Remove (line 73) | func (c *Cache) Remove(id string) { method Len (line 91) | func (c *Cache) Len() int { method All (line 98) | func (c *Cache) All() []*Assistant { method Clear (line 111) | func (c *Cache) Clear() { method ClearExcept (line 129) | func (c *Cache) ClearExcept(keep func(id string) bool) { method removeOldest (line 157) | func (c *Cache) removeOldest() { type cacheItem (line 17) | type cacheItem struct function NewCache (line 23) | func NewCache(capacity int) *Cache { FILE: agent/assistant/cache_test.go function TestCacheBasic (line 13) | func TestCacheBasic(t *testing.T) { function TestCacheLRU (line 45) | func TestCacheLRU(t *testing.T) { function TestCacheRemove (line 77) | func TestCacheRemove(t *testing.T) { function TestCacheClear (line 103) | func TestCacheClear(t *testing.T) { function TestCacheLRUEviction (line 132) | func TestCacheLRUEviction(t *testing.T) { function TestCacheConcurrent (line 164) | func TestCacheConcurrent(t *testing.T) { function TestCacheNilInput (line 214) | func TestCacheNilInput(t *testing.T) { function TestCacheAll (line 227) | func TestCacheAll(t *testing.T) { FILE: agent/assistant/chat.go method InitializeConversation (line 16) | func (ast *Assistant) InitializeConversation(ctx *agentcontext.Context, ... method InitializeConversationAsync (line 22) | func (ast *Assistant) InitializeConversationAsync(ctx *agentcontext.Cont... function GetChatKBID (line 29) | func GetChatKBID(teamID, userID string) string { function sanitizeCollectionID (line 42) | func sanitizeCollectionID(id string) string { function mergeChatMetadata (line 61) | func mergeChatMetadata(defaultMetadata map[string]interface{}, ctx *agen... method InitBuffer (line 98) | func (ast *Assistant) InitBuffer(ctx *agentcontext.Context) { method BufferUserInput (line 135) | func (ast *Assistant) BufferUserInput(ctx *agentcontext.Context, inputMe... method UpdateSpaceSnapshot (line 163) | func (ast *Assistant) UpdateSpaceSnapshot(ctx *agentcontext.Context) { method BeginStep (line 174) | func (ast *Assistant) BeginStep(ctx *agentcontext.Context, stepType stri... method CompleteStep (line 186) | func (ast *Assistant) CompleteStep(ctx *agentcontext.Context, output map... method FlushBuffer (line 195) | func (ast *Assistant) FlushBuffer(ctx *agentcontext.Context, finalStatus... method convertBufferedMessages (line 264) | func (ast *Assistant) convertBufferedMessages(buffered []*agentcontext.B... method convertBufferedSteps (line 293) | func (ast *Assistant) convertBufferedSteps(buffered []*agentcontext.Buff... method EnsureChat (line 324) | func (ast *Assistant) EnsureChat(ctx *agentcontext.Context) error { function GetChatStore (line 375) | func GetChatStore() storetypes.ChatStore { function GetStore (line 384) | func GetStore() storetypes.Store { method saveChat (line 395) | func (ast *Assistant) saveChat(ctx *agentcontext.Context, input []agentc... FILE: agent/assistant/chat_test.go function TestGetChatKBID (line 20) | func TestGetChatKBID(t *testing.T) { function TestPrepareKBCollection (line 83) | func TestPrepareKBCollection(t *testing.T) { function TestInitializeConversation (line 187) | func TestInitializeConversation(t *testing.T) { function TestBufferInitialization (line 238) | func TestBufferInitialization(t *testing.T) { function TestBufferUserInput (line 302) | func TestBufferUserInput(t *testing.T) { function TestBufferStepTracking (line 376) | func TestBufferStepTracking(t *testing.T) { function TestFlushBuffer (line 475) | func TestFlushBuffer(t *testing.T) { function TestEnsureChat (line 687) | func TestEnsureChat(t *testing.T) { function TestEnsureChatMetadata (line 821) | func TestEnsureChatMetadata(t *testing.T) { function TestConvertBufferedTypes (line 929) | func TestConvertBufferedTypes(t *testing.T) { FILE: agent/assistant/handlers/stream.go function DefaultStreamHandler (line 16) | func DefaultStreamHandler(ctx *context.Context) message.StreamFunc { type streamState (line 69) | type streamState struct method handleStreamStart (line 81) | func (s *streamState) handleStreamStart(data []byte) int { method handleMessageStart (line 95) | func (s *streamState) handleMessageStart(data []byte) int { method handleText (line 131) | func (s *streamState) handleText(data []byte) int { method handleThinking (line 166) | func (s *streamState) handleThinking(data []byte) int { method handleToolCall (line 200) | func (s *streamState) handleToolCall(data []byte) int { method handleMetadata (line 294) | func (s *streamState) handleMetadata(data []byte) int { method handleError (line 301) | func (s *streamState) handleError(data []byte) int { method handleMessageEnd (line 310) | func (s *streamState) handleMessageEnd(data []byte) int { method handleStreamEnd (line 411) | func (s *streamState) handleStreamEnd(data []byte) int { FILE: agent/assistant/history.go type HistoryResult (line 18) | type HistoryResult struct function getHistorySize (line 24) | func getHistorySize(opts *agentcontext.Options) int { method WithHistory (line 39) | func (ast *Assistant) WithHistory(ctx *agentcontext.Context, input []age... method loadHistory (line 116) | func (ast *Assistant) loadHistory(ctx *agentcontext.Context, maxSize int... method convertStoreMessageToContext (line 162) | func (ast *Assistant) convertStoreMessageToContext(msg *storetypes.Messa... method extractContentFromProps (line 203) | func (ast *Assistant) extractContentFromProps(props map[string]interface... method convertToolCallToContext (line 241) | func (ast *Assistant) convertToolCallToContext(msg *storetypes.Message) ... function parseToolCallRawChunks (line 282) | func parseToolCallRawChunks(raw string) (name, args string) { function splitJSONArrays (line 312) | func splitJSONArrays(s string) []string { method convertActionToContext (line 336) | func (ast *Assistant) convertActionToContext(msg *storetypes.Message) *a... method findOverlapIndex (line 368) | func (ast *Assistant) findOverlapIndex(history, input []agentcontext.Mes... method messagesMatch (line 403) | func (ast *Assistant) messagesMatch(a, b agentcontext.Message) bool { method contentMatches (line 414) | func (ast *Assistant) contentMatches(a, b interface{}) bool { FILE: agent/assistant/history_test.go function newHistoryTestContext (line 25) | func newHistoryTestContext(chatID string) *agentcontext.Context { function TestWithHistory (line 51) | func TestWithHistory(t *testing.T) { function TestHistoryLoading (line 385) | func TestHistoryLoading(t *testing.T) { function TestHistoryEdgeCases (line 758) | func TestHistoryEdgeCases(t *testing.T) { FILE: agent/assistant/hook/create.go method Create (line 13) | func (s *Script) Create(ctx *context.Context, messages []context.Message... method applyContextAdjustments (line 44) | func (s *Script) applyContextAdjustments(ctx *context.Context, response ... method applyOptionsAdjustments (line 75) | func (s *Script) applyOptionsAdjustments(opts *context.Options, response... method getHookCreateResponse (line 83) | func (s *Script) getHookCreateResponse(res interface{}) (*context.HookCr... FILE: agent/assistant/hook/create_bench_test.go function BenchmarkSimpleStandardMode (line 20) | func BenchmarkSimpleStandardMode(b *testing.B) { function BenchmarkSimplePerformanceMode (line 47) | func BenchmarkSimplePerformanceMode(b *testing.B) { function BenchmarkBusinessStandardMode (line 78) | func BenchmarkBusinessStandardMode(b *testing.B) { function BenchmarkBusinessPerformanceMode (line 108) | func BenchmarkBusinessPerformanceMode(b *testing.B) { function BenchmarkConcurrentSimpleStandardMode (line 143) | func BenchmarkConcurrentSimpleStandardMode(b *testing.B) { function BenchmarkConcurrentSimplePerformanceMode (line 175) | func BenchmarkConcurrentSimplePerformanceMode(b *testing.B) { function BenchmarkConcurrentBusinessStandardMode (line 207) | func BenchmarkConcurrentBusinessStandardMode(b *testing.B) { function BenchmarkConcurrentBusinessPerformanceMode (line 242) | func BenchmarkConcurrentBusinessPerformanceMode(b *testing.B) { function getBusinessScenarios (line 279) | func getBusinessScenarios() []struct { function newBenchContext (line 297) | func newBenchContext(chatID, assistantID string) *context.Context { FILE: agent/assistant/hook/create_mem_test.go function TestMemoryLeakStandardMode (line 22) | func TestMemoryLeakStandardMode(t *testing.T) { function TestMemoryLeakPerformanceMode (line 110) | func TestMemoryLeakPerformanceMode(t *testing.T) { function TestMemoryLeakBusinessScenarios (line 195) | func TestMemoryLeakBusinessScenarios(t *testing.T) { function TestMemoryLeakConcurrent (line 286) | func TestMemoryLeakConcurrent(t *testing.T) { function TestMemoryLeakNestedCalls (line 371) | func TestMemoryLeakNestedCalls(t *testing.T) { function TestMemoryLeakNestedConcurrent (line 447) | func TestMemoryLeakNestedConcurrent(t *testing.T) { function TestIsolateDisposal (line 533) | func TestIsolateDisposal(t *testing.T) { function newMemTestContext (line 613) | func newMemTestContext(chatID, assistantID string) *context.Context { FILE: agent/assistant/hook/create_nested_test.go function TestNestedScriptCall (line 14) | func TestNestedScriptCall(t *testing.T) { function TestNestedScriptCallConcurrent (line 58) | func TestNestedScriptCallConcurrent(t *testing.T) { FILE: agent/assistant/hook/create_test.go function newTestContext (line 15) | func newTestContext(chatID, assistantID string) *context.Context { function TestCreate (line 55) | func TestCreate(t *testing.T) { FILE: agent/assistant/hook/goroutine_leak_test.go function TestGoroutineLeakDetailed (line 20) | func TestGoroutineLeakDetailed(t *testing.T) { function TestGoroutineLeakByComponent (line 92) | func TestGoroutineLeakByComponent(t *testing.T) { function TestGoroutineLeakWithoutRelease (line 170) | func TestGoroutineLeakWithoutRelease(t *testing.T) { function saveGoroutineProfile (line 224) | func saveGoroutineProfile(filename string) { function analyzeGoroutineProfiles (line 234) | func analyzeGoroutineProfiles(t *testing.T, dir string) { function countGoroutinesByFunction (line 269) | func countGoroutinesByFunction(profile string) map[string]int { function truncate (line 288) | func truncate(s string, max int) string { function newLeakTestContext (line 295) | func newLeakTestContext(chatID, assistantID string) *context.Context { FILE: agent/assistant/hook/next.go method Next (line 13) | func (s *Script) Next(ctx *context.Context, payload *context.NextHookPay... method getNextHookResponse (line 46) | func (s *Script) getNextHookResponse(res interface{}) (*context.NextHook... FILE: agent/assistant/hook/next_test.go function newTestContextForNext (line 16) | func newTestContextForNext(chatID, assistantID string) *context.Context { function TestNext (line 56) | func TestNext(t *testing.T) { FILE: agent/assistant/hook/realworld_next_test.go function newRealWorldNextContext (line 15) | func newRealWorldNextContext(chatID, assistantID string) *context.Context { function TestRealWorldNextStandard (line 43) | func TestRealWorldNextStandard(t *testing.T) { function TestRealWorldNextCustomData (line 86) | func TestRealWorldNextCustomData(t *testing.T) { function TestRealWorldNextDelegate (line 134) | func TestRealWorldNextDelegate(t *testing.T) { function TestRealWorldNextProcessTools (line 178) | func TestRealWorldNextProcessTools(t *testing.T) { function TestRealWorldNextErrorRecovery (line 249) | func TestRealWorldNextErrorRecovery(t *testing.T) { function TestRealWorldNextConditional (line 297) | func TestRealWorldNextConditional(t *testing.T) { function TestRealWorldNextDefault (line 375) | func TestRealWorldNextDefault(t *testing.T) { FILE: agent/assistant/hook/realworld_stress_test.go function TestRealWorldSimpleScenario (line 24) | func TestRealWorldSimpleScenario(t *testing.T) { function TestRealWorldMCPScenarios (line 55) | func TestRealWorldMCPScenarios(t *testing.T) { function TestRealWorldTraceIntensive (line 225) | func TestRealWorldTraceIntensive(t *testing.T) { function TestRealWorldStressSimple (line 258) | func TestRealWorldStressSimple(t *testing.T) { function TestRealWorldStressMCP (line 318) | func TestRealWorldStressMCP(t *testing.T) { function TestRealWorldStressFullWorkflow (line 408) | func TestRealWorldStressFullWorkflow(t *testing.T) { function TestRealWorldStressConcurrent (line 488) | func TestRealWorldStressConcurrent(t *testing.T) { function TestRealWorldStressResourceHeavy (line 639) | func TestRealWorldStressResourceHeavy(t *testing.T) { function newRealWorldContext (line 722) | func newRealWorldContext(chatID, assistantID string) *context.Context { function getMemStats (line 762) | func getMemStats() uint64 { FILE: agent/assistant/hook/script.go method Execute (line 10) | func (s *Script) Execute(ctx *context.Context, method string, args ...in... FILE: agent/assistant/hook/types.go type Script (line 8) | type Script struct FILE: agent/assistant/llm.go method executeLLMStream (line 12) | func (ast *Assistant) executeLLMStream( method executeLLMForToolRetry (line 80) | func (ast *Assistant) executeLLMForToolRetry( FILE: agent/assistant/load.go function LoadBuiltIn (line 33) | func LoadBuiltIn() error { function SetStorage (line 134) | func SetStorage(s store.Store) { function GetStorage (line 139) | func GetStorage() store.Store { function SetConnector (line 144) | func SetConnector(c string) { function SetGlobalUses (line 149) | func SetGlobalUses(uses *context.Uses) { function SetGlobalPrompts (line 154) | func SetGlobalPrompts(prompts []store.Prompt) { function SetStoreSetting (line 159) | func SetStoreSetting(setting *store.Setting) { function GetStoreSetting (line 164) | func GetStoreSetting() *store.Setting { function GetGlobalPrompts (line 170) | func GetGlobalPrompts(ctx map[string]string) []store.Prompt { function SetGlobalKBSetting (line 178) | func SetGlobalKBSetting(kbSetting *store.KBSetting) { function GetGlobalKBSetting (line 183) | func GetGlobalKBSetting() *store.KBSetting { function SetGlobalSearchConfig (line 188) | func SetGlobalSearchConfig(config *searchTypes.Config) { function GetGlobalSearchConfig (line 193) | func GetGlobalSearchConfig() *searchTypes.Config { function SetCache (line 198) | func SetCache(capacity int) { function ClearCache (line 204) | func ClearCache() { function GetCache (line 212) | func GetCache() *Cache { function LoadStore (line 217) | func LoadStore(id string) (*Assistant, error) { function loadPackage (line 271) | func loadPackage(path string) (map[string]interface{}, error) { function LoadPath (line 307) | func LoadPath(path string) (*Assistant, error) { function loadMap (line 430) | func loadMap(data map[string]interface{}) (*Assistant, error) { method initialize (line 882) | func (ast *Assistant) initialize() error { function mergeUses (line 901) | func mergeUses(base, override *context.Uses) *context.Uses { function mergeSearchConfig (line 941) | func mergeSearchConfig(base, override *searchTypes.Config) *searchTypes.... function extractSandboxVersion (line 1102) | func extractSandboxVersion(v any) string { FILE: agent/assistant/load_merge_test.go function TestLoadPathMerge (line 14) | func TestLoadPathMerge(t *testing.T) { function TestLoadPathMergeOverride (line 110) | func TestLoadPathMergeOverride(t *testing.T) { function TestLoadPathMergeEmpty (line 184) | func TestLoadPathMergeEmpty(t *testing.T) { function TestLoadPathUsesAndSearchMerge (line 250) | func TestLoadPathUsesAndSearchMerge(t *testing.T) { function TestLoadPathSearchAssistant (line 300) | func TestLoadPathSearchAssistant(t *testing.T) { FILE: agent/assistant/load_process_test.go function TestLoadProcessIntegration (line 11) | func TestLoadProcessIntegration(t *testing.T) { function TestLoadProcessMultipleAssistants (line 91) | func TestLoadProcessMultipleAssistants(t *testing.T) { FILE: agent/assistant/load_store_test.go function TestLoadStoreWithSource (line 19) | func TestLoadStoreWithSource(t *testing.T) { function TestLoadStoreWithoutSource (line 103) | func TestLoadStoreWithoutSource(t *testing.T) { function newStoreTestContext (line 179) | func newStoreTestContext(chatID, assistantID string) *context.Context { function TestLoadStoreWithSourceExecuteHook (line 207) | func TestLoadStoreWithSourceExecuteHook(t *testing.T) { function TestLoadStoreWithPromptPresets (line 286) | func TestLoadStoreWithPromptPresets(t *testing.T) { function TestLoadStoreWithDisableGlobalPrompts (line 356) | func TestLoadStoreWithDisableGlobalPrompts(t *testing.T) { function TestLoadStoreCaching (line 399) | func TestLoadStoreCaching(t *testing.T) { function TestLoadStoreNotFound (line 445) | func TestLoadStoreNotFound(t *testing.T) { function TestLoadStoreWithAllFields (line 456) | func TestLoadStoreWithAllFields(t *testing.T) { function TestLoadStoreHookWithTypeScript (line 602) | func TestLoadStoreHookWithTypeScript(t *testing.T) { function TestLoadStoreHookReturnNull (line 726) | func TestLoadStoreHookReturnNull(t *testing.T) { function TestLoadStoreHookWithPromptPreset (line 777) | func TestLoadStoreHookWithPromptPreset(t *testing.T) { function TestLoadStoreHookDisableGlobalPrompts (line 873) | func TestLoadStoreHookDisableGlobalPrompts(t *testing.T) { function TestLoadStoreWithSearchConfig (line 949) | func TestLoadStoreWithSearchConfig(t *testing.T) { function TestLoadStoreWithPartialSearchConfig (line 1091) | func TestLoadStoreWithPartialSearchConfig(t *testing.T) { function TestLoadStoreWithoutSearchConfig (line 1151) | func TestLoadStoreWithoutSearchConfig(t *testing.T) { FILE: agent/assistant/load_system.go type SystemConfig (line 34) | type SystemConfig struct function SetSystemConfig (line 49) | func SetSystemConfig(config *SystemConfig) { function GetSystemConfig (line 54) | func GetSystemConfig() *SystemConfig { function LoadSystemAgents (line 62) | func LoadSystemAgents() error { function loadSystemAgent (line 137) | func loadSystemAgent(id, pathPrefix string) (*Assistant, error) { function resolveSystemConnector (line 208) | func resolveSystemConnector(agentID string) string { function findCapableConnector (line 258) | func findCapableConnector() string { function loadSystemPromptPresets (line 275) | func loadSystemPromptPresets(pathPrefix string) map[string][]store.Prompt { function loadSystemScripts (line 301) | func loadSystemScripts(pathPrefix string) (string, map[string]string) { function loadSystemLocales (line 334) | func loadSystemLocales(pathPrefix string) (i18n.Map, error) { FILE: agent/assistant/load_test.go function prepare (line 15) | func prepare(t *testing.T) { function prepareAgent (line 19) | func prepareAgent(t *testing.T) { function TestLoadPath (line 26) | func TestLoadPath(t *testing.T) { function TestLoadPathMCPTest (line 215) | func TestLoadPathMCPTest(t *testing.T) { function TestLoadPathBuildRequest (line 239) | func TestLoadPathBuildRequest(t *testing.T) { function TestCache (line 259) | func TestCache(t *testing.T) { function TestClone (line 316) | func TestClone(t *testing.T) { function TestUpdate (line 364) | func TestUpdate(t *testing.T) { function TestMap (line 449) | func TestMap(t *testing.T) { function TestLoadSystemAgents (line 483) | func TestLoadSystemAgents(t *testing.T) { function TestLoadPathSandboxV2 (line 598) | func TestLoadPathSandboxV2(t *testing.T) { function TestValidate (line 754) | func TestValidate(t *testing.T) { FILE: agent/assistant/mcp.go constant MaxMCPTools (line 19) | MaxMCPTools = 20 function MCPToolName (line 31) | func MCPToolName(serverID, toolName string) string { function ParseMCPToolName (line 48) | func ParseMCPToolName(formattedName string) (string, string, bool) { method buildMCPTools (line 75) | func (ast *Assistant) buildMCPTools(ctx *agentContext.Context, createRes... method executeToolCalls (line 223) | func (ast *Assistant) executeToolCalls(ctx *agentContext.Context, toolCa... method executeSingleToolCall (line 240) | func (ast *Assistant) executeSingleToolCall(ctx *agentContext.Context, t... method executeMultipleToolCallsParallel (line 411) | func (ast *Assistant) executeMultipleToolCallsParallel(ctx *agentContext... function isRetryableToolError (line 477) | func isRetryableToolError(err error) bool { method shouldRetrySequential (line 531) | func (ast *Assistant) shouldRetrySequential(results []ToolCallResult) bo... method executeServerToolsParallelWithTrace (line 544) | func (ast *Assistant) executeServerToolsParallelWithTrace(mcpCtx context... method executeServerToolsSequentialWithTrace (line 676) | func (ast *Assistant) executeServerToolsSequentialWithTrace(mcpCtx conte... FILE: agent/assistant/mcp_test.go function TestMCPToolName (line 17) | func TestMCPToolName(t *testing.T) { function TestParseMCPToolName (line 75) | func TestParseMCPToolName(t *testing.T) { function TestMCPToolName_RoundTrip (line 181) | func TestMCPToolName_RoundTrip(t *testing.T) { function TestMCPToolContextPassing (line 246) | func TestMCPToolContextPassing(t *testing.T) { function TestMCPToolContextPassingParallel (line 326) | func TestMCPToolContextPassingParallel(t *testing.T) { FILE: agent/assistant/next.go method processNextResponse (line 11) | func (ast *Assistant) processNextResponse(npc *NextProcessContext) (*age... method handleDelegation (line 43) | func (ast *Assistant) handleDelegation( method buildStandardResponse (line 70) | func (ast *Assistant) buildStandardResponse(npc *NextProcessContext) *ag... FILE: agent/assistant/permission.go method checkPermissions (line 9) | func (ast *Assistant) checkPermissions(ctx *context.Context) error { FILE: agent/assistant/sandbox.go function GetSandboxManager (line 33) | func GetSandboxManager() (*infraSandbox.Manager, error) { method HasSandbox (line 52) | func (ast *Assistant) HasSandbox() bool { method initSandbox (line 60) | func (ast *Assistant) initSandbox(ctx *context.Context, opts *context.Op... method executeSandboxStream (line 141) | func (ast *Assistant) executeSandboxStream( method buildSandboxOptions (line 202) | func (ast *Assistant) buildSandboxOptions(ctx *context.Context, opts *co... method loadMCPToolsForIPC (line 341) | func (ast *Assistant) loadMCPToolsForIPC(ctx *context.Context) (map[stri... method BuildMCPConfigForSandbox (line 427) | func (ast *Assistant) BuildMCPConfigForSandbox(ctx *context.Context) ([]... function resolveEnvValue (line 457) | func resolveEnvValue(value string) string { FILE: agent/assistant/sandbox_debug_test.go function TestSandboxDebugHasSandbox (line 13) | func TestSandboxDebugHasSandbox(t *testing.T) { function TestSandboxDebugPrompts (line 57) | func TestSandboxDebugPrompts(t *testing.T) { FILE: agent/assistant/sandbox_e2e_test.go function newSandboxE2EContext (line 20) | func newSandboxE2EContext(chatIDPrefix, assistantID string) *context.Con... function TestSandboxBasicE2E (line 55) | func TestSandboxBasicE2E(t *testing.T) { function truncateString (line 115) | func truncateString(s string, maxLen int) string { function TestSandboxHooksE2E (line 123) | func TestSandboxHooksE2E(t *testing.T) { function TestSandboxFullE2E (line 168) | func TestSandboxFullE2E(t *testing.T) { function TestSandboxContextAccess (line 220) | func TestSandboxContextAccess(t *testing.T) { function TestSandboxMCPToolCall (line 268) | func TestSandboxMCPToolCall(t *testing.T) { function TestSandboxMCPEchoTool (line 357) | func TestSandboxMCPEchoTool(t *testing.T) { function TestSandboxLoadConfiguration (line 419) | func TestSandboxLoadConfiguration(t *testing.T) { FILE: agent/assistant/sandbox_integration_test.go function TestSandboxOptionsBuilding (line 18) | func TestSandboxOptionsBuilding(t *testing.T) { function TestClaudeCommandBuilding (line 52) | func TestClaudeCommandBuilding(t *testing.T) { function TestClaudeProxyConfigBuilding (line 109) | func TestClaudeProxyConfigBuilding(t *testing.T) { function TestDefaultImageSelection (line 136) | func TestDefaultImageSelection(t *testing.T) { function TestSandboxCommandValidation (line 155) | func TestSandboxCommandValidation(t *testing.T) { function TestHasSandboxMethod (line 175) | func TestHasSandboxMethod(t *testing.T) { FILE: agent/assistant/sandbox_test.go function TestLoadSandboxBasicAssistant (line 20) | func TestLoadSandboxBasicAssistant(t *testing.T) { function TestLoadSandboxHooksAssistant (line 43) | func TestLoadSandboxHooksAssistant(t *testing.T) { function TestLoadSandboxFullAssistant (line 65) | func TestLoadSandboxFullAssistant(t *testing.T) { function TestSandboxConfigValidation (line 105) | func TestSandboxConfigValidation(t *testing.T) { function TestSkillsDirectoryResolution (line 148) | func TestSkillsDirectoryResolution(t *testing.T) { function TestMCPConfiguration (line 204) | func TestMCPConfiguration(t *testing.T) { function TestBuildMCPConfigForSandbox (line 231) | func TestBuildMCPConfigForSandbox(t *testing.T) { function TestSandboxMCPAndSkillsOptions (line 280) | func TestSandboxMCPAndSkillsOptions(t *testing.T) { FILE: agent/assistant/sandbox_v2.go method HasSandboxV2 (line 21) | func (ast *Assistant) HasSandboxV2() bool { method initSandboxV2 (line 28) | func (ast *Assistant) initSandboxV2(ctx *context.Context, opts *context.... method executeSandboxV2Stream (line 152) | func (ast *Assistant) executeSandboxV2Stream( method initStandaloneWorkspace (line 213) | func (ast *Assistant) initStandaloneWorkspace(ctx *context.Context) { function buildBoxDisplayName (line 233) | func buildBoxDisplayName(ctx *context.Context, assistantID, rawName stri... function updateLoadingV2 (line 259) | func updateLoadingV2(ctx *context.Context, loadingMsgID, msgKey string) { function closeLoadingV2 (line 275) | func closeLoadingV2(ctx *context.Context, loadingMsgID, msgKey string) { FILE: agent/assistant/scripts.go method Execute (line 22) | func (s *Script) Execute(ctx context.Context, method string, args ...int... method ExecuteWithAuthorized (line 27) | func (s *Script) ExecuteWithAuthorized(ctx context.Context, method strin... function LoadScripts (line 53) | func LoadScripts(srcDir string) (*hook.Script, map[string]*Script, error) { function generateScriptID (line 128) | func generateScriptID(filePath string, srcDir string) string { function loadScriptFile (line 147) | func loadScriptFile(file string) (*hook.Script, error) { function loadScriptFromSource (line 159) | func loadScriptFromSource(source string, file string) (*v8.Script, error) { function loadScriptV8 (line 168) | func loadScriptV8(file string) (*v8.Script, error) { function makeScriptID (line 180) | func makeScriptID(file string, root string) string { function LoadScriptsFromData (line 199) | func LoadScriptsFromData(data map[string]interface{}, assistantID string... function loadScriptsField (line 280) | func loadScriptsField(scriptsData interface{}) (map[string]*Script, erro... method RegisterScripts (line 332) | func (ast *Assistant) RegisterScripts() error { method UnregisterScripts (line 353) | func (ast *Assistant) UnregisterScripts() error { function makeScriptHandler (line 369) | func makeScriptHandler(script *Script) process.Handler { FILE: agent/assistant/scripts_process_test.go function TestScriptsProcessFlow (line 13) | func TestScriptsProcessFlow(t *testing.T) { function TestScriptsProcessUsing (line 116) | func TestScriptsProcessUsing(t *testing.T) { function TestScriptsProcessError (line 187) | func TestScriptsProcessError(t *testing.T) { FILE: agent/assistant/scripts_test.go function TestLoadScriptsFromData (line 18) | func TestLoadScriptsFromData(t *testing.T) { function TestGenerateScriptID (line 115) | func TestGenerateScriptID(t *testing.T) { function TestExecuteWithAuthorized (line 161) | func TestExecuteWithAuthorized(t *testing.T) { FILE: agent/assistant/search.go method shouldAutoSearch (line 27) | func (ast *Assistant) shouldAutoSearch(ctx *context.Context, messages []... function parseSearchField (line 83) | func parseSearchField(search any) *SearchIntent { method checkSearchIntent (line 150) | func (ast *Assistant) checkSearchIntent(ctx *context.Context, messages [... function parseSearchIntent (line 236) | func parseSearchIntent(intentData map[string]interface{}) *SearchIntent { function parseSearchIntentFromContent (line 280) | func parseSearchIntentFromContent(content string) *SearchIntent { method sendIntentLoading (line 317) | func (ast *Assistant) sendIntentLoading(ctx *context.Context) string { method sendIntentDone (line 340) | func (ast *Assistant) sendIntentDone(ctx *context.Context, loadingID str... method getMergedSearchUses (line 370) | func (ast *Assistant) getMergedSearchUses(createResponse *context.HookCr... method executeAutoSearch (line 438) | func (ast *Assistant) executeAutoSearch(ctx *context.Context, messages [... method sendSearchLoading (line 581) | func (ast *Assistant) sendSearchLoading(ctx *context.Context) string { method sendKeywordLoading (line 603) | func (ast *Assistant) sendKeywordLoading(ctx *context.Context) string { method sendKeywordDone (line 624) | func (ast *Assistant) sendKeywordDone(ctx *context.Context, loadingID st... method sendSearchResult (line 648) | func (ast *Assistant) sendSearchResult(ctx *context.Context, loadingID s... method sendSearchDone (line 678) | func (ast *Assistant) sendSearchDone(ctx *context.Context, loadingID str... method createSearchTrace (line 715) | func (ast *Assistant) createSearchTrace(ctx *context.Context, query stri... method completeSearchTrace (line 754) | func (ast *Assistant) completeSearchTrace(node traceTypes.Node, resultCo... type buildSearchRequestsOptions (line 777) | type buildSearchRequestsOptions struct method buildSearchRequests (line 785) | func (ast *Assistant) buildSearchRequests(ctx *context.Context, query st... method injectSearchContext (line 894) | func (ast *Assistant) injectSearchContext(messages []context.Message, re... function extractTextContent (line 945) | func extractTextContent(msg context.Message) string { function buildContextMessage (line 986) | func buildContextMessage(messages []context.Message) []context.Message { function extractQueryFromMessages (line 1043) | func extractQueryFromMessages(messages []context.Message) string { function truncateString (line 1070) | func truncateString(s string, maxLen int) string { type SearchExecutionResult (line 1082) | type SearchExecutionResult struct function keywordsToQuery (line 1095) | func keywordsToQuery(keywords []searchTypes.Keyword) string { function keywordsToStrings (line 1120) | func keywordsToStrings(keywords []searchTypes.Keyword) []string { function containsSearchType (line 1132) | func containsSearchType(types []string, searchType string) bool { method saveSearch (line 1143) | func (ast *Assistant) saveSearch(ctx *context.Context, execResult *Searc... function convertToStoreReferences (line 1196) | func convertToStoreReferences(refs []*searchTypes.Reference) []storeType... method configToMap (line 1234) | func (ast *Assistant) configToMap(config *searchTypes.Config) map[string... method getSearchProviderInfo (line 1273) | func (ast *Assistant) getSearchProviderInfo(config *searchTypes.Config, ... FILE: agent/assistant/search_auth_db.go function BuildDBAuthWheres (line 11) | func BuildDBAuthWheres(ctx *context.Context) []gou.Where { FILE: agent/assistant/search_auth_integration_test.go constant TestUserA (line 25) | TestUserA = "user_a" constant TestUserB (line 26) | TestUserB = "user_b" constant TestTeam1 (line 27) | TestTeam1 = "team_1" constant TestTeam2 (line 28) | TestTeam2 = "team_2" type authTestCollections (line 32) | type authTestCollections struct method cleanup (line 49) | func (c *authTestCollections) cleanup(ctx context.Context, t *testing.... function newAuthTestCollections (line 39) | func newAuthTestCollections() *authTestCollections { function TestKBCollectionAuthFilter (line 64) | func TestKBCollectionAuthFilter(t *testing.T) { function TestDBAuthWheresFilter (line 157) | func TestDBAuthWheresFilter(t *testing.T) { function TestKBSearchIntegration (line 275) | func TestKBSearchIntegration(t *testing.T) { function createAuthContext (line 421) | func createAuthContext(userID, teamID string, teamOnly, ownerOnly bool) ... function createAuthCollection (line 433) | func createAuthCollection(ctx context.Context, t *testing.T, id, userID,... function addAuthDocument (line 461) | func addAuthDocument(ctx context.Context, t *testing.T, collectionID, ti... function sanitizeForID (line 487) | func sanitizeForID(s string) string { function executeKBSearchOnCollections (line 499) | func executeKBSearchOnCollections(t *testing.T, collections []string, qu... FILE: agent/assistant/search_auth_kb.go function FilterKBCollectionsByAuth (line 14) | func FilterKBCollectionsByAuth(ctx *agentContext.Context, collections []... function hasCollectionAccess (line 50) | func hasCollectionAccess(authInfo *oauthtypes.AuthorizedInfo, collection... function isPublicValue (line 109) | func isPublicValue(v interface{}) bool { FILE: agent/assistant/search_auto_disabled_test.go function newSearchAutoDisabledTestContext (line 17) | func newSearchAutoDisabledTestContext(chatID, assistantID string) *conte... function TestSearchAutoDisabled (line 39) | func TestSearchAutoDisabled(t *testing.T) { FILE: agent/assistant/search_auto_full_test.go function newSearchAutoFullTestContext (line 18) | func newSearchAutoFullTestContext(chatID, assistantID string) *context.C... function TestSearchAutoFull (line 40) | func TestSearchAutoFull(t *testing.T) { FILE: agent/assistant/search_auto_hook_disable_test.go function newSearchAutoHookDisableTestContext (line 17) | func newSearchAutoHookDisableTestContext(chatID, assistantID string) *co... function TestSearchAutoHookDisable (line 39) | func TestSearchAutoHookDisable(t *testing.T) { FILE: agent/assistant/search_auto_keyword_test.go function newKeywordTestContext (line 18) | func newKeywordTestContext(chatID, assistantID string) *context.Context { function TestSearchAutoKeyword (line 40) | func TestSearchAutoKeyword(t *testing.T) { function TestSearchAutoKeywordNotConfigured (line 134) | func TestSearchAutoKeywordNotConfigured(t *testing.T) { FILE: agent/assistant/search_auto_web_test.go function newSearchAutoTestContext (line 18) | func newSearchAutoTestContext(chatID, assistantID string) *context.Conte... function TestSearchAutoWeb (line 40) | func TestSearchAutoWeb(t *testing.T) { FILE: agent/assistant/source.go function loadSource (line 16) | func loadSource(source string, assistantID string) (*hook.Script, error) { FILE: agent/assistant/trace.go method initAgentTraceNode (line 14) | func (ast *Assistant) initAgentTraceNode(ctx *context.Context, inputMess... method traceAgentHistory (line 31) | func (ast *Assistant) traceAgentHistory(ctx *context.Context, agentNode ... method traceCreateHook (line 43) | func (ast *Assistant) traceCreateHook(agentNode types.Node, createRespon... method traceConnectorCapabilities (line 52) | func (ast *Assistant) traceConnectorCapabilities(agentNode types.Node, c... method traceLLMRequest (line 61) | func (ast *Assistant) traceLLMRequest(ctx *context.Context, connID strin... method traceLLMComplete (line 79) | func (ast *Assistant) traceLLMComplete(ctx *context.Context, completionR... method traceLLMFail (line 89) | func (ast *Assistant) traceLLMFail(ctx *context.Context, err error) { method traceAgentCompletion (line 99) | func (ast *Assistant) traceAgentCompletion(ctx *context.Context, createR... method traceAgentOutput (line 135) | func (ast *Assistant) traceAgentOutput(agentNode types.Node, createRespo... method traceAgentFail (line 150) | func (ast *Assistant) traceAgentFail(agentNode types.Node, err error) { method traceLLMRetryRequest (line 159) | func (ast *Assistant) traceLLMRetryRequest(ctx *context.Context, connID ... FILE: agent/assistant/types.go constant HookErrorMethodNotFound (line 15) | HookErrorMethodNotFound = "method not found" type API (line 19) | type API interface type Script (line 24) | type Script struct type Assistant (line 29) | type Assistant struct type MCPTool (line 42) | type MCPTool struct type ToolCallResult (line 50) | type ToolCallResult struct method Server (line 62) | func (r *ToolCallResult) Server() string { method Tool (line 69) | func (r *ToolCallResult) Tool() string { method ParsedContent (line 97) | func (r *ToolCallResult) ParsedContent() (interface{}, error) { type NextProcessContext (line 76) | type NextProcessContext struct FILE: agent/assistant/utils.go function getTimestamp (line 14) | func getTimestamp(v interface{}) (int64, error) { function getBool (line 47) | func getBool(data map[string]interface{}, key string) bool { function stringHash (line 66) | func stringHash(v string) string { function ParseJSON (line 73) | func ParseJSON(jsonStr string, v interface{}) error { FILE: agent/caller/caller.go type AgentCaller (line 11) | type AgentCaller interface FILE: agent/caller/context.go function NewHeadlessContext (line 20) | func NewHeadlessContext(parent context.Context, authInfo *types.Authoriz... FILE: agent/caller/integration_test.go function TestIntegration_Call_RealAgent (line 16) | func TestIntegration_Call_RealAgent(t *testing.T) { function TestIntegration_All_RealAgents (line 73) | func TestIntegration_All_RealAgents(t *testing.T) { function TestIntegration_Any_RealAgents (line 138) | func TestIntegration_Any_RealAgents(t *testing.T) { function TestIntegration_Race_RealAgents (line 209) | func TestIntegration_Race_RealAgents(t *testing.T) { FILE: agent/caller/jsapi.go type JSAPI (line 11) | type JSAPI struct method Call (line 33) | func (api *JSAPI) Call(agentID string, messages []interface{}, opts ma... method All (line 46) | func (api *JSAPI) All(requests []interface{}) []interface{} { method Any (line 57) | func (api *JSAPI) Any(requests []interface{}) []interface{} { method Race (line 68) | func (api *JSAPI) Race(requests []interface{}) []interface{} { method CallWithHandler (line 82) | func (api *JSAPI) CallWithHandler(agentID string, messages []interface... method AllWithHandler (line 92) | func (api *JSAPI) AllWithHandler(requests []interface{}, globalHandler... method AnyWithHandler (line 99) | func (api *JSAPI) AnyWithHandler(requests []interface{}, globalHandler... method RaceWithHandler (line 106) | func (api *JSAPI) RaceWithHandler(requests []interface{}, globalHandle... method forceSkipForSubAgent (line 117) | func (api *JSAPI) forceSkipForSubAgent(req *Request) { method parseRequestsWithHandlers (line 141) | func (api *JSAPI) parseRequestsWithHandlers(requests []interface{}, gl... method buildRequest (line 192) | func (api *JSAPI) buildRequest(agentID string, messages []interface{},... method parseMessages (line 206) | func (api *JSAPI) parseMessages(messages []interface{}) []agentContext... method parseToolCalls (line 250) | func (api *JSAPI) parseToolCalls(toolCalls []interface{}) []agentConte... method parseCallOptions (line 281) | func (api *JSAPI) parseCallOptions(opts map[string]interface{}) *CallO... method parseRequests (line 321) | func (api *JSAPI) parseRequests(requests []interface{}) []*Request { method convertResults (line 326) | func (api *JSAPI) convertResults(results []*Result) []interface{} { function NewJSAPI (line 20) | func NewJSAPI(ctx *agentContext.Context) *JSAPI { function SetJSAPIFactory (line 336) | func SetJSAPIFactory() { FILE: agent/caller/jsapi_test.go function TestNewJSAPI (line 13) | func TestNewJSAPI(t *testing.T) { function TestJSAPI_Call_NoAgentGetter (line 19) | func TestJSAPI_Call_NoAgentGetter(t *testing.T) { function TestJSAPI_All_Empty (line 44) | func TestJSAPI_All_Empty(t *testing.T) { function TestJSAPI_Any_Empty (line 51) | func TestJSAPI_Any_Empty(t *testing.T) { function TestJSAPI_Race_Empty (line 58) | func TestJSAPI_Race_Empty(t *testing.T) { function TestJSAPI_All_InvalidRequests (line 65) | func TestJSAPI_All_InvalidRequests(t *testing.T) { function TestJSAPI_Call_WithOptions (line 85) | func TestJSAPI_Call_WithOptions(t *testing.T) { function TestSetJSAPIFactory (line 123) | func TestSetJSAPIFactory(t *testing.T) { function TestJSAPI_ImplementsAgentAPI (line 141) | func TestJSAPI_ImplementsAgentAPI(t *testing.T) { FILE: agent/caller/orchestrator.go type Orchestrator (line 13) | type Orchestrator struct method All (line 31) | func (o *Orchestrator) All(reqs []*Request) []*Result { method Any (line 71) | func (o *Orchestrator) Any(reqs []*Request) []*Result { method Race (line 142) | func (o *Orchestrator) Race(reqs []*Request) []*Result { method callAgent (line 210) | func (o *Orchestrator) callAgent(req *Request) *Result { method callAgentWithForkedContext (line 217) | func (o *Orchestrator) callAgentWithForkedContext(req *Request) *Result { method callAgentWithContext (line 225) | func (o *Orchestrator) callAgentWithContext(ctx *agentContext.Context,... function NewOrchestrator (line 18) | func NewOrchestrator(ctx *agentContext.Context) *Orchestrator { type callResult (line 23) | type callResult struct function extractContentFromCompletion (line 299) | func extractContentFromCompletion(completion *agentContext.CompletionRes... FILE: agent/caller/orchestrator_test.go function TestNewOrchestrator (line 13) | func TestNewOrchestrator(t *testing.T) { function TestOrchestrator_All_Empty (line 19) | func TestOrchestrator_All_Empty(t *testing.T) { function TestOrchestrator_Any_Empty (line 27) | func TestOrchestrator_Any_Empty(t *testing.T) { function TestOrchestrator_Race_Empty (line 35) | func TestOrchestrator_Race_Empty(t *testing.T) { function TestOrchestrator_All_NoGetter (line 43) | func TestOrchestrator_All_NoGetter(t *testing.T) { function TestOrchestrator_Any_NoGetter (line 73) | func TestOrchestrator_Any_NoGetter(t *testing.T) { function TestOrchestrator_Race_NoGetter (line 107) | func TestOrchestrator_Race_NoGetter(t *testing.T) { function TestOrchestrator_All_NilRequest (line 140) | func TestOrchestrator_All_NilRequest(t *testing.T) { FILE: agent/caller/process.go function init (line 15) | func init() { function processAgentCall (line 24) | func processAgentCall(p *process.Process) interface{} { function ParseMessages (line 92) | func ParseMessages(raw []map[string]interface{}) []agentContext.Message { function parseToolCalls (line 131) | func parseToolCalls(toolCalls []interface{}) []agentContext.ToolCall { FILE: agent/caller/process_e2e_test.go function newLLMProcess (line 18) | func newLLMProcess(t *testing.T, name string, args ...interface{}) *proc... function TestProcessCall_LLM_Basic (line 28) | func TestProcessCall_LLM_Basic(t *testing.T) { function TestProcessCall_LLM_MultipleMessages (line 58) | func TestProcessCall_LLM_MultipleMessages(t *testing.T) { function TestProcessCall_LLM_WithMetadata (line 83) | func TestProcessCall_LLM_WithMetadata(t *testing.T) { function TestProcessCall_LLM_SkipOutputForced (line 111) | func TestProcessCall_LLM_SkipOutputForced(t *testing.T) { function TestProcessCall_CreateHook_Default (line 144) | func TestProcessCall_CreateHook_Default(t *testing.T) { function TestProcessCall_CreateHook_ReturnFull (line 170) | func TestProcessCall_CreateHook_ReturnFull(t *testing.T) { function TestProcessCall_NextHook_Standard (line 201) | func TestProcessCall_NextHook_Standard(t *testing.T) { function TestProcessCall_NextHook_CustomData (line 227) | func TestProcessCall_NextHook_CustomData(t *testing.T) { function TestProcessCall_Timeout_Short (line 269) | func TestProcessCall_Timeout_Short(t *testing.T) { function TestProcessCall_Error_MissingAssistantID (line 308) | func TestProcessCall_Error_MissingAssistantID(t *testing.T) { function TestProcessCall_Error_EmptyMessages (line 324) | func TestProcessCall_Error_EmptyMessages(t *testing.T) { function TestProcessCall_Error_InvalidArgument (line 339) | func TestProcessCall_Error_InvalidArgument(t *testing.T) { function TestProcessCall_Error_NoArgument (line 351) | func TestProcessCall_Error_NoArgument(t *testing.T) { function TestProcessCall_Error_NonexistentAgent (line 362) | func TestProcessCall_Error_NonexistentAgent(t *testing.T) { FILE: agent/caller/process_test.go function TestNewHeadlessContext_Basic (line 17) | func TestNewHeadlessContext_Basic(t *testing.T) { function TestNewHeadlessContext_WithModel (line 45) | func TestNewHeadlessContext_WithModel(t *testing.T) { function TestNewHeadlessContext_WithChatID (line 58) | func TestNewHeadlessContext_WithChatID(t *testing.T) { function TestNewHeadlessContext_ForceSkipOverridesUserSkip (line 71) | func TestNewHeadlessContext_ForceSkipOverridesUserSkip(t *testing.T) { function TestNewHeadlessContext_WithMetadata (line 87) | func TestNewHeadlessContext_WithMetadata(t *testing.T) { function TestNewHeadlessContext_WithTimeout (line 102) | func TestNewHeadlessContext_WithTimeout(t *testing.T) { function TestProcessCallRequest_DefaultTimeout (line 118) | func TestProcessCallRequest_DefaultTimeout(t *testing.T) { function TestParseMessages_Basic (line 131) | func TestParseMessages_Basic(t *testing.T) { function TestParseMessages_WithOptionalFields (line 146) | func TestParseMessages_WithOptionalFields(t *testing.T) { function TestParseMessages_Empty (line 168) | func TestParseMessages_Empty(t *testing.T) { function TestNewResult_Success (line 175) | func TestNewResult_Success(t *testing.T) { function TestNewResult_WithError (line 190) | func TestNewResult_WithError(t *testing.T) { function TestNewResult_NilResponse (line 199) | func TestNewResult_NilResponse(t *testing.T) { function TestNewResult_NilCompletion (line 208) | func TestNewResult_NilCompletion(t *testing.T) { FILE: agent/caller/sandbox_integration_test.go function TestSandboxE2E_ClaudeCLIExecution (line 24) | func TestSandboxE2E_ClaudeCLIExecution(t *testing.T) { function TestSandboxE2E_FileCreation (line 111) | func TestSandboxE2E_FileCreation(t *testing.T) { function TestSandboxE2E_HookOnlyMode (line 187) | func TestSandboxE2E_HookOnlyMode(t *testing.T) { function TestSandboxE2E_StreamingResponse (line 255) | func TestSandboxE2E_StreamingResponse(t *testing.T) { function truncateStr (line 329) | func truncateStr(s string, maxLen int) string { FILE: agent/caller/types.go constant DefaultProcessTimeout (line 10) | DefaultProcessTimeout = 600 type Request (line 13) | type Request struct type CallOptions (line 21) | type CallOptions struct method ToContextOptions (line 68) | func (o *CallOptions) ToContextOptions() *agentContext.Options { type Result (line 29) | type Result struct type ProcessCallRequest (line 39) | type ProcessCallRequest struct function NewResult (line 54) | func NewResult(agentID string, resp *agentContext.Response, err error) *... FILE: agent/caller/types_test.go function TestCallOptions_ToContextOptions_Nil (line 12) | func TestCallOptions_ToContextOptions_Nil(t *testing.T) { function TestCallOptions_ToContextOptions_Empty (line 18) | func TestCallOptions_ToContextOptions_Empty(t *testing.T) { function TestCallOptions_ToContextOptions_Full (line 28) | func TestCallOptions_ToContextOptions_Full(t *testing.T) { function TestRequest_Basic (line 53) | func TestRequest_Basic(t *testing.T) { function TestResult_Basic (line 66) | func TestResult_Basic(t *testing.T) { function TestResult_WithError (line 77) | func TestResult_WithError(t *testing.T) { FILE: agent/content/content.go function ParseUserInput (line 19) | func ParseUserInput(ctx *agentContext.Context, messages []agentContext.M... function parseUserInputMessage (line 51) | func parseUserInputMessage(ctx *agentContext.Context, message agentConte... function parseContentParts (line 74) | func parseContentParts(ctx *agentContext.Context, message agentContext.M... function parseContentPart (line 95) | func parseContentPart(ctx *agentContext.Context, content agentContext.Co... function parseFileContent (line 118) | func parseFileContent(ctx *agentContext.Context, content agentContext.Co... function convertToContentParts (line 148) | func convertToContentParts(content []interface{}) ([]agentContext.Conten... FILE: agent/content/docx/docx.go type Docx (line 16) | type Docx struct method Parse (line 26) | func (h *Docx) Parse(ctx *agentContext.Context, content agentContext.C... method readFile (line 73) | func (h *Docx) readFile(ctx *agentContext.Context, url string) ([]byte... method readFromUploader (line 91) | func (h *Docx) readFromUploader(ctx *agentContext.Context, wrapper str... method readFromCache (line 111) | func (h *Docx) readFromCache(ctx *agentContext.Context, url string) (s... method saveToCache (line 131) | func (h *Docx) saveToCache(ctx *agentContext.Context, url string, text... function New (line 21) | func New(options *types.Options) *Docx { FILE: agent/content/docx/docx_test.go constant testFilesDir (line 19) | testFilesDir = "assistants/tests/vision-helper/tests" function newTestContext (line 21) | func newTestContext() *agentContext.Context { function newTestOptions (line 34) | func newTestOptions() *contentTypes.Options { function getTestFilePath (line 40) | func getTestFilePath(filename string) string { function TestParseWithMissingURL (line 49) | func TestParseWithMissingURL(t *testing.T) { function TestParseWithLocalDocx (line 73) | func TestParseWithLocalDocx(t *testing.T) { function TestParseWithNonExistentFile (line 108) | func TestParseWithNonExistentFile(t *testing.T) { FILE: agent/content/image/image.go type Image (line 18) | type Image struct method Parse (line 33) | func (h *Image) Parse(ctx *agentContext.Context, content agentContext.... method base64 (line 89) | func (h *Image) base64(ctx *agentContext.Context, content agentContext... method read (line 116) | func (h *Image) read(ctx *agentContext.Context, url string) ([]byte, s... method readFromDataURI (line 138) | func (h *Image) readFromDataURI(dataURI string) ([]byte, string, error) { method readFromUploader (line 175) | func (h *Image) readFromUploader(ctx *agentContext.Context, wrapper st... method readFromCache (line 204) | func (h *Image) readFromCache(ctx *agentContext.Context, url string) (... method saveToCache (line 228) | func (h *Image) saveToCache(ctx *agentContext.Context, url string, tex... method agent (line 246) | func (h *Image) agent(ctx *agentContext.Context, content agentContext.... method callVisionAgent (line 296) | func (h *Image) callVisionAgent(ctx *agentContext.Context, agentID str... method callMCPVisionTool (line 336) | func (h *Image) callMCPVisionTool(ctx *agentContext.Context, serverID ... method sendLoading (line 365) | func (h *Image) sendLoading(ctx *agentContext.Context, msg string) str... method sendLoadingDone (line 386) | func (h *Image) sendLoadingDone(ctx *agentContext.Context, loadingID s... function New (line 23) | func New(options *types.Options) *Image { function EncodeToBase64DataURI (line 405) | func EncodeToBase64DataURI(data []byte, contentType string) string { FILE: agent/content/image/image_test.go function newTestContext (line 20) | func newTestContext(capabilities *openai.Capabilities) *agentContext.Con... function newTestOptions (line 48) | func newTestOptions(capabilities *openai.Capabilities, completionOptions... function TestParseWithVisionSupport (line 56) | func TestParseWithVisionSupport(t *testing.T) { function TestParseWithoutVisionSupport (line 93) | func TestParseWithoutVisionSupport(t *testing.T) { function TestParseWithEmptyURL (line 128) | func TestParseWithEmptyURL(t *testing.T) { function TestParseWithNilImageURL (line 159) | func TestParseWithNilImageURL(t *testing.T) { function TestEncodeToBase64DataURI (line 188) | func TestEncodeToBase64DataURI(t *testing.T) { function TestParseDataURIPassthrough (line 234) | func TestParseDataURIPassthrough(t *testing.T) { function TestParseWithVisionAgent (line 271) | func TestParseWithVisionAgent(t *testing.T) { function TestParseWithForceUsesVisionAgent (line 316) | func TestParseWithForceUsesVisionAgent(t *testing.T) { function createTestPNG (line 362) | func createTestPNG() []byte { FILE: agent/content/pdf/pdf.go type PDF (line 22) | type PDF struct method Parse (line 33) | func (h *PDF) Parse(ctx *agentContext.Context, content agentContext.Co... method ParseMulti (line 55) | func (h *PDF) ParseMulti(ctx *agentContext.Context, content agentConte... method asImages (line 78) | func (h *PDF) asImages(ctx *agentContext.Context, content agentContext... method asImagesMulti (line 133) | func (h *PDF) asImagesMulti(ctx *agentContext.Context, content agentCo... method readPDF (line 242) | func (h *PDF) readPDF(ctx *agentContext.Context, url string) ([]byte, ... method readFromUploader (line 261) | func (h *PDF) readFromUploader(ctx *agentContext.Context, wrapper stri... method readFromCache (line 281) | func (h *PDF) readFromCache(ctx *agentContext.Context, url string) (st... method saveToCache (line 301) | func (h *PDF) saveToCache(ctx *agentContext.Context, url string, text ... method getPDFProcessor (line 316) | func (h *PDF) getPDFProcessor() (*goupdf.PDF, error) { method sendLoading (line 344) | func (h *PDF) sendLoading(ctx *agentContext.Context, msg string) string { method sendLoadingDone (line 360) | func (h *PDF) sendLoadingDone(ctx *agentContext.Context, loadingID str... function New (line 27) | func New(options *types.Options) *PDF { FILE: agent/content/pdf/pdf_test.go constant testFilesDir (line 20) | testFilesDir = "assistants/tests/vision-helper/tests" function newTestContext (line 23) | func newTestContext(capabilities *openai.Capabilities) *agentContext.Con... function newTestOptions (line 51) | func newTestOptions(capabilities *openai.Capabilities, completionOptions... function getTestFilePath (line 59) | func getTestFilePath(filename string) string { function TestParseWithMissingURL (line 68) | func TestParseWithMissingURL(t *testing.T) { function TestParseWithEmptyURL (line 97) | func TestParseWithEmptyURL(t *testing.T) { function TestParseWithLocalPDFAndVisionSupport (line 129) | func TestParseWithLocalPDFAndVisionSupport(t *testing.T) { function TestParseWithLocalPDFAndVisionAgent (line 176) | func TestParseWithLocalPDFAndVisionAgent(t *testing.T) { function TestParseMultiWithLocalPDF (line 226) | func TestParseMultiWithLocalPDF(t *testing.T) { function TestParseWithUnsupportedSource (line 275) | func TestParseWithUnsupportedSource(t *testing.T) { function TestParseWithNonExistentFile (line 307) | func TestParseWithNonExistentFile(t *testing.T) { function TestSilentLoadingOption (line 339) | func TestSilentLoadingOption(t *testing.T) { FILE: agent/content/pptx/pptx.go type Pptx (line 16) | type Pptx struct method Parse (line 26) | func (h *Pptx) Parse(ctx *agentContext.Context, content agentContext.C... method readFile (line 73) | func (h *Pptx) readFile(ctx *agentContext.Context, url string) ([]byte... method readFromUploader (line 91) | func (h *Pptx) readFromUploader(ctx *agentContext.Context, wrapper str... method readFromCache (line 111) | func (h *Pptx) readFromCache(ctx *agentContext.Context, url string) (s... method saveToCache (line 131) | func (h *Pptx) saveToCache(ctx *agentContext.Context, url string, text... function New (line 21) | func New(options *types.Options) *Pptx { FILE: agent/content/pptx/pptx_test.go constant testFilesDir (line 19) | testFilesDir = "assistants/tests/vision-helper/tests" function newTestContext (line 21) | func newTestContext() *agentContext.Context { function newTestOptions (line 34) | func newTestOptions() *contentTypes.Options { function getTestFilePath (line 40) | func getTestFilePath(filename string) string { function TestParseWithMissingURL (line 49) | func TestParseWithMissingURL(t *testing.T) { function TestParseWithLocalPptx (line 73) | func TestParseWithLocalPptx(t *testing.T) { function TestParseWithNonExistentFile (line 108) | func TestParseWithNonExistentFile(t *testing.T) { FILE: agent/content/text/text.go type Text (line 96) | type Text struct method Parse (line 112) | func (h *Text) Parse(ctx *agentContext.Context, content agentContext.C... method ParseRaw (line 160) | func (h *Text) ParseRaw(ctx *agentContext.Context, content agentContex... method readFile (line 204) | func (h *Text) readFile(ctx *agentContext.Context, url string) ([]byte... method readFromUploader (line 222) | func (h *Text) readFromUploader(ctx *agentContext.Context, wrapper str... method readFromCache (line 242) | func (h *Text) readFromCache(ctx *agentContext.Context, url string) (s... method saveToCache (line 262) | func (h *Text) saveToCache(ctx *agentContext.Context, url string, text... function New (line 101) | func New(options *types.Options) *Text { function IsSupportedExtension (line 106) | func IsSupportedExtension(filename string) bool { function isCodeFile (line 277) | func isCodeFile(ext string) bool { function getLanguageFromExt (line 291) | func getLanguageFromExt(ext string) string { FILE: agent/content/text/text_test.go constant testFilesDir (line 20) | testFilesDir = "assistants/tests/vision-helper/tests" function newTestContext (line 22) | func newTestContext() *agentContext.Context { function newTestOptions (line 35) | func newTestOptions() *contentTypes.Options { function getTestFilePath (line 41) | func getTestFilePath(filename string) string { function TestIsSupportedExtension (line 50) | func TestIsSupportedExtension(t *testing.T) { function TestParseWithMissingURL (line 77) | func TestParseWithMissingURL(t *testing.T) { function TestParseWithLocalTextFile (line 101) | func TestParseWithLocalTextFile(t *testing.T) { function TestParseWithLocalMarkdownFile (line 136) | func TestParseWithLocalMarkdownFile(t *testing.T) { function TestParseWithLocalCodeFile (line 171) | func TestParseWithLocalCodeFile(t *testing.T) { function TestParseWithLocalYaoFile (line 209) | func TestParseWithLocalYaoFile(t *testing.T) { function TestParseWithLocalJsonFile (line 244) | func TestParseWithLocalJsonFile(t *testing.T) { function TestParseWithNonExistentFile (line 279) | func TestParseWithNonExistentFile(t *testing.T) { function TestParseRawWithLocalFile (line 306) | func TestParseRawWithLocalFile(t *testing.T) { FILE: agent/content/tools/tools.go function CallAgent (line 15) | func CallAgent(ctx *agentContext.Context, agentID string, message agentC... function ExtractTextFromResponse (line 41) | func ExtractTextFromResponse(response *agentContext.Response) (string, e... function CallMCPTool (line 87) | func CallMCPTool(ctx *agentContext.Context, serverID string, toolName st... FILE: agent/content/types/types.go type Options (line 10) | type Options struct FILE: agent/context/authorized_test.go function TestContextNew_PreservesAuthorizedInfo (line 15) | func TestContextNew_PreservesAuthorizedInfo(t *testing.T) { function TestContextTrace_SavesAuthorizedInfo (line 39) | func TestContextTrace_SavesAuthorizedInfo(t *testing.T) { function TestContextNew_NilAuthorized (line 82) | func TestContextNew_NilAuthorized(t *testing.T) { FILE: agent/context/buffer.go type ChatBuffer (line 16) | type ChatBuffer struct method AddMessage (line 119) | func (b *ChatBuffer) AddMessage(msg *BufferedMessage) { method AddUserInput (line 154) | func (b *ChatBuffer) AddUserInput(content interface{}, name string) { method AddAssistantMessage (line 172) | func (b *ChatBuffer) AddAssistantMessage(messageID, msgType string, pr... method AddStreamingMessage (line 194) | func (b *ChatBuffer) AddStreamingMessage(messageID, msgType string, pr... method AppendMessageContent (line 222) | func (b *ChatBuffer) AppendMessageContent(messageID string, content st... method CompleteStreamingMessage (line 247) | func (b *ChatBuffer) CompleteStreamingMessage(messageID string) (strin... method GetStreamingMessage (line 266) | func (b *ChatBuffer) GetStreamingMessage(messageID string) *BufferedMe... method GetMessages (line 279) | func (b *ChatBuffer) GetMessages() []*BufferedMessage { method GetMessageCount (line 289) | func (b *ChatBuffer) GetMessageCount() int { method BeginStep (line 301) | func (b *ChatBuffer) BeginStep(stepType string, input map[string]inter... method CompleteStep (line 338) | func (b *ChatBuffer) CompleteStep(output map[string]interface{}) { method FailCurrentStep (line 350) | func (b *ChatBuffer) FailCurrentStep(status string, err error) { method GetCurrentStep (line 363) | func (b *ChatBuffer) GetCurrentStep() *BufferedStep { method GetStepsForResume (line 371) | func (b *ChatBuffer) GetStepsForResume(finalStatus string) []*Buffered... method GetAllSteps (line 392) | func (b *ChatBuffer) GetAllSteps() []*BufferedStep { method SetSpaceSnapshot (line 407) | func (b *ChatBuffer) SetSpaceSnapshot(snapshot map[string]interface{}) { method GetSpaceSnapshot (line 414) | func (b *ChatBuffer) GetSpaceSnapshot() map[string]interface{} { method ChatID (line 425) | func (b *ChatBuffer) ChatID() string { method RequestID (line 430) | func (b *ChatBuffer) RequestID() string { method AssistantID (line 435) | func (b *ChatBuffer) AssistantID() string { method SetAssistantID (line 440) | func (b *ChatBuffer) SetAssistantID(assistantID string) { method Connector (line 447) | func (b *ChatBuffer) Connector() string { method SetConnector (line 452) | func (b *ChatBuffer) SetConnector(connector string) { method Mode (line 459) | func (b *ChatBuffer) Mode() string { method SetMode (line 464) | func (b *ChatBuffer) SetMode(mode string) { type BufferedMessage (line 40) | type BufferedMessage struct type BufferedStep (line 60) | type BufferedStep struct constant StepStatusRunning (line 81) | StepStatusRunning = "running" constant StepStatusCompleted (line 82) | StepStatusCompleted = "completed" constant StepTypeInput (line 87) | StepTypeInput = "input" constant StepTypeHookCreate (line 88) | StepTypeHookCreate = "hook_create" constant StepTypeLLM (line 89) | StepTypeLLM = "llm" constant StepTypeTool (line 90) | StepTypeTool = "tool" constant StepTypeHookNext (line 91) | StepTypeHookNext = "hook_next" constant StepTypeDelegate (line 92) | StepTypeDelegate = "delegate" constant ResumeStatusFailed (line 97) | ResumeStatusFailed = "failed" constant ResumeStatusInterrupted (line 98) | ResumeStatusInterrupted = "interrupted" function NewChatBuffer (line 102) | func NewChatBuffer(chatID, requestID, assistantID, connector, mode strin... function copyMap (line 475) | func copyMap(src map[string]interface{}) map[string]interface{} { FILE: agent/context/buffer_test.go function TestBufferNewChatBuffer (line 18) | func TestBufferNewChatBuffer(t *testing.T) { function TestBufferAddMessage (line 45) | func TestBufferAddMessage(t *testing.T) { function TestBufferAddUserInput (line 126) | func TestBufferAddUserInput(t *testing.T) { function TestBufferAddAssistantMessage (line 164) | func TestBufferAddAssistantMessage(t *testing.T) { function TestBufferGetMessages (line 256) | func TestBufferGetMessages(t *testing.T) { function TestBufferGetMessageCount (line 279) | func TestBufferGetMessageCount(t *testing.T) { function TestBufferBeginStep (line 294) | func TestBufferBeginStep(t *testing.T) { function TestBufferCompleteStep (line 364) | func TestBufferCompleteStep(t *testing.T) { function TestBufferFailCurrentStep (line 406) | func TestBufferFailCurrentStep(t *testing.T) { function TestBufferGetCurrentStep (line 453) | func TestBufferGetCurrentStep(t *testing.T) { function TestBufferGetStepsForResume (line 477) | func TestBufferGetStepsForResume(t *testing.T) { function TestBufferGetAllSteps (line 524) | func TestBufferGetAllSteps(t *testing.T) { function TestBufferSpaceSnapshot (line 550) | func TestBufferSpaceSnapshot(t *testing.T) { function TestBufferIdentityMethods (line 613) | func TestBufferIdentityMethods(t *testing.T) { function TestBufferConnectorInMessages (line 653) | func TestBufferConnectorInMessages(t *testing.T) { function TestBufferConcurrentMessageOperations (line 739) | func TestBufferConcurrentMessageOperations(t *testing.T) { function TestBufferConcurrentStepOperations (line 772) | func TestBufferConcurrentStepOperations(t *testing.T) { function TestBufferConcurrentReadWrite (line 796) | func TestBufferConcurrentReadWrite(t *testing.T) { function TestBufferStepTypeConstants (line 845) | func TestBufferStepTypeConstants(t *testing.T) { function TestBufferResumeStatusConstants (line 855) | func TestBufferResumeStatusConstants(t *testing.T) { function TestBufferStepStatusConstants (line 860) | func TestBufferStepStatusConstants(t *testing.T) { function TestBufferEdgeCases (line 869) | func TestBufferEdgeCases(t *testing.T) { function TestBufferCompleteWorkflow (line 950) | func TestBufferCompleteWorkflow(t *testing.T) { function TestBufferMessageSequence (line 1106) | func TestBufferMessageSequence(t *testing.T) { function TestBufferStepSequence (line 1143) | func TestBufferStepSequence(t *testing.T) { function TestBufferMultipleRequests (line 1163) | func TestBufferMultipleRequests(t *testing.T) { function TestBufferStreamingMessage (line 1188) | func TestBufferStreamingMessage(t *testing.T) { FILE: agent/context/chat.go constant chatCachePrefix (line 15) | chatCachePrefix = "chat:messages:" constant chatCacheTTL (line 16) | chatCacheTTL = time.Hour * 24 * 7 function filterNonAssistantMessages (line 20) | func filterNonAssistantMessages(messages []Message) []Message { function countUserMessages (line 31) | func countUserMessages(messages []Message) int { function GetChatIDByMessages (line 48) | func GetChatIDByMessages(cache store.Store, messages []Message) (string,... function CacheChatID (line 97) | func CacheChatID(cache store.Store, messages []Message, chatID string) e... function GenChatID (line 131) | func GenChatID(safe ...bool) string { function getKey (line 149) | func getKey(messageHash string) string { function hashMessage (line 154) | func hashMessage(msg Message) (string, error) { function hashMessages (line 165) | func hashMessages(messages []Message) (string, error) { FILE: agent/context/chat_test.go function getTestCache (line 12) | func getTestCache(t *testing.T) store.Store { function TestGetChatIDByMessages_NewConversation (line 21) | func TestGetChatIDByMessages_NewConversation(t *testing.T) { function TestGetChatIDByMessages_ContinuousConversation (line 61) | func TestGetChatIDByMessages_ContinuousConversation(t *testing.T) { function TestGetChatIDByMessages_DifferentConversations (line 133) | func TestGetChatIDByMessages_DifferentConversations(t *testing.T) { function TestGetChatIDByMessages_MultiModalContent (line 175) | func TestGetChatIDByMessages_MultiModalContent(t *testing.T) { function TestGetChatIDByMessages_WithToolCalls (line 223) | func TestGetChatIDByMessages_WithToolCalls(t *testing.T) { function TestCacheChatID_EmptyMessages (line 279) | func TestCacheChatID_EmptyMessages(t *testing.T) { function TestCacheChatID_EmptyChatID (line 291) | func TestCacheChatID_EmptyChatID(t *testing.T) { function TestGetChatIDByMessages_EmptyMessages (line 310) | func TestGetChatIDByMessages_EmptyMessages(t *testing.T) { function TestGenChatID (line 322) | func TestGenChatID(t *testing.T) { FILE: agent/context/context.go function New (line 23) | func New(parent context.Context, authorized *types.AuthorizedInfo, chatI... method Release (line 55) | func (ctx *Context) Release() { method GetAuthorizedMap (line 134) | func (ctx *Context) GetAuthorizedMap() map[string]interface{} { method Fork (line 155) | func (ctx *Context) Fork() *Context { method Trace (line 243) | func (ctx *Context) Trace() (traceTypes.Manager, error) { method Map (line 314) | func (ctx *Context) Map() map[string]interface{} { function Register (line 366) | func Register(ctx *Context) error { function Unregister (line 380) | func Unregister(contextID string) { function Get (line 385) | func Get(contextID string) (*Context, error) { function SendInterrupt (line 401) | func SendInterrupt(contextID string, signal *InterruptSignal) error { function generateContextID (line 415) | func generateContextID() string { method RequestID (line 420) | func (ctx *Context) RequestID() string { method TraceID (line 425) | func (ctx *Context) TraceID() string { method getMessageMetadata (line 434) | func (ctx *Context) getMessageMetadata(messageID string) *MessageMetadata { method GetMessageMetadata (line 442) | func (ctx *Context) GetMessageMetadata(messageID string) *MessageMetadata { method InitBuffer (line 452) | func (ctx *Context) InitBuffer(assistantID, connector, mode string) *Cha... method HasBuffer (line 458) | func (ctx *Context) HasBuffer() bool { method BufferUserInput (line 464) | func (ctx *Context) BufferUserInput(messages []Message) { method BufferAssistantMessage (line 483) | func (ctx *Context) BufferAssistantMessage(messageID, msgType string, pr... method BeginStep (line 493) | func (ctx *Context) BeginStep(stepType string, input map[string]interfac... method CompleteStep (line 507) | func (ctx *Context) CompleteStep(output map[string]interface{}) { method FailCurrentStep (line 515) | func (ctx *Context) FailCurrentStep(status string, err error) { method shouldSkipHistory (line 524) | func (ctx *Context) shouldSkipHistory() bool { method IsA2ACall (line 535) | func (ctx *Context) IsA2ACall() bool { method IsForkedA2ACall (line 543) | func (ctx *Context) IsForkedA2ACall() bool { method MergeMetadata (line 551) | func (ctx *Context) MergeMetadata(metadata map[string]interface{}) { FILE: agent/context/context_test.go function TestGetCompletionRequest (line 19) | func TestGetCompletionRequest(t *testing.T) { function TestContextNew_WithAuthorized (line 220) | func TestContextNew_WithAuthorized(t *testing.T) { function floatPtr (line 235) | func floatPtr(f float64) *float64 { function boolPtr (line 239) | func boolPtr(b bool) *bool { FILE: agent/context/grpc.go type GRPCAgentInput (line 15) | type GRPCAgentInput struct function GetGRPCAgentRequest (line 28) | func GetGRPCAgentRequest(parent context.Context, input GRPCAgentInput) (... function parseGRPCMessages (line 80) | func parseGRPCMessages(raw []byte) ([]Message, error) { function getChatIDFromOpts (line 94) | func getChatIDFromOpts(opts map[string]interface{}) string { function getStringOpt (line 103) | func getStringOpt(opts map[string]interface{}, key string) string { function getRefererOpt (line 111) | func getRefererOpt(opts map[string]interface{}) string { function getAcceptOpt (line 119) | func getAcceptOpt(opts map[string]interface{}) Accept { function getMapOpt (line 127) | func getMapOpt(opts map[string]interface{}, key string) map[string]inter... function getSkipOpt (line 135) | func getSkipOpt(opts map[string]interface{}) *Skip { FILE: agent/context/interfaces.go type StreamChunkType (line 10) | type StreamChunkType constant ChunkText (line 15) | ChunkText StreamChunkType = "text" constant ChunkThinking (line 16) | ChunkThinking StreamChunkType = "thinking" constant ChunkToolCall (line 17) | ChunkToolCall StreamChunkType = "tool_call" constant ChunkRefusal (line 18) | ChunkRefusal StreamChunkType = "refusal" constant ChunkMetadata (line 19) | ChunkMetadata StreamChunkType = "metadata" constant ChunkError (line 20) | ChunkError StreamChunkType = "error" constant ChunkUnknown (line 21) | ChunkUnknown StreamChunkType = "unknown" constant ChunkStreamStart (line 24) | ChunkStreamStart StreamChunkType = "stream_start" constant ChunkStreamEnd (line 25) | ChunkStreamEnd StreamChunkType = "stream_end" constant ChunkMessageStart (line 26) | ChunkMessageStart StreamChunkType = "message_start" constant ChunkMessageEnd (line 27) | ChunkMessageEnd StreamChunkType = "message_end" type Agent (line 35) | type Agent interface FILE: agent/context/interrupt.go function NewInterruptController (line 12) | func NewInterruptController() *InterruptController { method Start (line 22) | func (ic *InterruptController) Start(contextID string) { method SetHandler (line 36) | func (ic *InterruptController) SetHandler(handler InterruptHandler) { method listen (line 44) | func (ic *InterruptController) listen() { method handleSignal (line 59) | func (ic *InterruptController) handleSignal(signal *InterruptSignal) { method Check (line 108) | func (ic *InterruptController) Check() *InterruptSignal { method CheckWithMerge (line 136) | func (ic *InterruptController) CheckWithMerge() *InterruptSignal { method Peek (line 182) | func (ic *InterruptController) Peek() *InterruptSignal { method IsInterrupted (line 194) | func (ic *InterruptController) IsInterrupted() bool { method Context (line 209) | func (ic *InterruptController) Context() context.Context { method GetPendingCount (line 217) | func (ic *InterruptController) GetPendingCount() int { method Clear (line 233) | func (ic *InterruptController) Clear() { method Stop (line 246) | func (ic *InterruptController) Stop() { method SendSignal (line 267) | func (ic *InterruptController) SendSignal(signal *InterruptSignal) error { FILE: agent/context/interrupt_test.go function newTestContextWithInterrupt (line 14) | func newTestContextWithInterrupt(chatID, assistantID string) *context.Co... function TestInterruptBasic (line 54) | func TestInterruptBasic(t *testing.T) { function TestInterruptHandler (line 186) | func TestInterruptHandler(t *testing.T) { function TestInterruptContextLifecycle (line 280) | func TestInterruptContextLifecycle(t *testing.T) { function TestInterruptCheckMethods (line 322) | func TestInterruptCheckMethods(t *testing.T) { function TestInterruptContext (line 485) | func TestInterruptContext(t *testing.T) { function TestInterruptSendSignalDirectly (line 579) | func TestInterruptSendSignalDirectly(t *testing.T) { FILE: agent/context/jsapi.go method JsValue (line 15) | func (ctx *Context) JsValue(v8ctx *v8go.Context) (*v8go.Value, error) { method NewObject (line 20) | func (ctx *Context) NewObject(v8ctx *v8go.Context) (*v8go.Value, error) { method objectRelease (line 188) | func (ctx *Context) objectRelease(iso *v8go.Isolate, goValueID string) *... method createTraceObject (line 229) | func (ctx *Context) createTraceObject(v8ctx *v8go.Context) *v8go.Value { method sendMethod (line 261) | func (ctx *Context) sendMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method sendStreamMethod (line 316) | func (ctx *Context) sendStreamMethod(iso *v8go.Isolate) *v8go.FunctionTe... method endMethod (line 361) | func (ctx *Context) endMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method replaceMethod (line 412) | func (ctx *Context) replaceMethod(iso *v8go.Isolate) *v8go.FunctionTempl... method appendMethod (line 469) | func (ctx *Context) appendMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method mergeMethod (line 531) | func (ctx *Context) mergeMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method setMethod (line 592) | func (ctx *Context) setMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method messageIDMethod (line 655) | func (ctx *Context) messageIDMethod(iso *v8go.Isolate) *v8go.FunctionTem... method blockIDMethod (line 679) | func (ctx *Context) blockIDMethod(iso *v8go.Isolate) *v8go.FunctionTempl... method threadIDMethod (line 703) | func (ctx *Context) threadIDMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method endBlockMethod (line 727) | func (ctx *Context) endBlockMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method createMemoryObject (line 760) | func (ctx *Context) createMemoryObject(v8ctx *v8go.Context) *v8go.Value { method createNamespaceObject (line 794) | func (ctx *Context) createNamespaceObject(v8ctx *v8go.Context, ns *memor... FILE: agent/context/jsapi_agent.go type AgentAPI (line 12) | type AgentAPI interface type AgentAPIWithCallback (line 28) | type AgentAPIWithCallback interface type BatchOnMessageFunc (line 49) | type BatchOnMessageFunc method Agent (line 57) | func (ctx *Context) Agent() AgentAPI { method newAgentObject (line 66) | func (ctx *Context) newAgentObject(iso *v8go.Isolate) *v8go.ObjectTempla... method agentCallMethod (line 83) | func (ctx *Context) agentCallMethod(iso *v8go.Isolate) *v8go.FunctionTem... function createJSStreamHandler (line 170) | func createJSStreamHandler(v8ctx *v8go.Context, callback *v8go.Function)... method agentAllMethod (line 209) | func (ctx *Context) agentAllMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method agentAnyMethod (line 250) | func (ctx *Context) agentAnyMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method agentRaceMethod (line 291) | func (ctx *Context) agentRaceMethod(iso *v8go.Isolate) *v8go.FunctionTem... type batchMessage (line 324) | type batchMessage struct method parseRequestsForBatch (line 332) | func (ctx *Context) parseRequestsForBatch(args []*v8go.Value, v8ctx *v8g... type BatchMethod (line 394) | type BatchMethod constant BatchMethodAll (line 397) | BatchMethodAll BatchMethod = iota constant BatchMethodAny (line 398) | BatchMethodAny constant BatchMethodRace (line 399) | BatchMethodRace method executeBatchWithCallback (line 404) | func (ctx *Context) executeBatchWithCallback( function callJSBatchCallback (line 483) | func callJSBatchCallback(v8ctx *v8go.Context, callback *v8go.Function, a... FILE: agent/context/jsapi_agent_test.go function TestContext_Agent_NilFactory (line 12) | func TestContext_Agent_NilFactory(t *testing.T) { function TestContext_Agent_WithFactory (line 21) | func TestContext_Agent_WithFactory(t *testing.T) { type mockAgentAPI (line 38) | type mockAgentAPI struct method Call (line 40) | func (m *mockAgentAPI) Call(agentID string, messages []interface{}, op... method All (line 47) | func (m *mockAgentAPI) All(requests []interface{}) []interface{} { method Any (line 51) | func (m *mockAgentAPI) Any(requests []interface{}) []interface{} { method Race (line 55) | func (m *mockAgentAPI) Race(requests []interface{}) []interface{} { FILE: agent/context/jsapi_agent_v8_test.go function TestAgent_Call_V8 (line 20) | func TestAgent_Call_V8(t *testing.T) { function TestAgent_Call_WithOptions_V8 (line 81) | func TestAgent_Call_WithOptions_V8(t *testing.T) { function TestAgent_All_V8 (line 136) | func TestAgent_All_V8(t *testing.T) { function TestAgent_Any_V8 (line 200) | func TestAgent_Any_V8(t *testing.T) { function TestAgent_Race_V8 (line 263) | func TestAgent_Race_V8(t *testing.T) { function TestAgent_ErrorHandling_V8 (line 326) | func TestAgent_ErrorHandling_V8(t *testing.T) { function TestAgent_EmptyRequests_V8 (line 372) | func TestAgent_EmptyRequests_V8(t *testing.T) { function TestAgent_InvalidArguments_V8 (line 411) | func TestAgent_InvalidArguments_V8(t *testing.T) { function TestAgent_Call_WithCallback_V8 (line 452) | func TestAgent_Call_WithCallback_V8(t *testing.T) { function TestAgent_Call_WithCallback_Stop_V8 (line 531) | func TestAgent_Call_WithCallback_Stop_V8(t *testing.T) { function TestAgent_All_WithGlobalCallback_V8 (line 595) | func TestAgent_All_WithGlobalCallback_V8(t *testing.T) { FILE: agent/context/jsapi_computer.go method SetComputer (line 16) | func (ctx *Context) SetComputer(computer infraV2.Computer) { method SetWorkspace (line 25) | func (ctx *Context) SetWorkspace(ws workspace.FS) { method GetComputer (line 30) | func (ctx *Context) GetComputer() infraV2.Computer { method GetWorkspace (line 35) | func (ctx *Context) GetWorkspace() workspace.FS { method HasComputer (line 40) | func (ctx *Context) HasComputer() bool { method HasWorkspace (line 45) | func (ctx *Context) HasWorkspace() bool { method createComputerInstance (line 50) | func (ctx *Context) createComputerInstance(v8ctx *v8go.Context) *v8go.Va... method computerExecMethod (line 80) | func (ctx *Context) computerExecMethod(iso *v8go.Isolate) *v8go.Function... method computerVNCMethod (line 117) | func (ctx *Context) computerVNCMethod(iso *v8go.Isolate) *v8go.FunctionT... method computerProxyMethod (line 140) | func (ctx *Context) computerProxyMethod(iso *v8go.Isolate) *v8go.Functio... method computerInfoMethod (line 173) | func (ctx *Context) computerInfoMethod(iso *v8go.Isolate) *v8go.Function... function parseCommandArg (line 211) | func parseCommandArg(v8ctx *v8go.Context, val *v8go.Value) ([]string, er... FILE: agent/context/jsapi_helpers.go function parseMessage (line 12) | func parseMessage(v8ctx *v8go.Context, jsValue *v8go.Value) (*message.Me... function parseGroup (line 101) | func parseGroup(v8ctx *v8go.Context, jsValue *v8go.Value) (*message.Grou... FILE: agent/context/jsapi_llm.go type LlmAPI (line 12) | type LlmAPI interface type LlmAPIWithCallback (line 28) | type LlmAPIWithCallback interface type LlmBatchOnMessageFunc (line 48) | type LlmBatchOnMessageFunc method Llm (line 56) | func (ctx *Context) Llm() LlmAPI { method newLlmObject (line 65) | func (ctx *Context) newLlmObject(iso *v8go.Isolate) *v8go.ObjectTemplate { method llmStreamMethod (line 82) | func (ctx *Context) llmStreamMethod(iso *v8go.Isolate) *v8go.FunctionTem... method llmAllMethod (line 174) | func (ctx *Context) llmAllMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method llmAnyMethod (line 182) | func (ctx *Context) llmAnyMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method llmRaceMethod (line 190) | func (ctx *Context) llmRaceMethod(iso *v8go.Isolate) *v8go.FunctionTempl... type LlmBatchMethod (line 197) | type LlmBatchMethod constant LlmBatchMethodAll (line 200) | LlmBatchMethodAll LlmBatchMethod = iota constant LlmBatchMethodAny (line 201) | LlmBatchMethodAny constant LlmBatchMethodRace (line 202) | LlmBatchMethodRace method executeLlmBatchMethod (line 206) | func (ctx *Context) executeLlmBatchMethod(info *v8go.FunctionCallbackInf... method executeLlmBatchWithoutCallback (line 268) | func (ctx *Context) executeLlmBatchWithoutCallback(method LlmBatchMethod... type llmBatchMessage (line 282) | type llmBatchMessage struct method executeLlmBatchWithCallback (line 290) | func (ctx *Context) executeLlmBatchWithCallback(method LlmBatchMethod, r... function callJSLlmBatchCallback (line 334) | func callJSLlmBatchCallback(v8ctx *v8go.Context, callback *v8go.Function... FILE: agent/context/jsapi_llm_v8_test.go function TestLlm_Stream_V8 (line 19) | func TestLlm_Stream_V8(t *testing.T) { function TestLlm_Stream_WithCallback_V8 (line 84) | func TestLlm_Stream_WithCallback_V8(t *testing.T) { function TestLlm_All_V8 (line 154) | func TestLlm_All_V8(t *testing.T) { function TestLlm_All_WithCallback_V8 (line 233) | func TestLlm_All_WithCallback_V8(t *testing.T) { function TestLlm_Any_V8 (line 311) | func TestLlm_Any_V8(t *testing.T) { function TestLlm_Race_V8 (line 382) | func TestLlm_Race_V8(t *testing.T) { function TestLlm_Stream_InvalidConnector_V8 (line 454) | func TestLlm_Stream_InvalidConnector_V8(t *testing.T) { FILE: agent/context/jsapi_mcp.go method mcpListResourcesMethod (line 19) | func (ctx *Context) mcpListResourcesMethod(iso *v8go.Isolate) *v8go.Func... method mcpReadResourceMethod (line 50) | func (ctx *Context) mcpReadResourceMethod(iso *v8go.Isolate) *v8go.Funct... method mcpListToolsMethod (line 78) | func (ctx *Context) mcpListToolsMethod(iso *v8go.Isolate) *v8go.Function... method mcpCallToolMethod (line 110) | func (ctx *Context) mcpCallToolMethod(iso *v8go.Isolate) *v8go.FunctionT... method mcpCallToolsMethod (line 154) | func (ctx *Context) mcpCallToolsMethod(iso *v8go.Isolate) *v8go.Function... method mcpCallToolsParallelMethod (line 225) | func (ctx *Context) mcpCallToolsParallelMethod(iso *v8go.Isolate) *v8go.... method mcpListPromptsMethod (line 295) | func (ctx *Context) mcpListPromptsMethod(iso *v8go.Isolate) *v8go.Functi... method mcpGetPromptMethod (line 326) | func (ctx *Context) mcpGetPromptMethod(iso *v8go.Isolate) *v8go.Function... method mcpListSamplesMethod (line 366) | func (ctx *Context) mcpListSamplesMethod(iso *v8go.Isolate) *v8go.Functi... method mcpGetSampleMethod (line 395) | func (ctx *Context) mcpGetSampleMethod(iso *v8go.Isolate) *v8go.Function... method mcpAllMethod (line 445) | func (ctx *Context) mcpAllMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method mcpAnyMethod (line 476) | func (ctx *Context) mcpAnyMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method mcpRaceMethod (line 507) | func (ctx *Context) mcpRaceMethod(iso *v8go.Isolate) *v8go.FunctionTempl... method parseMCPToolRequests (line 536) | func (ctx *Context) parseMCPToolRequests(arg *v8go.Value, v8ctx *v8go.Co... method newMCPObject (line 583) | func (ctx *Context) newMCPObject(iso *v8go.Isolate) *v8go.ObjectTemplate { FILE: agent/context/jsapi_mcp_test.go function newMCPTestContext (line 15) | func newMCPTestContext() *context.Context { function TestMCPListResources (line 26) | func TestMCPListResources(t *testing.T) { function TestMCPReadResource (line 63) | func TestMCPReadResource(t *testing.T) { function TestMCPListTools (line 98) | func TestMCPListTools(t *testing.T) { function TestMCPCallTool (line 137) | func TestMCPCallTool(t *testing.T) { function TestMCPCallTools (line 172) | func TestMCPCallTools(t *testing.T) { function TestMCPCallToolsParallel (line 214) | func TestMCPCallToolsParallel(t *testing.T) { function TestMCPListPrompts (line 256) | func TestMCPListPrompts(t *testing.T) { function TestMCPGetPrompt (line 293) | func TestMCPGetPrompt(t *testing.T) { function TestMCPListSamples (line 328) | func TestMCPListSamples(t *testing.T) { function TestMCPGetSample (line 363) | func TestMCPGetSample(t *testing.T) { function TestMCPJsApiWithTrace (line 400) | func TestMCPJsApiWithTrace(t *testing.T) { FILE: agent/context/jsapi_mcp_v8_test.go function TestMCP_All_V8 (line 16) | func TestMCP_All_V8(t *testing.T) { function TestMCP_All_WithError_V8 (line 102) | func TestMCP_All_WithError_V8(t *testing.T) { function TestMCP_Any_V8 (line 188) | func TestMCP_Any_V8(t *testing.T) { function TestMCP_Any_AllFail_V8 (line 242) | func TestMCP_Any_AllFail_V8(t *testing.T) { function TestMCP_Race_V8 (line 296) | func TestMCP_Race_V8(t *testing.T) { function TestMCP_All_ResultContent_V8 (line 350) | func TestMCP_All_ResultContent_V8(t *testing.T) { function TestMCP_All_MultipleTools_V8 (line 432) | func TestMCP_All_MultipleTools_V8(t *testing.T) { function TestMCP_CallTool_ParsedResult_V8 (line 493) | func TestMCP_CallTool_ParsedResult_V8(t *testing.T) { function TestMCP_CallToolsParallel_ParsedResult_V8 (line 563) | func TestMCP_CallToolsParallel_ParsedResult_V8(t *testing.T) { FILE: agent/context/jsapi_memory_test.go function TestMemoryUserNamespace (line 17) | func TestMemoryUserNamespace(t *testing.T) { function TestMemoryTeamNamespace (line 69) | func TestMemoryTeamNamespace(t *testing.T) { function TestMemoryChatNamespace (line 110) | func TestMemoryChatNamespace(t *testing.T) { function TestMemoryContextNamespace (line 155) | func TestMemoryContextNamespace(t *testing.T) { function TestMemoryHasAndDel (line 196) | func TestMemoryHasAndDel(t *testing.T) { function TestMemoryIncrDecr (line 245) | func TestMemoryIncrDecr(t *testing.T) { function TestMemoryKeysAndLen (line 294) | func TestMemoryKeysAndLen(t *testing.T) { function TestMemoryClear (line 344) | func TestMemoryClear(t *testing.T) { function TestMemoryGetDel (line 388) | func TestMemoryGetDel(t *testing.T) { function TestMemoryIsolation (line 434) | func TestMemoryIsolation(t *testing.T) { function TestMemoryNoMemory (line 484) | func TestMemoryNoMemory(t *testing.T) { function TestMemoryWithAuthorizedInfo (line 513) | func TestMemoryWithAuthorizedInfo(t *testing.T) { FILE: agent/context/jsapi_output_test.go type testMockResponseWriter (line 17) | type testMockResponseWriter struct method Header (line 31) | func (m *testMockResponseWriter) Header() http.Header { method Write (line 35) | func (m *testMockResponseWriter) Write(b []byte) (int, error) { method WriteHeader (line 39) | func (m *testMockResponseWriter) WriteHeader(statusCode int) { function newTestMockResponseWriter (line 23) | func newTestMockResponseWriter() *testMockResponseWriter { function TestJsValueSend (line 44) | func TestJsValueSend(t *testing.T) { function TestJsValueSendDeltaUpdates (line 110) | func TestJsValueSendDeltaUpdates(t *testing.T) { function TestJsValueSendMultipleTypes (line 161) | func TestJsValueSendMultipleTypes(t *testing.T) { function TestJsValueSendErrorHandling (line 240) | func TestJsValueSendErrorHandling(t *testing.T) { function TestJsValueSendWithCUIAccept (line 275) | func TestJsValueSendWithCUIAccept(t *testing.T) { function TestJsValueSendChainedCalls (line 317) | func TestJsValueSendChainedCalls(t *testing.T) { function TestJsValueIDGenerators (line 354) | func TestJsValueIDGenerators(t *testing.T) { function TestJsValueSendWithBlockID (line 427) | func TestJsValueSendWithBlockID(t *testing.T) { function TestJsValueReplace (line 480) | func TestJsValueReplace(t *testing.T) { function TestJsValueAppend (line 523) | func TestJsValueAppend(t *testing.T) { function TestJsValueMerge (line 569) | func TestJsValueMerge(t *testing.T) { function TestJsValueSet (line 623) | func TestJsValueSet(t *testing.T) { function TestJsValueBlockIDInheritance (line 677) | func TestJsValueBlockIDInheritance(t *testing.T) { function TestJsValueEndBlock (line 727) | func TestJsValueEndBlock(t *testing.T) { function TestJsValueSendStream (line 783) | func TestJsValueSendStream(t *testing.T) { function TestJsValueSendStreamWithBlockID (line 841) | func TestJsValueSendStreamWithBlockID(t *testing.T) { function TestJsValueEnd (line 891) | func TestJsValueEnd(t *testing.T) { function TestJsValueEndWithFinalContent (line 943) | func TestJsValueEndWithFinalContent(t *testing.T) { function TestJsValueStreamingWorkflow (line 995) | func TestJsValueStreamingWorkflow(t *testing.T) { function TestJsValueSendStreamStringShorthand (line 1058) | func TestJsValueSendStreamStringShorthand(t *testing.T) { function TestJsValueEndErrorHandling (line 1100) | func TestJsValueEndErrorHandling(t *testing.T) { function TestJsValueEndWithInvalidMessageID (line 1136) | func TestJsValueEndWithInvalidMessageID(t *testing.T) { function TestJsValueSendStreamErrorHandling (line 1172) | func TestJsValueSendStreamErrorHandling(t *testing.T) { function TestJsValueMultipleStreams (line 1208) | func TestJsValueMultipleStreams(t *testing.T) { function TestJsValueSendVsSendStream (line 1261) | func TestJsValueSendVsSendStream(t *testing.T) { FILE: agent/context/jsapi_release_test.go function newReleaseTestContext (line 15) | func newReleaseTestContext() *context.Context { function TestContextRelease (line 25) | func TestContextRelease(t *testing.T) { function TestTraceRelease (line 69) | func TestTraceRelease(t *testing.T) { function TestContextReleaseWithTrace (line 122) | func TestContextReleaseWithTrace(t *testing.T) { function TestTryFinallyPattern (line 161) | func TestTryFinallyPattern(t *testing.T) { function TestNoOpTraceRelease (line 204) | func TestNoOpTraceRelease(t *testing.T) { function TestTryFinallyPatternWithError (line 250) | func TestTryFinallyPatternWithError(t *testing.T) { FILE: agent/context/jsapi_sandbox.go type SandboxExecutor (line 15) | type SandboxExecutor interface method SetSandboxExecutor (line 36) | func (ctx *Context) SetSandboxExecutor(executor SandboxExecutor) { method GetSandboxExecutor (line 41) | func (ctx *Context) GetSandboxExecutor() SandboxExecutor { method HasSandbox (line 46) | func (ctx *Context) HasSandbox() bool { method newSandboxObject (line 52) | func (ctx *Context) newSandboxObject(iso *v8go.Isolate) *v8go.ObjectTemp... method createSandboxInstance (line 71) | func (ctx *Context) createSandboxInstance(v8ctx *v8go.Context) *v8go.Val... method sandboxReadFileMethod (line 106) | func (ctx *Context) sandboxReadFileMethod(iso *v8go.Isolate) *v8go.Funct... method sandboxWriteFileMethod (line 137) | func (ctx *Context) sandboxWriteFileMethod(iso *v8go.Isolate) *v8go.Func... method sandboxListDirMethod (line 164) | func (ctx *Context) sandboxListDirMethod(iso *v8go.Isolate) *v8go.Functi... method sandboxExecMethod (line 204) | func (ctx *Context) sandboxExecMethod(iso *v8go.Isolate) *v8go.FunctionT... method sandboxGetVNCUrlMethod (line 260) | func (ctx *Context) sandboxGetVNCUrlMethod(iso *v8go.Isolate) *v8go.Func... method sandboxGetSandboxIDMethod (line 285) | func (ctx *Context) sandboxGetSandboxIDMethod(iso *v8go.Isolate) *v8go.F... FILE: agent/context/jsapi_sandbox_test.go function createTestSandboxManager (line 18) | func createTestSandboxManager(t *testing.T) *infraSandbox.Manager { function createTestContainer (line 39) | func createTestContainer(t *testing.T, manager *infraSandbox.Manager, us... type realSandboxExecutor (line 56) | type realSandboxExecutor struct method ReadFile (line 62) | func (e *realSandboxExecutor) ReadFile(ctx stdContext.Context, path st... method WriteFile (line 67) | func (e *realSandboxExecutor) WriteFile(ctx stdContext.Context, path s... method ListDir (line 72) | func (e *realSandboxExecutor) ListDir(ctx stdContext.Context, path str... method Exec (line 77) | func (e *realSandboxExecutor) Exec(ctx stdContext.Context, cmd []strin... method GetWorkDir (line 87) | func (e *realSandboxExecutor) GetWorkDir() string { method GetSandboxID (line 91) | func (e *realSandboxExecutor) GetSandboxID() string { method GetVNCUrl (line 97) | func (e *realSandboxExecutor) GetVNCUrl() string { function TestJsSandboxNotAvailable (line 103) | func TestJsSandboxNotAvailable(t *testing.T) { function TestJsSandboxWriteFile (line 131) | func TestJsSandboxWriteFile(t *testing.T) { function TestJsSandboxReadFile (line 185) | func TestJsSandboxReadFile(t *testing.T) { function TestJsSandboxListDir (line 239) | func TestJsSandboxListDir(t *testing.T) { function TestJsSandboxExec (line 307) | func TestJsSandboxExec(t *testing.T) { function TestJsSandboxWorkdir (line 359) | func TestJsSandboxWorkdir(t *testing.T) { function TestJsSandboxCompleteWorkflow (line 409) | func TestJsSandboxCompleteWorkflow(t *testing.T) { FILE: agent/context/jsapi_search.go type SearchAPI (line 11) | type SearchAPI interface method Search (line 39) | func (ctx *Context) Search() SearchAPI { method newSearchObject (line 48) | func (ctx *Context) newSearchObject(iso *v8go.Isolate) *v8go.ObjectTempl... method searchWebMethod (line 70) | func (ctx *Context) searchWebMethod(iso *v8go.Isolate) *v8go.FunctionTem... method searchKBMethod (line 124) | func (ctx *Context) searchKBMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method searchDBMethod (line 179) | func (ctx *Context) searchDBMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method searchAllMethod (line 232) | func (ctx *Context) searchAllMethod(iso *v8go.Isolate) *v8go.FunctionTem... method searchAnyMethod (line 278) | func (ctx *Context) searchAnyMethod(iso *v8go.Isolate) *v8go.FunctionTem... method searchRaceMethod (line 324) | func (ctx *Context) searchRaceMethod(iso *v8go.Isolate) *v8go.FunctionTe... FILE: agent/context/jsapi_search_test.go function newSearchTestContext (line 22) | func newSearchTestContext(chatID, assistantID string) *context.Context { function getResponseContent (line 41) | func getResponseContent(res *context.HookCreateResponse) string { function TestSearchJSAPI_Web (line 57) | func TestSearchJSAPI_Web(t *testing.T) { function TestSearchJSAPI_WebWithSites (line 99) | func TestSearchJSAPI_WebWithSites(t *testing.T) { function TestSearchJSAPI_KB (line 142) | func TestSearchJSAPI_KB(t *testing.T) { function TestSearchJSAPI_DB (line 169) | func TestSearchJSAPI_DB(t *testing.T) { function TestSearchJSAPI_All (line 197) | func TestSearchJSAPI_All(t *testing.T) { function TestSearchJSAPI_Any (line 240) | func TestSearchJSAPI_Any(t *testing.T) { function TestSearchJSAPI_Race (line 279) | func TestSearchJSAPI_Race(t *testing.T) { function TestSearchJSAPI_InvalidCommand (line 317) | func TestSearchJSAPI_InvalidCommand(t *testing.T) { function TestSearchJSAPI_UnknownMethod (line 336) | func TestSearchJSAPI_UnknownMethod(t *testing.T) { FILE: agent/context/jsapi_stress_test.go function newStressTestContext (line 20) | func newStressTestContext(chatID string) *context.Context { function TestStressContextCreationAndRelease (line 30) | func TestStressContextCreationAndRelease(t *testing.T) { function TestStressTraceOperations (line 94) | func TestStressTraceOperations(t *testing.T) { function TestStressMCPOperations (line 167) | func TestStressMCPOperations(t *testing.T) { function TestStressConcurrentContexts (line 230) | func TestStressConcurrentContexts(t *testing.T) { function TestStressNoOpTracePerformance (line 308) | func TestStressNoOpTracePerformance(t *testing.T) { function TestStressReleasePatterns (line 376) | func TestStressReleasePatterns(t *testing.T) { function TestStressLongRunningTrace (line 481) | func TestStressLongRunningTrace(t *testing.T) { function getMemStats (line 553) | func getMemStats() uint64 { FILE: agent/context/jsapi_test.go function TestJsValue (line 20) | func TestJsValue(t *testing.T) { function testContextJsvalueEmbed (line 40) | func testContextJsvalueEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testContextJsvalueFunction (line 44) | func testContextJsvalueFunction(info *v8go.FunctionCallbackInfo) *v8go.V... function TestJsValueConcurrent (line 64) | func TestJsValueConcurrent(t *testing.T) { function TestJsValueRegistrationAndCleanup (line 134) | func TestJsValueRegistrationAndCleanup(t *testing.T) { function testContextRegistrationEmbed (line 161) | func testContextRegistrationEmbed(iso *v8go.Isolate) *v8go.FunctionTempl... function testContextRegistrationFunction (line 165) | func testContextRegistrationFunction(info *v8go.FunctionCallbackInfo) *v... function TestJsValueAllFields (line 204) | func TestJsValueAllFields(t *testing.T) { function testAllFieldsEmbed (line 309) | func testAllFieldsEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testAllFieldsFunction (line 313) | func testAllFieldsFunction(info *v8go.FunctionCallbackInfo) *v8go.Value { function TestJsValueTrace (line 387) | func TestJsValueTrace(t *testing.T) { function TestJsValueAuthorizedAndMetadata (line 449) | func TestJsValueAuthorizedAndMetadata(t *testing.T) { function testAuthorizedMetadataEmbed (line 496) | func testAuthorizedMetadataEmbed(iso *v8go.Isolate) *v8go.FunctionTempla... function testAuthorizedMetadataFunction (line 500) | func testAuthorizedMetadataFunction(info *v8go.FunctionCallbackInfo) *v8... function TestJsValueAuthorizedNil (line 548) | func TestJsValueAuthorizedNil(t *testing.T) { FILE: agent/context/jsapi_workspace.go method createWorkspaceInstance (line 12) | func (ctx *Context) createWorkspaceInstance(v8ctx *v8go.Context) *v8go.V... method wsReadFileMethod (line 39) | func (ctx *Context) wsReadFileMethod(iso *v8go.Isolate) *v8go.FunctionTe... method wsWriteFileMethod (line 65) | func (ctx *Context) wsWriteFileMethod(iso *v8go.Isolate) *v8go.FunctionT... method wsReadDirMethod (line 88) | func (ctx *Context) wsReadDirMethod(iso *v8go.Isolate) *v8go.FunctionTem... method wsMkdirAllMethod (line 129) | func (ctx *Context) wsMkdirAllMethod(iso *v8go.Isolate) *v8go.FunctionTe... method wsRemoveMethod (line 149) | func (ctx *Context) wsRemoveMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method wsRemoveAllMethod (line 169) | func (ctx *Context) wsRemoveAllMethod(iso *v8go.Isolate) *v8go.FunctionT... method wsRenameMethod (line 189) | func (ctx *Context) wsRenameMethod(iso *v8go.Isolate) *v8go.FunctionTemp... method wsCopyMethod (line 209) | func (ctx *Context) wsCopyMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method wsStatMethod (line 229) | func (ctx *Context) wsStatMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method wsExistsMethod (line 262) | func (ctx *Context) wsExistsMethod(iso *v8go.Isolate) *v8go.FunctionTemp... function isNotExist (line 282) | func isNotExist(err error) bool { FILE: agent/context/log.go constant colorReset (line 18) | colorReset = "\033[0m" constant colorRed (line 19) | colorRed = "\033[31m" constant colorGreen (line 20) | colorGreen = "\033[32m" constant colorYellow (line 21) | colorYellow = "\033[33m" constant colorBlue (line 22) | colorBlue = "\033[34m" constant colorMagenta (line 23) | colorMagenta = "\033[35m" constant colorCyan (line 24) | colorCyan = "\033[36m" constant colorWhite (line 25) | colorWhite = "\033[37m" constant colorGray (line 26) | colorGray = "\033[90m" constant colorBoldRed (line 28) | colorBoldRed = "\033[1;31m" constant colorBoldGreen (line 29) | colorBoldGreen = "\033[1;32m" constant colorBoldYellow (line 30) | colorBoldYellow = "\033[1;33m" constant colorBoldBlue (line 31) | colorBoldBlue = "\033[1;34m" constant colorBoldMagenta (line 32) | colorBoldMagenta = "\033[1;35m" constant colorBoldCyan (line 33) | colorBoldCyan = "\033[1;36m" type LogLevel (line 41) | type LogLevel constant LogLevelTrace (line 45) | LogLevelTrace LogLevel = iota constant LogLevelDebug (line 47) | LogLevelDebug constant LogLevelInfo (line 49) | LogLevelInfo constant LogLevelWarn (line 51) | LogLevelWarn constant LogLevelError (line 53) | LogLevelError type LogEntry (line 61) | type LogEntry struct type RequestLogger (line 74) | type RequestLogger struct method SetAssistantID (line 132) | func (l *RequestLogger) SetAssistantID(id string) { method RestoreAssistantID (line 143) | func (l *RequestLogger) RestoreAssistantID() { method currentAssistantID (line 154) | func (l *RequestLogger) currentAssistantID() string { method Close (line 162) | func (l *RequestLogger) Close() { method consume (line 177) | func (l *RequestLogger) consume() { method processEntry (line 186) | func (l *RequestLogger) processEntry(entry LogEntry) { method printDev (line 196) | func (l *RequestLogger) printDev(entry LogEntry) { method writeLog (line 212) | func (l *RequestLogger) writeLog(entry LogEntry, devMode bool) { method send (line 233) | func (l *RequestLogger) send(entry LogEntry) { method Trace (line 259) | func (l *RequestLogger) Trace(format string, args ...interface{}) { method Debug (line 267) | func (l *RequestLogger) Debug(format string, args ...interface{}) { method Info (line 275) | func (l *RequestLogger) Info(format string, args ...interface{}) { method Warn (line 283) | func (l *RequestLogger) Warn(format string, args ...interface{}) { method Error (line 291) | func (l *RequestLogger) Error(format string, args ...interface{}) { method Start (line 303) | func (l *RequestLogger) Start() { method End (line 327) | func (l *RequestLogger) End(success bool, err error) { method Phase (line 362) | func (l *RequestLogger) Phase(name string) { method PhaseComplete (line 378) | func (l *RequestLogger) PhaseComplete(name string) { method PhaseSkip (line 394) | func (l *RequestLogger) PhaseSkip(name, reason string) { method LLMStart (line 407) | func (l *RequestLogger) LLMStart(connector, model string, messageCount... method LLMComplete (line 428) | func (l *RequestLogger) LLMComplete(tokens int, hasToolCalls bool) { method ToolStart (line 453) | func (l *RequestLogger) ToolStart(toolName string) { method ToolComplete (line 468) | func (l *RequestLogger) ToolComplete(toolName string, success bool) { method HookStart (line 491) | func (l *RequestLogger) HookStart(hookName string) { method HookComplete (line 507) | func (l *RequestLogger) HookComplete(hookName string) { method Cleanup (line 522) | func (l *RequestLogger) Cleanup(resource string) { method HistoryLoad (line 536) | func (l *RequestLogger) HistoryLoad(count, maxSize int) { method HistoryOverlap (line 550) | func (l *RequestLogger) HistoryOverlap(overlapCount int) { method Release (line 566) | func (l *RequestLogger) Release() { type LoggerOption (line 91) | type LoggerOption function WithParentID (line 94) | func WithParentID(parentID string) LoggerOption { function NewRequestLogger (line 104) | func NewRequestLogger(assistantID, chatID, requestID string, opts ...Log... function Noop (line 126) | func Noop() *RequestLogger { function shortID (line 585) | func shortID(id string) string { FILE: agent/context/mcp.go method ListResources (line 20) | func (ctx *Context) ListResources(mcpID string, cursor string) (*types.L... method ReadResource (line 75) | func (ctx *Context) ReadResource(mcpID string, uri string) (*types.ReadR... method ListTools (line 132) | func (ctx *Context) ListTools(mcpID string, cursor string) (*types.ListT... method CallTool (line 187) | func (ctx *Context) CallTool(mcpID string, name string, arguments interf... method CallTools (line 242) | func (ctx *Context) CallTools(mcpID string, tools []types.ToolCall) (*ty... method CallToolsParallel (line 297) | func (ctx *Context) CallToolsParallel(mcpID string, tools []types.ToolCa... method ListPrompts (line 355) | func (ctx *Context) ListPrompts(mcpID string, cursor string) (*types.Lis... method GetPrompt (line 410) | func (ctx *Context) GetPrompt(mcpID string, name string, arguments map[s... method ListSamples (line 468) | func (ctx *Context) ListSamples(mcpID string, itemType types.SampleItemT... method GetSample (line 523) | func (ctx *Context) GetSample(mcpID string, itemType types.SampleItemTyp... function parseCallToolResponse (line 579) | func parseCallToolResponse(response *types.CallToolResponse) interface{} { function parseCallToolsResponse (line 587) | func parseCallToolsResponse(response *types.CallToolsResponse) []interfa... type MCPToolRequest (line 602) | type MCPToolRequest struct type MCPToolResult (line 610) | type MCPToolResult struct type callToolResult (line 618) | type callToolResult struct method CallToolAll (line 625) | func (ctx *Context) CallToolAll(requests []*MCPToolRequest) []*MCPToolRe... method CallToolAny (line 662) | func (ctx *Context) CallToolAny(requests []*MCPToolRequest) []*MCPToolRe... method CallToolRace (line 717) | func (ctx *Context) CallToolRace(requests []*MCPToolRequest) []*MCPToolR... method callToolSingle (line 764) | func (ctx *Context) callToolSingle(req *MCPToolRequest) *MCPToolResult { function parseToolResponseContent (line 788) | func parseToolResponseContent(response *types.CallToolResponse) interfac... FILE: agent/context/mcp_test.go function newTestMCPContext (line 14) | func newTestMCPContext() *context.Context { function TestListResources (line 29) | func TestListResources(t *testing.T) { function TestReadResource (line 66) | func TestReadResource(t *testing.T) { function TestListTools (line 108) | func TestListTools(t *testing.T) { function TestCallTool (line 147) | func TestCallTool(t *testing.T) { function TestCallTools (line 214) | func TestCallTools(t *testing.T) { function TestCallToolsParallel (line 258) | func TestCallToolsParallel(t *testing.T) { function TestListPrompts (line 296) | func TestListPrompts(t *testing.T) { function TestGetPrompt (line 332) | func TestGetPrompt(t *testing.T) { function TestListSamples (line 379) | func TestListSamples(t *testing.T) { function TestGetSample (line 421) | func TestGetSample(t *testing.T) { function TestMCPWithTrace (line 463) | func TestMCPWithTrace(t *testing.T) { FILE: agent/context/message.go type messageMetadataStore (line 10) | type messageMetadataStore struct method setMessage (line 25) | func (s *messageMetadataStore) setMessage(messageID string, metadata *... method getMessage (line 32) | func (s *messageMetadataStore) getMessage(messageID string) *MessageMe... method setBlock (line 39) | func (s *messageMetadataStore) setBlock(blockID string, metadata *Bloc... method getBlock (line 46) | func (s *messageMetadataStore) getBlock(blockID string) *BlockMetadata { method updateBlock (line 53) | func (s *messageMetadataStore) updateBlock(blockID string, update func... function newMessageMetadataStore (line 17) | func newMessageMetadataStore() *messageMetadataStore { method UnmarshalJSON (line 62) | func (m *Message) UnmarshalJSON(data []byte) error { method MarshalJSON (line 100) | func (m *Message) MarshalJSON() ([]byte, error) { function NewTextMessage (line 110) | func NewTextMessage(role MessageRole, text string) *Message { function NewMultipartMessage (line 118) | func NewMultipartMessage(role MessageRole, parts []ContentPart) *Message { method GetContentAsString (line 126) | func (m *Message) GetContentAsString() (string, bool) { method GetContentAsParts (line 134) | func (m *Message) GetContentAsParts() ([]ContentPart, bool) { method HasToolCalls (line 142) | func (m *Message) HasToolCalls() bool { method IsRefusal (line 147) | func (m *Message) IsRefusal() bool { FILE: agent/context/message_events_test.go function TestMessageLifecycleEvents (line 15) | func TestMessageLifecycleEvents(t *testing.T) { type mockResponseWriter (line 105) | type mockResponseWriter struct method Header (line 111) | func (m *mockResponseWriter) Header() http.Header { method Write (line 115) | func (m *mockResponseWriter) Write(data []byte) (int, error) { method WriteHeader (line 119) | func (m *mockResponseWriter) WriteHeader(statusCode int) { FILE: agent/context/message_test.go function TestMessage_UnmarshalJSON_StringContent (line 10) | func TestMessage_UnmarshalJSON_StringContent(t *testing.T) { function TestMessage_UnmarshalJSON_ArrayContent (line 36) | func TestMessage_UnmarshalJSON_ArrayContent(t *testing.T) { function TestMessage_UnmarshalJSON_NullContent (line 96) | func TestMessage_UnmarshalJSON_NullContent(t *testing.T) { function TestMessage_UnmarshalJSON_WithRefusal (line 139) | func TestMessage_UnmarshalJSON_WithRefusal(t *testing.T) { function TestMessage_UnmarshalJSON_AudioContent (line 166) | func TestMessage_UnmarshalJSON_AudioContent(t *testing.T) { function TestMessage_MarshalJSON_StringContent (line 214) | func TestMessage_MarshalJSON_StringContent(t *testing.T) { function TestMessage_MarshalJSON_ArrayContent (line 237) | func TestMessage_MarshalJSON_ArrayContent(t *testing.T) { function TestMessage_MarshalJSON_WithToolCalls (line 276) | func TestMessage_MarshalJSON_WithToolCalls(t *testing.T) { function TestMessage_ToolMessage (line 317) | func TestMessage_ToolMessage(t *testing.T) { function TestNewTextMessage (line 353) | func TestNewTextMessage(t *testing.T) { function TestNewMultipartMessage (line 370) | func TestNewMultipartMessage(t *testing.T) { FILE: agent/context/openapi.go function GetCompletionRequest (line 19) | func GetCompletionRequest(c *gin.Context, cache store.Store) (*Completio... function getClientType (line 105) | func getClientType(userAgent string) string { function GetAssistantID (line 137) | func GetAssistantID(c *gin.Context, req *CompletionRequest) (string, err... function GetMessages (line 177) | func GetMessages(c *gin.Context, req *CompletionRequest) ([]Message, err... function GetLocale (line 198) | func GetLocale(c *gin.Context, req *CompletionRequest) string { function GetTheme (line 232) | func GetTheme(c *gin.Context, req *CompletionRequest) string { function GetReferer (line 260) | func GetReferer(c *gin.Context, req *CompletionRequest) string { function GetAccept (line 289) | func GetAccept(c *gin.Context, req *CompletionRequest) Accept { function GetChatID (line 324) | func GetChatID(c *gin.Context, cache store.Store, req *CompletionRequest... function GetRoute (line 362) | func GetRoute(c *gin.Context, req *CompletionRequest) string { function GetMode (line 385) | func GetMode(c *gin.Context, req *CompletionRequest) string { function GetSkip (line 411) | func GetSkip(c *gin.Context, req *CompletionRequest) *Skip { function GetMetadata (line 436) | func GetMetadata(c *gin.Context, req *CompletionRequest) map[string]inte... function parseCompletionRequestData (line 473) | func parseCompletionRequestData(c *gin.Context) (*CompletionRequest, err... FILE: agent/context/openapi_test.go function parseCompletionRequestData (line 18) | func parseCompletionRequestData(c *gin.Context) (*context.CompletionRequ... function TestGetMessages_FromBody (line 39) | func TestGetMessages_FromBody(t *testing.T) { function TestGetMessages_FromQuery (line 86) | func TestGetMessages_FromQuery(t *testing.T) { function TestGetMessages_EmptyMessages (line 120) | func TestGetMessages_EmptyMessages(t *testing.T) { function TestGetChatID_FromQuery (line 147) | func TestGetChatID_FromQuery(t *testing.T) { function TestGetChatID_FromHeader (line 175) | func TestGetChatID_FromHeader(t *testing.T) { function TestGetChatID_FromMetadata (line 204) | func TestGetChatID_FromMetadata(t *testing.T) { function TestGetChatID_FromMessages (line 247) | func TestGetChatID_FromMessages(t *testing.T) { function TestGetChatID_Priority (line 329) | func TestGetChatID_Priority(t *testing.T) { function TestGetLocale_FromQuery (line 381) | func TestGetLocale_FromQuery(t *testing.T) { function TestGetLocale_FromHeader (line 395) | func TestGetLocale_FromHeader(t *testing.T) { function TestGetLocale_FromMetadata (line 410) | func TestGetLocale_FromMetadata(t *testing.T) { function TestGetLocale_Priority (line 430) | func TestGetLocale_Priority(t *testing.T) { function TestGetTheme_FromQuery (line 451) | func TestGetTheme_FromQuery(t *testing.T) { function TestGetTheme_FromHeader (line 465) | func TestGetTheme_FromHeader(t *testing.T) { function TestGetTheme_FromMetadata (line 480) | func TestGetTheme_FromMetadata(t *testing.T) { function TestGetReferer_FromMetadata (line 500) | func TestGetReferer_FromMetadata(t *testing.T) { function TestGetAccept_FromQuery (line 520) | func TestGetAccept_FromQuery(t *testing.T) { function TestGetAccept_FromHeader (line 534) | func TestGetAccept_FromHeader(t *testing.T) { function TestGetAccept_FromMetadata (line 549) | func TestGetAccept_FromMetadata(t *testing.T) { function TestGetAccept_Default (line 569) | func TestGetAccept_Default(t *testing.T) { function TestGetAccept_Priority (line 583) | func TestGetAccept_Priority(t *testing.T) { function TestGetAssistantID_FromModel (line 604) | func TestGetAssistantID_FromModel(t *testing.T) { function TestGetAssistantID_Priority (line 626) | func TestGetAssistantID_Priority(t *testing.T) { function TestGetRoute_FromQuery (line 649) | func TestGetRoute_FromQuery(t *testing.T) { function TestGetRoute_FromHeader (line 663) | func TestGetRoute_FromHeader(t *testing.T) { function TestGetRoute_FromPayload (line 678) | func TestGetRoute_FromPayload(t *testing.T) { function TestGetRoute_Priority (line 696) | func TestGetRoute_Priority(t *testing.T) { function TestGetMetadata_FromQuery (line 715) | func TestGetMetadata_FromQuery(t *testing.T) { function TestGetMetadata_FromHeader_Base64 (line 743) | func TestGetMetadata_FromHeader_Base64(t *testing.T) { function TestGetMetadata_FromPayload (line 768) | func TestGetMetadata_FromPayload(t *testing.T) { function TestGetMetadata_Priority (line 799) | func TestGetMetadata_Priority(t *testing.T) { function TestGetMetadata_EmptyData (line 833) | func TestGetMetadata_EmptyData(t *testing.T) { function TestGetCompletionRequest_WriterInitialized (line 847) | func TestGetCompletionRequest_WriterInitialized(t *testing.T) { function TestGetCompletionRequest_ChatIDFallback (line 914) | func TestGetCompletionRequest_ChatIDFallback(t *testing.T) { function TestGetSkip_FromBody (line 968) | func TestGetSkip_FromBody(t *testing.T) { function TestGetSkip_FromQueryParams (line 997) | func TestGetSkip_FromQueryParams(t *testing.T) { function TestGetSkip_FromQueryParams_ShortForm (line 1019) | func TestGetSkip_FromQueryParams_ShortForm(t *testing.T) { function TestGetSkip_Priority (line 1041) | func TestGetSkip_Priority(t *testing.T) { function TestGetSkip_Nil (line 1072) | func TestGetSkip_Nil(t *testing.T) { function TestGetSkip_OnlyHistorySet (line 1086) | func TestGetSkip_OnlyHistorySet(t *testing.T) { function TestGetSkip_FromBodyViaParseRequest (line 1108) | func TestGetSkip_FromBodyViaParseRequest(t *testing.T) { function TestGetMode_FromQuery (line 1173) | func TestGetMode_FromQuery(t *testing.T) { function TestGetMode_FromHeader (line 1190) | func TestGetMode_FromHeader(t *testing.T) { function TestGetMode_FromMetadata (line 1208) | func TestGetMode_FromMetadata(t *testing.T) { function TestGetMode_Priority (line 1231) | func TestGetMode_Priority(t *testing.T) { function TestGetMode_Empty (line 1256) | func TestGetMode_Empty(t *testing.T) { FILE: agent/context/options.go method ToMap (line 4) | func (opts *Options) ToMap() map[string]interface{} { function OptionsFromMap (line 39) | func OptionsFromMap(m map[string]interface{}) *Options { FILE: agent/context/output.go method Send (line 17) | func (ctx *Context) Send(msg *message.Message) error { method SendStream (line 229) | func (ctx *Context) SendStream(msg *message.Message) (string, error) { method End (line 342) | func (ctx *Context) End(messageID string, finalContent ...string) error { method EndMessage (line 413) | func (ctx *Context) EndMessage(messageID string, content interface{}) er... method EndBlock (line 451) | func (ctx *Context) EndBlock(blockID string) error { method SendGroup (line 481) | func (ctx *Context) SendGroup(group *message.Group) error { method Flush (line 490) | func (ctx *Context) Flush() error { method CloseOutput (line 499) | func (ctx *Context) CloseOutput() error { method sendRaw (line 509) | func (ctx *Context) sendRaw(msg *message.Message) error { method getWriter (line 521) | func (ctx *Context) getWriter() Writer { method getOutput (line 536) | func (ctx *Context) getOutput() (*output.Output, error) { method CloseSafeWriter (line 595) | func (ctx *Context) CloseSafeWriter() { FILE: agent/context/stack.go function NewStack (line 12) | func NewStack(traceID, assistantID, referer string, opts *Options) *Stack { method NewChildStack (line 35) | func (s *Stack) NewChildStack(assistantID, referer string, opts *Options... function NewChildStackFromForkParent (line 61) | func NewChildStackFromForkParent(parent *ForkParentInfo, assistantID, re... method Complete (line 85) | func (s *Stack) Complete() { method Fail (line 94) | func (s *Stack) Fail(err error) { method Timeout (line 106) | func (s *Stack) Timeout() { method IsRoot (line 115) | func (s *Stack) IsRoot() bool { method IsCompleted (line 120) | func (s *Stack) IsCompleted() bool { method IsRunning (line 127) | func (s *Stack) IsRunning() bool { method GetPathString (line 132) | func (s *Stack) GetPathString() string { method String (line 145) | func (s *Stack) String() string { method Clone (line 156) | func (s *Stack) Clone() *Stack { function EnterStack (line 200) | func EnterStack(ctx *Context, assistantID string, opts *Options) (*Stack... method GetAllStacks (line 263) | func (ctx *Context) GetAllStacks() []*Stack { method GetStackByID (line 277) | func (ctx *Context) GetStackByID(id string) *Stack { method GetStacksByTraceID (line 286) | func (ctx *Context) GetStacksByTraceID(traceID string) []*Stack { method GetRootStack (line 301) | func (ctx *Context) GetRootStack() *Stack { FILE: agent/context/stack_test.go function TestNewStack (line 13) | func TestNewStack(t *testing.T) { function TestNewStack_GenerateTraceID (line 57) | func TestNewStack_GenerateTraceID(t *testing.T) { function TestNewChildStack (line 74) | func TestNewChildStack(t *testing.T) { function TestStackComplete (line 122) | func TestStackComplete(t *testing.T) { function TestStackFail (line 158) | func TestStackFail(t *testing.T) { function TestStackTimeout (line 181) | func TestStackTimeout(t *testing.T) { function TestEnterStack_RootCreation (line 198) | func TestEnterStack_RootCreation(t *testing.T) { function TestEnterStack_ChildCreation (line 242) | func TestEnterStack_ChildCreation(t *testing.T) { function TestEnterStack_DoneCallback (line 286) | func TestEnterStack_DoneCallback(t *testing.T) { function TestContextGetAllStacks (line 326) | func TestContextGetAllStacks(t *testing.T) { function TestContextGetStackByID (line 351) | func TestContextGetStackByID(t *testing.T) { function TestContextGetStacksByTraceID (line 379) | func TestContextGetStacksByTraceID(t *testing.T) { function TestContextGetRootStack (line 408) | func TestContextGetRootStack(t *testing.T) { function TestStackClone (line 439) | func TestStackClone(t *testing.T) { FILE: agent/context/types.go type Accept (line 20) | type Accept type Referer (line 23) | type Referer type Client (line 26) | type Client struct constant AcceptStandard (line 34) | AcceptStandard = "standard" constant AcceptWebCUI (line 37) | AcceptWebCUI = "cui-web" constant AccepNativeCUI (line 40) | AccepNativeCUI = "cui-native" constant AcceptDesktopCUI (line 43) | AcceptDesktopCUI = "cui-desktop" constant RefererAPI (line 56) | RefererAPI = "api" constant RefererProcess (line 59) | RefererProcess = "process" constant RefererMCP (line 62) | RefererMCP = "mcp" constant RefererJSSDK (line 65) | RefererJSSDK = "jssdk" constant RefererAgent (line 68) | RefererAgent = "agent" constant RefererAgentFork (line 71) | RefererAgentFork = "agent_fork" constant RefererTool (line 74) | RefererTool = "tool" constant RefererHook (line 77) | RefererHook = "hook" constant RefererSchedule (line 80) | RefererSchedule = "schedule" constant RefererScript (line 83) | RefererScript = "script" constant RefererInternal (line 86) | RefererInternal = "internal" constant StackStatusPending (line 106) | StackStatusPending = "pending" constant StackStatusRunning (line 109) | StackStatusRunning = "running" constant StackStatusCompleted (line 112) | StackStatusCompleted = "completed" constant StackStatusFailed (line 115) | StackStatusFailed = "failed" constant StackStatusTimeout (line 118) | StackStatusTimeout = "timeout" type InterruptType (line 134) | type InterruptType constant InterruptGraceful (line 138) | InterruptGraceful InterruptType = "graceful" constant InterruptForce (line 141) | InterruptForce InterruptType = "force" type InterruptAction (line 145) | type InterruptAction constant InterruptActionContinue (line 149) | InterruptActionContinue InterruptAction = "continue" constant InterruptActionRestart (line 152) | InterruptActionRestart InterruptAction = "restart" constant InterruptActionAbort (line 155) | InterruptActionAbort InterruptAction = "abort" type InterruptSignal (line 159) | type InterruptSignal struct type InterruptHandler (line 174) | type InterruptHandler type InterruptController (line 178) | type InterruptController struct type AssistantInfo (line 191) | type AssistantInfo struct type Skip (line 200) | type Skip struct type MessageMetadata (line 211) | type MessageMetadata struct type BlockMetadata (line 221) | type BlockMetadata struct type Context (line 229) | type Context struct type SearchIntent (line 286) | type SearchIntent struct type Options (line 294) | type Options struct method ForceA2A (line 342) | func (opts *Options) ForceA2A() { type OnMessageFunc (line 353) | type OnMessageFunc type ForkParentInfo (line 358) | type ForkParentInfo struct type Stack (line 367) | type Stack struct type Response (line 399) | type Response struct type HookCreateResponse (line 412) | type HookCreateResponse struct type NextHookPayload (line 457) | type NextHookPayload struct type ToolCallResponse (line 465) | type ToolCallResponse struct type NextHookResponse (line 475) | type NextHookResponse struct method Action (line 506) | func (n *NextHookResponse) Action() NextAction { type DelegateConfig (line 488) | type DelegateConfig struct type NextAction (line 495) | type NextAction constant NextActionReturn (line 499) | NextActionReturn NextAction = "return" constant NextActionDelegate (line 502) | NextActionDelegate NextAction = "delegate" type ResponseHookNext (line 514) | type ResponseHookNext interface type ResponseHookMCP (line 517) | type ResponseHookMCP struct type ResponseHookFailback (line 520) | type ResponseHookFailback struct type HookInterruptedResponse (line 523) | type HookInterruptedResponse struct type MessageRole (line 546) | type MessageRole constant RoleDeveloper (line 550) | RoleDeveloper MessageRole = "developer" constant RoleSystem (line 551) | RoleSystem MessageRole = "system" constant RoleUser (line 552) | RoleUser MessageRole = "user" constant RoleAssistant (line 553) | RoleAssistant MessageRole = "assistant" constant RoleTool (line 554) | RoleTool MessageRole = "tool" type Message (line 559) | type Message struct type ContentPartType (line 574) | type ContentPartType constant ContentText (line 578) | ContentText ContentPartType = "text" constant ContentImageURL (line 579) | ContentImageURL ContentPartType = "image_url" constant ContentInputAudio (line 580) | ContentInputAudio ContentPartType = "input_audio" constant ContentFile (line 581) | ContentFile ContentPartType = "file" constant ContentData (line 582) | ContentData ContentPartType = "data" type ContentPart (line 587) | type ContentPart struct type ImageDetailLevel (line 597) | type ImageDetailLevel constant DetailAuto (line 601) | DetailAuto ImageDetailLevel = "auto" constant DetailLow (line 602) | DetailLow ImageDetailLevel = "low" constant DetailHigh (line 603) | DetailHigh ImageDetailLevel = "high" type ImageURL (line 607) | type ImageURL struct type InputAudio (line 613) | type InputAudio struct type FileAttachment (line 620) | type FileAttachment struct type DataSourceType (line 626) | type DataSourceType constant DataSourceModel (line 630) | DataSourceModel DataSourceType = "model" constant DataSourceKBCollection (line 631) | DataSourceKBCollection DataSourceType = "kb_collection" constant DataSourceKBDocument (line 632) | DataSourceKBDocument DataSourceType = "kb_document" constant DataSourceTable (line 633) | DataSourceTable DataSourceType = "table" constant DataSourceAPI (line 634) | DataSourceAPI DataSourceType = "api" constant DataSourceMCPResource (line 635) | DataSourceMCPResource DataSourceType = "mcp_resource" type DataSource (line 639) | type DataSource struct type DataContent (line 649) | type DataContent struct type ToolCallType (line 654) | type ToolCallType constant ToolTypeFunction (line 658) | ToolTypeFunction ToolCallType = "function" type ToolCall (line 662) | type ToolCall struct type Function (line 669) | type Function struct type CompletionRequest (line 678) | type CompletionRequest struct type AudioConfig (line 702) | type AudioConfig struct type StreamOptions (line 708) | type StreamOptions struct type MCPServerConfig (line 714) | type MCPServerConfig struct FILE: agent/context/types_llm.go type Uses (line 10) | type Uses struct type VisionFormat (line 24) | type VisionFormat constant VisionFormatNone (line 29) | VisionFormatNone VisionFormat = "" constant VisionFormatOpenAI (line 31) | VisionFormatOpenAI VisionFormat = "openai" constant VisionFormatClaude (line 33) | VisionFormatClaude VisionFormat = "claude" constant VisionFormatBase64 (line 35) | VisionFormatBase64 VisionFormat = "base64" constant VisionFormatDefault (line 37) | VisionFormatDefault VisionFormat = "default" function GetVisionSupport (line 41) | func GetVisionSupport(cap *llm.Capabilities) (bool, VisionFormat) { type CompletionOptions (line 70) | type CompletionOptions struct type CompletionResponse (line 123) | type CompletionResponse struct constant FinishReasonStop (line 159) | FinishReasonStop = "stop" constant FinishReasonLength (line 160) | FinishReasonLength = "length" constant FinishReasonToolCalls (line 161) | FinishReasonToolCalls = "tool_calls" constant FinishReasonContentFilter (line 162) | FinishReasonContentFilter = "content_filter" constant FinishReasonFunctionCall (line 163) | FinishReasonFunctionCall = "function_call" type ResponseFormat (line 168) | type ResponseFormat struct type ResponseFormatType (line 174) | type ResponseFormatType constant ResponseFormatText (line 178) | ResponseFormatText ResponseFormatType = "text" constant ResponseFormatJSON (line 179) | ResponseFormatJSON ResponseFormatType = "json_object" constant ResponseFormatJSONSchema (line 180) | ResponseFormatJSONSchema ResponseFormatType = "json_schema" type JSONSchema (line 185) | type JSONSchema struct FILE: agent/context/utils.go function getValidatedValue (line 4) | func getValidatedValue(queryValue, headerValue, defaultValue string, val... function getValidatedAccept (line 15) | func getValidatedAccept(queryValue, headerValue, clientType string) Acce... function validateReferer (line 26) | func validateReferer(referer string) string { function validateAccept (line 34) | func validateAccept(accept string) Accept { function parseAccept (line 42) | func parseAccept(clientType string) Accept { FILE: agent/i18n/builtin.go function init (line 4) | func init() { FILE: agent/i18n/i18n.go type I18n (line 17) | type I18n struct method Parse (line 26) | func (i18n I18n) Parse(input any) any { method parseString (line 69) | func (i18n I18n) parseString(in string) string { type Map (line 23) | type Map method Flatten (line 163) | func (m Map) Flatten() Map { method FlattenWithGlobal (line 228) | func (m Map) FlattenWithGlobal() Map { function GetLocales (line 128) | func GetLocales(path string) (Map, error) { function Translate (line 234) | func Translate(assistantID string, locale string, input any) any { function TranslateGlobal (line 327) | func TranslateGlobal(locale string, input any) any { function T (line 369) | func T(locale string, key string) string { function Tr (line 380) | func Tr(assistantID string, locale string, key string) string { FILE: agent/i18n/i18n_test.go function TestParseString (line 11) | func TestParseString(t *testing.T) { function TestParseStringNonStringValue (line 111) | func TestParseStringNonStringValue(t *testing.T) { function TestParse (line 153) | func TestParse(t *testing.T) { function TestParseSliceStringWithNilAndNonString (line 273) | func TestParseSliceStringWithNilAndNonString(t *testing.T) { function TestMapFlatten (line 341) | func TestMapFlatten(t *testing.T) { function TestMapFlattenWithGlobal (line 391) | func TestMapFlattenWithGlobal(t *testing.T) { function TestMapFlattenWithGlobalNoGlobal (line 442) | func TestMapFlattenWithGlobalNoGlobal(t *testing.T) { function TestMapFlattenWithGlobalKeyConflict (line 473) | func TestMapFlattenWithGlobalKeyConflict(t *testing.T) { function TestTranslate (line 535) | func TestTranslate(t *testing.T) { function TestTranslateGlobal (line 633) | func TestTranslateGlobal(t *testing.T) { function TestGetLocalesIntegration (line 781) | func TestGetLocalesIntegration(t *testing.T) { function TestEdgeCases (line 894) | func TestEdgeCases(t *testing.T) { function TestBuiltinMessages (line 950) | func TestBuiltinMessages(t *testing.T) { function TestTr (line 1080) | func TestTr(t *testing.T) { function TestTAlias (line 1227) | func TestTAlias(t *testing.T) { FILE: agent/llm/adapters/adapter.go type CapabilityAdapter (line 9) | type CapabilityAdapter interface type BaseAdapter (line 32) | type BaseAdapter struct method Name (line 42) | func (a *BaseAdapter) Name() string { method PreprocessMessages (line 47) | func (a *BaseAdapter) PreprocessMessages(messages []context.Message) (... method PreprocessOptions (line 52) | func (a *BaseAdapter) PreprocessOptions(options *context.CompletionOpt... method PostprocessResponse (line 57) | func (a *BaseAdapter) PostprocessResponse(response *context.Completion... method ProcessStreamChunk (line 62) | func (a *BaseAdapter) ProcessStreamChunk(chunkType context.StreamChunk... function NewBaseAdapter (line 37) | func NewBaseAdapter(name string) *BaseAdapter { FILE: agent/llm/adapters/audio.go type AudioAdapter (line 9) | type AudioAdapter struct method PreprocessMessages (line 23) | func (a *AudioAdapter) PreprocessMessages(messages []context.Message) ... function NewAudioAdapter (line 15) | func NewAudioAdapter(nativeSupport bool) *AudioAdapter { FILE: agent/llm/adapters/reasoning.go type ReasoningFormat (line 9) | type ReasoningFormat constant ReasoningFormatNone (line 12) | ReasoningFormatNone ReasoningFormat = "none" constant ReasoningFormatOpenAI (line 13) | ReasoningFormatOpenAI ReasoningFormat = "openai-o1" constant ReasoningFormatGPT5 (line 14) | ReasoningFormatGPT5 ReasoningFormat = "gpt-5" constant ReasoningFormatDeepSeek (line 15) | ReasoningFormatDeepSeek ReasoningFormat = "deepseek-r1" type ReasoningAdapter (line 23) | type ReasoningAdapter struct method PreprocessOptions (line 66) | func (a *ReasoningAdapter) PreprocessOptions(options *context.Completi... method ProcessStreamChunk (line 101) | func (a *ReasoningAdapter) ProcessStreamChunk(chunkType context.Stream... method PostprocessResponse (line 116) | func (a *ReasoningAdapter) PostprocessResponse(response *context.Compl... function NewReasoningAdapter (line 32) | func NewReasoningAdapter(format ReasoningFormat, cap *openai.Capabilitie... FILE: agent/llm/adapters/toolcall.go type ToolCallAdapter (line 9) | type ToolCallAdapter struct method PreprocessMessages (line 23) | func (a *ToolCallAdapter) PreprocessMessages(messages []context.Messag... method PreprocessOptions (line 37) | func (a *ToolCallAdapter) PreprocessOptions(options *context.Completio... method PostprocessResponse (line 55) | func (a *ToolCallAdapter) PostprocessResponse(response *context.Comple... function NewToolCallAdapter (line 15) | func NewToolCallAdapter(nativeSupport bool) *ToolCallAdapter { FILE: agent/llm/adapters/vision.go type VisionAdapter (line 16) | type VisionAdapter struct method PreprocessMessages (line 32) | func (a *VisionAdapter) PreprocessMessages(messages []context.Message)... method removeImageContent (line 51) | func (a *VisionAdapter) removeImageContent(messages []context.Message)... method convertToBase64Format (line 89) | func (a *VisionAdapter) convertToBase64Format(messages []context.Messa... method convertImageURLToBase64 (line 126) | func (a *VisionAdapter) convertImageURLToBase64(part map[string]interf... method downloadAndEncodeImage (line 180) | func (a *VisionAdapter) downloadAndEncodeImage(url string) (string, st... function NewVisionAdapter (line 23) | func NewVisionAdapter(nativeSupport bool, format context.VisionFormat) *... FILE: agent/llm/capabilities.go function GetCapabilities (line 10) | func GetCapabilities(connectorID string) *goullm.Capabilities { function GetCapabilitiesFromConn (line 24) | func GetCapabilitiesFromConn(conn connector.Connector) *goullm.Capabilit... function getDefaultCapabilities (line 45) | func getDefaultCapabilities() *goullm.Capabilities { function GetCapabilitiesMap (line 59) | func GetCapabilitiesMap(connectorID string) map[string]interface{} { function ToMap (line 69) | func ToMap(caps *goullm.Capabilities) map[string]interface{} { FILE: agent/llm/interfaces.go type LLM (line 9) | type LLM interface FILE: agent/llm/jsapi.go type JSAPI (line 13) | type JSAPI struct method Stream (line 35) | func (api *JSAPI) Stream(connectorID string, messages []interface{}, o... method StreamWithHandler (line 40) | func (api *JSAPI) StreamWithHandler(connectorID string, messages []int... method All (line 515) | func (api *JSAPI) All(requests []interface{}) []interface{} { method Any (line 520) | func (api *JSAPI) Any(requests []interface{}) []interface{} { method Race (line 525) | func (api *JSAPI) Race(requests []interface{}) []interface{} { method AllWithHandler (line 530) | func (api *JSAPI) AllWithHandler(requests []interface{}, globalHandler... method AnyWithHandler (line 536) | func (api *JSAPI) AnyWithHandler(requests []interface{}, globalHandler... method RaceWithHandler (line 542) | func (api *JSAPI) RaceWithHandler(requests []interface{}, globalHandle... method parseRequests (line 548) | func (api *JSAPI) parseRequests(requests []interface{}, globalHandler ... method executeAll (line 597) | func (api *JSAPI) executeAll(requests []*Request) []interface{} { method executeAny (line 634) | func (api *JSAPI) executeAny(requests []*Request) []interface{} { method executeRace (line 706) | func (api *JSAPI) executeRace(requests []*Request) []interface{} { method executeSingleRequestWithForkedContext (line 749) | func (api *JSAPI) executeSingleRequestWithForkedContext(request *Reque... function NewJSAPI (line 22) | func NewJSAPI(ctx *agentContext.Context) *JSAPI { function SetJSAPIFactory (line 28) | func SetJSAPIFactory() { function createStreamHandlerWithCallback (line 102) | func createStreamHandlerWithCallback(ctx *agentContext.Context, handler ... function parseMessages (line 123) | func parseMessages(messages []interface{}) ([]agentContext.Message, erro... function parseToolCalls (line 170) | func parseToolCalls(toolCalls []interface{}) []agentContext.ToolCall { function BuildCompletionOptions (line 206) | func BuildCompletionOptions(conn connector.Connector, opts map[string]in... function buildCompletionOptions (line 210) | func buildCompletionOptions(conn connector.Connector, opts map[string]in... type streamState (line 316) | type streamState struct method generateMessageID (line 328) | func (s *streamState) generateMessageID() string { method generateChunkID (line 337) | func (s *streamState) generateChunkID() string { method handleChunk (line 346) | func (s *streamState) handleChunk(chunkType message.StreamChunkType, d... function extractContent (line 484) | func extractContent(response *agentContext.CompletionResponse) string { FILE: agent/llm/jsapi_types.go type Request (line 9) | type Request struct type Result (line 17) | type Result struct FILE: agent/llm/llm.go function New (line 12) | func New(conn connector.Connector, options *context.CompletionOptions) (... FILE: agent/llm/process.go function init (line 17) | func init() { function ProcessChatCompletions (line 38) | func ProcessChatCompletions(p *process.Process) interface{} { function toOpenAIFormat (line 160) | func toOpenAIFormat(resp *agentContext.CompletionResponse) map[string]in... function newErrorResponse (line 197) | func newErrorResponse(errMsg string) map[string]interface{} { function normalizeContentParts (line 210) | func normalizeContentParts(parts []interface{}) []agentContext.ContentPa... FILE: agent/llm/providers/anthropic/anthropic.go type Provider (line 23) | type Provider struct method Stream (line 69) | func (p *Provider) Stream(ctx *context.Context, messages []context.Mes... method streamWithRetry (line 160) | func (p *Provider) streamWithRetry(ctx *context.Context, messages []co... method Post (line 598) | func (p *Provider) Post(ctx *context.Context, messages []context.Messa... method postWithRetry (line 655) | func (p *Provider) postWithRetry(ctx *context.Context, messages []cont... method buildRequestBody (line 789) | func (p *Provider) buildRequestBody(messages []context.Message, option... function New (line 29) | func New(conn connector.Connector, capabilities *goullm.Capabilities) *P... function buildAdapters (line 37) | func buildAdapters(cap *goullm.Capabilities) []adapters.CapabilityAdapter { function convertTools (line 954) | func convertTools(tools []map[string]interface{}) []map[string]interface... function convertToolChoice (line 978) | func convertToolChoice(choice interface{}) interface{} { function convertImagePart (line 1003) | func convertImagePart(part context.ContentPart) map[string]interface{} { function buildAPIURL (line 1039) | func buildAPIURL(host, endpoint string) string { function mapStopReason (line 1044) | func mapStopReason(stopReason string) string { function startMessage (line 1061) | func startMessage(mt *messageTracker, messageType message.StreamChunkTyp... function startToolCallMessage (line 1089) | func startToolCallMessage(mt *messageTracker, toolCallInfo *message.Even... function incrementChunk (line 1118) | func incrementChunk(mt *messageTracker) { function endMessage (line 1124) | func endMessage(mt *messageTracker, handler message.StreamFunc) { function isRetryableError (line 1152) | func isRetryableError(err error) bool { FILE: agent/llm/providers/anthropic/anthropic_test.go constant testConnectorID (line 20) | testConnectorID = "claude.haiku-3_0" function TestAnthropicStreamBasic (line 23) | func TestAnthropicStreamBasic(t *testing.T) { function TestAnthropicStreamWithToolCalls (line 103) | func TestAnthropicStreamWithToolCalls(t *testing.T) { function TestAnthropicStreamRetry (line 210) | func TestAnthropicStreamRetry(t *testing.T) { function newTestContext (line 270) | func newTestContext(chatID, connectorID string) *context.Context { FILE: agent/llm/providers/anthropic/types.go type StreamEvent (line 13) | type StreamEvent struct type MessageStartEvent (line 18) | type MessageStartEvent struct type MessageStart (line 24) | type MessageStart struct type ContentBlockStartEvent (line 36) | type ContentBlockStartEvent struct type ContentBlockDeltaEvent (line 43) | type ContentBlockDeltaEvent struct type ContentBlockStopEvent (line 50) | type ContentBlockStopEvent struct type MessageDeltaEvent (line 56) | type MessageDeltaEvent struct type MessageDelta (line 63) | type MessageDelta struct type DeltaUsage (line 69) | type DeltaUsage struct type ContentBlock (line 74) | type ContentBlock struct type DeltaBlock (line 85) | type DeltaBlock struct type UsageInfo (line 93) | type UsageInfo struct type NonStreamResponse (line 101) | type NonStreamResponse struct type APIError (line 113) | type APIError struct type streamAccumulator (line 122) | type streamAccumulator struct type accumulatedToolCall (line 139) | type accumulatedToolCall struct type messageTracker (line 146) | type messageTracker struct FILE: agent/llm/providers/base/base.go type Provider (line 13) | type Provider struct method PreprocessMessages (line 29) | func (p *Provider) PreprocessMessages(messages []context.Message) ([]c... method SupportsVision (line 74) | func (p *Provider) SupportsVision() bool { method SupportsAudio (line 83) | func (p *Provider) SupportsAudio() bool { method SupportsTools (line 88) | func (p *Provider) SupportsTools() bool { method SupportsStreaming (line 93) | func (p *Provider) SupportsStreaming() bool { method SupportsJSON (line 98) | func (p *Provider) SupportsJSON() bool { method SupportsReasoning (line 103) | func (p *Provider) SupportsReasoning() bool { method GetConnectorSetting (line 108) | func (p *Provider) GetConnectorSetting(key string) (interface{}, error) { method GetConnectorStringSetting (line 127) | func (p *Provider) GetConnectorStringSetting(key string) (string, erro... method GetModel (line 142) | func (p *Provider) GetModel() (string, error) { method GetAPIKey (line 147) | func (p *Provider) GetAPIKey() (string, error) { method GetHost (line 152) | func (p *Provider) GetHost() (string, error) { function NewProvider (line 19) | func NewProvider(conn connector.Connector, capabilities *llm.Capabilitie... FILE: agent/llm/providers/factory.go type LLM (line 14) | type LLM interface function SelectProvider (line 21) | func SelectProvider(conn connector.Connector, options *context.Completio... function DetectAPIFormat (line 54) | func DetectAPIFormat(conn connector.Connector) string { function contains (line 82) | func contains(s, substr string) bool { function findSubstring (line 88) | func findSubstring(s, substr string) bool { FILE: agent/llm/providers/openai/deepseek_r1_test.go function TestDeepSeekR1StreamBasic (line 20) | func TestDeepSeekR1StreamBasic(t *testing.T) { function TestDeepSeekR1PostBasic (line 197) | func TestDeepSeekR1PostBasic(t *testing.T) { function TestDeepSeekR1LogicPuzzle (line 285) | func TestDeepSeekR1LogicPuzzle(t *testing.T) { function newDeepSeekTestContext (line 397) | func newDeepSeekTestContext(chatID, connectorID string) *context.Context { FILE: agent/llm/providers/openai/deepseek_v3_test.go function TestDeepSeekV3StreamBasic (line 18) | func TestDeepSeekV3StreamBasic(t *testing.T) { function TestDeepSeekV3PostBasic (line 127) | func TestDeepSeekV3PostBasic(t *testing.T) { function TestDeepSeekV3WithToolCalls (line 216) | func TestDeepSeekV3WithToolCalls(t *testing.T) { function TestDeepSeekV3NoReasoningEffort (line 306) | func TestDeepSeekV3NoReasoningEffort(t *testing.T) { function newDeepSeekV3TestContext (line 369) | func newDeepSeekV3TestContext(chatID, connectorID string) *context.Conte... FILE: agent/llm/providers/openai/openai.go method startMessage (line 25) | func (mt *messageTracker) startMessage(messageType message.StreamChunkTy... method startToolCallMessage (line 57) | func (mt *messageTracker) startToolCallMessage(toolCallInfo *message.Eve... method incrementChunk (line 89) | func (mt *messageTracker) incrementChunk() { method endMessage (line 98) | func (mt *messageTracker) endMessage(handler message.StreamFunc) { type Provider (line 127) | type Provider struct method Stream (line 195) | func (p *Provider) Stream(ctx *context.Context, messages []context.Mes... method streamWithRetry (line 321) | func (p *Provider) streamWithRetry(ctx *context.Context, messages []co... method Post (line 811) | func (p *Provider) Post(ctx *context.Context, messages []context.Messa... method postWithRetry (line 896) | func (p *Provider) postWithRetry(ctx *context.Context, messages []cont... method buildRequestBody (line 1031) | func (p *Provider) buildRequestBody(messages []context.Message, option... method validateToolCallResults (line 1214) | func (p *Provider) validateToolCallResults(options *context.Completion... function buildAPIURL (line 135) | func buildAPIURL(host, endpoint string) string { function New (line 140) | func New(conn connector.Connector, capabilities *goullm.Capabilities) *P... function buildAdapters (line 148) | func buildAdapters(cap *goullm.Capabilities) []adapters.CapabilityAdapter { function detectReasoningFormat (line 185) | func detectReasoningFormat(cap *goullm.Capabilities) adapters.ReasoningF... function isToolCallValidationError (line 1254) | func isToolCallValidationError(err error) bool { function isRetryableError (line 1264) | func isRetryableError(err error) bool { FILE: agent/llm/providers/openai/openai_test.go function TestOpenAIStreamBasic (line 21) | func TestOpenAIStreamBasic(t *testing.T) { function TestOpenAIPostBasic (line 108) | func TestOpenAIPostBasic(t *testing.T) { function TestOpenAIStreamWithToolCalls (line 182) | func TestOpenAIStreamWithToolCalls(t *testing.T) { function TestOpenAIPostWithToolCalls (line 296) | func TestOpenAIPostWithToolCalls(t *testing.T) { function TestOpenAIStreamWithInvalidToolCall (line 412) | func TestOpenAIStreamWithInvalidToolCall(t *testing.T) { function TestOpenAIStreamRetry (line 501) | func TestOpenAIStreamRetry(t *testing.T) { function TestOpenAIStreamChunkTypes (line 570) | func TestOpenAIStreamChunkTypes(t *testing.T) { function TestOpenAIStreamErrorCallback (line 626) | func TestOpenAIStreamErrorCallback(t *testing.T) { function TestOpenAIToolCallValidationRetry (line 697) | func TestOpenAIToolCallValidationRetry(t *testing.T) { function TestOpenAIJSONMode (line 800) | func TestOpenAIJSONMode(t *testing.T) { function TestOpenAIJSONModePost (line 886) | func TestOpenAIJSONModePost(t *testing.T) { function TestOpenAIJSONSchema (line 956) | func TestOpenAIJSONSchema(t *testing.T) { function TestOpenAIJSONSchemaPost (line 1102) | func TestOpenAIJSONSchemaPost(t *testing.T) { function TestOpenAIProxySupport (line 1212) | func TestOpenAIProxySupport(t *testing.T) { function TestOpenAIStreamLifecycleEvents (line 1242) | func TestOpenAIStreamLifecycleEvents(t *testing.T) { function TestOpenAIStreamContextCancellation (line 1347) | func TestOpenAIStreamContextCancellation(t *testing.T) { function TestOpenAIStreamWithTemperature (line 1420) | func TestOpenAIStreamWithTemperature(t *testing.T) { function newTestContext (line 1504) | func newTestContext(chatID, connectorID string) *context.Context { FILE: agent/llm/providers/openai/temperature_test.go function TestTemperatureDeepSeekR1AutoReset (line 67) | func TestTemperatureDeepSeekR1AutoReset(t *testing.T) { function TestTemperatureGPT4oPreserved (line 119) | func TestTemperatureGPT4oPreserved(t *testing.T) { function TestTemperatureDeepSeekV3Preserved (line 169) | func TestTemperatureDeepSeekV3Preserved(t *testing.T) { function TestTemperatureNoTemperatureProvided (line 269) | func TestTemperatureNoTemperatureProvided(t *testing.T) { function newTemperatureTestContext (line 338) | func newTemperatureTestContext(chatID, connectorID string) *context.Cont... FILE: agent/llm/providers/openai/types.go type StreamChunk (line 9) | type StreamChunk struct type Delta (line 23) | type Delta struct type DeltaContent (line 30) | type DeltaContent struct type ToolCallDelta (line 39) | type ToolCallDelta struct type FunctionCallDelta (line 47) | type FunctionCallDelta struct type CompletionResponseFull (line 53) | type CompletionResponseFull struct type streamAccumulator (line 74) | type streamAccumulator struct type accumulatedToolCall (line 88) | type accumulatedToolCall struct type messageTracker (line 96) | type messageTracker struct FILE: agent/load.go function Load (line 26) | func Load(cfg config.Config) error { function GetAgent (line 115) | func GetAgent() *types.DSL { function initGlobalI18n (line 120) | func initGlobalI18n() error { function initGlobalPrompts (line 130) | func initGlobalPrompts() error { function GetGlobalPrompts (line 141) | func GetGlobalPrompts(ctx map[string]string) []store.Prompt { function initStore (line 149) | func initStore() error { function initAssistant (line 180) | func initAssistant() error { function initKBConfig (line 251) | func initKBConfig() error { function initSearchConfig (line 274) | func initSearchConfig() error { function mergeSearchConfig (line 301) | func mergeSearchConfig(base, override *searchTypes.Config) *searchTypes.... function GetSearchConfig (line 437) | func GetSearchConfig() *searchTypes.Config { function defaultAssistant (line 445) | func defaultAssistant() (*assistant.Assistant, error) { function resolveEnvStrings (line 455) | func resolveEnvStrings(setting *types.DSL) { FILE: agent/load_test.go function prepare (line 16) | func prepare(t *testing.T) { function TestLoad (line 22) | func TestLoad(t *testing.T) { function TestGetGlobalPrompts (line 137) | func TestGetGlobalPrompts(t *testing.T) { function TestGetGlobalPromptsWithDisableFlag (line 190) | func TestGetGlobalPromptsWithDisableFlag(t *testing.T) { function TestResolveEnvStrings (line 215) | func TestResolveEnvStrings(t *testing.T) { function TestGlobalPromptsContent (line 321) | func TestGlobalPromptsContent(t *testing.T) { function TestAssistantGlobalPrompts (line 355) | func TestAssistantGlobalPrompts(t *testing.T) { FILE: agent/memory/interfaces.go type Manager (line 6) | type Manager interface type Accessor (line 16) | type Accessor interface type NamespaceAccessor (line 38) | type NamespaceAccessor interface type Factory (line 52) | type Factory interface FILE: agent/memory/manager.go function Init (line 12) | func Init(config *Config) { function GetMemory (line 18) | func GetMemory(userID, teamID, chatID, contextID string) (*Memory, error) { function Close (line 27) | func Close() error { type DefaultManager (line 37) | type DefaultManager struct method Memory (line 68) | func (m *DefaultManager) Memory(userID, teamID, chatID, contextID stri... method Close (line 88) | func (m *DefaultManager) Close() error { function NewManager (line 43) | func NewManager(config *Config) Manager { function NewManagerWithDefaults (line 53) | func NewManagerWithDefaults() Manager { function memoryKey (line 63) | func memoryKey(userID, teamID, chatID, contextID string) string { FILE: agent/memory/memory.go constant DefaultUserTTL (line 12) | DefaultUserTTL = 0 constant DefaultTeamTTL (line 13) | DefaultTeamTTL = 0 constant DefaultChatTTL (line 14) | DefaultChatTTL = 24 * time.Hour constant DefaultContextTTL (line 15) | DefaultContextTTL = 30 * time.Minute function New (line 19) | func New(cfg *Config, userID, teamID, chatID, contextID string) (*Memory... function newNamespace (line 72) | func newNamespace(space Space, id, storeID string, defaultTTL time.Durat... method GetUser (line 104) | func (m *Memory) GetUser() NamespaceAccessor { method GetTeam (line 112) | func (m *Memory) GetTeam() NamespaceAccessor { method GetChat (line 120) | func (m *Memory) GetChat() NamespaceAccessor { method GetContext (line 128) | func (m *Memory) GetContext() NamespaceAccessor { method GetSpace (line 136) | func (m *Memory) GetSpace(space Space) NamespaceAccessor { method GetStats (line 152) | func (m *Memory) GetStats() *Stats { method Clear (line 172) | func (m *Memory) Clear() { method Fork (line 194) | func (m *Memory) Fork(newContextID string) (*Memory, error) { FILE: agent/memory/memory_test.go function TestMemoryNew (line 14) | func TestMemoryNew(t *testing.T) { function TestMemoryPartialIDs (line 36) | func TestMemoryPartialIDs(t *testing.T) { function TestNamespaceBasicOperations (line 52) | func TestNamespaceBasicOperations(t *testing.T) { function TestNamespaceIsolation (line 122) | func TestNamespaceIsolation(t *testing.T) { function TestNamespaceIncrDecr (line 359) | func TestNamespaceIncrDecr(t *testing.T) { function TestNamespaceListOperations (line 384) | func TestNamespaceListOperations(t *testing.T) { function TestNamespaceSetOperations (line 414) | func TestNamespaceSetOperations(t *testing.T) { function TestNamespaceTTL (line 432) | func TestNamespaceTTL(t *testing.T) { function TestMemoryClear (line 458) | func TestMemoryClear(t *testing.T) { function TestMemoryStats (line 485) | func TestMemoryStats(t *testing.T) { function TestManager (line 506) | func TestManager(t *testing.T) { function TestGetSpace (line 532) | func TestGetSpace(t *testing.T) { function TestNamespaceGetMultiSetMulti (line 549) | func TestNamespaceGetMultiSetMulti(t *testing.T) { function TestNamespaceGetDel (line 578) | func TestNamespaceGetDel(t *testing.T) { FILE: agent/memory/namespace.go method GetID (line 11) | func (ns *Namespace) GetID() string { method GetSpace (line 16) | func (ns *Namespace) GetSpace() Space { method prefixKey (line 21) | func (ns *Namespace) prefixKey(key string) string { method Get (line 26) | func (ns *Namespace) Get(key string) (interface{}, bool) { method Set (line 31) | func (ns *Namespace) Set(key string, value interface{}, ttl time.Duratio... method Has (line 39) | func (ns *Namespace) Has(key string) bool { method Del (line 44) | func (ns *Namespace) Del(key string) error { method Keys (line 50) | func (ns *Namespace) Keys(pattern ...string) []string { method Len (line 74) | func (ns *Namespace) Len(pattern ...string) int { method Clear (line 87) | func (ns *Namespace) Clear() { method GetSet (line 92) | func (ns *Namespace) GetSet(key string, ttl time.Duration, getValue func... method GetDel (line 100) | func (ns *Namespace) GetDel(key string) (interface{}, bool) { method GetMulti (line 105) | func (ns *Namespace) GetMulti(keys []string) map[string]interface{} { method SetMulti (line 126) | func (ns *Namespace) SetMulti(values map[string]interface{}, ttl time.Du... method DelMulti (line 138) | func (ns *Namespace) DelMulti(keys []string) { method GetSetMulti (line 147) | func (ns *Namespace) GetSetMulti(keys []string, ttl time.Duration, getVa... method Incr (line 171) | func (ns *Namespace) Incr(key string, delta int64) (int64, error) { method Decr (line 176) | func (ns *Namespace) Decr(key string, delta int64) (int64, error) { method Push (line 181) | func (ns *Namespace) Push(key string, values ...interface{}) error { method Pop (line 186) | func (ns *Namespace) Pop(key string, position int) (interface{}, error) { method Pull (line 191) | func (ns *Namespace) Pull(key string, value interface{}) error { method PullAll (line 196) | func (ns *Namespace) PullAll(key string, values []interface{}) error { method AddToSet (line 201) | func (ns *Namespace) AddToSet(key string, values ...interface{}) error { method ArrayLen (line 206) | func (ns *Namespace) ArrayLen(key string) int { method ArrayGet (line 211) | func (ns *Namespace) ArrayGet(key string, index int) (interface{}, error) { method ArraySet (line 216) | func (ns *Namespace) ArraySet(key string, index int, value interface{}) ... method ArraySlice (line 221) | func (ns *Namespace) ArraySlice(key string, skip, limit int) ([]interfac... method ArrayPage (line 226) | func (ns *Namespace) ArrayPage(key string, page, pageSize int) ([]interf... method ArrayAll (line 231) | func (ns *Namespace) ArrayAll(key string) ([]interface{}, error) { method Stats (line 236) | func (ns *Namespace) Stats() *NamespaceStats { method Snapshot (line 247) | func (ns *Namespace) Snapshot() map[string]interface{} { FILE: agent/memory/types.go type Space (line 10) | type Space constant SpaceUser (line 15) | SpaceUser Space = "user" constant SpaceTeam (line 19) | SpaceTeam Space = "team" constant SpaceChat (line 23) | SpaceChat Space = "chat" constant SpaceContext (line 27) | SpaceContext Space = "context" type Config (line 33) | type Config struct constant DefaultUserStore (line 42) | DefaultUserStore = "__yao.agent.memory.user" constant DefaultTeamStore (line 43) | DefaultTeamStore = "__yao.agent.memory.team" constant DefaultChatStore (line 44) | DefaultChatStore = "__yao.agent.memory.chat" constant DefaultContextStore (line 45) | DefaultContextStore = "__yao.agent.memory.context" type Entry (line 49) | type Entry struct type Namespace (line 61) | type Namespace struct type Memory (line 72) | type Memory struct type Stats (line 86) | type Stats struct type NamespaceStats (line 94) | type NamespaceStats struct FILE: agent/output/adapters/cui/adapter.go type Adapter (line 8) | type Adapter struct method Adapt (line 17) | func (a *Adapter) Adapt(msg *message.Message) ([]interface{}, error) { method SupportsType (line 26) | func (a *Adapter) SupportsType(msgType string) bool { function NewAdapter (line 11) | func NewAdapter() *Adapter { FILE: agent/output/adapters/cui/writer.go type Writer (line 13) | type Writer struct method Write (line 33) | func (w *Writer) Write(msg *message.Message) error { method WriteGroup (line 60) | func (w *Writer) WriteGroup(group *message.Group) error { method Flush (line 79) | func (w *Writer) Flush() error { method Close (line 86) | func (w *Writer) Close() error { method sendChunk (line 93) | func (w *Writer) sendChunk(chunk interface{}) error { method flush (line 128) | func (w *Writer) flush() error { method sendData (line 138) | func (w *Writer) sendData(data []byte) error { function NewWriter (line 23) | func NewWriter(options message.Options) (*Writer, error) { FILE: agent/output/adapters/openai/adapter.go type Adapter (line 6) | type Adapter struct method Adapt (line 79) | func (a *Adapter) Adapt(msg *message.Message) ([]interface{}, error) { method SupportsType (line 105) | func (a *Adapter) SupportsType(msgType string) bool { method GetConfig (line 111) | func (a *Adapter) GetConfig() *AdapterConfig { method GetRegistry (line 116) | func (a *Adapter) GetRegistry() *ConverterRegistry { function NewAdapter (line 12) | func NewAdapter(options ...Option) *Adapter { type Option (line 27) | type Option function WithBaseURL (line 30) | func WithBaseURL(baseURL string) Option { function WithLinkTemplate (line 37) | func WithLinkTemplate(msgType string, template string) Option { function WithLinkTransformer (line 44) | func WithLinkTransformer(transformer LinkTransformer) Option { function WithModel (line 51) | func WithModel(model string) Option { function WithCapabilities (line 58) | func WithCapabilities(capabilities *ModelCapabilities) Option { function WithLocale (line 65) | func WithLocale(locale string) Option { function WithConverter (line 72) | func WithConverter(msgType string, converter ConverterFunc) Option { FILE: agent/output/adapters/openai/converter.go type ConverterRegistry (line 12) | type ConverterRegistry struct method Register (line 35) | func (r *ConverterRegistry) Register(msgType string, converter Convert... method GetConverter (line 40) | func (r *ConverterRegistry) GetConverter(msgType string) (ConverterFun... method Convert (line 47) | func (r *ConverterRegistry) Convert(msg *message.Message, config *Adap... function NewConverterRegistry (line 17) | func NewConverterRegistry() *ConverterRegistry { function convertText (line 58) | func convertText(msg *message.Message, config *AdapterConfig) ([]interfa... function convertThinking (line 69) | func convertThinking(msg *message.Message, config *AdapterConfig) ([]int... function convertLoading (line 81) | func convertLoading(msg *message.Message, config *AdapterConfig) ([]inte... function convertToolCall (line 93) | func convertToolCall(msg *message.Message, config *AdapterConfig) ([]int... function convertError (line 119) | func convertError(msg *message.Message, config *AdapterConfig) ([]interf... function convertAction (line 137) | func convertAction(msg *message.Message, config *AdapterConfig) ([]inter... function convertStreamStart (line 145) | func convertStreamStart(msg *message.Message, config *AdapterConfig) ([]... function generateTraceLink (line 211) | func generateTraceLink(traceID string, config *AdapterConfig) string { function convertImage (line 222) | func convertImage(msg *message.Message, config *AdapterConfig) ([]interf... function convertToLink (line 253) | func convertToLink(msg *message.Message, config *AdapterConfig) ([]inter... function generateViewLink (line 281) | func generateViewLink(msg *message.Message, config *AdapterConfig) (stri... function getLinkTemplate (line 308) | func getLinkTemplate(msgType string, config *AdapterConfig) string { function createOpenAIChunk (line 318) | func createOpenAIChunk(id string, model string, delta map[string]interfa... function getStringProp (line 335) | func getStringProp(props map[string]interface{}, key string, defaultValu... FILE: agent/output/adapters/openai/types.go type ConverterFunc (line 6) | type ConverterFunc type LinkTransformer (line 10) | type LinkTransformer type AdapterConfig (line 13) | type AdapterConfig struct type ModelCapabilities (line 40) | type ModelCapabilities struct function DefaultAdapterConfig (line 59) | func DefaultAdapterConfig() *AdapterConfig { function copyLinkTemplates (line 69) | func copyLinkTemplates(templates map[string]string) map[string]string { FILE: agent/output/adapters/openai/writer.go type Writer (line 13) | type Writer struct method Write (line 64) | func (w *Writer) Write(msg *message.Message) error { method WriteGroup (line 103) | func (w *Writer) WriteGroup(group *message.Group) error { method Flush (line 123) | func (w *Writer) Flush() error { method Close (line 130) | func (w *Writer) Close() error { method sendData (line 135) | func (w *Writer) sendData(data []byte) error { method flush (line 143) | func (w *Writer) flush() error { method sendChunk (line 154) | func (w *Writer) sendChunk(chunk interface{}) error { method sendDone (line 191) | func (w *Writer) sendDone() error { function NewWriter (line 22) | func NewWriter(options message.Options) (*Writer, error) { function getBaseURL (line 48) | func getBaseURL(baseURL string) string { FILE: agent/output/builtin.go function NewUserInputMessage (line 11) | func NewUserInputMessage(content interface{}, role, name string) *messag... function NewTextMessage (line 28) | func NewTextMessage(content string) *message.Message { function NewThinkingMessage (line 38) | func NewThinkingMessage(content string) *message.Message { function NewLoadingMessage (line 48) | func NewLoadingMessage(msg string) *message.Message { function NewToolCallMessage (line 58) | func NewToolCallMessage(id, name, arguments string) *message.Message { function NewErrorMessage (line 70) | func NewErrorMessage(msg, code string) *message.Message { function NewActionMessage (line 81) | func NewActionMessage(name string, payload map[string]interface{}) *mess... function NewEventMessage (line 92) | func NewEventMessage(event string, msg string, data interface{}) *messag... function NewImageMessage (line 104) | func NewImageMessage(url string, alt string) *message.Message { function NewAudioMessage (line 115) | func NewAudioMessage(url string, format string) *message.Message { function NewVideoMessage (line 126) | func NewVideoMessage(url string) *message.Message { function IsBuiltinType (line 136) | func IsBuiltinType(msgType string) bool { function GenerateID (line 148) | func GenerateID() string { FILE: agent/output/message/interfaces.go type Writer (line 5) | type Writer interface type Adapter (line 21) | type Adapter interface type StreamHandler (line 32) | type StreamHandler interface FILE: agent/output/message/types.go type Options (line 11) | type Options struct type Message (line 22) | type Message struct type Metadata (line 47) | type Metadata struct type Group (line 54) | type Group struct constant TypeUserInput (line 64) | TypeUserInput = "user_input" constant TypeText (line 67) | TypeText = "text" constant TypeThinking (line 68) | TypeThinking = "thinking" constant TypeLoading (line 69) | TypeLoading = "loading" constant TypeToolCall (line 70) | TypeToolCall = "tool_call" constant TypeError (line 71) | TypeError = "error" constant TypeImage (line 74) | TypeImage = "image" constant TypeAudio (line 75) | TypeAudio = "audio" constant TypeVideo (line 76) | TypeVideo = "video" constant TypeAction (line 79) | TypeAction = "action" constant TypeEvent (line 80) | TypeEvent = "event" constant EventStreamStart (line 87) | EventStreamStart = "stream_start" constant EventStreamEnd (line 88) | EventStreamEnd = "stream_end" constant EventThreadStart (line 91) | EventThreadStart = "thread_start" constant EventThreadEnd (line 92) | EventThreadEnd = "thread_end" constant EventBlockStart (line 95) | EventBlockStart = "block_start" constant EventBlockEnd (line 96) | EventBlockEnd = "block_end" constant EventMessageStart (line 99) | EventMessageStart = "message_start" constant EventMessageEnd (line 100) | EventMessageEnd = "message_end" type UserInputProps (line 108) | type UserInputProps struct type TextProps (line 117) | type TextProps struct type ThinkingProps (line 124) | type ThinkingProps struct type LoadingProps (line 131) | type LoadingProps struct type ToolCallProps (line 138) | type ToolCallProps struct type ErrorProps (line 147) | type ErrorProps struct type ActionProps (line 156) | type ActionProps struct type EventProps (line 164) | type EventProps struct type ImageProps (line 173) | type ImageProps struct type AudioProps (line 184) | type AudioProps struct type VideoProps (line 196) | type VideoProps struct constant DeltaAppend (line 210) | DeltaAppend = "append" constant DeltaReplace (line 211) | DeltaReplace = "replace" constant DeltaMerge (line 212) | DeltaMerge = "merge" constant DeltaSet (line 213) | DeltaSet = "set" type StreamChunkType (line 217) | type StreamChunkType constant ChunkText (line 222) | ChunkText StreamChunkType = "text" constant ChunkThinking (line 223) | ChunkThinking StreamChunkType = "thinking" constant ChunkToolCall (line 224) | ChunkToolCall StreamChunkType = "tool_call" constant ChunkRefusal (line 225) | ChunkRefusal StreamChunkType = "refusal" constant ChunkMetadata (line 226) | ChunkMetadata StreamChunkType = "metadata" constant ChunkError (line 227) | ChunkError StreamChunkType = "error" constant ChunkUnknown (line 228) | ChunkUnknown StreamChunkType = "unknown" constant ChunkStreamStart (line 231) | ChunkStreamStart StreamChunkType = "stream_start" constant ChunkStreamEnd (line 232) | ChunkStreamEnd StreamChunkType = "stream_end" constant ChunkMessageStart (line 233) | ChunkMessageStart StreamChunkType = "message_start" constant ChunkMessageEnd (line 234) | ChunkMessageEnd StreamChunkType = "message_end" type StreamFunc (line 244) | type StreamFunc type AssistantInfo (line 247) | type AssistantInfo struct type UsageInfo (line 257) | type UsageInfo struct type PromptTokensDetails (line 268) | type PromptTokensDetails struct type CompletionTokensDetails (line 274) | type CompletionTokensDetails struct type EventStreamStartData (line 290) | type EventStreamStartData struct type EventStreamEndData (line 302) | type EventStreamEndData struct type EventMessageStartData (line 317) | type EventMessageStartData struct type EventMessageEndData (line 329) | type EventMessageEndData struct type EventToolCallInfo (line 343) | type EventToolCallInfo struct type EventBlockStartData (line 353) | type EventBlockStartData struct type EventBlockEndData (line 364) | type EventBlockEndData struct type EventThreadStartData (line 377) | type EventThreadStartData struct type EventThreadEndData (line 387) | type EventThreadEndData struct FILE: agent/output/message/utils.go type IDGenerator (line 12) | type IDGenerator struct method GenerateChunkID (line 26) | func (g *IDGenerator) GenerateChunkID() string { method GenerateMessageID (line 33) | func (g *IDGenerator) GenerateMessageID() string { method GenerateBlockID (line 40) | func (g *IDGenerator) GenerateBlockID() string { method GenerateThreadID (line 47) | func (g *IDGenerator) GenerateThreadID() string { method Reset (line 53) | func (g *IDGenerator) Reset() { method GetCounters (line 61) | func (g *IDGenerator) GetCounters() (chunk, message, block, thread uin... function NewIDGenerator (line 20) | func NewIDGenerator() *IDGenerator { function GenerateNanoID (line 71) | func GenerateNanoID() string { function GenerateCustomID (line 83) | func GenerateCustomID(prefix string) string { FILE: agent/output/message/utils_test.go function TestIDGenerator (line 8) | func TestIDGenerator(t *testing.T) { function TestGenerateNanoID (line 153) | func TestGenerateNanoID(t *testing.T) { function TestGenerateCustomID (line 170) | func TestGenerateCustomID(t *testing.T) { FILE: agent/output/output.go constant AcceptStandard (line 13) | AcceptStandard = "standard" constant AcceptWebCUI (line 14) | AcceptWebCUI = "cui-web" constant AccepNativeCUI (line 15) | AccepNativeCUI = "cui-native" constant AcceptDesktopCUI (line 16) | AcceptDesktopCUI = "cui-desktop" type Output (line 20) | type Output struct method Send (line 54) | func (o *Output) Send(msg *message.Message) error { method SendGroup (line 59) | func (o *Output) SendGroup(group *message.Group) error { method Flush (line 64) | func (o *Output) Flush() error { method Close (line 69) | func (o *Output) Close() error { method SendMulti (line 74) | func (o *Output) SendMulti(messages ...*message.Message) error { function NewOutput (line 25) | func NewOutput(options message.Options) (*Output, error) { FILE: agent/output/safe_writer.go type SafeWriter (line 20) | type SafeWriter struct method run (line 76) | func (sw *SafeWriter) run() { method drainUntilClosed (line 105) | func (sw *SafeWriter) drainUntilClosed() { method Write (line 113) | func (sw *SafeWriter) Write(data []byte) (int, error) { method Header (line 141) | func (sw *SafeWriter) Header() http.Header { method WriteHeader (line 149) | func (sw *SafeWriter) WriteHeader(statusCode int) { method Flush (line 157) | func (sw *SafeWriter) Flush() { method Close (line 164) | func (sw *SafeWriter) Close() error { method IsClosed (line 183) | func (sw *SafeWriter) IsClosed() bool { method Underlying (line 191) | func (sw *SafeWriter) Underlying() http.ResponseWriter { type writeRequest (line 32) | type writeRequest struct constant QueueCapacity (line 38) | QueueCapacity = 10000 function NewSafeWriter (line 43) | func NewSafeWriter(w http.ResponseWriter) *SafeWriter { function NewSafeWriterWithContext (line 60) | func NewSafeWriterWithContext(ctx context.Context, w http.ResponseWriter... FILE: agent/output/safe_writer_test.go type mockResponseWriter (line 14) | type mockResponseWriter struct method Header (line 28) | func (m *mockResponseWriter) Header() http.Header { method Write (line 32) | func (m *mockResponseWriter) Write(data []byte) (int, error) { method WriteHeader (line 41) | func (m *mockResponseWriter) WriteHeader(statusCode int) {} method Flush (line 43) | func (m *mockResponseWriter) Flush() { method String (line 49) | func (m *mockResponseWriter) String() string { method FlushCount (line 55) | func (m *mockResponseWriter) FlushCount() int { function newMockResponseWriter (line 22) | func newMockResponseWriter() *mockResponseWriter { function TestSafeWriter_BasicWrite (line 61) | func TestSafeWriter_BasicWrite(t *testing.T) { function TestSafeWriter_ConcurrentWrites (line 84) | func TestSafeWriter_ConcurrentWrites(t *testing.T) { function TestSafeWriter_NoDataCorruption (line 124) | func TestSafeWriter_NoDataCorruption(t *testing.T) { function TestSafeWriter_CloseWaitsForPendingWrites (line 193) | func TestSafeWriter_CloseWaitsForPendingWrites(t *testing.T) { function TestSafeWriter_WriteAfterClose (line 212) | func TestSafeWriter_WriteAfterClose(t *testing.T) { function TestSafeWriter_ImplementsHTTPInterfaces (line 234) | func TestSafeWriter_ImplementsHTTPInterfaces(t *testing.T) { function BenchmarkSafeWriter_ConcurrentWrites (line 253) | func BenchmarkSafeWriter_ConcurrentWrites(b *testing.B) { function TestSafeWriter_RealHTTPServer (line 268) | func TestSafeWriter_RealHTTPServer(t *testing.T) { function TestSafeWriter_ContextCancellation (line 314) | func TestSafeWriter_ContextCancellation(t *testing.T) { function TestSafeWriter_GoroutineLeak (line 358) | func TestSafeWriter_GoroutineLeak(t *testing.T) { FILE: agent/robot/api/activities.go type ActivityQuery (line 15) | type ActivityQuery struct method applyDefaults (line 105) | func (q *ActivityQuery) applyDefaults() { type Activity (line 23) | type Activity struct type ActivityListResponse (line 33) | type ActivityListResponse struct function ListActivities (line 41) | func ListActivities(ctx *types.Context, query *ActivityQuery) (*Activity... FILE: agent/robot/api/api_test.go function TestAPIFullLifecycle (line 38) | func TestAPIFullLifecycle(t *testing.T) { function TestAPIRobotQueryWithData (line 118) | func TestAPIRobotQueryWithData(t *testing.T) { function TestListRobotsAutonomousModeFilter (line 209) | func TestListRobotsAutonomousModeFilter(t *testing.T) { function TestAPIExecutionQueryWithData (line 278) | func TestAPIExecutionQueryWithData(t *testing.T) { function TestAPITriggerWithData (line 378) | func TestAPITriggerWithData(t *testing.T) { function setupAPITestRobotWithMode (line 450) | func setupAPITestRobotWithMode(t *testing.T, memberID, teamID string, au... function setupAPITestRobot (line 488) | func setupAPITestRobot(t *testing.T, memberID, teamID string) { function setupAPITestExecution (line 536) | func setupAPITestExecution(t *testing.T, execID, memberID string, trigge... function cleanupAPITestRobots (line 563) | func cleanupAPITestRobots(t *testing.T) { function cleanupAPITestExecutions (line 585) | func cleanupAPITestExecutions(t *testing.T) { FILE: agent/robot/api/e2e_clock_test.go function testAuth (line 30) | func testAuth() *oauthtypes.AuthorizedInfo { function TestE2EClockTriggerFullFlow (line 39) | func TestE2EClockTriggerFullFlow(t *testing.T) { function TestE2EClockTriggerPhaseProgression (line 163) | func TestE2EClockTriggerPhaseProgression(t *testing.T) { function TestE2EClockTriggerDataPersistence (line 239) | func TestE2EClockTriggerDataPersistence(t *testing.T) { function setupE2ERobotForClock (line 313) | func setupE2ERobotForClock(t *testing.T, memberID, teamID string) { function cleanupE2ERobots (line 387) | func cleanupE2ERobots(t *testing.T) { function cleanupE2EExecutions (line 402) | func cleanupE2EExecutions(t *testing.T) { FILE: agent/robot/api/e2e_concurrent_test.go function testAuthConcurrent (line 31) | func testAuthConcurrent() *oauthtypes.AuthorizedInfo { function TestE2EConcurrentMultipleRobots (line 39) | func TestE2EConcurrentMultipleRobots(t *testing.T) { function TestE2EConcurrentSameRobotMultipleTriggers (line 137) | func TestE2EConcurrentSameRobotMultipleTriggers(t *testing.T) { function TestE2EConcurrentQuotaEnforcement (line 229) | func TestE2EConcurrentQuotaEnforcement(t *testing.T) { function TestE2EConcurrentMixedTriggerTypes (line 295) | func TestE2EConcurrentMixedTriggerTypes(t *testing.T) { function setupE2ERobotForConcurrent (line 390) | func setupE2ERobotForConcurrent(t *testing.T, memberID, teamID string) { function setupE2ERobotHighQuota (line 461) | func setupE2ERobotHighQuota(t *testing.T, memberID, teamID string) { function setupE2ERobotLowQuota (line 521) | func setupE2ERobotLowQuota(t *testing.T, memberID, teamID string) { FILE: agent/robot/api/e2e_control_test.go function testAuthControl (line 28) | func testAuthControl() *oauthtypes.AuthorizedInfo { function TestE2EControlPauseResume (line 36) | func TestE2EControlPauseResume(t *testing.T) { function TestE2EControlStop (line 141) | func TestE2EControlStop(t *testing.T) { function TestE2EControlStopBeforeStart (line 248) | func TestE2EControlStopBeforeStart(t *testing.T) { function TestE2EControlMultipleOperations (line 309) | func TestE2EControlMultipleOperations(t *testing.T) { function TestE2EControlStatusQuery (line 401) | func TestE2EControlStatusQuery(t *testing.T) { function setupE2ERobotForControl (line 487) | func setupE2ERobotForControl(t *testing.T, memberID, teamID string) { FILE: agent/robot/api/e2e_event_test.go function testAuthEvent (line 31) | func testAuthEvent() *oauthtypes.AuthorizedInfo { function TestE2EEventTriggerFullFlow (line 40) | func TestE2EEventTriggerFullFlow(t *testing.T) { function TestE2EEventTriggerDatabaseEvent (line 150) | func TestE2EEventTriggerDatabaseEvent(t *testing.T) { function TestE2EEventTriggerVariousEventTypes (line 221) | func TestE2EEventTriggerVariousEventTypes(t *testing.T) { function TestE2EEventTriggerWithComplexData (line 291) | func TestE2EEventTriggerWithComplexData(t *testing.T) { function setupE2ERobotForEvent (line 377) | func setupE2ERobotForEvent(t *testing.T, memberID, teamID string) { FILE: agent/robot/api/e2e_human_test.go function testAuthHuman (line 32) | func testAuthHuman() *oauthtypes.AuthorizedInfo { function TestE2EHumanTriggerFullFlow (line 41) | func TestE2EHumanTriggerFullFlow(t *testing.T) { function TestE2EHumanTriggerWithMultimodalInput (line 149) | func TestE2EHumanTriggerWithMultimodalInput(t *testing.T) { function TestE2EHumanTriggerAllActions (line 222) | func TestE2EHumanTriggerAllActions(t *testing.T) { function setupE2ERobotForHuman (line 316) | func setupE2ERobotForHuman(t *testing.T, memberID, teamID string) { FILE: agent/robot/api/e2e_interact_test.go function TestE2EInteractNewAssignment (line 24) | func TestE2EInteractNewAssignment(t *testing.T) { function TestE2EInteractStream (line 79) | func TestE2EInteractStream(t *testing.T) { function TestE2EInteractMultiTurn (line 149) | func TestE2EInteractMultiTurn(t *testing.T) { function TestE2EInteractStreamMultiTurn (line 208) | func TestE2EInteractStreamMultiTurn(t *testing.T) { function setupInteractRobot (line 282) | func setupInteractRobot(t *testing.T, memberID, teamID string) { function cleanupInteractRobots (line 339) | func cleanupInteractRobots(t *testing.T) { function cleanupInteractExecutions (line 351) | func cleanupInteractExecutions(t *testing.T) { FILE: agent/robot/api/e2e_suspend_test.go function testAuthSuspend (line 29) | func testAuthSuspend() *oauthtypes.AuthorizedInfo { function triggerSuspendRobot (line 37) | func triggerSuspendRobot(t *testing.T, ctx *types.Context, memberID stri... function waitForStatus (line 55) | func waitForStatus(t *testing.T, execID string, statuses []types.ExecSta... function TestE2ENormalExecutionNoSuspend (line 75) | func TestE2ENormalExecutionNoSuspend(t *testing.T) { function TestE2ESuspendResumeFlow (line 114) | func TestE2ESuspendResumeFlow(t *testing.T) { function TestE2EReplyShortcut (line 173) | func TestE2EReplyShortcut(t *testing.T) { function TestE2EResumeContextPersistence (line 209) | func TestE2EResumeContextPersistence(t *testing.T) { function TestE2EInteractRequiresExecutionID (line 262) | func TestE2EInteractRequiresExecutionID(t *testing.T) { function TestE2EInteractWithNonWaitingExecution (line 277) | func TestE2EInteractWithNonWaitingExecution(t *testing.T) { function setupE2ESuspendRobotWithTasksPlanner (line 316) | func setupE2ESuspendRobotWithTasksPlanner(t *testing.T, memberID, teamID... function setupE2ESuspendRobot (line 378) | func setupE2ESuspendRobot(t *testing.T, memberID, teamID string, agents ... function cleanupE2ESuspendRobots (line 383) | func cleanupE2ESuspendRobots(t *testing.T) { function getExecution (line 396) | func getExecution(t *testing.T, execID string) *types.Execution { FILE: agent/robot/api/execution.go function getExecutionStore (line 19) | func getExecutionStore() *store.ExecutionStore { function ResetExecutionStore (line 28) | func ResetExecutionStore() { function GetExecution (line 37) | func GetExecution(ctx *types.Context, execID string) (*types.Execution, ... function ListExecutions (line 55) | func ListExecutions(ctx *types.Context, memberID string, query *Executio... function PauseExecution (line 104) | func PauseExecution(ctx *types.Context, execID string) error { function ResumeExecution (line 123) | func ResumeExecution(ctx *types.Context, execID string) error { function StopExecution (line 142) | func StopExecution(ctx *types.Context, execID string) error { function GetExecutionStatus (line 164) | func GetExecutionStatus(ctx *types.Context, execID string) (*types.Execu... FILE: agent/robot/api/execution_test.go function TestGetExecutionValidation (line 15) | func TestGetExecutionValidation(t *testing.T) { function TestListExecutionsValidation (line 40) | func TestListExecutionsValidation(t *testing.T) { function TestPauseExecutionValidation (line 77) | func TestPauseExecutionValidation(t *testing.T) { function TestResumeExecutionValidation (line 101) | func TestResumeExecutionValidation(t *testing.T) { function TestStopExecutionValidation (line 125) | func TestStopExecutionValidation(t *testing.T) { function TestGetExecutionStatusValidation (line 149) | func TestGetExecutionStatusValidation(t *testing.T) { function TestExecutionControlWithManagerStarted (line 174) | func TestExecutionControlWithManagerStarted(t *testing.T) { FILE: agent/robot/api/interact.go type InteractRequest (line 13) | type InteractRequest struct type InteractResult (line 22) | type InteractResult struct function Interact (line 36) | func Interact(ctx *types.Context, memberID string, req *InteractRequest)... function managerInteract (line 59) | func managerInteract(ctx *types.Context, mgr *manager.Manager, memberID ... function legacyResume (line 84) | func legacyResume(ctx *types.Context, req *InteractRequest) (*InteractRe... function Reply (line 106) | func Reply(ctx *types.Context, memberID string, execID string, taskID st... function Confirm (line 116) | func Confirm(ctx *types.Context, memberID string, execID string, message... function InteractStream (line 128) | func InteractStream(ctx *types.Context, memberID string, req *InteractRe... function InteractStreamRaw (line 167) | func InteractStreamRaw(ctx *types.Context, memberID string, req *Interac... function CancelExecution (line 204) | func CancelExecution(ctx *types.Context, execID string) error { FILE: agent/robot/api/interact_test.go function TestInteract (line 12) | func TestInteract(t *testing.T) { function TestReply (line 36) | func TestReply(t *testing.T) { function TestConfirm (line 55) | func TestConfirm(t *testing.T) { function TestCancelExecution (line 72) | func TestCancelExecution(t *testing.T) { function TestLegacyResume (line 82) | func TestLegacyResume(t *testing.T) { function TestManagerInteract (line 95) | func TestManagerInteract(t *testing.T) { function TestInteractLegacyFallback (line 116) | func TestInteractLegacyFallback(t *testing.T) { function TestInteractResultFields (line 129) | func TestInteractResultFields(t *testing.T) { function TestLegacyResumeStatusMapping (line 154) | func TestLegacyResumeStatusMapping(t *testing.T) { FILE: agent/robot/api/lifecycle.go function init (line 21) | func init() { function Start (line 45) | func Start() error { function StartWithConfig (line 78) | func StartWithConfig(config *manager.Config) error { function Stop (line 96) | func Stop() error { function IsRunning (line 119) | func IsRunning() bool { function getManager (line 128) | func getManager() (*manager.Manager, error) { function SetManager (line 139) | func SetManager(m *manager.Manager) { FILE: agent/robot/api/lifecycle_test.go function TestLifecycle (line 13) | func TestLifecycle(t *testing.T) { FILE: agent/robot/api/results.go type ResultQuery (line 15) | type ResultQuery struct method applyDefaults (line 130) | func (q *ResultQuery) applyDefaults() { type ResultItem (line 23) | type ResultItem struct type ResultDetail (line 36) | type ResultDetail struct type ResultListResponse (line 48) | type ResultListResponse struct function ListResults (line 58) | func ListResults(ctx *types.Context, memberID string, query *ResultQuery... function GetResult (line 105) | func GetResult(ctx *types.Context, execID string) (*ResultDetail, error) { function recordToResultItem (line 143) | func recordToResultItem(record *store.ExecutionRecord) *ResultItem { function recordToResultDetail (line 172) | func recordToResultDetail(record *store.ExecutionRecord) *ResultDetail { FILE: agent/robot/api/robot.go constant memberModel (line 21) | memberModel = "__yao.member" function GetRobot (line 31) | func GetRobot(ctx *types.Context, memberID string) (*types.Robot, error) { function ListRobots (line 58) | func ListRobots(ctx *types.Context, query *ListQuery) (*ListResult, erro... function GetRobotStatus (line 84) | func GetRobotStatus(ctx *types.Context, memberID string) (*RobotState, e... function loadRobotFromDB (line 161) | func loadRobotFromDB(memberID string) (*types.Robot, error) { function listRobotsFromDB (line 192) | func listRobotsFromDB(query *ListQuery) (*ListResult, error) { function paginateRobots (line 281) | func paginateRobots(robots []*types.Robot, query *ListQuery) *ListResult { function CreateRobot (line 317) | func CreateRobot(ctx *types.Context, req *CreateRobotRequest) (*RobotRes... function UpdateRobot (line 437) | func UpdateRobot(ctx *types.Context, memberID string, req *UpdateRobotRe... function RemoveRobot (line 555) | func RemoveRobot(ctx *types.Context, memberID string) error { function GetRobotResponse (line 599) | func GetRobotResponse(ctx *types.Context, memberID string) (*RobotRespon... function recordToResponse (line 612) | func recordToResponse(record *store.RobotRecord) *RobotResponse { function generateMemberID (line 652) | func generateMemberID(ctx context.Context) (string, error) { function memberIDExists (line 678) | func memberIDExists(ctx context.Context, memberID string) (bool, error) { FILE: agent/robot/api/robot_test.go function TestGetRobotValidation (line 15) | func TestGetRobotValidation(t *testing.T) { function TestListRobotsValidation (line 40) | func TestListRobotsValidation(t *testing.T) { function TestGetRobotStatusValidation (line 81) | func TestGetRobotStatusValidation(t *testing.T) { function TestCreateRobotValidation (line 108) | func TestCreateRobotValidation(t *testing.T) { function TestCreateRobot (line 162) | func TestCreateRobot(t *testing.T) { function TestUpdateRobot (line 266) | func TestUpdateRobot(t *testing.T) { function TestRemoveRobot (line 373) | func TestRemoveRobot(t *testing.T) { function TestGetRobotResponse (line 423) | func TestGetRobotResponse(t *testing.T) { FILE: agent/robot/api/trigger.go function Trigger (line 14) | func Trigger(ctx *types.Context, memberID string, req *TriggerRequest) (... function TriggerManual (line 41) | func TriggerManual(ctx *types.Context, memberID string, triggerType type... function Intervene (line 68) | func Intervene(ctx *types.Context, memberID string, req *TriggerRequest)... function HandleEvent (line 86) | func HandleEvent(ctx *types.Context, memberID string, req *TriggerReques... function triggerHuman (line 105) | func triggerHuman(ctx *types.Context, mgr managerInterface, memberID str... function triggerEvent (line 133) | func triggerEvent(ctx *types.Context, mgr managerInterface, memberID str... function triggerManual (line 160) | func triggerManual(ctx *types.Context, mgr managerInterface, memberID st... type managerInterface (line 184) | type managerInterface interface FILE: agent/robot/api/trigger_test.go function TestTriggerValidation (line 15) | func TestTriggerValidation(t *testing.T) { function TestTriggerManualValidation (line 52) | func TestTriggerManualValidation(t *testing.T) { function TestInterveneValidation (line 78) | func TestInterveneValidation(t *testing.T) { function TestHandleEventValidation (line 107) | func TestHandleEventValidation(t *testing.T) { function TestTriggerWithManagerStarted (line 137) | func TestTriggerWithManagerStarted(t *testing.T) { FILE: agent/robot/api/types.go type ListQuery (line 11) | type ListQuery struct method applyDefaults (line 247) | func (q *ListQuery) applyDefaults() { type ListResult (line 23) | type ListResult struct type RobotState (line 31) | type RobotState struct type TriggerRequest (line 50) | type TriggerRequest struct type InsertPosition (line 73) | type InsertPosition constant InsertFirst (line 77) | InsertFirst InsertPosition = "first" constant InsertLast (line 79) | InsertLast InsertPosition = "last" constant InsertNext (line 81) | InsertNext InsertPosition = "next" constant InsertAt (line 83) | InsertAt InsertPosition = "at" type TriggerResult (line 87) | type TriggerResult struct type ExecutionQuery (line 98) | type ExecutionQuery struct method applyDefaults (line 260) | func (q *ExecutionQuery) applyDefaults() { type ExecutionResult (line 107) | type ExecutionResult struct type AuthScope (line 118) | type AuthScope struct type CreateRobotRequest (line 126) | type CreateRobotRequest struct type UpdateRobotRequest (line 165) | type UpdateRobotRequest struct type RobotResponse (line 200) | type RobotResponse struct FILE: agent/robot/cache/cache.go type Cache (line 11) | type Cache struct method Get (line 27) | func (c *Cache) Get(memberID string) *types.Robot { method List (line 34) | func (c *Cache) List(teamID string) []*types.Robot { method Add (line 51) | func (c *Cache) Add(robot *types.Robot) { method Remove (line 80) | func (c *Cache) Remove(memberID string) { function New (line 18) | func New() *Cache { FILE: agent/robot/cache/cache_test.go function TestCacheLoad (line 18) | func TestCacheLoad(t *testing.T) { function TestCacheLoadByID (line 75) | func TestCacheLoadByID(t *testing.T) { function TestCacheRefresh (line 116) | func TestCacheRefresh(t *testing.T) { function TestCacheListByTeam (line 157) | func TestCacheListByTeam(t *testing.T) { function TestCacheGetByStatus (line 186) | func TestCacheGetByStatus(t *testing.T) { function TestCacheAutoRefresh (line 217) | func TestCacheAutoRefresh(t *testing.T) { function setupTestRobots (line 348) | func setupTestRobots(t *testing.T) { function cleanupTestRobots (line 448) | func cleanupTestRobots(t *testing.T) { FILE: agent/robot/cache/load.go function SetMemberModel (line 35) | func SetMemberModel(model string) { method Load (line 43) | func (c *Cache) Load(ctx *types.Context) error { method LoadByID (line 101) | func (c *Cache) LoadByID(ctx *types.Context, memberID string) (*types.Ro... FILE: agent/robot/cache/refresh.go type RefreshConfig (line 11) | type RefreshConfig struct function DefaultRefreshConfig (line 16) | func DefaultRefreshConfig() *RefreshConfig { type refreshState (line 23) | type refreshState struct method Refresh (line 32) | func (c *Cache) Refresh(ctx *types.Context, memberID string) error { method StartAutoRefresh (line 55) | func (c *Cache) StartAutoRefresh(ctx *types.Context, config *RefreshConf... method StopAutoRefresh (line 86) | func (c *Cache) StopAutoRefresh() { method RefreshAll (line 97) | func (c *Cache) RefreshAll(ctx *types.Context) error { method Count (line 102) | func (c *Cache) Count() int { method ListAll (line 109) | func (c *Cache) ListAll() []*types.Robot { method GetByStatus (line 121) | func (c *Cache) GetByStatus(status types.RobotStatus) []*types.Robot { method GetIdle (line 135) | func (c *Cache) GetIdle() []*types.Robot { method GetWorking (line 140) | func (c *Cache) GetWorking() []*types.Robot { FILE: agent/robot/dedup/dedup.go type Dedup (line 12) | type Dedup struct method Check (line 26) | func (d *Dedup) Check(ctx *types.Context, memberID string, trigger typ... method Mark (line 32) | func (d *Dedup) Mark(memberID string, trigger types.TriggerType, windo... function New (line 18) | func New() *Dedup { FILE: agent/robot/events/delivery.go method handleDelivery (line 27) | func (h *robotHandler) handleDelivery(ctx context.Context, ev *eventtype... function buildDeliveryMessage (line 135) | func buildDeliveryMessage(content *robottypes.DeliveryContent) *agentcon... method sendEmail (line 192) | func (h *robotHandler) sendEmail( method postWebhook (line 245) | func (h *robotHandler) postWebhook( method callProcess (line 338) | func (h *robotHandler) callProcess( function toJSONSerializable (line 388) | func toJSONSerializable(v interface{}) interface{} { function buildEmailSubject (line 398) | func buildEmailSubject(subject, template string, content *robottypes.Del... function buildEmailBody (line 408) | func buildEmailBody(template string, content *robottypes.DeliveryContent... function convertAttachments (line 420) | func convertAttachments(ctx context.Context, attachments []robottypes.De... function attachmentManagerKeys (line 476) | func attachmentManagerKeys() []string { function ComputeHMACSignature (line 485) | func ComputeHMACSignature(payload []byte, secret string) string { function VerifyHMACSignature (line 492) | func VerifyHMACSignature(payload []byte, secret, signature string) bool { function splitChannelChatID (line 499) | func splitChannelChatID(composite string) (channel, chatID string) { FILE: agent/robot/events/event_push_test.go function TestExecPayloadAllStatuses (line 13) | func TestExecPayloadAllStatuses(t *testing.T) { function TestNeedInputPayloadEmptyQuestion (line 37) | func TestNeedInputPayloadEmptyQuestion(t *testing.T) { function TestTaskPayloadErrorSerialization (line 60) | func TestTaskPayloadErrorSerialization(t *testing.T) { function TestDeliveryPayloadNestedContent (line 79) | func TestDeliveryPayloadNestedContent(t *testing.T) { function TestEventConstantNamingConvention (line 103) | func TestEventConstantNamingConvention(t *testing.T) { function TestExecPayloadOmitsEmptyOptionalFields (line 116) | func TestExecPayloadOmitsEmptyOptionalFields(t *testing.T) { function TestPayloadCommonFields (line 138) | func TestPayloadCommonFields(t *testing.T) { FILE: agent/robot/events/events.go type TriggerFunc (line 15) | type TriggerFunc type ReplyFunc (line 21) | type ReplyFunc function RegisterTriggerFunc (line 33) | func RegisterTriggerFunc(fn TriggerFunc) { function getTriggerFunc (line 39) | func getTriggerFunc() TriggerFunc { function RegisterReplyFunc (line 47) | func RegisterReplyFunc(fn ReplyFunc) { function getReplyFunc (line 53) | func getReplyFunc() ReplyFunc { constant TaskNeedInput (line 62) | TaskNeedInput = "robot.task.need_input" constant TaskFailed (line 63) | TaskFailed = "robot.task.failed" constant TaskCompleted (line 64) | TaskCompleted = "robot.task.completed" constant ExecWaiting (line 65) | ExecWaiting = "robot.exec.waiting" constant ExecResumed (line 66) | ExecResumed = "robot.exec.resumed" constant ExecCompleted (line 67) | ExecCompleted = "robot.exec.completed" constant ExecFailed (line 68) | ExecFailed = "robot.exec.failed" constant ExecCancelled (line 69) | ExecCancelled = "robot.exec.cancelled" constant Delivery (line 70) | Delivery = "robot.delivery" constant Message (line 71) | Message = "robot.message" constant RobotConfigCreated (line 76) | RobotConfigCreated = "robot.config.created" constant RobotConfigUpdated (line 77) | RobotConfigUpdated = "robot.config.updated" constant RobotConfigDeleted (line 78) | RobotConfigDeleted = "robot.config.deleted" type NeedInputPayload (line 82) | type NeedInputPayload struct type ExecPayload (line 92) | type ExecPayload struct type TaskPayload (line 102) | type TaskPayload struct type DeliveryPayload (line 112) | type DeliveryPayload struct type MessagePayload (line 123) | type MessagePayload struct type MessageMetadata (line 130) | type MessageMetadata struct type MessageResult (line 143) | type MessageResult struct type ActionResult (line 151) | type ActionResult struct type RobotConfigPayload (line 157) | type RobotConfigPayload struct function NormalizeLocale (line 175) | func NormalizeLocale(raw string) string { FILE: agent/robot/events/events_test.go function TestEventConstants (line 12) | func TestEventConstants(t *testing.T) { function TestNeedInputPayloadMarshalling (line 43) | func TestNeedInputPayloadMarshalling(t *testing.T) { function TestTaskPayloadMarshalling (line 62) | func TestTaskPayloadMarshalling(t *testing.T) { function TestExecPayloadMarshalling (line 101) | func TestExecPayloadMarshalling(t *testing.T) { function TestDeliveryPayloadMarshalling (line 119) | func TestDeliveryPayloadMarshalling(t *testing.T) { FILE: agent/robot/events/handlers.go function init (line 12) | func init() { type robotHandler (line 19) | type robotHandler struct method Handle (line 24) | func (h *robotHandler) Handle(ctx context.Context, ev *eventtypes.Even... method Shutdown (line 36) | func (h *robotHandler) Shutdown(ctx context.Context) error { FILE: agent/robot/events/handlers_test.go function newTestHandler (line 16) | func newTestHandler() *robotHandler { function TestRobotHandler_DeliveryWebhook (line 22) | func TestRobotHandler_DeliveryWebhook(t *testing.T) { function TestRobotHandler_DeliveryNoContent (line 71) | func TestRobotHandler_DeliveryNoContent(t *testing.T) { function TestRobotHandler_DeliveryNoPreferences (line 91) | func TestRobotHandler_DeliveryNoPreferences(t *testing.T) { function TestRobotHandler_InvalidPayload (line 115) | func TestRobotHandler_InvalidPayload(t *testing.T) { function TestRobotHandler_UnhandledEvent (line 131) | func TestRobotHandler_UnhandledEvent(t *testing.T) { function TestRobotHandler_Shutdown (line 143) | func TestRobotHandler_Shutdown(t *testing.T) { function TestVerifyHMACSignature (line 149) | func TestVerifyHMACSignature(t *testing.T) { FILE: agent/robot/events/integrations/dingtalk/dedup.go constant dedupTTL (line 9) | dedupTTL = 24 * time.Hour constant dedupCleanInterval (line 10) | dedupCleanInterval = time.Hour type dedupStore (line 13) | type dedupStore struct method markSeen (line 21) | func (d *dedupStore) markSeen(key string) bool { method cleaner (line 27) | func (d *dedupStore) cleaner(stopCh <-chan struct{}) { function newDedupStore (line 17) | func newDedupStore() *dedupStore { FILE: agent/robot/events/integrations/dingtalk/dingtalk.go type Adapter (line 19) | type Adapter struct method Apply (line 48) | func (a *Adapter) Apply(ctx context.Context, robot *robottypes.Robot) { method Remove (line 85) | func (a *Adapter) Remove(ctx context.Context, robotID string) { method Shutdown (line 90) | func (a *Adapter) Shutdown() { method removeBot (line 102) | func (a *Adapter) removeBot(robotID string) { method removeBotLocked (line 108) | func (a *Adapter) removeBotLocked(robotID string) { method resolveByClientID (line 123) | func (a *Adapter) resolveByClientID(clientID string) (*botEntry, bool) { type botEntry (line 28) | type botEntry struct function NewAdapter (line 36) | func NewAdapter() *Adapter { function extractConfig (line 134) | func extractConfig(robot *robottypes.Robot) *robottypes.DingTalkConfig { FILE: agent/robot/events/integrations/dingtalk/e2e_test.go function TestMain (line 20) | func TestMain(m *testing.M) { function skipIfNoCreds (line 26) | func skipIfNoCreds(t *testing.T) { function TestE2E_Adapter_Apply (line 34) | func TestE2E_Adapter_Apply(t *testing.T) { function TestE2E_Adapter_Apply_Update (line 73) | func TestE2E_Adapter_Apply_Update(t *testing.T) { function TestE2E_Adapter_Dedup (line 118) | func TestE2E_Adapter_Dedup(t *testing.T) { function TestE2E_Adapter_HandleMessages (line 134) | func TestE2E_Adapter_HandleMessages(t *testing.T) { function TestE2E_Adapter_ApplyDisabled (line 174) | func TestE2E_Adapter_ApplyDisabled(t *testing.T) { function TestE2E_Adapter_GetAccessToken (line 206) | func TestE2E_Adapter_GetAccessToken(t *testing.T) { FILE: agent/robot/events/integrations/dingtalk/message.go method handleMessages (line 15) | func (a *Adapter) handleMessages(ctx context.Context, entry *botEntry, c... function buildContentParts (line 74) | func buildContentParts(cm *dtapi.ConvertedMessage) []interface{} { function mergeContentParts (line 103) | func mergeContentParts(parts []interface{}) interface{} { FILE: agent/robot/events/integrations/dingtalk/reply.go method Reply (line 14) | func (a *Adapter) Reply(ctx context.Context, msg *agentcontext.Message, ... function sendContent (line 35) | func sendContent(ctx context.Context, sessionWebhook string, content int... function sendParts (line 55) | func sendParts(ctx context.Context, sessionWebhook string, parts []inter... function sendPartsTyped (line 105) | func sendPartsTyped(ctx context.Context, sessionWebhook string, parts []... function flushText (line 134) | func flushText(ctx context.Context, sessionWebhook string, buf *strings.... function toContentParts (line 143) | func toContentParts(content interface{}) ([]agentcontext.ContentPart, bo... FILE: agent/robot/events/integrations/dingtalk/stream.go constant reconnectDelay (line 13) | reconnectDelay = 5 * time.Second method streamLoop (line 17) | func (a *Adapter) streamLoop(ctx context.Context, entry *botEntry) { method runStreamClient (line 45) | func (a *Adapter) runStreamClient(ctx context.Context, entry *botEntry) ... method onBotCallback (line 69) | func (a *Adapter) onBotCallback(ctx context.Context, entry *botEntry, da... FILE: agent/robot/events/integrations/discord/dedup.go constant dedupTTL (line 9) | dedupTTL = 24 * time.Hour constant dedupCleanInterval (line 10) | dedupCleanInterval = time.Hour type dedupStore (line 13) | type dedupStore struct method markSeen (line 21) | func (d *dedupStore) markSeen(key string) bool { method cleaner (line 27) | func (d *dedupStore) cleaner(stopCh <-chan struct{}) { function newDedupStore (line 17) | func newDedupStore() *dedupStore { FILE: agent/robot/events/integrations/discord/discord.go type Adapter (line 19) | type Adapter struct method Apply (line 48) | func (a *Adapter) Apply(ctx context.Context, robot *robottypes.Robot) { method Remove (line 91) | func (a *Adapter) Remove(ctx context.Context, robotID string) { method Shutdown (line 96) | func (a *Adapter) Shutdown() { method removeBot (line 111) | func (a *Adapter) removeBot(robotID string) { method removeBotLocked (line 117) | func (a *Adapter) removeBotLocked(robotID string) { method resolveByAppID (line 135) | func (a *Adapter) resolveByAppID(appID string) (*botEntry, bool) { type botEntry (line 28) | type botEntry struct function NewAdapter (line 36) | func NewAdapter() *Adapter { function extractConfig (line 146) | func extractConfig(robot *robottypes.Robot) *robottypes.DiscordConfig { FILE: agent/robot/events/integrations/discord/e2e_test.go function TestMain (line 20) | func TestMain(m *testing.M) { function skipIfNoToken (line 26) | func skipIfNoToken(t *testing.T) { function TestE2E_Adapter_Apply (line 34) | func TestE2E_Adapter_Apply(t *testing.T) { function TestE2E_Adapter_Apply_Update (line 73) | func TestE2E_Adapter_Apply_Update(t *testing.T) { function TestE2E_Adapter_Dedup (line 118) | func TestE2E_Adapter_Dedup(t *testing.T) { function TestE2E_Adapter_HandleMessages (line 134) | func TestE2E_Adapter_HandleMessages(t *testing.T) { function TestE2E_Adapter_ApplyDisabled (line 175) | func TestE2E_Adapter_ApplyDisabled(t *testing.T) { function TestE2E_BotUser (line 206) | func TestE2E_BotUser(t *testing.T) { FILE: agent/robot/events/integrations/discord/gateway.go constant reconnectDelay (line 11) | reconnectDelay = 5 * time.Second method gatewayLoop (line 15) | func (a *Adapter) gatewayLoop(ctx context.Context, entry *botEntry) { method runGateway (line 43) | func (a *Adapter) runGateway(ctx context.Context, entry *botEntry) error { method onMessageCreate (line 63) | func (a *Adapter) onMessageCreate(ctx context.Context, entry *botEntry, ... FILE: agent/robot/events/integrations/discord/message.go method handleMessages (line 15) | func (a *Adapter) handleMessages(ctx context.Context, entry *botEntry, c... function buildContentParts (line 79) | func buildContentParts(cm *dcapi.ConvertedMessage) []interface{} { function mergeContentParts (line 108) | func mergeContentParts(parts []interface{}) interface{} { function discordLocale (line 133) | func discordLocale(locale string) string { FILE: agent/robot/events/integrations/discord/reply.go method Reply (line 14) | func (a *Adapter) Reply(ctx context.Context, msg *agentcontext.Message, ... method sendContent (line 36) | func (a *Adapter) sendContent(ctx context.Context, entry *botEntry, chan... method sendParts (line 63) | func (a *Adapter) sendParts(ctx context.Context, entry *botEntry, channe... method sendPartsTyped (line 107) | func (a *Adapter) sendPartsTyped(ctx context.Context, entry *botEntry, c... method flushText (line 136) | func (a *Adapter) flushText(entry *botEntry, channelID, replyToID string... function sendFileOrWrapper (line 151) | func sendFileOrWrapper(entry *botEntry, channelID, url, caption string) ... function toContentParts (line 162) | func toContentParts(content interface{}) ([]agentcontext.ContentPart, bo... method resolveByChat (line 167) | func (a *Adapter) resolveByChat(metadata *events.MessageMetadata) *botEn... FILE: agent/robot/events/integrations/dispatcher.go type Adapter (line 21) | type Adapter interface type Dispatcher (line 28) | type Dispatcher struct method Start (line 46) | func (d *Dispatcher) Start(ctx context.Context) error { method reply (line 61) | func (d *Dispatcher) reply(ctx context.Context, msg *agentcontext.Mess... method Stop (line 85) | func (d *Dispatcher) Stop() { method loadAll (line 93) | func (d *Dispatcher) loadAll(ctx context.Context) { method loadIntegrationRobots (line 105) | func (d *Dispatcher) loadIntegrationRobots() []*robottypes.Robot { method apply (line 158) | func (d *Dispatcher) apply(ctx context.Context, robot *robottypes.Robo... method remove (line 169) | func (d *Dispatcher) remove(ctx context.Context, robotID string) { method watch (line 193) | func (d *Dispatcher) watch(ctx context.Context, ch <-chan *eventtypes.... method dispatch (line 209) | func (d *Dispatcher) dispatch(ctx context.Context, ev *eventtypes.Even... function NewDispatcher (line 37) | func NewDispatcher(cache *robotcache.Cache, adapters map[string]Adapter)... function parseIntegrations (line 176) | func parseIntegrations(intg *robottypes.Integrations) []string { FILE: agent/robot/events/integrations/dispatcher_test.go type mockAdapter (line 20) | type mockAdapter struct method Apply (line 26) | func (m *mockAdapter) Apply(ctx context.Context, robot *robottypes.Rob... method Remove (line 32) | func (m *mockAdapter) Remove(ctx context.Context, robotID string) { method Reply (line 38) | func (m *mockAdapter) Reply(ctx context.Context, msg *agentcontext.Mes... method getApplied (line 42) | func (m *mockAdapter) getApplied() []*robottypes.Robot { method getRemoved (line 50) | func (m *mockAdapter) getRemoved() []string { type noopHandler (line 59) | type noopHandler struct method Handle (line 61) | func (h *noopHandler) Handle(ctx context.Context, ev *eventtypes.Event... method Shutdown (line 66) | func (h *noopHandler) Shutdown(ctx context.Context) error { return nil } function setupEventBus (line 70) | func setupEventBus(t *testing.T) { function newRobot (line 81) | func newRobot(memberID, teamID string, intg *robottypes.Integrations) *r... function TestLoadAll_OnlyTelegramConfigured (line 92) | func TestLoadAll_OnlyTelegramConfigured(t *testing.T) { function TestLoadAll_NoIntegrations (line 114) | func TestLoadAll_NoIntegrations(t *testing.T) { function TestLoadAll_MultipleAdapters (line 130) | func TestLoadAll_MultipleAdapters(t *testing.T) { function TestConfigCreated_TriggersApply (line 154) | func TestConfigCreated_TriggersApply(t *testing.T) { function TestConfigUpdated_TriggersApply (line 182) | func TestConfigUpdated_TriggersApply(t *testing.T) { function TestConfigDeleted_TriggersRemove (line 213) | func TestConfigDeleted_TriggersRemove(t *testing.T) { function TestConfigCreated_RobotNotInCache (line 241) | func TestConfigCreated_RobotNotInCache(t *testing.T) { function TestParseIntegrations (line 260) | func TestParseIntegrations(t *testing.T) { FILE: agent/robot/events/integrations/feishu/dedup.go constant dedupTTL (line 9) | dedupTTL = 24 * time.Hour constant dedupCleanInterval (line 10) | dedupCleanInterval = time.Hour type dedupStore (line 13) | type dedupStore struct method markSeen (line 21) | func (d *dedupStore) markSeen(key string) bool { method cleaner (line 27) | func (d *dedupStore) cleaner(stopCh <-chan struct{}) { function newDedupStore (line 17) | func newDedupStore() *dedupStore { FILE: agent/robot/events/integrations/feishu/e2e_test.go function TestMain (line 20) | func TestMain(m *testing.M) { function skipIfNoCreds (line 26) | func skipIfNoCreds(t *testing.T) { function TestE2E_Adapter_Apply (line 34) | func TestE2E_Adapter_Apply(t *testing.T) { function TestE2E_Adapter_Apply_Update (line 73) | func TestE2E_Adapter_Apply_Update(t *testing.T) { function TestE2E_Adapter_Dedup (line 120) | func TestE2E_Adapter_Dedup(t *testing.T) { function TestE2E_Adapter_HandleMessages (line 136) | func TestE2E_Adapter_HandleMessages(t *testing.T) { function TestE2E_Adapter_ApplyDisabled (line 176) | func TestE2E_Adapter_ApplyDisabled(t *testing.T) { FILE: agent/robot/events/integrations/feishu/feishu.go type Adapter (line 19) | type Adapter struct method Apply (line 48) | func (a *Adapter) Apply(ctx context.Context, robot *robottypes.Robot) { method Remove (line 85) | func (a *Adapter) Remove(ctx context.Context, robotID string) { method Shutdown (line 90) | func (a *Adapter) Shutdown() { method removeBot (line 102) | func (a *Adapter) removeBot(robotID string) { method removeBotLocked (line 108) | func (a *Adapter) removeBotLocked(robotID string) { method resolveByAppID (line 123) | func (a *Adapter) resolveByAppID(appID string) (*botEntry, bool) { type botEntry (line 28) | type botEntry struct function NewAdapter (line 36) | func NewAdapter() *Adapter { function extractConfig (line 134) | func extractConfig(robot *robottypes.Robot) *robottypes.FeishuConfig { FILE: agent/robot/events/integrations/feishu/message.go method handleMessages (line 15) | func (a *Adapter) handleMessages(ctx context.Context, entry *botEntry, c... function buildContentParts (line 72) | func buildContentParts(cm *fsapi.ConvertedMessage) []interface{} { function mergeContentParts (line 97) | func mergeContentParts(parts []interface{}) interface{} { FILE: agent/robot/events/integrations/feishu/reply.go method Reply (line 14) | func (a *Adapter) Reply(ctx context.Context, msg *agentcontext.Message, ... method sendContent (line 36) | func (a *Adapter) sendContent(ctx context.Context, entry *botEntry, chat... method sendMarkdown (line 57) | func (a *Adapter) sendMarkdown(ctx context.Context, entry *botEntry, cha... method sendParts (line 67) | func (a *Adapter) sendParts(ctx context.Context, entry *botEntry, chatID... method sendPartsTyped (line 111) | func (a *Adapter) sendPartsTyped(ctx context.Context, entry *botEntry, c... method flushText (line 140) | func (a *Adapter) flushText(ctx context.Context, entry *botEntry, chatID... function sendImageOrWrapper (line 149) | func sendImageOrWrapper(ctx context.Context, entry *botEntry, chatID, ur... function sendFileOrWrapper (line 164) | func sendFileOrWrapper(ctx context.Context, entry *botEntry, chatID, url... function isWrapper (line 179) | func isWrapper(url string) bool { function toContentParts (line 183) | func toContentParts(content interface{}) ([]agentcontext.ContentPart, bo... method resolveByChat (line 188) | func (a *Adapter) resolveByChat(metadata *events.MessageMetadata) *botEn... FILE: agent/robot/events/integrations/feishu/stream.go constant reconnectDelay (line 14) | reconnectDelay = 5 * time.Second method eventLoop (line 18) | func (a *Adapter) eventLoop(ctx context.Context, entry *botEntry) { method runWSClient (line 46) | func (a *Adapter) runWSClient(ctx context.Context, entry *botEntry) error { method onMessageReceive (line 72) | func (a *Adapter) onMessageReceive(ctx context.Context, entry *botEntry,... function derefStr (line 111) | func derefStr(s *string) string { FILE: agent/robot/events/integrations/telegram/dedup.go constant dedupTTL (line 9) | dedupTTL = 24 * time.Hour constant dedupCleanInterval (line 10) | dedupCleanInterval = time.Hour type dedupStore (line 15) | type dedupStore struct method markSeen (line 24) | func (d *dedupStore) markSeen(key string) bool { method cleaner (line 31) | func (d *dedupStore) cleaner(stopCh <-chan struct{}) { function newDedupStore (line 19) | func newDedupStore() *dedupStore { FILE: agent/robot/events/integrations/telegram/e2e_test.go function TestMain (line 26) | func TestMain(m *testing.M) { function skipIfNoToken (line 32) | func skipIfNoToken(t *testing.T) { function newTestBot (line 39) | func newTestBot() *tgapi.Bot { function confirmPendingUpdates (line 48) | func confirmPendingUpdates(t *testing.T) []*tgapi.ConvertedMessage { function TestE2E_Adapter_Apply (line 60) | func TestE2E_Adapter_Apply(t *testing.T) { function TestE2E_Adapter_Apply_Update (line 111) | func TestE2E_Adapter_Apply_Update(t *testing.T) { function TestE2E_Adapter_PollAll (line 159) | func TestE2E_Adapter_PollAll(t *testing.T) { function TestE2E_Adapter_Dedup (line 211) | func TestE2E_Adapter_Dedup(t *testing.T) { function TestE2E_Adapter_HandleMessages_Integration (line 230) | func TestE2E_Adapter_HandleMessages_Integration(t *testing.T) { function setupTestRobot (line 291) | func setupTestRobot(t *testing.T, memberID string) { function cleanupTestRobots (line 339) | func cleanupTestRobots(t *testing.T) { function truncate (line 349) | func truncate(s string, n int) string { FILE: agent/robot/events/integrations/telegram/message.go method handleMessages (line 18) | func (a *Adapter) handleMessages(ctx context.Context, entry *botEntry, c... function buildContentParts (line 80) | func buildContentParts(cm *tgapi.ConvertedMessage) []interface{} { function mergeContentParts (line 108) | func mergeContentParts(parts []interface{}) interface{} { function isBotCommand (line 134) | func isBotCommand(cm *tgapi.ConvertedMessage) bool { FILE: agent/robot/events/integrations/telegram/polling.go constant pollInterval (line 11) | pollInterval = 60 * time.Second constant pollTimeout (line 12) | pollTimeout = 30 method pollLoop (line 17) | func (a *Adapter) pollLoop() { method pollAll (line 35) | func (a *Adapter) pollAll() { function groupByChatID (line 83) | func groupByChatID(msgs []*tgapi.ConvertedMessage) map[int64][]*tgapi.Co... FILE: agent/robot/events/integrations/telegram/reply.go method Reply (line 17) | func (a *Adapter) Reply(ctx context.Context, msg *agentcontext.Message, ... method sendContent (line 48) | func (a *Adapter) sendContent(ctx context.Context, bot *tgapi.Bot, chatI... method sendParts (line 69) | func (a *Adapter) sendParts(ctx context.Context, bot *tgapi.Bot, chatID,... method sendPartsTyped (line 112) | func (a *Adapter) sendPartsTyped(ctx context.Context, bot *tgapi.Bot, ch... method flushText (line 141) | func (a *Adapter) flushText(ctx context.Context, bot *tgapi.Bot, chatID,... function sendFileOrWrapper (line 151) | func sendFileOrWrapper(ctx context.Context, bot *tgapi.Bot, chatID, repl... function toContentParts (line 163) | func toContentParts(content interface{}) ([]agentcontext.ContentPart, bo... method resolveByChat (line 169) | func (a *Adapter) resolveByChat(metadata *events.MessageMetadata) *botEn... FILE: agent/robot/events/integrations/telegram/telegram.go type Adapter (line 20) | type Adapter struct method Apply (line 51) | func (a *Adapter) Apply(ctx context.Context, robot *robottypes.Robot) { method Remove (line 91) | func (a *Adapter) Remove(ctx context.Context, robotID string) { method Shutdown (line 96) | func (a *Adapter) Shutdown() { method ResolveBot (line 104) | func (a *Adapter) ResolveBot(appID string) *tgapi.Bot { method removeBot (line 114) | func (a *Adapter) removeBot(robotID string) { method removeBotLocked (line 120) | func (a *Adapter) removeBotLocked(robotID string) { method snapshot (line 133) | func (a *Adapter) snapshot() []*botEntry { method resolveByAppID (line 143) | func (a *Adapter) resolveByAppID(appID string) (*botEntry, bool) { type botEntry (line 30) | type botEntry struct function NewAdapter (line 38) | func NewAdapter() *Adapter { function extractConfig (line 154) | func extractConfig(robot *robottypes.Robot) *robottypes.TelegramConfig { FILE: agent/robot/events/integrations/telegram/webhook.go method StartWebhookSubscription (line 16) | func (a *Adapter) StartWebhookSubscription() { method StopWebhookSubscription (line 24) | func (a *Adapter) StopWebhookSubscription() { method handleWebhooks (line 31) | func (a *Adapter) handleWebhooks(ch <-chan *eventtypes.Event) { FILE: agent/robot/events/message.go method handleMessage (line 20) | func (h *robotHandler) handleMessage(ctx context.Context, ev *eventtypes... function callHostAgent (line 57) | func callHostAgent(ctx context.Context, payload *MessagePayload) (*Messa... function executeAction (line 135) | func executeAction(ctx context.Context, payload *MessagePayload, record ... function detectAction (line 181) | func detectAction(next interface{}) *ActionResult { function resolveHostAssistantID (line 210) | func resolveHostAssistantID(ctx context.Context, memberID string) (strin... function taskDeployedMessage (line 235) | func taskDeployedMessage(execID string, locale string) string { FILE: agent/robot/executor/dryrun/executor.go type Executor (line 18) | type Executor struct method Execute (line 46) | func (e *Executor) Execute(ctx *robottypes.Context, robot *robottypes.... method ExecuteWithID (line 51) | func (e *Executor) ExecuteWithID(ctx *robottypes.Context, robot *robot... method ExecuteWithControl (line 56) | func (e *Executor) ExecuteWithControl(ctx *robottypes.Context, robot *... method mockPhaseOutput (line 167) | func (e *Executor) mockPhaseOutput(exec *robottypes.Execution, phase r... method ExecCount (line 222) | func (e *Executor) ExecCount() int { method CurrentCount (line 227) | func (e *Executor) CurrentCount() int { method Reset (line 232) | func (e *Executor) Reset() { method Resume (line 238) | func (e *Executor) Resume(ctx *robottypes.Context, execID string, repl... function New (line 25) | func New() *Executor { function NewWithDelay (line 30) | func NewWithDelay(delay time.Duration) *Executor { function NewWithConfig (line 39) | func NewWithConfig(config types.DryRunConfig) *Executor { FILE: agent/robot/executor/executor.go constant ModeStandard (line 62) | ModeStandard = types.ModeStandard constant ModeDryRun (line 63) | ModeDryRun = types.ModeDryRun constant ModeSandbox (line 64) | ModeSandbox = types.ModeSandbox function New (line 71) | func New() Executor { function NewWithConfig (line 76) | func NewWithConfig(config Config) Executor { function NewDryRun (line 82) | func NewDryRun() Executor { function NewDryRunWithDelay (line 87) | func NewDryRunWithDelay(delay time.Duration) *DryRunExecutor { function NewDryRunWithConfig (line 92) | func NewDryRunWithConfig(config DryRunConfig) *DryRunExecutor { function NewDryRunWithCallbacks (line 97) | func NewDryRunWithCallbacks(delay time.Duration, onStart, onEnd func()) ... function NewSandbox (line 109) | func NewSandbox() Executor { function NewSandboxWithConfig (line 117) | func NewSandboxWithConfig(config SandboxConfig) Executor { function NewWithMode (line 122) | func NewWithMode(mode Mode) Executor { function NewWithSetting (line 134) | func NewWithSetting(setting *Setting) Executor { function DefaultSetting (line 182) | func DefaultSetting() *Setting { FILE: agent/robot/executor/executor_test.go function TestExecutorSmoke (line 14) | func TestExecutorSmoke(t *testing.T) { function TestExecutorHumanTriggerSkipsP0 (line 39) | func TestExecutorHumanTriggerSkipsP0(t *testing.T) { function TestExecutorEventTriggerSkipsP0 (line 59) | func TestExecutorEventTriggerSkipsP0(t *testing.T) { function TestExecutorNilRobot (line 75) | func TestExecutorNilRobot(t *testing.T) { function TestExecutorSimulatedFailure (line 86) | func TestExecutorSimulatedFailure(t *testing.T) { function TestExecutorCounters (line 104) | func TestExecutorCounters(t *testing.T) { FILE: agent/robot/executor/sandbox/executor.go type Executor (line 27) | type Executor struct method Execute (line 52) | func (e *Executor) Execute(ctx *robottypes.Context, robot *robottypes.... method ExecuteWithID (line 57) | func (e *Executor) ExecuteWithID(ctx *robottypes.Context, robot *robot... method ExecuteWithControl (line 62) | func (e *Executor) ExecuteWithControl(ctx *robottypes.Context, robot *... method runSandboxedPhase (line 162) | func (e *Executor) runSandboxedPhase(ctx *robottypes.Context, exec *ro... method isAgentAllowed (line 181) | func (e *Executor) isAgentAllowed(agentID string) bool { method mockPhaseOutput (line 191) | func (e *Executor) mockPhaseOutput(exec *robottypes.Execution, phase r... method ExecCount (line 246) | func (e *Executor) ExecCount() int { method CurrentCount (line 251) | func (e *Executor) CurrentCount() int { method Reset (line 256) | func (e *Executor) Reset() { method Resume (line 262) | func (e *Executor) Resume(ctx *robottypes.Context, execID string, repl... function New (line 34) | func New() *Executor { function NewWithConfig (line 45) | func NewWithConfig(config types.SandboxConfig) *Executor { FILE: agent/robot/executor/standard/agent.go type StreamCallback (line 16) | type StreamCallback type StreamChunk (line 19) | type StreamChunk struct type AgentCaller (line 31) | type AgentCaller struct method Call (line 176) | func (c *AgentCaller) Call(ctx *robottypes.Context, assistantID string... method CallWithMessages (line 228) | func (c *AgentCaller) CallWithMessages(ctx *robottypes.Context, assist... method CallWithSystemAndUser (line 239) | func (c *AgentCaller) CallWithSystemAndUser(ctx *robottypes.Context, a... method CallStream (line 256) | func (c *AgentCaller) CallStream(ctx *robottypes.Context, assistantID ... method CallWithMessagesStream (line 323) | func (c *AgentCaller) CallWithMessagesStream(ctx *robottypes.Context, ... method CallStreamRaw (line 337) | func (c *AgentCaller) CallStreamRaw(ctx *robottypes.Context, assistant... method CallWithMessagesStreamRaw (line 382) | func (c *AgentCaller) CallWithMessagesStreamRaw(ctx *robottypes.Contex... method buildAgentContext (line 393) | func (c *AgentCaller) buildAgentContext(ctx *robottypes.Context) *agen... function NewAgentCaller (line 55) | func NewAgentCaller() *AgentCaller { function NewConversationCaller (line 68) | func NewConversationCaller(chatID string) *AgentCaller { type CallResult (line 78) | type CallResult struct method IsEmpty (line 91) | func (r *CallResult) IsEmpty() bool { method GetText (line 96) | func (r *CallResult) GetText() string { method GetJSON (line 121) | func (r *CallResult) GetJSON() (map[string]interface{}, error) { method GetJSONArray (line 146) | func (r *CallResult) GetJSONArray() ([]interface{}, error) { function ExtractCodeBlock (line 424) | func ExtractCodeBlock(content string) *text.CodeBlock { function ExtractAllCodeBlocks (line 429) | func ExtractAllCodeBlocks(content string) []text.CodeBlock { type Conversation (line 442) | type Conversation struct method WithCaller (line 472) | func (c *Conversation) WithCaller(caller *AgentCaller) *Conversation { method WithSystemPrompt (line 478) | func (c *Conversation) WithSystemPrompt(systemPrompt string) *Conversa... method WithHistory (line 490) | func (c *Conversation) WithHistory(messages []agentcontext.Message) *C... method Turn (line 498) | func (c *Conversation) Turn(ctx *robottypes.Context, userInput string)... method TurnCount (line 545) | func (c *Conversation) TurnCount() int { method Messages (line 556) | func (c *Conversation) Messages() []agentcontext.Message { method LastResponse (line 563) | func (c *Conversation) LastResponse() *agentcontext.Message { method Reset (line 575) | func (c *Conversation) Reset() { method RunUntil (line 591) | func (c *Conversation) RunUntil( type TurnResult (line 450) | type TurnResult struct function NewConversation (line 461) | func NewConversation(assistantID, chatID string, maxTurns int) *Conversa... FILE: agent/robot/executor/standard/agent_stream_test.go function TestAgentCallerCallStream (line 17) | func TestAgentCallerCallStream(t *testing.T) { FILE: agent/robot/executor/standard/agent_test.go function testAuth (line 16) | func testAuth() *oauthtypes.AuthorizedInfo { function TestAgentCallerSingleCall (line 27) | func TestAgentCallerSingleCall(t *testing.T) { function TestAgentCallerNextHookData (line 67) | func TestAgentCallerNextHookData(t *testing.T) { function TestAgentCallerJSONArray (line 116) | func TestAgentCallerJSONArray(t *testing.T) { function TestAgentCallerEmptyResponse (line 145) | func TestAgentCallerEmptyResponse(t *testing.T) { function TestAgentCallerAssistantNotFound (line 166) | func TestAgentCallerAssistantNotFound(t *testing.T) { function TestAgentCallerWithSystemAndUser (line 186) | func TestAgentCallerWithSystemAndUser(t *testing.T) { function TestConversationMultiTurn (line 215) | func TestConversationMultiTurn(t *testing.T) { function TestConversationTurnCount (line 265) | func TestConversationTurnCount(t *testing.T) { function TestConversationMaxTurns (line 290) | func TestConversationMaxTurns(t *testing.T) { function TestConversationMessages (line 316) | func TestConversationMessages(t *testing.T) { function TestConversationLastResponse (line 341) | func TestConversationLastResponse(t *testing.T) { function TestConversationReset (line 367) | func TestConversationReset(t *testing.T) { function TestConversationWithSystemPrompt (line 390) | func TestConversationWithSystemPrompt(t *testing.T) { function TestConversationSpecialCommands (line 420) | func TestConversationSpecialCommands(t *testing.T) { function TestConversationRunUntil (line 471) | func TestConversationRunUntil(t *testing.T) { function TestCallResultGetText (line 525) | func TestCallResultGetText(t *testing.T) { function TestCallResultIsEmpty (line 537) | func TestCallResultIsEmpty(t *testing.T) { function TestExtractCodeBlock (line 558) | func TestExtractCodeBlock(t *testing.T) { function TestExtractAllCodeBlocks (line 578) | func TestExtractAllCodeBlocks(t *testing.T) { FILE: agent/robot/executor/standard/delivery.go method RunDelivery (line 22) | func (e *Executor) RunDelivery(ctx *robottypes.Context, exec *robottypes... method pushDeliveryEvent (line 83) | func (e *Executor) pushDeliveryEvent(ctx *robottypes.Context, exec *robo... function parseDeliveryContent (line 115) | func parseDeliveryContent(data map[string]interface{}) *robottypes.Deliv... function parseDeliveryAttachment (line 152) | func parseDeliveryAttachment(data map[string]interface{}) *robottypes.De... function generateRequestID (line 179) | func generateRequestID(execID string) string { function getTaskDescription (line 183) | func getTaskDescription(task robottypes.Task) string { function truncateSummary (line 204) | func truncateSummary(text string, maxLen int) string { function buildDeliveryPreferences (line 215) | func buildDeliveryPreferences(robot *robottypes.Robot) *robottypes.Deliv... function getManagerEmail (line 268) | func getManagerEmail(managerID string) string { method FormatDeliveryInput (line 296) | func (f *InputFormatter) FormatDeliveryInput(exec *robottypes.Execution,... FILE: agent/robot/executor/standard/delivery_test.go function TestRunDeliveryBasic (line 20) | func TestRunDeliveryBasic(t *testing.T) { function TestRunDeliveryErrorHandling (line 93) | func TestRunDeliveryErrorHandling(t *testing.T) { function TestDefaultEmailChannel (line 146) | func TestDefaultEmailChannel(t *testing.T) { function TestRobotEmailInDelivery (line 168) | func TestRobotEmailInDelivery(t *testing.T) { function TestFormatDeliveryInput (line 197) | func TestFormatDeliveryInput(t *testing.T) { function createDeliveryTestRobot (line 268) | func createDeliveryTestRobot(t *testing.T, agentID string) *types.Robot { function createDeliveryTestExecution (line 288) | func createDeliveryTestExecution(robot *types.Robot) *types.Execution { FILE: agent/robot/executor/standard/executor.go type Executor (line 24) | type Executor struct method Execute (line 52) | func (e *Executor) Execute(ctx *robottypes.Context, robot *robottypes.... method ExecuteWithID (line 57) | func (e *Executor) ExecuteWithID(ctx *robottypes.Context, robot *robot... method ExecuteWithControl (line 63) | func (e *Executor) ExecuteWithControl(ctx *robottypes.Context, robot *... method runPhase (line 334) | func (e *Executor) runPhase(ctx *robottypes.Context, exec *robottypes.... method getPhaseData (line 440) | func (e *Executor) getPhaseData(exec *robottypes.Execution, phase robo... method ExecCount (line 460) | func (e *Executor) ExecCount() int { method CurrentCount (line 465) | func (e *Executor) CurrentCount() int { method Reset (line 470) | func (e *Executor) Reset() { method simulateStreamDelay (line 480) | func (e *Executor) simulateStreamDelay() { method initUIFields (line 486) | func (e *Executor) initUIFields(trigger robottypes.TriggerType, input ... method updateUIFields (line 604) | func (e *Executor) updateUIFields(ctx *robottypes.Context, exec *robot... method updateTasksState (line 626) | func (e *Executor) updateTasksState(ctx *robottypes.Context, exec *rob... method Suspend (line 740) | func (e *Executor) Suspend(ctx *robottypes.Context, exec *robottypes.E... method Resume (line 799) | func (e *Executor) Resume(ctx *robottypes.Context, execID string, repl... function New (line 35) | func New() *Executor { function NewWithConfig (line 43) | func NewWithConfig(config types.Config) *Executor { constant DefaultStreamDelay (line 477) | DefaultStreamDelay = 50 * time.Millisecond function getEffectiveLocale (line 521) | func getEffectiveLocale(robot *robottypes.Robot, input *robottypes.Trigg... function getLocalizedMessage (line 588) | func getLocalizedMessage(locale string, key string) string { function extractGoalName (line 649) | func extractGoalName(goals *robottypes.Goals) string { function stripMarkdownFormatting (line 702) | func stripMarkdownFormatting(s string) string { FILE: agent/robot/executor/standard/executor_test.go function TestExecutorPersistence (line 21) | func TestExecutorPersistence(t *testing.T) { function TestExecutorGoalsInjection (line 128) | func TestExecutorGoalsInjection(t *testing.T) { function createPersistenceTestRobot (line 250) | func createPersistenceTestRobot(memberID, teamID string) *robottypes.Rob... FILE: agent/robot/executor/standard/goals.go method RunGoals (line 19) | func (e *Executor) RunGoals(ctx *robottypes.Context, exec *robottypes.Ex... function ParseDelivery (line 136) | func ParseDelivery(data map[string]interface{}) *robottypes.DeliveryTarg... function IsValidDeliveryType (line 185) | func IsValidDeliveryType(t robottypes.DeliveryType) bool { FILE: agent/robot/executor/standard/goals_test.go function TestRunGoalsBasic (line 21) | func TestRunGoalsBasic(t *testing.T) { function TestRunGoalsHumanTrigger (line 77) | func TestRunGoalsHumanTrigger(t *testing.T) { function TestRunGoalsEventTrigger (line 152) | func TestRunGoalsEventTrigger(t *testing.T) { function TestRunGoalsErrorHandling (line 198) | func TestRunGoalsErrorHandling(t *testing.T) { function TestRunGoalsFallbackBehavior (line 272) | func TestRunGoalsFallbackBehavior(t *testing.T) { function TestParseDeliveryFromGoalsResponse (line 301) | func TestParseDeliveryFromGoalsResponse(t *testing.T) { function TestDeliveryTypeValidation (line 353) | func TestDeliveryTypeValidation(t *testing.T) { function TestParseDelivery (line 380) | func TestParseDelivery(t *testing.T) { function TestInputFormatterFormatRobotIdentity (line 483) | func TestInputFormatterFormatRobotIdentity(t *testing.T) { function createGoalsTestRobot (line 556) | func createGoalsTestRobot(t *testing.T, agentID string) *types.Robot { function createGoalsTestExecution (line 589) | func createGoalsTestExecution(robot *types.Robot, trigger types.TriggerT... FILE: agent/robot/executor/standard/host.go method CallHostAgent (line 16) | func (e *Executor) CallHostAgent(ctx *robottypes.Context, robot *robotty... FILE: agent/robot/executor/standard/host_test.go function hostTestAuth (line 15) | func hostTestAuth() *oauthtypes.AuthorizedInfo { function TestCallHostAgent_NilRobot (line 23) | func TestCallHostAgent_NilRobot(t *testing.T) { function TestCallHostAgent_NoHostAgent (line 33) | func TestCallHostAgent_NoHostAgent(t *testing.T) { function TestCallHostAgent_ValidJSONResponse (line 56) | func TestCallHostAgent_ValidJSONResponse(t *testing.T) { function TestCallHostAgent_PlaintextFallback (line 96) | func TestCallHostAgent_PlaintextFallback(t *testing.T) { function TestCallHostAgent_BadJSONStructureFallback (line 135) | func TestCallHostAgent_BadJSONStructureFallback(t *testing.T) { function TestCallHostAgent_AssistantNotFound (line 181) | func TestCallHostAgent_AssistantNotFound(t *testing.T) { function TestCallHostAgent_InputMarshalling (line 211) | func TestCallHostAgent_InputMarshalling(t *testing.T) { FILE: agent/robot/executor/standard/input.go type InputFormatter (line 24) | type InputFormatter struct method FormatClockContext (line 33) | func (f *InputFormatter) FormatClockContext(clock *robottypes.ClockCon... method FormatRobotIdentity (line 104) | func (f *InputFormatter) FormatRobotIdentity(robot *robottypes.Robot) ... method FormatAvailableResources (line 136) | func (f *InputFormatter) FormatAvailableResources(robot *robottypes.Ro... method FormatAvailableResourcesWithLocale (line 145) | func (f *InputFormatter) FormatAvailableResourcesWithLocale(robot *rob... method FormatInspirationReport (line 343) | func (f *InputFormatter) FormatInspirationReport(report *robottypes.In... method FormatTriggerInput (line 388) | func (f *InputFormatter) FormatTriggerInput(input *robottypes.TriggerI... method FormatGoals (line 439) | func (f *InputFormatter) FormatGoals(goals *robottypes.Goals, robot *r... method FormatTasks (line 480) | func (f *InputFormatter) FormatTasks(tasks []robottypes.Task) string { method FormatTaskResults (line 522) | func (f *InputFormatter) FormatTaskResults(results []robottypes.TaskRe... method FormatExecutionSummary (line 599) | func (f *InputFormatter) FormatExecutionSummary(exec *robottypes.Execu... method BuildMessages (line 680) | func (f *InputFormatter) BuildMessages(userContent string) []agentcont... method BuildMessagesWithSystem (line 690) | func (f *InputFormatter) BuildMessagesWithSystem(systemContent, userCo... function NewInputFormatter (line 27) | func NewInputFormatter() *InputFormatter { function boolMark (line 95) | func boolMark(v bool) string { FILE: agent/robot/executor/standard/input_integration_test.go function TestFormatAvailableResourcesIntegration (line 20) | func TestFormatAvailableResourcesIntegration(t *testing.T) { function TestFormatAvailableResourcesTableFormat (line 264) | func TestFormatAvailableResourcesTableFormat(t *testing.T) { function TestFormatClockContextWithRobotIntegration (line 303) | func TestFormatClockContextWithRobotIntegration(t *testing.T) { FILE: agent/robot/executor/standard/input_test.go function TestInputFormatterFormatClockContext (line 18) | func TestInputFormatterFormatClockContext(t *testing.T) { function TestInputFormatterFormatInspirationReport (line 128) | func TestInputFormatterFormatInspirationReport(t *testing.T) { function TestInputFormatterFormatAvailableResources (line 165) | func TestInputFormatterFormatAvailableResources(t *testing.T) { function TestInputFormatterFormatTriggerInput (line 262) | func TestInputFormatterFormatTriggerInput(t *testing.T) { function TestInputFormatterFormatGoals (line 315) | func TestInputFormatterFormatGoals(t *testing.T) { function TestInputFormatterFormatTasks (line 367) | func TestInputFormatterFormatTasks(t *testing.T) { function TestInputFormatterFormatTaskResults (line 414) | func TestInputFormatterFormatTaskResults(t *testing.T) { function TestInputFormatterFormatExecutionSummary (line 467) | func TestInputFormatterFormatExecutionSummary(t *testing.T) { function TestInputFormatterBuildMessages (line 545) | func TestInputFormatterBuildMessages(t *testing.T) { function TestInputFormatterBuildMessagesWithSystem (line 557) | func TestInputFormatterBuildMessagesWithSystem(t *testing.T) { FILE: agent/robot/executor/standard/inspiration.go method RunInspiration (line 19) | func (e *Executor) RunInspiration(ctx *robottypes.Context, exec *robotty... FILE: agent/robot/executor/standard/inspiration_test.go function TestRunInspirationBasic (line 20) | func TestRunInspirationBasic(t *testing.T) { function TestRunInspirationClockContext (line 68) | func TestRunInspirationClockContext(t *testing.T) { function TestRunInspirationRobotIdentity (line 117) | func TestRunInspirationRobotIdentity(t *testing.T) { function TestRunInspirationErrorHandling (line 160) | func TestRunInspirationErrorHandling(t *testing.T) { function TestRunInspirationWithDefaultAgent (line 208) | func TestRunInspirationWithDefaultAgent(t *testing.T) { function TestInputFormatterClockContext (line 245) | func TestInputFormatterClockContext(t *testing.T) { function createTestRobot (line 321) | func createTestRobot(t *testing.T, agentID string) *types.Robot { function createTestExecution (line 354) | func createTestExecution(robot *types.Robot, trigger types.TriggerType) ... FILE: agent/robot/executor/standard/learning.go method RunLearning (line 22) | func (e *Executor) RunLearning(ctx *robottypes.Context, exec *robottypes... FILE: agent/robot/executor/standard/log.go type execLogger (line 17) | type execLogger struct method robotID (line 26) | func (l *execLogger) robotID() string { method connector (line 33) | func (l *execLogger) connector() string { method logTaskOverview (line 44) | func (l *execLogger) logTaskOverview(tasks []robottypes.Task) { method devTaskOverview (line 57) | func (l *execLogger) devTaskOverview(tasks []robottypes.Task) { method logTaskInput (line 95) | func (l *execLogger) logTaskInput(task *robottypes.Task, prompt string) { method devTaskInput (line 110) | func (l *execLogger) devTaskInput(task *robottypes.Task, prompt string) { method logTaskOutput (line 126) | func (l *execLogger) logTaskOutput(task *robottypes.Task, result *robo... method devTaskOutput (line 153) | func (l *execLogger) devTaskOutput(task *robottypes.Task, result *robo... method logAgentCall (line 182) | func (l *execLogger) logAgentCall(agentID string, result *CallResult) { method devAgentCall (line 204) | func (l *execLogger) devAgentCall(agentID string, result *CallResult) { method prefix (line 226) | func (l *execLogger) prefix() string { function newExecLogger (line 22) | func newExecLogger(robot *robottypes.Robot, execID string) *execLogger { function truncate (line 233) | func truncate(s string, maxLen int) string { function indentText (line 240) | func indentText(s string, prefix string) string { function outputSummary (line 248) | func outputSummary(v interface{}) string { function outputLen (line 277) | func outputLen(v interface{}) int { FILE: agent/robot/executor/standard/resume_test.go function TestResume (line 22) | func TestResume(t *testing.T) { function createResumeTestRobot (line 296) | func createResumeTestRobot(t *testing.T) *types.Robot { function createResumeTestExecution (line 320) | func createResumeTestExecution(robot *types.Robot) *types.Execution { function createSuspendedResumeTestExecution (line 348) | func createSuspendedResumeTestExecution(robot *types.Robot) *types.Execu... function createResumeNeedInputRobot (line 363) | func createResumeNeedInputRobot(t *testing.T) *types.Robot { function createSuspendedResumeNeedInputExecution (line 387) | func createSuspendedResumeNeedInputExecution(robot *types.Robot) *types.... FILE: agent/robot/executor/standard/run.go type RunConfig (line 13) | type RunConfig struct function DefaultRunConfig (line 21) | func DefaultRunConfig() *RunConfig { method RunExecution (line 38) | func (e *Executor) RunExecution(ctx *robottypes.Context, exec *robottype... function formatTaskProgressName (line 156) | func formatTaskProgressName(task *robottypes.Task, index int, total int,... FILE: agent/robot/executor/standard/run_test.go function TestRunExecutionBasic (line 20) | func TestRunExecutionBasic(t *testing.T) { function TestRunExecutionTaskStatus (line 164) | func TestRunExecutionTaskStatus(t *testing.T) { function TestRunExecutionErrorHandling (line 294) | func TestRunExecutionErrorHandling(t *testing.T) { function TestRunExecutionContinueOnFailure (line 362) | func TestRunExecutionContinueOnFailure(t *testing.T) { function TestRunExecutionNoValidation (line 553) | func TestRunExecutionNoValidation(t *testing.T) { function createRunTestRobot (line 601) | func createRunTestRobot(t *testing.T) *types.Robot { function createRunTestExecution (line 629) | func createRunTestExecution(robot *types.Robot) *types.Execution { FILE: agent/robot/executor/standard/runner.go type Runner (line 16) | type Runner struct method BuildTaskContext (line 48) | func (r *Runner) BuildTaskContext(exec *robottypes.Execution, taskInde... method ExecuteTask (line 69) | func (r *Runner) ExecuteTask(task *robottypes.Task, taskCtx *RunnerCon... method executeNonAssistantTask (line 119) | func (r *Runner) executeNonAssistantTask(task *robottypes.Task, taskCt... method executeAssistantTask (line 132) | func (r *Runner) executeAssistantTask(task *robottypes.Task, taskCtx *... method extractOutput (line 192) | func (r *Runner) extractOutput(result *CallResult) interface{} { method ExecuteMCPTask (line 208) | func (r *Runner) ExecuteMCPTask(task *robottypes.Task, taskCtx *Runner... method ExecuteProcessTask (line 243) | func (r *Runner) ExecuteProcessTask(task *robottypes.Task, taskCtx *Ru... method BuildAssistantMessages (line 264) | func (r *Runner) BuildAssistantMessages(task *robottypes.Task, taskCtx... method FormatMessagesAsText (line 285) | func (r *Runner) FormatMessagesAsText(messages []agentcontext.Message)... method FormatPreviousResultsAsContext (line 313) | func (r *Runner) FormatPreviousResultsAsContext(results []robottypes.T... function NewRunner (line 25) | func NewRunner(ctx *robottypes.Context, robot *robottypes.Robot, config ... type RunnerContext (line 36) | type RunnerContext struct function detectNeedMoreInfo (line 163) | func detectNeedMoreInfo(result *CallResult) (bool, string) { FILE: agent/robot/executor/standard/runner_test.go function TestRunnerExecuteTask (line 18) | func TestRunnerExecuteTask(t *testing.T) { function TestRunnerBuildTaskContext (line 113) | func TestRunnerBuildTaskContext(t *testing.T) { function TestRunnerFormatPreviousResultsAsContext (line 205) | func TestRunnerFormatPreviousResultsAsContext(t *testing.T) { function TestRunnerBuildAssistantMessages (line 258) | func TestRunnerBuildAssistantMessages(t *testing.T) { function TestRunnerFormatMessagesAsText (line 330) | func TestRunnerFormatMessagesAsText(t *testing.T) { function TestRunnerExecuteNonAssistantTask (line 400) | func TestRunnerExecuteNonAssistantTask(t *testing.T) { function createRunnerTestRobot (line 435) | func createRunnerTestRobot(t *testing.T) *types.Robot { FILE: agent/robot/executor/standard/suspend_resume_test.go function TestRunExecutionResumeContext (line 21) | func TestRunExecutionResumeContext(t *testing.T) { function TestSuspendExecution (line 154) | func TestSuspendExecution(t *testing.T) { function TestExecuteWithControlSuspend (line 223) | func TestExecuteWithControlSuspend(t *testing.T) { function TestResumeContext (line 276) | func TestResumeContext(t *testing.T) { function TestTaskResultNeedInput (line 296) | func TestTaskResultNeedInput(t *testing.T) { function TestExecutionStatusTransitions (line 314) | func TestExecutionStatusTransitions(t *testing.T) { FILE: agent/robot/executor/standard/suspend_test.go function TestDetectNeedMoreInfo (line 13) | func TestDetectNeedMoreInfo(t *testing.T) { FILE: agent/robot/executor/standard/tasks.go method RunTasks (line 19) | func (e *Executor) RunTasks(ctx *robottypes.Context, exec *robottypes.Ex... function ParseTasks (line 98) | func ParseTasks(data []interface{}) ([]robottypes.Task, error) { function ParseTask (line 122) | func ParseTask(data map[string]interface{}, index int) (*robottypes.Task... function ParseMessages (line 215) | func ParseMessages(data []interface{}) []agentcontext.Message { function ParseExecutorType (line 250) | func ParseExecutorType(s string) robottypes.ExecutorType { function ValidateTasks (line 264) | func ValidateTasks(tasks []robottypes.Task) error { function ValidateTasksWithResources (line 302) | func ValidateTasksWithResources(tasks []robottypes.Task, robot *robottyp... function IsValidExecutorType (line 322) | func IsValidExecutorType(t robottypes.ExecutorType) bool { function SortTasksByOrder (line 334) | func SortTasksByOrder(tasks []robottypes.Task) { function ValidateExecutorExists (line 348) | func ValidateExecutorExists(executorID string, executorType robottypes.E... function ValidateMCPTask (line 385) | func ValidateMCPTask(task *robottypes.Task) error { FILE: agent/robot/executor/standard/tasks_test.go function TestRunTasksBasic (line 20) | func TestRunTasksBasic(t *testing.T) { function TestRunTasksHumanTrigger (line 97) | func TestRunTasksHumanTrigger(t *testing.T) { function TestRunTasksWithExpertAgents (line 135) | func TestRunTasksWithExpertAgents(t *testing.T) { function TestRunTasksErrorHandling (line 184) | func TestRunTasksErrorHandling(t *testing.T) { function TestParseTasks (line 260) | func TestParseTasks(t *testing.T) { function TestValidateTasks (line 455) | func TestValidateTasks(t *testing.T) { function TestParseExecutorType (line 540) | func TestParseExecutorType(t *testing.T) { function TestIsValidExecutorType (line 563) | func TestIsValidExecutorType(t *testing.T) { function TestSortTasksByOrder (line 576) | func TestSortTasksByOrder(t *testing.T) { function TestValidateExecutorExists (line 625) | func TestValidateExecutorExists(t *testing.T) { function TestValidateTasksWithResources (line 704) | func TestValidateTasksWithResources(t *testing.T) { function TestInputFormatterFormatGoalsForTasks (line 768) | func TestInputFormatterFormatGoalsForTasks(t *testing.T) { function createTasksTestRobot (line 855) | func createTasksTestRobot(t *testing.T, agentID string) *types.Robot { function createTasksTestExecution (line 883) | func createTasksTestExecution(robot *types.Robot, trigger types.TriggerT... FILE: agent/robot/executor/standard/ui_fields_test.go function TestGetEffectiveLocale (line 15) | func TestGetEffectiveLocale(t *testing.T) { function TestGetLocalizedMessage (line 81) | func TestGetLocalizedMessage(t *testing.T) { function TestInitUIFields (line 150) | func TestInitUIFields(t *testing.T) { function TestExtractGoalName (line 259) | func TestExtractGoalName(t *testing.T) { function TestStripMarkdownFormatting (line 406) | func TestStripMarkdownFormatting(t *testing.T) { function TestFormatTaskProgressName (line 447) | func TestFormatTaskProgressName(t *testing.T) { FILE: agent/robot/executor/standard/validator.go type ValidatorConfig (line 14) | type ValidatorConfig struct function DefaultValidatorConfig (line 20) | func DefaultValidatorConfig() *ValidatorConfig { type Validator (line 29) | type Validator struct method Validate (line 58) | func (v *Validator) Validate(task *robottypes.Task, output interface{}... method ValidateWithContext (line 72) | func (v *Validator) ValidateWithContext(task *robottypes.Task, output ... method hasValidOutput (line 116) | func (v *Validator) hasValidOutput(output interface{}) bool { method isComplete (line 133) | func (v *Validator) isComplete(task *robottypes.Task, output interface... method checkNeedReply (line 153) | func (v *Validator) checkNeedReply(task *robottypes.Task, output inter... method checkNeedReplyOnFailure (line 187) | func (v *Validator) checkNeedReplyOnFailure(task *robottypes.Task, res... method detectNeedMoreInfo (line 208) | func (v *Validator) detectNeedMoreInfo(text string) bool { method generateClarificationReply (line 248) | func (v *Validator) generateClarificationReply(task *robottypes.Task, ... method generateFeedbackReply (line 262) | func (v *Validator) generateFeedbackReply(result *robottypes.Validatio... method validateRules (line 289) | func (v *Validator) validateRules(rules []string, output interface{}) ... method parseRules (line 316) | func (v *Validator) parseRules(rules []string) []*assert.Assertion { method convertStringRule (line 345) | func (v *Validator) convertStringRule(rule string) *assert.Assertion { method hasAgentRules (line 405) | func (v *Validator) hasAgentRules(rules []string) bool { method validateSemantic (line 420) | func (v *Validator) validateSemantic(task *robottypes.Task, output int... method BuildSemanticPrompt (line 452) | func (v *Validator) BuildSemanticPrompt(task *robottypes.Task, output ... method getSemanticRules (line 512) | func (v *Validator) getSemanticRules(rules []string) []string { method ParseAgentResult (line 528) | func (v *Validator) ParseAgentResult(result *CallResult) *robottypes.V... method mergeResults (line 588) | func (v *Validator) mergeResults(ruleResult, semanticResult *robottype... function NewValidator (line 37) | func NewValidator(ctx *robottypes.Context, robot *robottypes.Robot, conf... type robotAgentValidator (line 615) | type robotAgentValidator struct method Validate (line 620) | func (av *robotAgentValidator) Validate(agentID string, output, input,... type robotScriptRunner (line 669) | type robotScriptRunner struct method Run (line 674) | func (r *robotScriptRunner) Run(scriptName string, output, input, expe... FILE: agent/robot/executor/standard/validator_test.go function TestValidatorValidateWithContext (line 18) | func TestValidatorValidateWithContext(t *testing.T) { function TestValidatorIsComplete (line 127) | func TestValidatorIsComplete(t *testing.T) { function TestValidatorCheckNeedReply (line 208) | func TestValidatorCheckNeedReply(t *testing.T) { function TestValidatorConvertStringRule (line 281) | func TestValidatorConvertStringRule(t *testing.T) { function TestValidatorParseRules (line 373) | func TestValidatorParseRules(t *testing.T) { function TestValidatorSemanticValidation (line 472) | func TestValidatorSemanticValidation(t *testing.T) { function TestValidatorMergeResults (line 538) | func TestValidatorMergeResults(t *testing.T) { function createValidatorTestRobot (line 613) | func createValidatorTestRobot(t *testing.T) *types.Robot { FILE: agent/robot/executor/types/helpers.go function BuildTriggerInput (line 11) | func BuildTriggerInput(trigger robottypes.TriggerType, data interface{})... FILE: agent/robot/executor/types/types.go type Executor (line 14) | type Executor interface type PhaseExecutor (line 47) | type PhaseExecutor interface type Config (line 68) | type Config struct type DryRunConfig (line 80) | type DryRunConfig struct type SandboxConfig (line 98) | type SandboxConfig struct type Mode (line 121) | type Mode constant ModeStandard (line 124) | ModeStandard Mode = "standard" constant ModeDryRun (line 125) | ModeDryRun Mode = "dryrun" constant ModeSandbox (line 126) | ModeSandbox Mode = "sandbox" type Setting (line 130) | type Setting struct function DefaultSetting (line 140) | func DefaultSetting() *Setting { FILE: agent/robot/logger/logger.go constant Reset (line 11) | Reset = "\033[0m" constant Red (line 12) | Red = "\033[31m" constant Green (line 13) | Green = "\033[32m" constant Yellow (line 14) | Yellow = "\033[33m" constant Cyan (line 15) | Cyan = "\033[36m" constant White (line 16) | White = "\033[37m" constant Gray (line 17) | Gray = "\033[90m" constant BoldCyan (line 18) | BoldCyan = "\033[1;36m" constant BoldGreen (line 19) | BoldGreen = "\033[1;32m" constant BoldRed (line 20) | BoldRed = "\033[1;31m" constant reset (line 22) | reset = Reset constant red (line 23) | red = Red constant yellow (line 24) | yellow = Yellow constant cyan (line 25) | cyan = Cyan constant gray (line 26) | gray = Gray type Logger (line 34) | type Logger struct method prefix (line 44) | func (l *Logger) prefix() string { method Trace (line 48) | func (l *Logger) Trace(format string, args ...interface{}) { method Debug (line 56) | func (l *Logger) Debug(format string, args ...interface{}) { method Info (line 64) | func (l *Logger) Info(format string, args ...interface{}) { method Warn (line 72) | func (l *Logger) Warn(format string, args ...interface{}) { method Error (line 80) | func (l *Logger) Error(format string, args ...interface{}) { function New (line 40) | func New(tag string) *Logger { function IsDev (line 89) | func IsDev() bool { function Raw (line 96) | func Raw(s string) { FILE: agent/robot/manager/integration_clock_test.go function createClockTestManager (line 25) | func createClockTestManager(t *testing.T, tickInterval time.Duration, wo... function TestIntegrationClockTimesMode (line 39) | func TestIntegrationClockTimesMode(t *testing.T) { function TestIntegrationClockIntervalMode (line 222) | func TestIntegrationClockIntervalMode(t *testing.T) { function TestIntegrationClockDaemonMode (line 340) | func TestIntegrationClockDaemonMode(t *testing.T) { function TestIntegrationClockTimezone (line 410) | func TestIntegrationClockTimezone(t *testing.T) { function TestIntegrationClockEdgeCases (line 495) | func TestIntegrationClockEdgeCases(t *testing.T) { function setupClockTestRobot (line 664) | func setupClockTestRobot(t *testing.T, memberID, teamID string, clockCon... function setupClockTestRobotWithQuota (line 669) | func setupClockTestRobotWithQuota(t *testing.T, memberID, teamID string,... FILE: agent/robot/manager/integration_concurrent_test.go function TestIntegrationConcurrentExecution (line 31) | func TestIntegrationConcurrentExecution(t *testing.T) { function TestIntegrationQuotaEnforcement (line 144) | func TestIntegrationQuotaEnforcement(t *testing.T) { function TestIntegrationGlobalPoolLimit (line 319) | func TestIntegrationGlobalPoolLimit(t *testing.T) { function TestIntegrationPriorityExecution (line 428) | func TestIntegrationPriorityExecution(t *testing.T) { type trackingExecutor (line 540) | type trackingExecutor struct method Execute (line 547) | func (e *trackingExecutor) Execute(ctx *types.Context, robot *types.Ro... method ExecuteWithID (line 551) | func (e *trackingExecutor) ExecuteWithID(ctx *types.Context, robot *ty... method ExecuteWithControl (line 555) | func (e *trackingExecutor) ExecuteWithControl(ctx *types.Context, robo... method ExecCount (line 597) | func (e *trackingExecutor) ExecCount() int { method CurrentCount (line 601) | func (e *trackingExecutor) CurrentCount() int { method Resume (line 605) | func (e *trackingExecutor) Resume(ctx *types.Context, execID string, r... method Reset (line 609) | func (e *trackingExecutor) Reset() { type triggerTrackingExecutor (line 614) | type triggerTrackingExecutor struct method Execute (line 620) | func (e *triggerTrackingExecutor) Execute(ctx *types.Context, robot *t... method ExecuteWithID (line 624) | func (e *triggerTrackingExecutor) ExecuteWithID(ctx *types.Context, ro... method ExecuteWithControl (line 628) | func (e *triggerTrackingExecutor) ExecuteWithControl(ctx *types.Contex... method ExecCount (line 666) | func (e *triggerTrackingExecutor) ExecCount() int { method CurrentCount (line 670) | func (e *triggerTrackingExecutor) CurrentCount() int { method Resume (line 674) | func (e *triggerTrackingExecutor) Resume(ctx *types.Context, execID st... method Reset (line 678) | func (e *triggerTrackingExecutor) Reset() { function setupConcurrentTestRobot (line 685) | func setupConcurrentTestRobot(t *testing.T, memberID, teamID string, max... function setupConcurrentTestRobotWithPriority (line 690) | func setupConcurrentTestRobotWithPriority(t *testing.T, memberID, teamID... function setupConcurrentTestRobotAllTriggers (line 736) | func setupConcurrentTestRobotAllTriggers(t *testing.T, memberID, teamID ... FILE: agent/robot/manager/integration_control_test.go function TestIntegrationExecutionPauseResume (line 29) | func TestIntegrationExecutionPauseResume(t *testing.T) { function TestIntegrationExecutionStop (line 153) | func TestIntegrationExecutionStop(t *testing.T) { function TestIntegrationListExecutions (line 224) | func TestIntegrationListExecutions(t *testing.T) { function TestIntegrationMultipleControlOperations (line 357) | func TestIntegrationMultipleControlOperations(t *testing.T) { type slowExecutor (line 492) | type slowExecutor struct method Execute (line 498) | func (e *slowExecutor) Execute(ctx *types.Context, robot *types.Robot,... method ExecuteWithID (line 502) | func (e *slowExecutor) ExecuteWithID(ctx *types.Context, robot *types.... method ExecuteWithControl (line 506) | func (e *slowExecutor) ExecuteWithControl(ctx *types.Context, robot *t... method ExecCount (line 543) | func (e *slowExecutor) ExecCount() int { method CurrentCount (line 547) | func (e *slowExecutor) CurrentCount() int { method Resume (line 551) | func (e *slowExecutor) Resume(ctx *types.Context, execID string, reply... method Reset (line 555) | func (e *slowExecutor) Reset() { function setupControlTestRobot (line 563) | func setupControlTestRobot(t *testing.T, memberID, teamID string) { FILE: agent/robot/manager/integration_event_test.go function TestIntegrationEventTrigger (line 25) | func TestIntegrationEventTrigger(t *testing.T) { function TestIntegrationEventTriggerErrors (line 142) | func TestIntegrationEventTriggerErrors(t *testing.T) { function TestIntegrationEventTriggerTypes (line 287) | func TestIntegrationEventTriggerTypes(t *testing.T) { function TestIntegrationEventTriggerSources (line 359) | func TestIntegrationEventTriggerSources(t *testing.T) { function TestIntegrationEventTriggerWithEmptyData (line 399) | func TestIntegrationEventTriggerWithEmptyData(t *testing.T) { function setupEventTestRobot (line 458) | func setupEventTestRobot(t *testing.T, memberID, teamID string) { function setupEventTestRobotPaused (line 510) | func setupEventTestRobotPaused(t *testing.T, memberID, teamID string) { function setupEventTestRobotDisabled (line 542) | func setupEventTestRobotDisabled(t *testing.T, memberID, teamID string) { FILE: agent/robot/manager/integration_human_test.go function TestIntegrationHumanIntervention (line 26) | func TestIntegrationHumanIntervention(t *testing.T) { function TestIntegrationHumanInterventionErrors (line 128) | func TestIntegrationHumanInterventionErrors(t *testing.T) { function TestIntegrationHumanInterventionMultimodal (line 256) | func TestIntegrationHumanInterventionMultimodal(t *testing.T) { function TestIntegrationHumanInterventionAllActions (line 356) | func TestIntegrationHumanInterventionAllActions(t *testing.T) { function TestIntegrationHumanInterventionPlanAdd (line 409) | func TestIntegrationHumanInterventionPlanAdd(t *testing.T) { function setupInterveneTestRobot (line 451) | func setupInterveneTestRobot(t *testing.T, memberID, teamID string) { function setupInterveneTestRobotPaused (line 493) | func setupInterveneTestRobotPaused(t *testing.T, memberID, teamID string) { function setupInterveneTestRobotDisabled (line 525) | func setupInterveneTestRobotDisabled(t *testing.T, memberID, teamID stri... FILE: agent/robot/manager/integration_test.go function TestIntegrationSchedulingFlow (line 40) | func TestIntegrationSchedulingFlow(t *testing.T) { function TestIntegrationJobSubmission (line 145) | func TestIntegrationJobSubmission(t *testing.T) { function TestIntegrationPhaseProgression (line 220) | func TestIntegrationPhaseProgression(t *testing.T) { function TestIntegrationCacheRefresh (line 315) | func TestIntegrationCacheRefresh(t *testing.T) { function setupIntegrationRobotTimes (line 356) | func setupIntegrationRobotTimes(t *testing.T, memberID, teamID string) { function setupIntegrationRobotInterval (line 406) | func setupIntegrationRobotInterval(t *testing.T, memberID, teamID string) { function setupIntegrationRobotHighQuota (line 450) | func setupIntegrationRobotHighQuota(t *testing.T, memberID, teamID strin... function setupIntegrationRobotIntervene (line 494) | func setupIntegrationRobotIntervene(t *testing.T, memberID, teamID strin... function setupIntegrationRobotInactive (line 534) | func setupIntegrationRobotInactive(t *testing.T, memberID, teamID string) { function setupIntegrationRobotNonAutonomous (line 568) | func setupIntegrationRobotNonAutonomous(t *testing.T, memberID, teamID s... function cleanupIntegrationRobots (line 599) | func cleanupIntegrationRobots(t *testing.T) { FILE: agent/robot/manager/interact.go method executeResume (line 23) | func (m *Manager) executeResume(ctx *types.Context, execID, reply string... type InteractRequest (line 28) | type InteractRequest struct type InteractResponse (line 37) | type InteractResponse struct method CancelExecution (line 47) | func (m *Manager) CancelExecution(ctx *types.Context, execID string) err... method HandleInteract (line 95) | func (m *Manager) HandleInteract(ctx *types.Context, memberID string, re... method handleNewInteraction (line 148) | func (m *Manager) handleNewInteraction(ctx *types.Context, robot *types.... method handleConfirmingInteraction (line 170) | func (m *Manager) handleConfirmingInteraction(ctx *types.Context, robot ... method handleWaitingInteraction (line 192) | func (m *Manager) handleWaitingInteraction(ctx *types.Context, robot *ty... method handleRunningInteraction (line 212) | func (m *Manager) handleRunningInteraction(ctx *types.Context, robot *ty... method createConfirmingExecution (line 235) | func (m *Manager) createConfirmingExecution(ctx *types.Context, robot *t... method buildHostContext (line 264) | func (m *Manager) buildHostContext(robot *types.Robot, record *store.Exe... method buildRobotStatusSnapshot (line 284) | func (m *Manager) buildRobotStatusSnapshot(robot *types.Robot) *types.Ro... method findWaitingTask (line 303) | func (m *Manager) findWaitingTask(record *store.ExecutionRecord) *types.... method callHostAgentForScenario (line 316) | func (m *Manager) callHostAgentForScenario(ctx *types.Context, robot *ty... method callHostAgent (line 333) | func (m *Manager) callHostAgent(ctx *types.Context, agentID string, inpu... method parseHostAgentResult (line 350) | func (m *Manager) parseHostAgentResult(result *standard.CallResult) (*ty... method processHostAction (line 367) | func (m *Manager) processHostAction(ctx *types.Context, robot *types.Rob... method advanceExecution (line 436) | func (m *Manager) advanceExecution(ctx *types.Context, robot *types.Robo... method adjustExecution (line 455) | func (m *Manager) adjustExecution(ctx *types.Context, record *store.Exec... method injectTask (line 485) | func (m *Manager) injectTask(ctx *types.Context, record *store.Execution... method skipWaitingTask (line 510) | func (m *Manager) skipWaitingTask(ctx *types.Context, record *store.Exec... method resumeWithContext (line 530) | func (m *Manager) resumeWithContext(ctx *types.Context, record *store.Ex... method directAssign (line 549) | func (m *Manager) directAssign(ctx *types.Context, robot *types.Robot, r... method directResume (line 562) | func (m *Manager) directResume(ctx *types.Context, record *store.Executi... method HandleInteractStream (line 587) | func (m *Manager) HandleInteractStream(ctx *types.Context, memberID stri... method handleNewInteractionStream (line 637) | func (m *Manager) handleNewInteractionStream(ctx *types.Context, robot *... method handleConfirmingInteractionStream (line 658) | func (m *Manager) handleConfirmingInteractionStream(ctx *types.Context, ... method handleWaitingInteractionStream (line 679) | func (m *Manager) handleWaitingInteractionStream(ctx *types.Context, rob... method handleRunningInteractionStream (line 698) | func (m *Manager) handleRunningInteractionStream(ctx *types.Context, rob... method callHostAgentForScenarioStream (line 718) | func (m *Manager) callHostAgentForScenarioStream(ctx *types.Context, rob... method callHostAgentStream (line 734) | func (m *Manager) callHostAgentStream(ctx *types.Context, agentID string... method HandleInteractStreamRaw (line 754) | func (m *Manager) HandleInteractStreamRaw(ctx *types.Context, memberID s... method handleNewInteractionStreamRaw (line 804) | func (m *Manager) handleNewInteractionStreamRaw(ctx *types.Context, robo... method handleConfirmingInteractionStreamRaw (line 825) | func (m *Manager) handleConfirmingInteractionStreamRaw(ctx *types.Contex... method handleWaitingInteractionStreamRaw (line 846) | func (m *Manager) handleWaitingInteractionStreamRaw(ctx *types.Context, ... method handleRunningInteractionStreamRaw (line 865) | func (m *Manager) handleRunningInteractionStreamRaw(ctx *types.Context, ... method callHostAgentForScenarioStreamRaw (line 885) | func (m *Manager) callHostAgentForScenarioStreamRaw(ctx *types.Context, ... method callHostAgentStreamRaw (line 906) | func (m *Manager) callHostAgentStreamRaw(ctx *types.Context, agentID str... FILE: agent/robot/manager/interact_helpers_test.go type mockExecutor (line 18) | type mockExecutor struct method ExecuteWithControl (line 22) | func (m *mockExecutor) ExecuteWithControl(ctx *types.Context, robot *t... method ExecuteWithID (line 25) | func (m *mockExecutor) ExecuteWithID(ctx *types.Context, robot *types.... method Execute (line 28) | func (m *mockExecutor) Execute(ctx *types.Context, robot *types.Robot,... method Resume (line 31) | func (m *mockExecutor) Resume(ctx *types.Context, execID string, reply... method ExecCount (line 34) | func (m *mockExecutor) ExecCount() int { return 0 } method CurrentCount (line 35) | func (m *mockExecutor) CurrentCount() int { return 0 } method Reset (line 36) | func (m *mockExecutor) Reset() {} function TestCreateConfirmingExecution (line 39) | func TestCreateConfirmingExecution(t *testing.T) { function TestAdjustExecution (line 88) | func TestAdjustExecution(t *testing.T) { function TestInjectTask (line 175) | func TestInjectTask(t *testing.T) { function TestCallHostAgentForScenario (line 265) | func TestCallHostAgentForScenario(t *testing.T) { function TestBuildRobotStatusSnapshotV2 (line 291) | func TestBuildRobotStatusSnapshotV2(t *testing.T) { function TestProcessHostActionAdjust (line 346) | func TestProcessHostActionAdjust(t *testing.T) { function TestProcessHostActionAddTask (line 427) | func TestProcessHostActionAddTask(t *testing.T) { function TestProcessHostActionSkip (line 479) | func TestProcessHostActionSkip(t *testing.T) { function TestProcessHostActionWaitForMoreAndDefault (line 503) | func TestProcessHostActionWaitForMoreAndDefault(t *testing.T) { function TestProcessHostActionCancel (line 541) | func TestProcessHostActionCancel(t *testing.T) { function TestHandleInteractValidationExtended (line 572) | func TestHandleInteractValidationExtended(t *testing.T) { function TestCancelExecutionValidationExtended (line 612) | func TestCancelExecutionValidationExtended(t *testing.T) { function TestBuildHostContextJSON (line 622) | func TestBuildHostContextJSON(t *testing.T) { function TestProcessHostActionConfirmRequiresPool (line 655) | func TestProcessHostActionConfirmRequiresPool(t *testing.T) { function TestProcessHostActionInjectCtx (line 683) | func TestProcessHostActionInjectCtx(t *testing.T) { function TestHandleInteractRouting (line 753) | func TestHandleInteractRouting(t *testing.T) { function TestCancelExecutionStatusValidation (line 788) | func TestCancelExecutionStatusValidation(t *testing.T) { function TestInteractRequestStructFields (line 844) | func TestInteractRequestStructFields(t *testing.T) { function TestInteractResponseStructFields (line 859) | func TestInteractResponseStructFields(t *testing.T) { function TestExecuteResumeNilExecutor (line 878) | func TestExecuteResumeNilExecutor(t *testing.T) { function TestExecuteResumeWithMock (line 887) | func TestExecuteResumeWithMock(t *testing.T) { function TestSkipWaitingTaskWithMock (line 919) | func TestSkipWaitingTaskWithMock(t *testing.T) { function TestDirectResumeWithMock (line 953) | func TestDirectResumeWithMock(t *testing.T) { FILE: agent/robot/manager/interact_test.go function TestBuildRobotStatusSnapshot (line 13) | func TestBuildRobotStatusSnapshot(t *testing.T) { function TestFindWaitingTask (line 43) | func TestFindWaitingTask(t *testing.T) { function TestBuildHostContext (line 82) | func TestBuildHostContext(t *testing.T) { function TestProcessHostAction (line 118) | func TestProcessHostAction(t *testing.T) { function TestHandleInteractValidation (line 152) | func TestHandleInteractValidation(t *testing.T) { function TestCancelExecutionValidation (line 181) | func TestCancelExecutionValidation(t *testing.T) { function TestParseHostAgentResult (line 191) | func TestParseHostAgentResult(t *testing.T) { FILE: agent/robot/manager/manager.go constant DefaultTickInterval (line 19) | DefaultTickInterval = time.Minute type Config (line 23) | type Config struct function DefaultConfig (line 30) | func DefaultConfig() *Config { type Manager (line 39) | type Manager struct method Start (line 124) | func (m *Manager) Start() error { method Stop (line 173) | func (m *Manager) Stop() error { method tickerLoop (line 204) | func (m *Manager) tickerLoop() { method Tick (line 222) | func (m *Manager) Tick(parentCtx context.Context, now time.Time) error { method buildRobotAuth (line 295) | func (m *Manager) buildRobotAuth(robot *types.Robot) *oauthtypes.Autho... method shouldTrigger (line 305) | func (m *Manager) shouldTrigger(robot *types.Robot, now time.Time) bool { method shouldTriggerTimes (line 329) | func (m *Manager) shouldTriggerTimes(robot *types.Robot, clock *types.... method shouldTriggerInterval (line 354) | func (m *Manager) shouldTriggerInterval(robot *types.Robot, clock *typ... method shouldTriggerDaemon (line 371) | func (m *Manager) shouldTriggerDaemon(robot *types.Robot, clock *types... method matchesDay (line 378) | func (m *Manager) matchesDay(clock *types.Clock, now time.Time) bool { method TriggerManual (line 402) | func (m *Manager) TriggerManual(ctx *types.Context, memberID string, t... method Intervene (line 463) | func (m *Manager) Intervene(ctx *types.Context, req *types.InterveneRe... method HandleEvent (line 545) | func (m *Manager) HandleEvent(ctx *types.Context, req *types.EventRequ... method PauseExecution (line 610) | func (m *Manager) PauseExecution(ctx *types.Context, execID string) er... method ResumeExecution (line 631) | func (m *Manager) ResumeExecution(ctx *types.Context, execID string) e... method StopExecution (line 657) | func (m *Manager) StopExecution(ctx *types.Context, execID string) err... method GetExecutionStatus (line 678) | func (m *Manager) GetExecutionStatus(execID string) (*trigger.Controll... method ListExecutions (line 687) | func (m *Manager) ListExecutions() []*trigger.ControlledExecution { method ListExecutionsByMember (line 692) | func (m *Manager) ListExecutionsByMember(memberID string) []*trigger.C... method getOrLoadRobot (line 700) | func (m *Manager) getOrLoadRobot(ctx *types.Context, memberID string) ... method scheduleCleanup (line 722) | func (m *Manager) scheduleCleanup(robot *types.Robot) { method resolveExecutorMode (line 764) | func (m *Manager) resolveExecutorMode(requestMode types.ExecutorMode, ... method Cache (line 783) | func (m *Manager) Cache() *cache.Cache { method Pool (line 788) | func (m *Manager) Pool() *pool.Pool { method Executor (line 793) | func (m *Manager) Executor() types.Executor { method IsStarted (line 798) | func (m *Manager) IsStarted() bool { method Running (line 805) | func (m *Manager) Running() int { method Queued (line 810) | func (m *Manager) Queued() int { method CachedRobots (line 815) | func (m *Manager) CachedRobots() int { function New (line 62) | func New() *Manager { function NewWithConfig (line 67) | func NewWithConfig(config *Config) *Manager { FILE: agent/robot/manager/manager_test.go function TestManagerStartStop (line 21) | func TestManagerStartStop(t *testing.T) { function TestManagerTick (line 79) | func TestManagerTick(t *testing.T) { function TestManagerTriggerManual (line 212) | func TestManagerTriggerManual(t *testing.T) { function TestManagerClockModes (line 285) | func TestManagerClockModes(t *testing.T) { function TestManagerTimezoneDedup (line 364) | func TestManagerTimezoneDedup(t *testing.T) { function TestManagerGoroutineLeak (line 511) | func TestManagerGoroutineLeak(t *testing.T) { function TestManagerComponents (line 559) | func TestManagerComponents(t *testing.T) { function setupTestRobots (line 609) | func setupTestRobots(t *testing.T) { function setupTestRobotsWithClockConfig (line 713) | func setupTestRobotsWithClockConfig(t *testing.T) { function TestManagerIntervene (line 893) | func TestManagerIntervene(t *testing.T) { function TestManagerHandleEvent (line 1026) | func TestManagerHandleEvent(t *testing.T) { function TestManagerExecutionControl (line 1132) | func TestManagerExecutionControl(t *testing.T) { function setupTestRobotsWithInterveneConfig (line 1255) | func setupTestRobotsWithInterveneConfig(t *testing.T) { function setupTestRobotsWithEventConfig (line 1328) | func setupTestRobotsWithEventConfig(t *testing.T) { function TestManagerLazyLoadNonAutonomous (line 1404) | func TestManagerLazyLoadNonAutonomous(t *testing.T) { function setupTestRobotsWithNonAutonomous (line 1559) | func setupTestRobotsWithNonAutonomous(t *testing.T) { function cleanupTestRobots (line 1667) | func cleanupTestRobots(t *testing.T) { FILE: agent/robot/plan/plan.go type Plan (line 11) | type Plan struct method Add (line 20) | func (p *Plan) Add(ctx *types.Context, memberID string, item interface... method Remove (line 26) | func (p *Plan) Remove(ctx *types.Context, memberID string, itemID stri... method List (line 32) | func (p *Plan) List(ctx *types.Context, memberID string) ([]interface{... method GetDue (line 38) | func (p *Plan) GetDue(ctx *types.Context, now time.Time) ([]interface{... function New (line 14) | func New() *Plan { FILE: agent/robot/pool/goroutine_test.go function getGoroutineCount (line 18) | func getGoroutineCount() int { function waitForGoroutineCount (line 23) | func waitForGoroutineCount(target int, timeout time.Duration) int { function TestPoolNoGoroutineLeak (line 38) | func TestPoolNoGoroutineLeak(t *testing.T) { function TestPoolMultipleStartStop (line 79) | func TestPoolMultipleStartStop(t *testing.T) { function TestPoolStopWithoutJobs (line 113) | func TestPoolStopWithoutJobs(t *testing.T) { function TestPoolStopWithPendingJobs (line 136) | func TestPoolStopWithPendingJobs(t *testing.T) { function TestPoolConcurrentStartStop (line 168) | func TestPoolConcurrentStartStop(t *testing.T) { function TestWorkerGoroutinesCleanup (line 221) | func TestWorkerGoroutinesCleanup(t *testing.T) { function TestPoolLongRunningJobsNoLeak (line 251) | func TestPoolLongRunningJobsNoLeak(t *testing.T) { function TestQueueNoGoroutineLeak (line 284) | func TestQueueNoGoroutineLeak(t *testing.T) { FILE: agent/robot/pool/pool.go constant DefaultWorkerSize (line 14) | DefaultWorkerSize = 10 constant DefaultQueueSize (line 15) | DefaultQueueSize = 100 type Config (line 19) | type Config struct function DefaultConfig (line 25) | func DefaultConfig() *Config { type ExecutorFactory (line 33) | type ExecutorFactory type OnCompleteCallback (line 37) | type OnCompleteCallback type Pool (line 41) | type Pool struct method SetExecutor (line 84) | func (p *Pool) SetExecutor(executor types.Executor) { method SetExecutorFactory (line 90) | func (p *Pool) SetExecutorFactory(factory ExecutorFactory) { method SetOnComplete (line 96) | func (p *Pool) SetOnComplete(callback OnCompleteCallback) { method GetExecutor (line 102) | func (p *Pool) GetExecutor(mode types.ExecutorMode) types.Executor { method Start (line 112) | func (p *Pool) Start() error { method Stop (line 138) | func (p *Pool) Stop() error { method Submit (line 160) | func (p *Pool) Submit(ctx *types.Context, robot *types.Robot, trigger ... method SubmitWithMode (line 174) | func (p *Pool) SubmitWithMode(ctx *types.Context, robot *types.Robot, ... method SubmitWithID (line 181) | func (p *Pool) SubmitWithID(ctx *types.Context, robot *types.Robot, tr... method submitWithIDAndMode (line 186) | func (p *Pool) submitWithIDAndMode(ctx *types.Context, robot *types.Ro... method Running (line 218) | func (p *Pool) Running() int { method Queued (line 223) | func (p *Pool) Queued() int { method incrementRunning (line 228) | func (p *Pool) incrementRunning() { method decrementRunning (line 233) | func (p *Pool) decrementRunning() { method Size (line 238) | func (p *Pool) Size() int { method QueueSize (line 243) | func (p *Pool) QueueSize() int { method IsStarted (line 248) | func (p *Pool) IsStarted() bool { function New (line 55) | func New() *Pool { function NewWithConfig (line 60) | func NewWithConfig(config *Config) *Pool { function GenerateExecID (line 166) | func GenerateExecID() string { FILE: agent/robot/pool/pool_test.go function createTestRobot (line 15) | func createTestRobot(memberID, teamID string, maxConcurrent, queueSize, ... function createTestContext (line 34) | func createTestContext() *types.Context { function TestPoolStartStop (line 39) | func TestPoolStartStop(t *testing.T) { function TestPoolSubmitWithoutStart (line 69) | func TestPoolSubmitWithoutStart(t *testing.T) { function TestPoolSubmitNilRobot (line 83) | func TestPoolSubmitNilRobot(t *testing.T) { function TestPoolBasicExecution (line 97) | func TestPoolBasicExecution(t *testing.T) { function TestPoolConcurrencyLimit (line 127) | func TestPoolConcurrencyLimit(t *testing.T) { function TestRobotConcurrencyLimit (line 172) | func TestRobotConcurrencyLimit(t *testing.T) { function TestRobotQueueLimit (line 209) | func TestRobotQueueLimit(t *testing.T) { function TestGlobalQueueLimit (line 240) | func TestGlobalQueueLimit(t *testing.T) { function TestPriorityOrder (line 274) | func TestPriorityOrder(t *testing.T) { function TestTriggerTypePriority (line 304) | func TestTriggerTypePriority(t *testing.T) { function TestMultipleRobotsFairness (line 330) | func TestMultipleRobotsFairness(t *testing.T) { function TestGracefulShutdown (line 363) | func TestGracefulShutdown(t *testing.T) { function TestDefaultConfig (line 393) | func TestDefaultConfig(t *testing.T) { function TestPoolWithNilConfig (line 400) | func TestPoolWithNilConfig(t *testing.T) { function TestPoolWithZeroConfig (line 407) | func TestPoolWithZeroConfig(t *testing.T) { function TestPoolWithoutExecutor (line 418) | func TestPoolWithoutExecutor(t *testing.T) { FILE: agent/robot/pool/queue.go type QueueItem (line 12) | type QueueItem struct type PriorityQueue (line 27) | type PriorityQueue struct method Enqueue (line 49) | func (pq *PriorityQueue) Enqueue(item *QueueItem) bool { method Dequeue (line 82) | func (pq *PriorityQueue) Dequeue() *QueueItem { method Size (line 108) | func (pq *PriorityQueue) Size() int { method IsFull (line 115) | func (pq *PriorityQueue) IsFull() bool { method RobotQueuedCount (line 122) | func (pq *PriorityQueue) RobotQueuedCount(memberID string) int { method Len (line 131) | func (pq *PriorityQueue) Len() int { return len(pq.items) } method Less (line 133) | func (pq *PriorityQueue) Less(i, j int) bool { method Swap (line 142) | func (pq *PriorityQueue) Swap(i, j int) { method Push (line 150) | func (pq *PriorityQueue) Push(x interface{}) { method Pop (line 158) | func (pq *PriorityQueue) Pop() interface{} { function NewPriorityQueue (line 35) | func NewPriorityQueue(maxSize int) *PriorityQueue { function calculatePriority (line 173) | func calculatePriority(item *QueueItem) int { function getTriggerPriority (line 193) | func getTriggerPriority(trigger types.TriggerType) int { FILE: agent/robot/pool/queue_test.go function TestQueueNewPriorityQueue (line 15) | func TestQueueNewPriorityQueue(t *testing.T) { function TestQueueEnqueueDequeue (line 31) | func TestQueueEnqueueDequeue(t *testing.T) { function TestQueueSize (line 63) | func TestQueueSize(t *testing.T) { function TestQueueGlobalLimit (line 84) | func TestQueueGlobalLimit(t *testing.T) { function TestQueueUnlimitedSize (line 105) | func TestQueueUnlimitedSize(t *testing.T) { function TestQueuePerRobotLimit (line 123) | func TestQueuePerRobotLimit(t *testing.T) { function TestQueueMultipleRobotsIndependentLimits (line 145) | func TestQueueMultipleRobotsIndependentLimits(t *testing.T) { function TestQueueRobotCountAfterDequeue (line 170) | func TestQueueRobotCountAfterDequeue(t *testing.T) { function TestQueueNilRobot (line 192) | func TestQueueNilRobot(t *testing.T) { function TestQueueDefaultRobotQueueLimit (line 211) | func TestQueueDefaultRobotQueueLimit(t *testing.T) { function TestQueuePriorityByRobotPriority (line 235) | func TestQueuePriorityByRobotPriority(t *testing.T) { function TestQueuePriorityByTriggerType (line 260) | func TestQueuePriorityByTriggerType(t *testing.T) { function TestQueuePriorityRobotOverTrigger (line 283) | func TestQueuePriorityRobotOverTrigger(t *testing.T) { function TestQueuePriorityByEnqueueTime (line 304) | func TestQueuePriorityByEnqueueTime(t *testing.T) { function TestQueueConcurrentEnqueue (line 331) | func TestQueueConcurrentEnqueue(t *testing.T) { function TestQueueConcurrentDequeue (line 356) | func TestQueueConcurrentDequeue(t *testing.T) { function TestQueueConcurrentEnqueueDequeue (line 399) | func TestQueueConcurrentEnqueueDequeue(t *testing.T) { function TestQueueIsFull (line 438) | func TestQueueIsFull(t *testing.T) { function TestQueueRobotQueuedCount (line 474) | func TestQueueRobotQueuedCount(t *testing.T) { function TestQueueEnqueueSetsEnqueueTime (line 499) | func TestQueueEnqueueSetsEnqueueTime(t *testing.T) { FILE: agent/robot/pool/worker.go type Worker (line 14) | type Worker struct method start (line 32) | func (w *Worker) start() { method stop (line 38) | func (w *Worker) stop() { method run (line 43) | func (w *Worker) run() { method execute (line 68) | func (w *Worker) execute(item *QueueItem) { method requeue (line 131) | func (w *Worker) requeue(item *QueueItem, reason string) { function newWorker (line 22) | func newWorker(id int, pool *Pool, wg *sync.WaitGroup) *Worker { FILE: agent/robot/pool/worker_test.go function TestWorkerExecutesJob (line 18) | func TestWorkerExecutesJob(t *testing.T) { function TestWorkerMultipleJobs (line 41) | func TestWorkerMultipleJobs(t *testing.T) { function TestWorkerRespectsRobotQuota (line 69) | func TestWorkerRespectsRobotQuota(t *testing.T) { function TestWorkerReenqueueOnQuotaFull (line 100) | func TestWorkerReenqueueOnQuotaFull(t *testing.T) { function TestWorkersConcurrentExecution (line 130) | func TestWorkersConcurrentExecution(t *testing.T) { function TestWorkersDoNotExceedPoolSize (line 172) | func TestWorkersDoNotExceedPoolSize(t *testing.T) { function TestWorkerStopsGracefully (line 216) | func TestWorkerStopsGracefully(t *testing.T) { function TestWorkerCompletesCurrentJobOnStop (line 244) | func TestWorkerCompletesCurrentJobOnStop(t *testing.T) { function TestWorkerHandlesExecutorError (line 272) | func TestWorkerHandlesExecutorError(t *testing.T) { function TestWorkerRunningCounterAccurate (line 301) | func TestWorkerRunningCounterAccurate(t *testing.T) { function TestWorkerRunningCounterDecrementsOnError (line 332) | func TestWorkerRunningCounterDecrementsOnError(t *testing.T) { function TestWorkerProcessesDifferentTriggers (line 358) | func TestWorkerProcessesDifferentTriggers(t *testing.T) { function TestWorkerPollsQueuePeriodically (line 386) | func TestWorkerPollsQueuePeriodically(t *testing.T) { function TestWorkerContinuesAfterEmptyQueue (line 410) | func TestWorkerContinuesAfterEmptyQueue(t *testing.T) { FILE: agent/robot/process.go function init (line 13) | func init() { function processGet (line 26) | func processGet(p *process.Process) interface{} { function processList (line 39) | func processList(p *process.Process) interface{} { function processStatus (line 70) | func processStatus(p *process.Process) interface{} { function processExecutions (line 83) | func processExecutions(p *process.Process) interface{} { function processExecution (line 112) | func processExecution(p *process.Process) interface{} { function processUpdateChatTitle (line 127) | func processUpdateChatTitle(p *process.Process) interface{} { function toInt (line 143) | func toInt(v interface{}) int { function toString (line 156) | func toString(v interface{}) string { FILE: agent/robot/process_test.go function TestProcessUpdateChatTitle (line 25) | func TestProcessUpdateChatTitle(t *testing.T) { function TestProcessGet (line 98) | func TestProcessGet(t *testing.T) { function TestProcessList (line 114) | func TestProcessList(t *testing.T) { function TestProcessStatus (line 143) | func TestProcessStatus(t *testing.T) { function TestProcessExecutions (line 159) | func TestProcessExecutions(t *testing.T) { function TestProcessExecution (line 193) | func TestProcessExecution(t *testing.T) { function TestProcessArgumentValidation (line 209) | func TestProcessArgumentValidation(t *testing.T) { function TestProcessUpdateChatTitleIntegration (line 243) | func TestProcessUpdateChatTitleIntegration(t *testing.T) { FILE: agent/robot/robot.go function Init (line 33) | func Init() error { function Shutdown (line 60) | func Shutdown() error { function Manager (line 68) | func Manager() *manager.Manager { FILE: agent/robot/store/execution.go type ExecutionRecord (line 15) | type ExecutionRecord struct method ToExecution (line 1254) | func (r *ExecutionRecord) ToExecution() *types.Execution { type CurrentState (line 58) | type CurrentState struct type ListOptions (line 64) | type ListOptions struct type ListResult (line 76) | type ListResult struct type ExecutionStore (line 84) | type ExecutionStore struct method Save (line 96) | func (s *ExecutionStore) Save(ctx context.Context, record *ExecutionRe... method Get (line 131) | func (s *ExecutionStore) Get(ctx context.Context, executionID string) ... method List (line 155) | func (s *ExecutionStore) List(ctx context.Context, opts *ListOptions) ... method UpdatePhase (line 236) | func (s *ExecutionStore) UpdatePhase(ctx context.Context, executionID ... method UpdateStatus (line 290) | func (s *ExecutionStore) UpdateStatus(ctx context.Context, executionID... method UpdateCurrent (line 326) | func (s *ExecutionStore) UpdateCurrent(ctx context.Context, executionI... method UpdateTasks (line 353) | func (s *ExecutionStore) UpdateTasks(ctx context.Context, executionID ... method UpdateUIFields (line 381) | func (s *ExecutionStore) UpdateUIFields(ctx context.Context, execution... method UpdateSuspendState (line 416) | func (s *ExecutionStore) UpdateSuspendState(ctx context.Context, execu... method UpdateResumeState (line 448) | func (s *ExecutionStore) UpdateResumeState(ctx context.Context, execut... method Delete (line 477) | func (s *ExecutionStore) Delete(ctx context.Context, executionID strin... method recordToMap (line 496) | func (s *ExecutionStore) recordToMap(record *ExecutionRecord) map[stri... method mapToRecord (line 567) | func (s *ExecutionStore) mapToRecord(row map[string]interface{}) (*Exe... method parseCurrentState (line 671) | func (s *ExecutionStore) parseCurrentState(v interface{}) *CurrentState { method parseTriggerInput (line 683) | func (s *ExecutionStore) parseTriggerInput(v interface{}) *types.Trigg... method parseInspirationReport (line 695) | func (s *ExecutionStore) parseInspirationReport(v interface{}) *types.... method parseGoals (line 707) | func (s *ExecutionStore) parseGoals(v interface{}) *types.Goals { method parseTasks (line 719) | func (s *ExecutionStore) parseTasks(v interface{}) []types.Task { method parseResults (line 731) | func (s *ExecutionStore) parseResults(v interface{}) []types.TaskResult { method parseDeliveryResult (line 743) | func (s *ExecutionStore) parseDeliveryResult(v interface{}) *types.Del... method parseLearningEntries (line 755) | func (s *ExecutionStore) parseLearningEntries(v interface{}) []types.L... method parseResumeContext (line 767) | func (s *ExecutionStore) parseResumeContext(v interface{}) *types.Resu... method toJSON (line 779) | func (s *ExecutionStore) toJSON(v interface{}) ([]byte, error) { method parseTime (line 836) | func (s *ExecutionStore) parseTime(v interface{}) *time.Time { method ListResults (line 881) | func (s *ExecutionStore) ListResults(ctx context.Context, opts *Result... method CountResults (line 962) | func (s *ExecutionStore) CountResults(ctx context.Context, opts *Resul... method countWithWheres (line 988) | func (s *ExecutionStore) countWithWheres(wheres []model.QueryWhere) (i... method ListActivities (line 1054) | func (s *ExecutionStore) ListActivities(ctx context.Context, opts *Act... method executionToActivity (line 1135) | func (s *ExecutionStore) executionToActivity(record *ExecutionRecord) ... function NewExecutionStore (line 89) | func NewExecutionStore() *ExecutionStore { function toRows (line 796) | func toRows(data interface{}) []map[string]interface{} { function splitOrderBy (line 811) | func splitOrderBy(orderBy string) [2]string { type ResultListOptions (line 862) | type ResultListOptions struct type ResultListResponse (line 872) | type ResultListResponse struct type ActivityType (line 1026) | type ActivityType constant ActivityExecutionStarted (line 1029) | ActivityExecutionStarted ActivityType = "execution.started" constant ActivityExecutionCompleted (line 1030) | ActivityExecutionCompleted ActivityType = "execution.completed" constant ActivityExecutionFailed (line 1031) | ActivityExecutionFailed ActivityType = "execution.failed" constant ActivityExecutionCancelled (line 1032) | ActivityExecutionCancelled ActivityType = "execution.cancelled" type Activity (line 1036) | type Activity struct type ActivityListOptions (line 1046) | type ActivityListOptions struct function FromExecution (line 1209) | func FromExecution(exec *types.Execution) *ExecutionRecord { FILE: agent/robot/store/execution_test.go function TestExecutionStoreSave (line 17) | func TestExecutionStoreSave(t *testing.T) { function TestExecutionStoreGet (line 99) | func TestExecutionStoreGet(t *testing.T) { function TestExecutionStoreList (line 147) | func TestExecutionStoreList(t *testing.T) { function TestExecutionStoreUpdatePhase (line 237) | func TestExecutionStoreUpdatePhase(t *testing.T) { function TestExecutionStoreUpdateStatus (line 354) | func TestExecutionStoreUpdateStatus(t *testing.T) { function TestExecutionStoreUpdateCurrent (line 464) | func TestExecutionStoreUpdateCurrent(t *testing.T) { function TestExecutionStoreUpdateUIFields (line 509) | func TestExecutionStoreUpdateUIFields(t *testing.T) { function TestExecutionStoreUpdateTasks (line 608) | func TestExecutionStoreUpdateTasks(t *testing.T) { function TestExecutionStoreDelete (line 763) | func TestExecutionStoreDelete(t *testing.T) { function TestExecutionRecordConversion (line 814) | func TestExecutionRecordConversion(t *testing.T) { function cleanupTestExecutions (line 922) | func cleanupTestExecutions(t *testing.T) { function setupTestExecution (line 939) | func setupTestExecution(t *testing.T, s *store.ExecutionStore, ctx conte... function setupTestExecutionsForList (line 978) | func setupTestExecutionsForList(t *testing.T, s *store.ExecutionStore, c... function TestExecutionStoreListResults (line 1030) | func TestExecutionStoreListResults(t *testing.T) { function TestExecutionStoreCountResults (line 1110) | func TestExecutionStoreCountResults(t *testing.T) { function TestExecutionStoreListActivities (line 1154) | func TestExecutionStoreListActivities(t *testing.T) { function setupTestResultsData (line 1284) | func setupTestResultsData(t *testing.T, s *store.ExecutionStore, ctx con... function setupTestActivitiesData (line 1362) | func setupTestActivitiesData(t *testing.T, s *store.ExecutionStore, ctx ... FILE: agent/robot/store/robot.go type RobotRecord (line 16) | type RobotRecord struct method ToRobot (line 590) | func (r *RobotRecord) ToRobot() (*types.Robot, error) { type RobotListOptions (line 66) | type RobotListOptions struct type RobotStore (line 78) | type RobotStore struct method Save (line 140) | func (s *RobotStore) Save(ctx context.Context, record *RobotRecord) er... method Get (line 178) | func (s *RobotStore) Get(ctx context.Context, memberID string) (*Robot... method List (line 204) | func (s *RobotStore) List(ctx context.Context, opts *RobotListOptions)... method Delete (line 297) | func (s *RobotStore) Delete(ctx context.Context, memberID string) error { method UpdateConfig (line 317) | func (s *RobotStore) UpdateConfig(ctx context.Context, memberID string... method UpdateStatus (line 344) | func (s *RobotStore) UpdateStatus(ctx context.Context, memberID string... method recordToMap (line 371) | func (s *RobotStore) recordToMap(record *RobotRecord) map[string]inter... method mapToRecord (line 471) | func (s *RobotStore) mapToRecord(row map[string]interface{}) (*RobotRe... function NewRobotStore (line 83) | func NewRobotStore() *RobotStore { function parseStringSlice (line 651) | func parseStringSlice(v interface{}) []string { function FromRobot (line 671) | func FromRobot(robot *types.Robot) *RobotRecord { FILE: agent/robot/store/robot_test.go function TestRobotStoreSave (line 16) | func TestRobotStoreSave(t *testing.T) { function TestRobotStoreGet (line 143) | func TestRobotStoreGet(t *testing.T) { function TestRobotStoreList (line 190) | func TestRobotStoreList(t *testing.T) { function TestRobotStoreDelete (line 283) | func TestRobotStoreDelete(t *testing.T) { function TestRobotStoreUpdateConfig (line 331) | func TestRobotStoreUpdateConfig(t *testing.T) { function TestRobotStoreUpdateStatus (line 379) | func TestRobotStoreUpdateStatus(t *testing.T) { function TestRobotRecordConversion (line 436) | func TestRobotRecordConversion(t *testing.T) { function cleanupTestRobots (line 499) | func cleanupTestRobots(t *testing.T) { function setupTestRobot (line 517) | func setupTestRobot(t *testing.T, s *store.RobotStore, ctx context.Conte... function setupTestRobotsForList (line 536) | func setupTestRobotsForList(t *testing.T, s *store.RobotStore, ctx conte... FILE: agent/robot/store/store.go type Store (line 7) | type Store struct method SaveLearning (line 16) | func (s *Store) SaveLearning(ctx *types.Context, memberID string, entr... method GetHistory (line 22) | func (s *Store) GetHistory(ctx *types.Context, memberID string, limit ... method SearchKB (line 28) | func (s *Store) SearchKB(ctx *types.Context, collections []string, que... method QueryDB (line 34) | func (s *Store) QueryDB(ctx *types.Context, models []string, query int... function New (line 10) | func New() *Store { FILE: agent/robot/trigger/clock.go type ClockMatcher (line 11) | type ClockMatcher struct method ShouldTrigger (line 19) | func (cm *ClockMatcher) ShouldTrigger(robot *types.Robot, now time.Tim... method shouldTriggerTimes (line 44) | func (cm *ClockMatcher) shouldTriggerTimes(robot *types.Robot, clock *... method shouldTriggerInterval (line 69) | func (cm *ClockMatcher) shouldTriggerInterval(robot *types.Robot, cloc... method shouldTriggerDaemon (line 86) | func (cm *ClockMatcher) shouldTriggerDaemon(robot *types.Robot, clock ... method matchesDay (line 93) | func (cm *ClockMatcher) matchesDay(clock *types.Clock, now time.Time) ... function NewClockMatcher (line 14) | func NewClockMatcher() *ClockMatcher { function ParseTime (line 115) | func ParseTime(timeStr string) (hour, minute int, err error) { function FormatTime (line 124) | func FormatTime(hour, minute int) string { FILE: agent/robot/trigger/clock_test.go function TestClockMatcherShouldTrigger (line 14) | func TestClockMatcherShouldTrigger(t *testing.T) { function TestClockMatcherTimesMode (line 43) | func TestClockMatcherTimesMode(t *testing.T) { function TestClockMatcherIntervalMode (line 157) | func TestClockMatcherIntervalMode(t *testing.T) { function TestClockMatcherDaemonMode (line 271) | func TestClockMatcherDaemonMode(t *testing.T) { function TestClockMatcherTimezone (line 321) | func TestClockMatcherTimezone(t *testing.T) { function TestParseTime (line 370) | func TestParseTime(t *testing.T) { function TestFormatTime (line 407) | func TestFormatTime(t *testing.T) { FILE: agent/robot/trigger/control.go type ExecutionController (line 13) | type ExecutionController struct method Track (line 44) | func (c *ExecutionController) Track(execID, memberID, teamID string) *... method Untrack (line 67) | func (c *ExecutionController) Untrack(execID string) { method Get (line 74) | func (c *ExecutionController) Get(execID string) *ControlledExecution { method List (line 81) | func (c *ExecutionController) List() []*ControlledExecution { method ListByMember (line 93) | func (c *ExecutionController) ListByMember(memberID string) []*Control... method Pause (line 107) | func (c *ExecutionController) Pause(execID string) error { method Resume (line 131) | func (c *ExecutionController) Resume(execID string) error { method Stop (line 157) | func (c *ExecutionController) Stop(execID string) error { type ControlledExecution (line 19) | type ControlledExecution struct method IsPaused (line 182) | func (e *ControlledExecution) IsPaused() bool { method IsCancelled (line 189) | func (e *ControlledExecution) IsCancelled() bool { method Context (line 199) | func (e *ControlledExecution) Context() context.Context { method WaitIfPaused (line 205) | func (e *ControlledExecution) WaitIfPaused() error { method CheckCancelled (line 233) | func (e *ControlledExecution) CheckCancelled() error { method UpdatePhase (line 241) | func (e *ControlledExecution) UpdatePhase(phase types.Phase) { method UpdateStatus (line 246) | func (e *ControlledExecution) UpdateStatus(status types.ExecStatus) { function NewExecutionController (line 37) | func NewExecutionController() *ExecutionController { FILE: agent/robot/trigger/control_test.go function TestExecutionControllerTrack (line 15) | func TestExecutionControllerTrack(t *testing.T) { function TestExecutionControllerList (line 47) | func TestExecutionControllerList(t *testing.T) { function TestExecutionControllerUntrack (line 75) | func TestExecutionControllerUntrack(t *testing.T) { function TestExecutionControllerPause (line 98) | func TestExecutionControllerPause(t *testing.T) { function TestExecutionControllerResume (line 130) | func TestExecutionControllerResume(t *testing.T) { function TestExecutionControllerStop (line 164) | func TestExecutionControllerStop(t *testing.T) { function TestControlledExecutionContext (line 189) | func TestControlledExecutionContext(t *testing.T) { function TestControlledExecutionCheckCancelled (line 222) | func TestControlledExecutionCheckCancelled(t *testing.T) { function TestControlledExecutionUpdatePhase (line 243) | func TestControlledExecutionUpdatePhase(t *testing.T) { function TestControlledExecutionUpdateStatus (line 256) | func TestControlledExecutionUpdateStatus(t *testing.T) { function TestControlledExecutionWaitIfPaused (line 271) | func TestControlledExecutionWaitIfPaused(t *testing.T) { function TestExecutionControllerConcurrency (line 411) | func TestExecutionControllerConcurrency(t *testing.T) { FILE: agent/robot/trigger/trigger.go function ValidateIntervention (line 17) | func ValidateIntervention(req *types.InterveneRequest) error { function ValidateEvent (line 49) | func ValidateEvent(req *types.EventRequest) error { function BuildEventInput (line 70) | func BuildEventInput(req *types.EventRequest) *types.TriggerInput { function isValidAction (line 79) | func isValidAction(action types.InterventionAction) bool { function GetActionCategory (line 99) | func GetActionCategory(action types.InterventionAction) string { function GetActionDescription (line 115) | func GetActionDescription(action types.InterventionAction) string { FILE: agent/robot/trigger/trigger_test.go function TestValidateIntervention (line 15) | func TestValidateIntervention(t *testing.T) { function TestValidateEvent (line 130) | func TestValidateEvent(t *testing.T) { function TestBuildEventInput (line 184) | func TestBuildEventInput(t *testing.T) { function TestGetActionCategory (line 221) | func TestGetActionCategory(t *testing.T) { function TestGetActionDescription (line 250) | func TestGetActionDescription(t *testing.T) { FILE: agent/robot/types/clock.go type ClockContext (line 6) | type ClockContext struct function NewClockContext (line 23) | func NewClockContext(t time.Time, tz string) *ClockContext { FILE: agent/robot/types/clock_test.go function TestNewClockContext (line 11) | func TestNewClockContext(t *testing.T) { function TestClockContextFields (line 153) | func TestClockContextFields(t *testing.T) { FILE: agent/robot/types/config.go type Config (line 9) | type Config struct method Validate (line 91) | func (c *Config) Validate() error { method GetDefaultLocale (line 104) | func (c *Config) GetDefaultLocale() string { type Integrations (line 26) | type Integrations struct type TelegramConfig (line 34) | type TelegramConfig struct type FeishuConfig (line 44) | type FeishuConfig struct type DingTalkConfig (line 51) | type DingTalkConfig struct type DiscordConfig (line 58) | type DiscordConfig struct type ExecutorConfig (line 65) | type ExecutorConfig struct method GetMode (line 71) | func (e *ExecutorConfig) GetMode() ExecutorMode { method GetMaxDuration (line 79) | func (e *ExecutorConfig) GetMaxDuration() time.Duration { type Triggers (line 112) | type Triggers struct method IsEnabled (line 125) | func (t *Triggers) IsEnabled(typ TriggerType) bool { type TriggerSwitch (line 119) | type TriggerSwitch struct type Clock (line 141) | type Clock struct method Validate (line 151) | func (c *Clock) Validate() error { method GetTimeout (line 170) | func (c *Clock) GetTimeout() time.Duration { method GetLocation (line 182) | func (c *Clock) GetLocation() *time.Location { type Identity (line 194) | type Identity struct type Quota (line 201) | type Quota struct method GetMax (line 208) | func (q *Quota) GetMax() int { method GetQueue (line 216) | func (q *Quota) GetQueue() int { method GetPriority (line 224) | func (q *Quota) GetPriority() int { type KB (line 233) | type KB struct type DB (line 240) | type DB struct type Learn (line 247) | type Learn struct type Resources (line 254) | type Resources struct method GetPhaseAgent (line 261) | func (r *Resources) GetPhaseAgent(phase Phase) string { type MCPConfig (line 271) | type MCPConfig struct type Event (line 277) | type Event struct function ParseConfig (line 284) | func ParseConfig(data interface{}) (*Config, error) { FILE: agent/robot/types/config_global.go function DefaultEmailChannel (line 19) | func DefaultEmailChannel() string { function SetDefaultEmailChannel (line 28) | func SetDefaultEmailChannel(channel string) { FILE: agent/robot/types/config_test.go function TestConfigValidate (line 11) | func TestConfigValidate(t *testing.T) { function TestClockValidate (line 52) | func TestClockValidate(t *testing.T) { function TestClockGetTimeout (line 107) | func TestClockGetTimeout(t *testing.T) { function TestClockGetLocation (line 131) | func TestClockGetLocation(t *testing.T) { function TestTriggersIsEnabled (line 156) | func TestTriggersIsEnabled(t *testing.T) { function TestQuotaDefaults (line 191) | func TestQuotaDefaults(t *testing.T) { function TestResourcesGetPhaseAgent (line 218) | func TestResourcesGetPhaseAgent(t *testing.T) { function TestExecutorConfigGetMode (line 254) | func TestExecutorConfigGetMode(t *testing.T) { function TestExecutorConfigGetMaxDuration (line 281) | func TestExecutorConfigGetMaxDuration(t *testing.T) { FILE: agent/robot/types/context.go type Context (line 10) | type Context struct method UserID (line 30) | func (c *Context) UserID() string { method TeamID (line 38) | func (c *Context) TeamID() string { function NewContext (line 19) | func NewContext(parent context.Context, auth *types.AuthorizedInfo) *Con... FILE: agent/robot/types/enums.go type Phase (line 4) | type Phase constant PhaseInspiration (line 8) | PhaseInspiration Phase = "inspiration" constant PhaseGoals (line 9) | PhaseGoals Phase = "goals" constant PhaseTasks (line 10) | PhaseTasks Phase = "tasks" constant PhaseRun (line 11) | PhaseRun Phase = "run" constant PhaseDelivery (line 12) | PhaseDelivery Phase = "delivery" constant PhaseLearning (line 13) | PhaseLearning Phase = "learning" constant PhaseHost (line 14) | PhaseHost Phase = "host" type ClockMode (line 30) | type ClockMode constant ClockTimes (line 34) | ClockTimes ClockMode = "times" constant ClockInterval (line 35) | ClockInterval ClockMode = "interval" constant ClockDaemon (line 36) | ClockDaemon ClockMode = "daemon" type TriggerType (line 40) | type TriggerType constant TriggerClock (line 44) | TriggerClock TriggerType = "clock" constant TriggerHuman (line 45) | TriggerHuman TriggerType = "human" constant TriggerEvent (line 46) | TriggerEvent TriggerType = "event" type ExecStatus (line 50) | type ExecStatus constant ExecPending (line 54) | ExecPending ExecStatus = "pending" constant ExecRunning (line 55) | ExecRunning ExecStatus = "running" constant ExecPaused (line 56) | ExecPaused ExecStatus = "paused" constant ExecCompleted (line 57) | ExecCompleted ExecStatus = "completed" constant ExecFailed (line 58) | ExecFailed ExecStatus = "failed" constant ExecCancelled (line 59) | ExecCancelled ExecStatus = "cancelled" constant ExecConfirming (line 60) | ExecConfirming ExecStatus = "confirming" constant ExecWaiting (line 61) | ExecWaiting ExecStatus = "waiting" type RobotStatus (line 65) | type RobotStatus constant RobotIdle (line 69) | RobotIdle RobotStatus = "idle" constant RobotWorking (line 70) | RobotWorking RobotStatus = "working" constant RobotPaused (line 71) | RobotPaused RobotStatus = "paused" constant RobotError (line 72) | RobotError RobotStatus = "error" constant RobotMaintenance (line 73) | RobotMaintenance RobotStatus = "maintenance" type InterventionAction (line 78) | type InterventionAction constant ActionTaskAdd (line 83) | ActionTaskAdd InterventionAction = "task.add" constant ActionTaskCancel (line 85) | ActionTaskCancel InterventionAction = "task.cancel" constant ActionTaskUpdate (line 87) | ActionTaskUpdate InterventionAction = "task.update" constant ActionGoalAdjust (line 90) | ActionGoalAdjust InterventionAction = "goal.adjust" constant ActionGoalAdd (line 92) | ActionGoalAdd InterventionAction = "goal.add" constant ActionGoalComplete (line 94) | ActionGoalComplete InterventionAction = "goal.complete" constant ActionGoalCancel (line 96) | ActionGoalCancel InterventionAction = "goal.cancel" constant ActionPlanAdd (line 99) | ActionPlanAdd InterventionAction = "plan.add" constant ActionPlanRemove (line 101) | ActionPlanRemove InterventionAction = "plan.remove" constant ActionPlanUpdate (line 103) | ActionPlanUpdate InterventionAction = "plan.update" constant ActionInstruct (line 106) | ActionInstruct InterventionAction = "instruct" type Priority (line 110) | type Priority constant PriorityHigh (line 114) | PriorityHigh Priority = "high" constant PriorityNormal (line 115) | PriorityNormal Priority = "normal" constant PriorityLow (line 116) | PriorityLow Priority = "low" type DeliveryType (line 120) | type DeliveryType constant DeliveryEmail (line 124) | DeliveryEmail DeliveryType = "email" constant DeliveryWebhook (line 125) | DeliveryWebhook DeliveryType = "webhook" constant DeliveryProcess (line 126) | DeliveryProcess DeliveryType = "process" constant DeliveryNotify (line 127) | DeliveryNotify DeliveryType = "notify" type DedupResult (line 131) | type DedupResult constant DedupSkip (line 135) | DedupSkip DedupResult = "skip" constant DedupMerge (line 136) | DedupMerge DedupResult = "merge" constant DedupProceed (line 137) | DedupProceed DedupResult = "proceed" type EventSource (line 141) | type EventSource constant EventWebhook (line 145) | EventWebhook EventSource = "webhook" constant EventDatabase (line 146) | EventDatabase EventSource = "database" type LearningType (line 150) | type LearningType constant LearnExecution (line 154) | LearnExecution LearningType = "execution" constant LearnFeedback (line 155) | LearnFeedback LearningType = "feedback" constant LearnInsight (line 156) | LearnInsight LearningType = "insight" type TaskSource (line 160) | type TaskSource constant TaskSourceAuto (line 164) | TaskSourceAuto TaskSource = "auto" constant TaskSourceHuman (line 165) | TaskSourceHuman TaskSource = "human" constant TaskSourceEvent (line 166) | TaskSourceEvent TaskSource = "event" type ExecutorType (line 170) | type ExecutorType constant ExecutorAssistant (line 174) | ExecutorAssistant ExecutorType = "assistant" constant ExecutorMCP (line 175) | ExecutorMCP ExecutorType = "mcp" constant ExecutorProcess (line 176) | ExecutorProcess ExecutorType = "process" type TaskStatus (line 180) | type TaskStatus constant TaskPending (line 184) | TaskPending TaskStatus = "pending" constant TaskRunning (line 185) | TaskRunning TaskStatus = "running" constant TaskCompleted (line 186) | TaskCompleted TaskStatus = "completed" constant TaskFailed (line 187) | TaskFailed TaskStatus = "failed" constant TaskSkipped (line 188) | TaskSkipped TaskStatus = "skipped" constant TaskCancelled (line 189) | TaskCancelled TaskStatus = "cancelled" constant TaskWaitingInput (line 190) | TaskWaitingInput TaskStatus = "waiting_input" type InsertPosition (line 194) | type InsertPosition constant InsertFirst (line 198) | InsertFirst InsertPosition = "first" constant InsertLast (line 199) | InsertLast InsertPosition = "last" constant InsertNext (line 200) | InsertNext InsertPosition = "next" constant InsertAt (line 201) | InsertAt InsertPosition = "at" type ExecutorMode (line 205) | type ExecutorMode method IsValid (line 244) | func (m ExecutorMode) IsValid() bool { method GetDefault (line 253) | func (m ExecutorMode) GetDefault() ExecutorMode { constant ExecutorStandard (line 210) | ExecutorStandard ExecutorMode = "standard" constant ExecutorDryRun (line 212) | ExecutorDryRun ExecutorMode = "dryrun" constant ExecutorSandbox (line 215) | ExecutorSandbox ExecutorMode = "sandbox" type HostAction (line 219) | type HostAction constant HostActionConfirm (line 223) | HostActionConfirm HostAction = "confirm" constant HostActionAdjust (line 224) | HostActionAdjust HostAction = "adjust" constant HostActionAddTask (line 225) | HostActionAddTask HostAction = "add_task" constant HostActionSkip (line 226) | HostActionSkip HostAction = "skip" constant HostActionInjectCtx (line 227) | HostActionInjectCtx HostAction = "inject_context" constant HostActionCancel (line 228) | HostActionCancel HostAction = "cancel" type InteractSource (line 232) | type InteractSource constant InteractSourceUI (line 236) | InteractSourceUI InteractSource = "ui" constant InteractSourceEmail (line 237) | InteractSourceEmail InteractSource = "email" constant InteractSourceWebhook (line 238) | InteractSourceWebhook InteractSource = "webhook" constant InteractSourceA2A (line 239) | InteractSourceA2A InteractSource = "a2a" constant InteractSourceCron (line 240) | InteractSourceCron InteractSource = "cron" FILE: agent/robot/types/enums_test.go function TestPhaseEnum (line 10) | func TestPhaseEnum(t *testing.T) { function TestAllPhases (line 19) | func TestAllPhases(t *testing.T) { function TestClockModeEnum (line 34) | func TestClockModeEnum(t *testing.T) { function TestTriggerTypeEnum (line 40) | func TestTriggerTypeEnum(t *testing.T) { function TestExecStatusEnum (line 46) | func TestExecStatusEnum(t *testing.T) { function TestRobotStatusEnum (line 55) | func TestRobotStatusEnum(t *testing.T) { function TestInterventionActionEnum (line 63) | func TestInterventionActionEnum(t *testing.T) { function TestPriorityEnum (line 84) | func TestPriorityEnum(t *testing.T) { function TestDeliveryTypeEnum (line 90) | func TestDeliveryTypeEnum(t *testing.T) { function TestDedupResultEnum (line 97) | func TestDedupResultEnum(t *testing.T) { function TestEventSourceEnum (line 103) | func TestEventSourceEnum(t *testing.T) { function TestLearningTypeEnum (line 108) | func TestLearningTypeEnum(t *testing.T) { function TestTaskSourceEnum (line 114) | func TestTaskSourceEnum(t *testing.T) { function TestExecutorTypeEnum (line 120) | func TestExecutorTypeEnum(t *testing.T) { function TestTaskStatusEnum (line 126) | func TestTaskStatusEnum(t *testing.T) { function TestInsertPositionEnum (line 135) | func TestInsertPositionEnum(t *testing.T) { function TestExecutorModeEnum (line 142) | func TestExecutorModeEnum(t *testing.T) { function TestExecutorModeIsValid (line 148) | func TestExecutorModeIsValid(t *testing.T) { function TestExecutorModeGetDefault (line 168) | func TestExecutorModeGetDefault(t *testing.T) { FILE: agent/robot/types/host.go type HostInput (line 6) | type HostInput struct type HostContext (line 15) | type HostContext struct type HostOutput (line 25) | type HostOutput struct FILE: agent/robot/types/host_test.go function TestHostInputJSON (line 11) | func TestHostInputJSON(t *testing.T) { function TestHostOutputJSON (line 34) | func TestHostOutputJSON(t *testing.T) { function TestHostOutputWithActionData (line 52) | func TestHostOutputWithActionData(t *testing.T) { FILE: agent/robot/types/inspiration.go type InspirationReport (line 4) | type InspirationReport struct FILE: agent/robot/types/interfaces.go type ExecutionControl (line 12) | type ExecutionControl interface type Manager (line 24) | type Manager interface type Executor (line 31) | type Executor interface type Pool (line 53) | type Pool interface type Cache (line 62) | type Cache interface type Dedup (line 72) | type Dedup interface type Store (line 78) | type Store interface FILE: agent/robot/types/request.go type InterveneRequest (line 10) | type InterveneRequest struct type EventRequest (line 20) | type EventRequest struct type ExecutionResult (line 29) | type ExecutionResult struct type RobotState (line 36) | type RobotState struct FILE: agent/robot/types/robot.go type Robot (line 15) | type Robot struct method CanRun (line 46) | func (r *Robot) CanRun() bool { method TryAcquireSlot (line 58) | func (r *Robot) TryAcquireSlot(exec *Execution) bool { method RunningCount (line 82) | func (r *Robot) RunningCount() int { method AddExecution (line 90) | func (r *Robot) AddExecution(exec *Execution) { method RemoveExecution (line 100) | func (r *Robot) RemoveExecution(execID string) { method GetExecution (line 107) | func (r *Robot) GetExecution(execID string) *Execution { method GetExecutions (line 114) | func (r *Robot) GetExecutions() []*Execution { method ActiveCount (line 125) | func (r *Robot) ActiveCount() int { method WaitingCount (line 138) | func (r *Robot) WaitingCount() int { method ListExecutionBriefs (line 151) | func (r *Robot) ListExecutionBriefs() []ExecBrief { method MaxQuota (line 177) | func (r *Robot) MaxQuota() int { type Execution (line 186) | type Execution struct method GetRobot (line 257) | func (e *Execution) GetRobot() *Robot { method SetRobot (line 262) | func (e *Execution) SetRobot(robot *Robot) { type ResumeContext (line 227) | type ResumeContext struct type ExecBrief (line 233) | type ExecBrief struct type RobotStatusSnapshot (line 245) | type RobotStatusSnapshot struct type TriggerInput (line 267) | type TriggerInput struct type CurrentState (line 284) | type CurrentState struct type Goals (line 302) | type Goals struct type DeliveryTarget (line 310) | type DeliveryTarget struct type Task (line 319) | type Task struct type TaskResult (line 349) | type TaskResult struct type ValidationResult (line 365) | type ValidationResult struct type DeliveryResult (line 380) | type DeliveryResult struct type DeliveryContent (line 390) | type DeliveryContent struct type DeliveryAttachment (line 397) | type DeliveryAttachment struct type DeliveryRequest (line 405) | type DeliveryRequest struct type DeliveryContext (line 411) | type DeliveryContext struct type DeliveryPreferences (line 419) | type DeliveryPreferences struct type EmailPreference (line 426) | type EmailPreference struct type EmailTarget (line 432) | type EmailTarget struct type WebhookPreference (line 439) | type WebhookPreference struct type WebhookTarget (line 445) | type WebhookTarget struct type ProcessPreference (line 453) | type ProcessPreference struct type ProcessTarget (line 459) | type ProcessTarget struct type ChannelResult (line 465) | type ChannelResult struct type LearningEntry (line 476) | type LearningEntry struct function NewRobotFromMap (line 484) | func NewRobotFromMap(m map[string]interface{}) (*Robot, error) { function getStringSlice (line 554) | func getStringSlice(v interface{}) []string { function getString (line 574) | func getString(m map[string]interface{}, key string) string { function getBool (line 588) | func getBool(m map[string]interface{}, key string) bool { FILE: agent/robot/types/robot_test.go function TestRobotCanRun (line 11) | func TestRobotCanRun(t *testing.T) { function TestRobotRunningCount (line 73) | func TestRobotRunningCount(t *testing.T) { function TestRobotAddExecution (line 97) | func TestRobotAddExecution(t *testing.T) { function TestRobotRemoveExecution (line 118) | func TestRobotRemoveExecution(t *testing.T) { function TestRobotGetExecution (line 136) | func TestRobotGetExecution(t *testing.T) { function TestRobotGetExecutions (line 161) | func TestRobotGetExecutions(t *testing.T) { function TestRobotConcurrentAccess (line 196) | func TestRobotConcurrentAccess(t *testing.T) { function TestRobotTryAcquireSlot (line 241) | func TestRobotTryAcquireSlot(t *testing.T) { function TestRobotTryAcquireSlotConcurrent (line 292) | func TestRobotTryAcquireSlotConcurrent(t *testing.T) { function TestRobotTryAcquireSlotRaceCondition (line 323) | func TestRobotTryAcquireSlotRaceCondition(t *testing.T) { function TestExecutionStructure (line 356) | func TestExecutionStructure(t *testing.T) { function TestTaskStructure (line 390) | func TestTaskStructure(t *testing.T) { function TestGoalsStructure (line 422) | func TestGoalsStructure(t *testing.T) { function TestTaskResultStructure (line 438) | func TestTaskResultStructure(t *testing.T) { function TestValidationResultStructure (line 459) | func TestValidationResultStructure(t *testing.T) { function TestValidationResultMultiTurnFields (line 475) | func TestValidationResultMultiTurnFields(t *testing.T) { function TestDeliveryResultStructure (line 534) | func TestDeliveryResultStructure(t *testing.T) { function TestDeliveryContentStructure (line 581) | func TestDeliveryContentStructure(t *testing.T) { function TestDeliveryAttachmentStructure (line 607) | func TestDeliveryAttachmentStructure(t *testing.T) { function TestDeliveryRequestStructure (line 621) | func TestDeliveryRequestStructure(t *testing.T) { function TestDeliveryPreferencesStructure (line 642) | func TestDeliveryPreferencesStructure(t *testing.T) { function TestChannelResultStructure (line 700) | func TestChannelResultStructure(t *testing.T) { function TestDeliveryTargetStructure (line 762) | func TestDeliveryTargetStructure(t *testing.T) { function TestLearningEntryStructure (line 779) | func TestLearningEntryStructure(t *testing.T) { FILE: agent/robot/utils/convert.go function ToString (line 13) | func ToString(v interface{}) string { function ToBool (line 60) | func ToBool(v interface{}) bool { function ToInt (line 98) | func ToInt(v interface{}) int { function ToInt64 (line 141) | func ToInt64(v interface{}) int64 { function ToFloat64 (line 184) | func ToFloat64(v interface{}) float64 { function ToTimestamp (line 228) | func ToTimestamp(v interface{}) *time.Time { function ToJSONValue (line 271) | func ToJSONValue(v interface{}) interface{} { function GetString (line 306) | func GetString(m map[string]interface{}, key string) string { function GetBool (line 317) | func GetBool(m map[string]interface{}, key string) bool { function GetInt (line 328) | func GetInt(m map[string]interface{}, key string) int { function GetInt64 (line 339) | func GetInt64(m map[string]interface{}, key string) int64 { function GetFloat64 (line 350) | func GetFloat64(m map[string]interface{}, key string) float64 { function GetTimestamp (line 361) | func GetTimestamp(m map[string]interface{}, key string) *time.Time { function GetJSONValue (line 372) | func GetJSONValue(m map[string]interface{}, key string) interface{} { function ToJSON (line 385) | func ToJSON(v interface{}) (string, error) { function FromJSON (line 394) | func FromJSON(jsonStr string, target interface{}) error { function ToMap (line 399) | func ToMap(v interface{}) (map[string]interface{}, error) { function FromMap (line 412) | func FromMap(m map[string]interface{}, target interface{}) error { function MergeMap (line 423) | func MergeMap(target, source map[string]interface{}) map[string]interfac... function CloneMap (line 434) | func CloneMap(m map[string]interface{}) map[string]interface{} { FILE: agent/robot/utils/convert_test.go function TestToBool (line 13) | func TestToBool(t *testing.T) { function TestToInt (line 55) | func TestToInt(t *testing.T) { function TestToInt64 (line 86) | func TestToInt64(t *testing.T) { function TestToFloat64 (line 108) | func TestToFloat64(t *testing.T) { function TestToTimestamp (line 140) | func TestToTimestamp(t *testing.T) { function TestToJSONValue (line 207) | func TestToJSONValue(t *testing.T) { function TestGetString (line 275) | func TestGetString(t *testing.T) { function TestGetBool (line 308) | func TestGetBool(t *testing.T) { function TestGetInt (line 346) | func TestGetInt(t *testing.T) { function TestGetInt64 (line 379) | func TestGetInt64(t *testing.T) { function TestGetFloat64 (line 403) | func TestGetFloat64(t *testing.T) { function TestGetTimestamp (line 427) | func TestGetTimestamp(t *testing.T) { function TestGetJSONValue (line 481) | func TestGetJSONValue(t *testing.T) { function TestToStringExtended (line 532) | func TestToStringExtended(t *testing.T) { FILE: agent/robot/utils/id.go function NewID (line 8) | func NewID() string { function NewIDWithPrefix (line 18) | func NewIDWithPrefix(prefix string) string { FILE: agent/robot/utils/time.go function ParseTime (line 11) | func ParseTime(timeStr string) (hour, minute int, err error) { function FormatTime (line 31) | func FormatTime(hour, minute int) string { function LoadLocation (line 36) | func LoadLocation(tz string) *time.Location { function ParseDuration (line 48) | func ParseDuration(durStr string, defaultDur time.Duration) time.Duration { function IsTimeMatch (line 60) | func IsTimeMatch(now time.Time, timeStr string, loc *time.Location) bool { function IsDayMatch (line 72) | func IsDayMatch(now time.Time, days []string) bool { function NextScheduledTime (line 88) | func NextScheduledTime(now time.Time, timeStr string, days []string, loc... FILE: agent/robot/utils/utils_test.go function TestNewID (line 12) | func TestNewID(t *testing.T) { function TestNewIDWithPrefix (line 21) | func TestNewIDWithPrefix(t *testing.T) { function TestParseTime (line 28) | func TestParseTime(t *testing.T) { function TestFormatTime (line 52) | func TestFormatTime(t *testing.T) { function TestLoadLocation (line 60) | func TestLoadLocation(t *testing.T) { function TestParseDuration (line 78) | func TestParseDuration(t *testing.T) { function TestIsTimeMatch (line 95) | func TestIsTimeMatch(t *testing.T) { function TestIsDayMatch (line 113) | func TestIsDayMatch(t *testing.T) { function TestToJSON (line 134) | func TestToJSON(t *testing.T) { function TestFromJSON (line 146) | func TestFromJSON(t *testing.T) { function TestToMap (line 157) | func TestToMap(t *testing.T) { function TestFromMap (line 171) | func TestFromMap(t *testing.T) { function TestToString (line 190) | func TestToString(t *testing.T) { function TestMergeMap (line 196) | func TestMergeMap(t *testing.T) { function TestCloneMap (line 212) | func TestCloneMap(t *testing.T) { function TestIsEmpty (line 226) | func TestIsEmpty(t *testing.T) { function TestIsValidEmail (line 231) | func TestIsValidEmail(t *testing.T) { function TestIsValidTime (line 239) | func TestIsValidTime(t *testing.T) { function TestValidateRequired (line 248) | func TestValidateRequired(t *testing.T) { function TestValidateRange (line 270) | func TestValidateRange(t *testing.T) { function TestValidateOneOf (line 287) | func TestValidateOneOf(t *testing.T) { FILE: agent/robot/utils/validate.go function IsEmpty (line 17) | func IsEmpty(s string) bool { function IsValidEmail (line 22) | func IsValidEmail(email string) bool { function IsValidTime (line 27) | func IsValidTime(timeStr string) bool { function ValidateRequired (line 32) | func ValidateRequired(fieldName string, value interface{}) error { function ValidateRange (line 56) | func ValidateRange(fieldName string, value, min, max int) error { function ValidateOneOf (line 64) | func ValidateOneOf(fieldName string, value string, allowed []string) err... function ValidateEmail (line 74) | func ValidateEmail(fieldName string, email string) error { function ValidateTimeFormat (line 82) | func ValidateTimeFormat(fieldName string, timeStr string) error { FILE: agent/sandbox/claude/attachments_test.go function TestExtensionFromContentType (line 16) | func TestExtensionFromContentType(t *testing.T) { function TestFormatFileSize (line 45) | func TestFormatFileSize(t *testing.T) { function TestPrepareAttachmentsPlainText (line 68) | func TestPrepareAttachmentsPlainText(t *testing.T) { function TestPrepareAttachmentsMultimodalNoWrapper (line 111) | func TestPrepareAttachmentsMultimodalNoWrapper(t *testing.T) { function TestPrepareAttachmentsTextOnlyMultimodal (line 163) | func TestPrepareAttachmentsTextOnlyMultimodal(t *testing.T) { function TestPrepareAttachmentsInvalidWrapperURL (line 208) | func TestPrepareAttachmentsInvalidWrapperURL(t *testing.T) { function TestPrepareAttachmentsMixedRoles (line 259) | func TestPrepareAttachmentsMixedRoles(t *testing.T) { FILE: agent/sandbox/claude/command.go constant sandboxEnvPrompt (line 14) | sandboxEnvPrompt = `## Sandbox Environment function BuildCommand (line 63) | func BuildCommand(messages []agentContext.Message, opts *Options) ([]str... function BuildCommandWithContinuation (line 69) | func BuildCommandWithContinuation(messages []agentContext.Message, opts ... function BuildInputJSONL (line 177) | func BuildInputJSONL(messages []agentContext.Message) ([]byte, error) { function BuildFirstRequestJSONL (line 183) | func BuildFirstRequestJSONL(messages []agentContext.Message) ([]byte, er... function BuildLastUserMessageJSONL (line 221) | func BuildLastUserMessageJSONL(messages []agentContext.Message) ([]byte,... function buildPrompts (line 259) | func buildPrompts(messages []agentContext.Message) (systemPrompt string,... function getMessageContent (line 292) | func getMessageContent(msg agentContext.Message) string { function buildEnvironment (line 321) | func buildEnvironment(opts *Options, systemPrompt string) map[string]str... function BuildProxyConfig (line 385) | func BuildProxyConfig(opts *Options) ([]byte, error) { function BuildCCRConfig (line 417) | func BuildCCRConfig(opts *Options) ([]byte, error) { FILE: agent/sandbox/claude/command_test.go function TestBuildCommand (line 12) | func TestBuildCommand(t *testing.T) { function TestBuildCommandWithSystemPrompt (line 45) | func TestBuildCommandWithSystemPrompt(t *testing.T) { function TestBuildCommandWithSpecialCharsInPrompt (line 67) | func TestBuildCommandWithSpecialCharsInPrompt(t *testing.T) { function TestBuildCommandWithArguments (line 86) | func TestBuildCommandWithArguments(t *testing.T) { function TestBuildProxyConfig (line 109) | func TestBuildProxyConfig(t *testing.T) { function TestBuildProxyConfigVolcengine (line 130) | func TestBuildProxyConfigVolcengine(t *testing.T) { function TestBuildInputJSONL (line 146) | func TestBuildInputJSONL(t *testing.T) { function TestBuildInputJSONLMultimodal (line 179) | func TestBuildInputJSONLMultimodal(t *testing.T) { function TestGetMessageContent (line 207) | func TestGetMessageContent(t *testing.T) { function splitLines (line 228) | func splitLines(s string) []string { FILE: agent/sandbox/claude/e2e_test.go function TestE2ESkipClaudeCLI (line 22) | func TestE2ESkipClaudeCLI(t *testing.T) { function TestE2EExecuteClaudeCLI (line 76) | func TestE2EExecuteClaudeCLI(t *testing.T) { function TestE2EBuildInputJSONLIntegration (line 182) | func TestE2EBuildInputJSONLIntegration(t *testing.T) { function TestE2EBuildCommand (line 212) | func TestE2EBuildCommand(t *testing.T) { function truncate (line 270) | func truncate(s string, maxLen int) string { FILE: agent/sandbox/claude/executor.go type Options (line 25) | type Options struct type Executor (line 47) | type Executor struct method SetLoadingMsgID (line 110) | func (e *Executor) SetLoadingMsgID(id string) { method Stream (line 115) | func (e *Executor) Stream(ctx *agentContext.Context, messages []agentC... method shouldSkipClaudeCLI (line 276) | func (e *Executor) shouldSkipClaudeCLI() bool { method hasExistingSession (line 288) | func (e *Executor) hasExistingSession(ctx context.Context) bool { method prepareEnvironment (line 303) | func (e *Executor) prepareEnvironment(ctx context.Context) error { method startClaudeProxy (line 329) | func (e *Executor) startClaudeProxy(ctx context.Context) error { method writeMCPConfig (line 387) | func (e *Executor) writeMCPConfig(ctx context.Context) error { method copySkillsDirectory (line 402) | func (e *Executor) copySkillsDirectory(ctx context.Context) error { method prepareAttachments (line 432) | func (e *Executor) prepareAttachments(ctx context.Context, messages []... method resolveAttachment (line 581) | func (e *Executor) resolveAttachment( method Execute (line 692) | func (e *Executor) Execute(ctx *agentContext.Context, messages []agent... method createDebugReader (line 722) | func (e *Executor) createDebugReader(ctx context.Context, reader io.Re... method parseStream (line 751) | func (e *Executor) parseStream(ctx *agentContext.Context, reader io.Re... method ReadFile (line 1325) | func (e *Executor) ReadFile(ctx context.Context, path string) ([]byte,... method WriteFile (line 1334) | func (e *Executor) WriteFile(ctx context.Context, path string, content... method ListDir (line 1343) | func (e *Executor) ListDir(ctx context.Context, path string) ([]infraS... method Exec (line 1353) | func (e *Executor) Exec(ctx context.Context, cmd []string) (string, er... method GetWorkDir (line 1369) | func (e *Executor) GetWorkDir() string { method GetSandboxID (line 1374) | func (e *Executor) GetSandboxID() string { method GetVNCUrl (line 1383) | func (e *Executor) GetVNCUrl() string { method Close (line 1404) | func (e *Executor) Close() error { function NewExecutor (line 56) | func NewExecutor(manager *infraSandbox.Manager, opts interface{}) (*Exec... function extensionFromContentType (line 649) | func extensionFromContentType(contentType string) string { function formatFileSize (line 681) | func formatFileSize(bytes int) string { type debugWriter (line 697) | type debugWriter struct method Read (line 703) | func (d *debugWriter) Read(p []byte) (n int, err error) { method Close (line 713) | func (d *debugWriter) Close() error { function truncateStr (line 1170) | func truncateStr(s string, maxLen int) string { function getToolDescription (line 1178) | func getToolDescription(toolName string, locale string) string { function getToolDetailedDescription (line 1210) | func getToolDetailedDescription(toolName string, inputJSON string, local... function getString (line 1413) | func getString(m map[string]interface{}, key string) string { FILE: agent/sandbox/claude/executor_test.go function createTestManager (line 19) | func createTestManager(t *testing.T) *infraSandbox.Manager { function TestNewClaudeExecutor (line 39) | func TestNewClaudeExecutor(t *testing.T) { function TestClaudeExecutorMissingRequiredFields (line 68) | func TestClaudeExecutorMissingRequiredFields(t *testing.T) { function TestClaudeExecutorFileOperations (line 95) | func TestClaudeExecutorFileOperations(t *testing.T) { function TestClaudeExecutorExec (line 144) | func TestClaudeExecutorExec(t *testing.T) { function TestClaudeExecutorMCPConfigWrite (line 174) | func TestClaudeExecutorMCPConfigWrite(t *testing.T) { function TestClaudeExecutorSkillsCopy (line 221) | func TestClaudeExecutorSkillsCopy(t *testing.T) { function TestClaudeExecutorPrepareEnvironmentIntegration (line 294) | func TestClaudeExecutorPrepareEnvironmentIntegration(t *testing.T) { function TestClaudeExecutorIPCSocketMount (line 360) | func TestClaudeExecutorIPCSocketMount(t *testing.T) { FILE: agent/sandbox/claude/real_e2e_test.go function TestRealClaudeCLIExecution (line 23) | func TestRealClaudeCLIExecution(t *testing.T) { function TestClaudeCLIDirectExecution (line 193) | func TestClaudeCLIDirectExecution(t *testing.T) { FILE: agent/sandbox/claude/types.go type StreamMessage (line 4) | type StreamMessage struct type ToolCall (line 12) | type ToolCall struct type ToolResult (line 19) | type ToolResult struct type CLIResponse (line 26) | type CLIResponse struct type Usage (line 34) | type Usage struct FILE: agent/sandbox/executor.go function New (line 11) | func New(manager *infraSandbox.Manager, opts *Options) (Executor, error) { FILE: agent/sandbox/executor_test.go function createTestManager (line 15) | func createTestManager(t *testing.T) *infraSandbox.Manager { function TestNewExecutorWithInvalidOptions (line 35) | func TestNewExecutorWithInvalidOptions(t *testing.T) { function TestNewExecutorWithValidOptions (line 60) | func TestNewExecutorWithValidOptions(t *testing.T) { function TestDefaultImageIsSetWhenEmpty (line 89) | func TestDefaultImageIsSetWhenEmpty(t *testing.T) { function TestCursorExecutorNotImplemented (line 114) | func TestCursorExecutorNotImplemented(t *testing.T) { FILE: agent/sandbox/integration_test.go function createIntegrationTestManager (line 17) | func createIntegrationTestManager(t *testing.T) *infraSandbox.Manager { function TestExecutorInterfaceCompatibility (line 36) | func TestExecutorInterfaceCompatibility(t *testing.T) { function TestExecutorRoundTrip (line 95) | func TestExecutorRoundTrip(t *testing.T) { function TestMultipleExecutorsIsolation (line 158) | func TestMultipleExecutorsIsolation(t *testing.T) { FILE: agent/sandbox/types.go type Executor (line 14) | type Executor interface type Options (line 50) | type Options struct type SandboxConfig (line 111) | type SandboxConfig struct function DefaultImage (line 130) | func DefaultImage(command string) string { function IsValidCommand (line 145) | func IsValidCommand(command string) bool { FILE: agent/sandbox/types_test.go function TestDefaultImage (line 9) | func TestDefaultImage(t *testing.T) { function TestIsValidCommand (line 27) | func TestIsValidCommand(t *testing.T) { function TestOptionsValidation (line 46) | func TestOptionsValidation(t *testing.T) { function TestSandboxConfigParsing (line 70) | func TestSandboxConfigParsing(t *testing.T) { FILE: agent/sandbox/v2/claude/attachments.go function prepareAttachments (line 17) | func prepareAttachments(ctx context.Context, messages []agentContext.Mes... function resolveAttachment (line 134) | func resolveAttachment( function extensionFromContentType (line 185) | func extensionFromContentType(contentType string) string { function formatFileSize (line 216) | func formatFileSize(bytes int) string { FILE: agent/sandbox/v2/claude/oscompat.go type osEnv (line 15) | type osEnv struct method isWindows (line 23) | func (e *osEnv) isWindows() bool { method shellCmd (line 47) | func (e *osEnv) shellCmd(script string) []string { method mkdirCmd (line 62) | func (e *osEnv) mkdirCmd(dir string) string { method listDirCmd (line 70) | func (e *osEnv) listDirCmd(dir string) []string { method killProcessCmd (line 80) | func (e *osEnv) killProcessCmd(pattern string) []string { method rootDir (line 93) | func (e *osEnv) rootDir() string { method pathJoin (line 101) | func (e *osEnv) pathJoin(parts ...string) string { method buildCLIScript (line 111) | func (e *osEnv) buildCLIScript(args []string, systemPrompt, inputJSONL... method buildBashScript (line 121) | func (e *osEnv) buildBashScript(args []string, systemPrompt, inputJSON... method buildPowerShellScript (line 151) | func (e *osEnv) buildPowerShellScript(args []string, systemPrompt, inp... function resolveOSEnv (line 29) | func resolveOSEnv(computer infra.Computer, _ *types.SandboxConfig) *osEnv { FILE: agent/sandbox/v2/claude/parse.go function parseStreamJSON (line 26) | func parseStreamJSON(ctx context.Context, stdout io.ReadCloser, handler ... function buildFirstRequestJSONL (line 348) | func buildFirstRequestJSONL(messages []agentContext.Message) string { function buildLastUserMessageJSONL (line 372) | func buildLastUserMessageJSONL(messages []agentContext.Message) string { FILE: agent/sandbox/v2/claude/runner.go constant defaultProxyPort (line 20) | defaultProxyPort = 3456 type ClaudeRunner (line 23) | type ClaudeRunner struct method Name (line 38) | func (r *ClaudeRunner) Name() string { return "claude" } method Prepare (line 41) | func (r *ClaudeRunner) Prepare(ctx context.Context, req *types.Prepare... method Stream (line 81) | func (r *ClaudeRunner) Stream(ctx context.Context, req *types.StreamRe... method Cleanup (line 194) | func (r *ClaudeRunner) Cleanup(ctx context.Context, computer infra.Com... method buildCLICommand (line 223) | func (r *ClaudeRunner) buildCLICommand(req *types.StreamRequest, oe *o... function New (line 34) | func New() *ClaudeRunner { function hasExistingSession (line 213) | func hasExistingSession(ctx context.Context, computer infra.Computer, oe... function buildMCPConfig (line 351) | func buildMCPConfig(servers []types.MCPServer) []byte { function buildMCPAllowedTools (line 375) | func buildMCPAllowedTools(servers []types.MCPServer) string { function buildSandboxEnvPrompt (line 389) | func buildSandboxEnvPrompt(oe *osEnv) string { FILE: agent/sandbox/v2/claude/runner_test.go type e2eCase (line 24) | type e2eCase struct function TestSandboxV2_Claude_E2E (line 38) | func TestSandboxV2_Claude_E2E(t *testing.T) { function TestSandboxV2_Claude_Attachments (line 138) | func TestSandboxV2_Claude_Attachments(t *testing.T) { function uploadTestFile (line 247) | func uploadTestFile(t *testing.T, manager *attachment.Manager, testdataD... function mapKeys (line 270) | func mapKeys(m map[string]interface{}) []string { FILE: agent/sandbox/v2/claude/testdata/code.ts class Excel (line 6) | class Excel { method constructor (line 13) | constructor(private file: string, writable: boolean = false) { method Heads (line 24) | static Heads( method Heads (line 41) | Heads(n: number = 5, filters: string[] = []): Record { method Exists (line 102) | static Exists(file: string, sheet: string) { method Open (line 114) | Open(writable: boolean = false) { method Close (line 123) | Close() { method Save (line 134) | Save() { method Sheets (line 144) | Sheets() { class Volcengine (line 562) | class Volcengine { method constructor (line 568) | constructor(option: Option) { method Get (line 578) | public Get(query: Record) { method Post (line 614) | public Post(query: Record, payload: Record type AgentReporter (line 518) | type AgentReporter struct method SetContext (line 535) | func (r *AgentReporter) SetContext(ctx *context.Context) { method Generate (line 540) | func (r *AgentReporter) Generate(report *Report) error { method Write (line 545) | func (r *AgentReporter) Write(report *Report, w io.Writer) error { method extractContent (line 621) | func (r *AgentReporter) extractContent(response *context.Response) (st... method contentToString (line 640) | func (r *AgentReporter) contentToString(content interface{}) (string, ... function NewAgentReporter (line 526) | func NewAgentReporter(agentID, format string, verbose bool) *AgentReport... function GetReporter (line 656) | func GetReporter(format OutputFormat) Reporter { function GetReporterFromPath (line 670) | func GetReporterFromPath(outputPath string) Reporter { function GetReporterWithAgent (line 677) | func GetReporterWithAgent(agentID, outputPath string, verbose bool) Repo... FILE: agent/test/resolver.go type PathResolver (line 15) | type PathResolver struct method Resolve (line 24) | func (r *PathResolver) Resolve(opts *Options) (*AgentInfo, error) { method ResolveFromCwd (line 44) | func (r *PathResolver) ResolveFromCwd() (*AgentInfo, error) { method ResolveFromPath (line 60) | func (r *PathResolver) ResolveFromPath(inputPath string) (*AgentInfo, ... method ResolveByID (line 123) | func (r *PathResolver) ResolveByID(agentID string) (*AgentInfo, error) { method loadAgentFromPath (line 133) | func (r *PathResolver) loadAgentFromPath(agentDir, packagePath string)... function NewResolver (line 18) | func NewResolver() Resolver { type PackageYao (line 160) | type PackageYao struct function deriveAgentID (line 171) | func deriveAgentID(dir string) string { function GetOutputFormat (line 194) | func GetOutputFormat(outputPath string) OutputFormat { function ValidateOptions (line 209) | func ValidateOptions(opts *Options) error { function DefaultOptions (line 239) | func DefaultOptions() *Options { function DetectInputMode (line 254) | func DetectInputMode(input string) InputMode { function MergeOptions (line 277) | func MergeOptions(opts *Options, defaults *Options) *Options { function GenerateDefaultOutputPath (line 333) | func GenerateDefaultOutputPath(inputPath string) string { function ResolveOutputPath (line 346) | func ResolveOutputPath(opts *Options) string { function CreateTestCaseFromMessage (line 361) | func CreateTestCaseFromMessage(message string) *Case { function ResolvePathWithYaoRoot (line 370) | func ResolvePathWithYaoRoot(path string) string { FILE: agent/test/runner.go type Executor (line 20) | type Executor struct method Run (line 41) | func (r *Executor) Run() (*Report, error) { method RunScriptTests (line 56) | func (r *Executor) RunScriptTests() (*Report, error) { method RunDirect (line 84) | func (r *Executor) RunDirect() (*Report, error) { method RunTests (line 156) | func (r *Executor) RunTests() (*Report, error) { method runSingleTests (line 361) | func (r *Executor) runSingleTests(ast *assistant.Assistant, testCases ... method runParallel (line 385) | func (r *Executor) runParallel(ast *assistant.Assistant, testCases []*... method runSingleTest (line 406) | func (r *Executor) runSingleTest(ast *assistant.Assistant, tc *Case, a... method runDynamicTest (line 525) | func (r *Executor) runDynamicTest(ast *assistant.Assistant, tc *Case, ... method runStabilityTests (line 588) | func (r *Executor) runStabilityTests(ast *assistant.Assistant, testCas... method calculateSingleSummary (line 632) | func (r *Executor) calculateSingleSummary(report *Report) { method calculateStabilitySummary (line 648) | func (r *Executor) calculateStabilitySummary(report *Report) { method writeOutput (line 669) | func (r *Executor) writeOutput(report *Report) error { method getInputOptions (line 875) | func (r *Executor) getInputOptions() *InputOptions { method outputDryRun (line 890) | func (r *Executor) outputDryRun(testCases []*Case, agentInfo *AgentInf... function NewRunner (line 30) | func NewRunner(opts *Options) *Executor { function isBeforeError (line 575) | func isBeforeError(errMsg string) bool { function min (line 580) | func min(a, b int) int { function buildContextOptions (line 693) | func buildContextOptions(tc *Case, runnerOpts *Options) *context.Options { function extractOutput (line 747) | func extractOutput(response *context.Response) interface{} { function extractToolResultMessage (line 777) | func extractToolResultMessage(tools []context.ToolCallResponse) interfac... function isEmptyValue (line 831) | func isEmptyValue(v interface{}) bool { function validateOutput (line 861) | func validateOutput(actual, expected interface{}) bool { FILE: agent/test/runner_integration_test.go function TestRunner_AgentDrivenInput (line 19) | func TestRunner_AgentDrivenInput(t *testing.T) { function TestRunner_AgentDrivenInput_DryRun (line 50) | func TestRunner_AgentDrivenInput_DryRun(t *testing.T) { function TestRunner_FileInput (line 81) | func TestRunner_FileInput(t *testing.T) { function TestRunner_DirectMessage (line 130) | func TestRunner_DirectMessage(t *testing.T) { function TestRunner_WithBeforeAfter (line 159) | func TestRunner_WithBeforeAfter(t *testing.T) { function TestRunner_Parallel (line 197) | func TestRunner_Parallel(t *testing.T) { function TestRunner_FailFast (line 240) | func TestRunner_FailFast(t *testing.T) { FILE: agent/test/script.go type ScriptRunner (line 18) | type ScriptRunner struct method filterTests (line 184) | func (r *ScriptRunner) filterTests(tests []*ScriptTestCase, pattern st... method Run (line 201) | func (r *ScriptRunner) Run() (*ScriptTestReport, error) { method runScriptTest (line 314) | func (r *ScriptRunner) runScriptTest(tc *ScriptTestCase, scriptInfo *S... method loadAllScripts (line 370) | func (r *ScriptRunner) loadAllScripts(srcDir string) (int, error) { method executeTestFunction (line 441) | func (r *ScriptRunner) executeTestFunction(tc *ScriptTestCase, scriptI... function NewScriptRunner (line 24) | func NewScriptRunner(opts *Options) *ScriptRunner { function ResolveScript (line 41) | func ResolveScript(input string) (*ScriptInfo, error) { function DiscoverTests (line 130) | func DiscoverTests(scriptPath string) ([]*ScriptTestCase, error) { function extractFunctionName (line 162) | func extractFunctionName(line string) string { function generateTestScriptID (line 422) | func generateTestScriptID(filePath string, srcDir string) string { function RegisterTestingGlobals (line 541) | func RegisterTestingGlobals() { function testingLogEmbed (line 546) | func testingLogEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { FILE: agent/test/script_assert.go type TestingT (line 17) | type TestingT struct method Name (line 39) | func (t *TestingT) Name() string { method Failed (line 44) | func (t *TestingT) Failed() bool { method Skipped (line 51) | func (t *TestingT) Skipped() bool { method Logs (line 58) | func (t *TestingT) Logs() []string { method Errors (line 65) | func (t *TestingT) Errors() []string { method AssertionInfo (line 72) | func (t *TestingT) AssertionInfo() *ScriptAssertionInfo { method log (line 79) | func (t *TestingT) log(msg string) { method fail (line 86) | func (t *TestingT) fail(msg string, info *ScriptAssertionInfo) { method skip (line 97) | func (t *TestingT) skip(reason string) { method logMethod (line 150) | func (t *TestingT) logMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method errorMethod (line 163) | func (t *TestingT) errorMethod(iso *v8go.Isolate) *v8go.FunctionTempla... method skipMethod (line 177) | func (t *TestingT) skipMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method failMethod (line 189) | func (t *TestingT) failMethod(iso *v8go.Isolate) *v8go.FunctionTemplate { method fatalMethod (line 202) | func (t *TestingT) fatalMethod(iso *v8go.Isolate) *v8go.FunctionTempla... function NewTestingT (line 30) | func NewTestingT(name string) *TestingT { function NewTestingTObject (line 107) | func NewTestingTObject(v8ctx *v8go.Context, t *TestingT) (*v8go.Value, e... function newAssertObject (line 216) | func newAssertObject(v8ctx *v8go.Context, t *TestingT) (*v8go.Value, err... function getMessage (line 277) | func getMessage(args []*v8go.Value, startIdx int) string { function assertTrueMethod (line 285) | func assertTrueMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTemp... function assertFalseMethod (line 313) | func assertFalseMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function assertEqualMethod (line 341) | func assertEqualMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function assertNotEqualMethod (line 371) | func assertNotEqualMethod(iso *v8go.Isolate, t *TestingT) *v8go.Function... function assertNilMethod (line 401) | func assertNilMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTempl... function assertNotNilMethod (line 429) | func assertNotNilMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTe... function assertContainsMethod (line 456) | func assertContainsMethod(iso *v8go.Isolate, t *TestingT) *v8go.Function... function assertNotContainsMethod (line 485) | func assertNotContainsMethod(iso *v8go.Isolate, t *TestingT) *v8go.Funct... function assertLenMethod (line 514) | func assertLenMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTempl... function assertGreaterMethod (line 546) | func assertGreaterMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionT... function assertGreaterOrEqualMethod (line 575) | func assertGreaterOrEqualMethod(iso *v8go.Isolate, t *TestingT) *v8go.Fu... function assertLessMethod (line 604) | func assertLessMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTemp... function assertLessOrEqualMethod (line 633) | func assertLessOrEqualMethod(iso *v8go.Isolate, t *TestingT) *v8go.Funct... function assertErrorMethod (line 662) | func assertErrorMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function assertNoErrorMethod (line 690) | func assertNoErrorMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionT... function assertPanicMethod (line 718) | func assertPanicMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function assertNoPanicMethod (line 753) | func assertNoPanicMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionT... function assertMatchMethod (line 789) | func assertMatchMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function assertNotMatchMethod (line 827) | func assertNotMatchMethod(iso *v8go.Isolate, t *TestingT) *v8go.Function... function assertTypeMethod (line 865) | func assertTypeMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTemp... function assertJSONPathMethod (line 896) | func assertJSONPathMethod(iso *v8go.Isolate, t *TestingT) *v8go.Function... function assertAgentMethod (line 933) | func assertAgentMethod(iso *v8go.Isolate, t *TestingT) *v8go.FunctionTem... function deepEqual (line 997) | func deepEqual(a, b interface{}) bool { function getLength (line 1018) | func getLength(v interface{}) int { function getJsType (line 1041) | func getJsType(v *v8go.Value) string { FILE: agent/test/script_hooks.go type HookExecutor (line 17) | type HookExecutor struct method SetAgentContext (line 35) | func (h *HookExecutor) SetAgentContext(ctx *context.Context) { method SetOptions (line 40) | func (h *HookExecutor) SetOptions(opts *Options) { method LoadTestScripts (line 92) | func (h *HookExecutor) LoadTestScripts(agentPath string) ([]string, er... method FindTestScript (line 178) | func (h *HookExecutor) FindTestScript(scriptFile string) (*v8.Script, ... method ExecuteBefore (line 201) | func (h *HookExecutor) ExecuteBefore(ref string, testCase *Case, agent... method ExecuteAfter (line 227) | func (h *HookExecutor) ExecuteAfter(ref string, testCase *Case, result... method ExecuteBeforeAll (line 254) | func (h *HookExecutor) ExecuteBeforeAll(ref string, testCases []*Case,... method ExecuteAfterAll (line 280) | func (h *HookExecutor) ExecuteAfterAll(ref string, results []*Result, ... method executeHookFunction (line 307) | func (h *HookExecutor) executeHookFunction(script *v8.Script, funcName... method executeHookFunctionWithCases (line 381) | func (h *HookExecutor) executeHookFunctionWithCases(script *v8.Script,... method executeHookFunctionWithResults (line 449) | func (h *HookExecutor) executeHookFunctionWithResults(script *v8.Scrip... method setShareData (line 517) | func (h *HookExecutor) setShareData(v8ctx *v8go.Context) error { method buildCtxArg (line 532) | func (h *HookExecutor) buildCtxArg(v8ctx *v8go.Context) (*v8go.Value, ... method buildHookArgs (line 569) | func (h *HookExecutor) buildHookArgs(v8ctx *v8go.Context, testCase *Ca... method testCasesToJS (line 691) | func (h *HookExecutor) testCasesToJS(v8ctx *v8go.Context, testCases []... method resultsToJS (line 707) | func (h *HookExecutor) resultsToJS(v8ctx *v8go.Context, results []*Res... function NewHookExecutor (line 26) | func NewHookExecutor(verbose bool) *HookExecutor { type HookRef (line 46) | type HookRef struct function ParseHookRef (line 56) | func ParseHookRef(ref string) (*HookRef, error) { function generateHookScriptID (line 165) | func generateHookScriptID(filePath string, srcDir string) string { FILE: agent/test/script_hooks_test.go constant hooksTestAgent (line 13) | hooksTestAgent = "assistants/tests/hooks-test" function TestParseHookRef (line 15) | func TestParseHookRef(t *testing.T) { function TestHookExecutorLoadTestScripts (line 68) | func TestHookExecutorLoadTestScripts(t *testing.T) { function TestHookExecutorExecuteBefore (line 90) | func TestHookExecutorExecuteBefore(t *testing.T) { function TestHookExecutorExecuteAfter (line 118) | func TestHookExecutorExecuteAfter(t *testing.T) { function TestHookExecutorExecuteBeforeAll (line 150) | func TestHookExecutorExecuteBeforeAll(t *testing.T) { function TestHookExecutorExecuteAfterAll (line 178) | func TestHookExecutorExecuteAfterAll(t *testing.T) { function TestHookExecutorFunctionNotFound (line 204) | func TestHookExecutorFunctionNotFound(t *testing.T) { function TestHookExecutorScriptNotFound (line 225) | func TestHookExecutorScriptNotFound(t *testing.T) { FILE: agent/test/script_types.go type ScriptInfo (line 6) | type ScriptInfo struct type ScriptTestCase (line 24) | type ScriptTestCase struct type ScriptTestResult (line 33) | type ScriptTestResult struct type ScriptAssertionInfo (line 54) | type ScriptAssertionInfo struct type ScriptTestSummary (line 69) | type ScriptTestSummary struct type ScriptTestReport (line 87) | type ScriptTestReport struct method HasFailures (line 123) | func (r *ScriptTestReport) HasFailures() bool { method PassRate (line 128) | func (r *ScriptTestReport) PassRate() float64 { method ToReport (line 136) | func (r *ScriptTestReport) ToReport() *Report { method toResults (line 158) | func (r *ScriptTestReport) toResults() []*Result { type ScriptTestMetadata (line 111) | type ScriptTestMetadata struct FILE: agent/test/types.go type Status (line 14) | type Status constant StatusPassed (line 18) | StatusPassed Status = "passed" constant StatusFailed (line 20) | StatusFailed Status = "failed" constant StatusSkipped (line 22) | StatusSkipped Status = "skipped" constant StatusError (line 24) | StatusError Status = "error" constant StatusTimeout (line 26) | StatusTimeout Status = "timeout" type OutputFormat (line 30) | type OutputFormat constant FormatJSON (line 34) | FormatJSON OutputFormat = "json" constant FormatHTML (line 36) | FormatHTML OutputFormat = "html" constant FormatMarkdown (line 38) | FormatMarkdown OutputFormat = "markdown" type StabilityClass (line 42) | type StabilityClass constant StabilityStable (line 46) | StabilityStable StabilityClass = "stable" constant StabilityMostlyStable (line 48) | StabilityMostlyStable StabilityClass = "mostly_stable" constant StabilityUnstable (line 50) | StabilityUnstable StabilityClass = "unstable" constant StabilityHighlyUnstable (line 52) | StabilityHighlyUnstable StabilityClass = "highly_unstable" type InputMode (line 56) | type InputMode constant InputModeFile (line 60) | InputModeFile InputMode = "file" constant InputModeMessage (line 62) | InputModeMessage InputMode = "message" constant InputModeScript (line 64) | InputModeScript InputMode = "script" type Options (line 68) | type Options struct type ContextConfig (line 167) | type ContextConfig struct type AuthorizedConfig (line 190) | type AuthorizedConfig struct type DataConstraintsConfig (line 221) | type DataConstraintsConfig struct type ClientConfig (line 239) | type ClientConfig struct type Environment (line 251) | type Environment struct function NewEnvironment (line 278) | func NewEnvironment(userID, teamID string) *Environment { function NewEnvironmentWithContext (line 301) | func NewEnvironmentWithContext(userID, teamID string, ctxConfig *Context... function LoadContextConfig (line 341) | func LoadContextConfig(filePath string) (*ContextConfig, error) { type Case (line 357) | type Case struct method GetEnvironment (line 563) | func (tc *Case) GetEnvironment(opts *Options) *Environment { method GetMessages (line 598) | func (tc *Case) GetMessages() ([]context.Message, error) { method GetMessagesWithOptions (line 605) | func (tc *Case) GetMessagesWithOptions(opts *InputOptions) ([]context.... method GetTimeout (line 611) | func (tc *Case) GetTimeout(defaultTimeout time.Duration) time.Duration { type Simulator (line 424) | type Simulator struct type SimulatorOptions (line 433) | type SimulatorOptions struct type Checkpoint (line 443) | type Checkpoint struct type CaseOptions (line 465) | type CaseOptions struct type CaseSkipOptions (line 487) | type CaseSkipOptions struct type Assertion (line 496) | type Assertion struct type AssertionOptions (line 535) | type AssertionOptions struct type AssertionResult (line 544) | type AssertionResult struct type Result (line 623) | type Result struct type RunDetail (line 653) | type RunDetail struct type StabilityResult (line 671) | type StabilityResult struct method CalculateStability (line 714) | func (sr *StabilityResult) CalculateStability() { function ClassifyStability (line 766) | func ClassifyStability(passRate float64) StabilityClass { type Summary (line 780) | type Summary struct type Report (line 831) | type Report struct method HasFailures (line 870) | func (r *Report) HasFailures() bool { method PassRate (line 875) | func (r *Report) PassRate() float64 { method IsStabilityTest (line 883) | func (r *Report) IsStabilityTest() bool { type ReportMetadata (line 849) | type ReportMetadata struct type AgentInfo (line 888) | type AgentInfo struct type ReporterInput (line 909) | type ReporterInput struct type ReporterOptions (line 921) | type ReporterOptions struct FILE: agent/testutils/testutils.go function Prepare (line 28) | func Prepare(t *testing.T, opts ...interface{}) { function Clean (line 65) | func Clean(t *testing.T) { FILE: agent/types/dsl.go method GetCacheStore (line 6) | func (dsl *DSL) GetCacheStore() (store.Store, error) { FILE: agent/types/types.go type DSL (line 10) | type DSL struct type Uses (line 40) | type Uses struct type System (line 59) | type System struct type Mention (line 72) | type Mention struct FILE: aigc/aigc.go function Select (line 21) | func Select(id string) (*DSL, error) { method Call (line 29) | func (ai *DSL) Call(content string, user string, option map[string]inter... method newAI (line 98) | func (ai *DSL) newAI() (AI, error) { FILE: aigc/aigc_test.go function TestCall (line 11) | func TestCall(t *testing.T) { function TestCallWithProcess (line 28) | func TestCallWithProcess(t *testing.T) { function prepare (line 52) | func prepare(t *testing.T) { FILE: aigc/load.go function Load (line 13) | func Load(cfg config.Config) error { function aigcID (line 54) | func aigcID(root, file string) string { function LoadFile (line 63) | func LoadFile(file string, id string) (*DSL, error) { function LoadSource (line 73) | func LoadSource(data []byte, file, id string) (*DSL, error) { FILE: aigc/load_test.go function TestLoad (line 11) | func TestLoad(t *testing.T) { function check (line 19) | func check(t *testing.T) { FILE: aigc/process.go function init (line 8) | func init() { function processAigcs (line 13) | func processAigcs(process *process.Process) interface{} { FILE: aigc/process_test.go function TestProcessAigcs (line 12) | func TestProcessAigcs(t *testing.T) { FILE: aigc/types.go type DSL (line 10) | type DSL struct type Prompt (line 21) | type Prompt struct type Optional (line 28) | type Optional struct type AI (line 34) | type AI interface FILE: api/api.go function Load (line 14) | func Load(cfg config.Config) error { FILE: api/api_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function check (line 20) | func check(t *testing.T) { FILE: assert/asserter.go type Asserter (line 12) | type Asserter struct method WithAgentValidator (line 23) | func (a *Asserter) WithAgentValidator(v AgentValidator) *Asserter { method WithScriptRunner (line 29) | func (a *Asserter) WithScriptRunner(r ScriptRunner) *Asserter { method Validate (line 36) | func (a *Asserter) Validate(assertions []*Assertion, output interface{... method ValidateWithDetails (line 60) | func (a *Asserter) ValidateWithDetails(assertions []*Assertion, output... method Evaluate (line 91) | func (a *Asserter) Evaluate(assertion *Assertion, output, input interf... method assertEquals (line 133) | func (a *Asserter) assertEquals(assertion *Assertion, output interface... method assertContains (line 152) | func (a *Asserter) assertContains(assertion *Assertion, output interfa... method assertNotContains (line 174) | func (a *Asserter) assertNotContains(assertion *Assertion, output inte... method assertJSONPath (line 186) | func (a *Asserter) assertJSONPath(assertion *Assertion, output interfa... method assertRegex (line 243) | func (a *Asserter) assertRegex(assertion *Assertion, output interface{... method assertType (line 277) | func (a *Asserter) assertType(assertion *Assertion, output interface{}... method assertScript (line 347) | func (a *Asserter) assertScript(assertion *Assertion, output, input in... method assertAgent (line 379) | func (a *Asserter) assertAgent(assertion *Assertion, output, input int... function New (line 18) | func New() *Asserter { function ParseAssertions (line 403) | func ParseAssertions(input interface{}) []*Assertion { function mapToAssertion (line 435) | func mapToAssertion(m map[string]interface{}) *Assertion { FILE: assert/asserter_test.go function TestAsserterEquals (line 8) | func TestAsserterEquals(t *testing.T) { function TestAsserterContains (line 41) | func TestAsserterContains(t *testing.T) { function TestAsserterNotContains (line 70) | func TestAsserterNotContains(t *testing.T) { function TestAsserterJSONPath (line 97) | func TestAsserterJSONPath(t *testing.T) { function TestAsserterRegex (line 139) | func TestAsserterRegex(t *testing.T) { function TestAsserterType (line 168) | func TestAsserterType(t *testing.T) { function TestAsserterTypeWithPath (line 201) | func TestAsserterTypeWithPath(t *testing.T) { function TestAsserterNegate (line 246) | func TestAsserterNegate(t *testing.T) { function TestAsserterValidate (line 269) | func TestAsserterValidate(t *testing.T) { function TestParseAssertions (line 301) | func TestParseAssertions(t *testing.T) { function TestExtractPath (line 335) | func TestExtractPath(t *testing.T) { type mockScriptRunner (line 374) | type mockScriptRunner struct method Run (line 380) | func (m *mockScriptRunner) Run(scriptName string, output, input, expec... type mockAgentValidator (line 384) | type mockAgentValidator struct method Validate (line 388) | func (m *mockAgentValidator) Validate(agentID string, output, input, c... function TestAsserterConfiguration (line 393) | func TestAsserterConfiguration(t *testing.T) { function TestAsserterValidateWithDetails (line 414) | func TestAsserterValidateWithDetails(t *testing.T) { function TestAsserterUnknownType (line 467) | func TestAsserterUnknownType(t *testing.T) { function TestAsserterDefaultType (line 484) | func TestAsserterDefaultType(t *testing.T) { function TestAsserterScript (line 498) | func TestAsserterScript(t *testing.T) { function TestAsserterAgent (line 581) | func TestAsserterAgent(t *testing.T) { function TestAsserterJSONPathEdgeCases (line 642) | func TestAsserterJSONPathEdgeCases(t *testing.T) { function TestAsserterRegexEdgeCases (line 735) | func TestAsserterRegexEdgeCases(t *testing.T) { function TestAsserterTypeEdgeCases (line 765) | func TestAsserterTypeEdgeCases(t *testing.T) { function TestAsserterValidateWithCustomMessage (line 832) | func TestAsserterValidateWithCustomMessage(t *testing.T) { function TestParseAssertionsEdgeCases (line 849) | func TestParseAssertionsEdgeCases(t *testing.T) { function TestToString (line 918) | func TestToString(t *testing.T) { function TestGetType (line 941) | func TestGetType(t *testing.T) { function TestTruncateOutput (line 970) | func TestTruncateOutput(t *testing.T) { function TestExtractJSON (line 994) | func TestExtractJSON(t *testing.T) { function TestExtractPathEdgeCases (line 1009) | func TestExtractPathEdgeCases(t *testing.T) { function TestValidateOutputEdgeCases (line 1071) | func TestValidateOutputEdgeCases(t *testing.T) { FILE: assert/helpers.go function ValidateOutput (line 14) | func ValidateOutput(actual, expected interface{}) bool { function ToString (line 26) | func ToString(v interface{}) string { function GetType (line 46) | func GetType(v interface{}) string { function ExtractPath (line 69) | func ExtractPath(data interface{}, path string) interface{} { function ParsePathSegments (line 111) | func ParsePathSegments(path string) []string { function TruncateOutput (line 149) | func TruncateOutput(output interface{}, maxLen int) string { function ExtractJSON (line 172) | func ExtractJSON(content string) interface{} { FILE: assert/types.go type Assertion (line 11) | type Assertion struct type AssertionOptions (line 46) | type AssertionOptions struct type Result (line 55) | type Result struct type AgentValidator (line 74) | type AgentValidator interface type ScriptRunner (line 86) | type ScriptRunner interface FILE: attachment/compresses.go function CompressImage (line 13) | func CompressImage(reader io.Reader, contentType string, maxSize int) ([... FILE: attachment/convert.go function toBool (line 9) | func toBool(v interface{}) bool { function toString (line 39) | func toString(v interface{}) string { FILE: attachment/example_usage.go function ExampleUsage (line 15) | func ExampleUsage() { function ExampleChunkedUpload (line 390) | func ExampleChunkedUpload(manager *Manager, filename string, totalSize i... function ExampleS3Upload (line 460) | func ExampleS3Upload() { function min (line 507) | func min(a, b int) int { FILE: attachment/fileheader.go method UID (line 9) | func (fileheader *FileHeader) UID() string { method Fingerprint (line 14) | func (fileheader *FileHeader) Fingerprint() string { method Range (line 19) | func (fileheader *FileHeader) Range() string { method Sync (line 24) | func (fileheader *FileHeader) Sync() bool { method IsChunk (line 29) | func (fileheader *FileHeader) IsChunk() bool { method Complete (line 36) | func (fileheader *FileHeader) Complete() bool { method GetChunkInfo (line 79) | func (fileheader *FileHeader) GetChunkInfo() (start, end, total int64, e... method GetTotalSize (line 124) | func (fileheader *FileHeader) GetTotalSize() int64 { method GetChunkSize (line 133) | func (fileheader *FileHeader) GetChunkSize() int64 { FILE: attachment/gzip.go type GzipCompressor (line 12) | type GzipCompressor struct method ReadChunk (line 46) | func (gc *GzipCompressor) ReadChunk(chunkSize int) (bool, error) { method CompressFileInChunks (line 68) | func (gc *GzipCompressor) CompressFileInChunks(chunkSize int) error { method Write (line 86) | func (gc *GzipCompressor) Write(data []byte) error { method Flush (line 95) | func (gc *GzipCompressor) Flush() error { method Close (line 100) | func (gc *GzipCompressor) Close() ([]byte, error) { method GetCompressedData (line 116) | func (gc *GzipCompressor) GetCompressedData() []byte { method Reset (line 123) | func (gc *GzipCompressor) Reset() { function NewGzipCompressor (line 19) | func NewGzipCompressor() *GzipCompressor { function NewGzipCompressorFromFile (line 30) | func NewGzipCompressorFromFile(filePath string) (*GzipCompressor, error) { function Gzip (line 133) | func Gzip(data []byte) ([]byte, error) { function GzipChunks (line 148) | func GzipChunks(chunks [][]byte) ([]byte, error) { function GzipFromReader (line 161) | func GzipFromReader(reader io.Reader) ([]byte, error) { function Gunzip (line 179) | func Gunzip(data []byte) ([]byte, error) { function GzipToWriter (line 196) | func GzipToWriter(data []byte, writer io.Writer) error { function GzipFromReaderToWriter (line 209) | func GzipFromReaderToWriter(reader io.Reader, writer io.Writer) error { function GzipFile (line 222) | func GzipFile(filePath string) ([]byte, error) { function GzipFileInChunks (line 231) | func GzipFileInChunks(filePath string, chunkSize int) ([]byte, error) { function GzipFileToFile (line 247) | func GzipFileToFile(srcPath, dstPath string, chunkSize int) error { function GzipFileStream (line 264) | func GzipFileStream(filePath string) (io.Reader, error) { FILE: attachment/load.go function Load (line 20) | func Load(cfg config.Config) error { function loadSystemUploaders (line 62) | func loadSystemUploaders(cfg config.Config) error { function loadUploaderFile (line 93) | func loadUploaderFile(root, file string, cfg config.Config) error { function isUploaderFile (line 132) | func isUploaderFile(filename string) bool { function extractDriverFromFilename (line 144) | func extractDriverFromFilename(filename string) string { FILE: attachment/load_test.go function TestLoad (line 11) | func TestLoad(t *testing.T) { function check (line 20) | func check(t *testing.T) { function getManagerNames (line 42) | func getManagerNames() []string { FILE: attachment/local/storage.go constant MaxImageSize (line 18) | MaxImageSize = 1920 type Storage (line 21) | type Storage struct method Upload (line 63) | func (storage *Storage) Upload(ctx context.Context, path string, reade... method UploadChunk (line 88) | func (storage *Storage) UploadChunk(ctx context.Context, path string, ... method MergeChunks (line 108) | func (storage *Storage) MergeChunks(ctx context.Context, path string, ... method Reader (line 146) | func (storage *Storage) Reader(ctx context.Context, path string) (io.R... method Download (line 167) | func (storage *Storage) Download(ctx context.Context, path string) (io... method URL (line 224) | func (storage *Storage) URL(ctx context.Context, path string) string { method GetContent (line 235) | func (storage *Storage) GetContent(ctx context.Context, path string) (... method Exists (line 246) | func (storage *Storage) Exists(ctx context.Context, path string) bool { method Delete (line 253) | func (storage *Storage) Delete(ctx context.Context, path string) error { method makeID (line 258) | func (storage *Storage) makeID(filename string, ext string) string { method LocalPath (line 266) | func (storage *Storage) LocalPath(ctx context.Context, path string) (s... function New (line 29) | func New(options map[string]interface{}) (*Storage, error) { function detectContentType (line 310) | func detectContentType(filePath string) (string, error) { function detectContentTypeFromExtension (line 407) | func detectContentTypeFromExtension(ext string) (string, error) { function detectContentTypeFromGzippedFile (line 486) | func detectContentTypeFromGzippedFile(gzippedFilePath string) (string, e... FILE: attachment/local/storage_test.go function generateTestFileName (line 18) | func generateTestFileName(prefix, ext string) string { function TestLocalStorage (line 22) | func TestLocalStorage(t *testing.T) { FILE: attachment/manager.go type UploadChunk (line 39) | type UploadChunk struct function Parse (line 56) | func Parse(value string) (string, string, bool) { function Base64 (line 85) | func Base64(ctx context.Context, value string, dataURI ...bool) string { function readFilePathAsBase64 (line 132) | func readFilePathAsBase64(path string, dataURI bool) string { function detectContentType (line 172) | func detectContentType(path string, content []byte) string { function GetHeader (line 195) | func GetHeader(requestHeader http.Header, fileHeader textproto.MIMEHeade... function Register (line 225) | func Register(name string, driver string, option ManagerOption) (*Manage... function RegisterDefault (line 242) | func RegisterDefault(name string) (*Manager, error) { method ReplaceEnv (line 287) | func (option *ManagerOption) ReplaceEnv(root string) { function New (line 309) | func New(option ManagerOption) (*Manager, error) { method LocalPath (line 369) | func (manager Manager) LocalPath(ctx context.Context, fileID string) (st... method Upload (line 381) | func (manager Manager) Upload(ctx context.Context, fileheader *FileHeade... method compressStoredImageAndGetSize (line 594) | func (manager Manager) compressStoredImageAndGetSize(ctx context.Context... method Download (line 634) | func (manager Manager) Download(ctx context.Context, fileID string) (*Fi... method Read (line 663) | func (manager Manager) Read(ctx context.Context, fileID string) ([]byte,... method ReadBase64 (line 688) | func (manager Manager) ReadBase64(ctx context.Context, fileID string) (s... method Info (line 698) | func (manager Manager) Info(ctx context.Context, fileID string) (*File, ... method List (line 703) | func (manager Manager) List(ctx context.Context, option ListOption) (*Li... method makeFile (line 902) | func (manager Manager) makeFile(file *FileHeader, option UploadOption) (... method allowed (line 997) | func (manager Manager) allowed(contentType string, extension string) bool { method generateFilePaths (line 1022) | func (manager Manager) generateFilePaths(file *FileHeader, extension str... function generateID (line 1081) | func generateID(storagePath string) string { function isValidPath (line 1087) | func isValidPath(path string) bool { function getSize (line 1104) | func getSize(size string) (int64, error) { method Exists (line 1136) | func (manager Manager) Exists(ctx context.Context, fileID string) bool { method Delete (line 1148) | func (manager Manager) Delete(ctx context.Context, fileID string) error { method saveFileToDatabase (line 1178) | func (manager Manager) saveFileToDatabase(ctx context.Context, file *Fil... method getFileFromDatabase (line 1254) | func (manager Manager) getFileFromDatabase(ctx context.Context, fileID s... method getStoragePathFromDatabase (line 1311) | func (manager Manager) getStoragePathFromDatabase(ctx context.Context, f... method GetText (line 1339) | func (manager Manager) GetText(ctx context.Context, fileID string, fullC... method SaveText (line 1381) | func (manager Manager) SaveText(ctx context.Context, fileID string, text... FILE: attachment/manager_test.go function TestMain (line 20) | func TestMain(m *testing.M) { function TestManagerUpload (line 26) | func TestManagerUpload(t *testing.T) { function TestManagerMultiLevelGroups (line 192) | func TestManagerMultiLevelGroups(t *testing.T) { function TestManagerValidation (line 322) | func TestManagerValidation(t *testing.T) { function TestManagerName (line 383) | func TestManagerName(t *testing.T) { function TestUniqueFilenameGeneration (line 448) | func TestUniqueFilenameGeneration(t *testing.T) { function TestInfo (line 535) | func TestInfo(t *testing.T) { function TestList (line 612) | func TestList(t *testing.T) { function TestManagerLocalPath (line 835) | func TestManagerLocalPath(t *testing.T) { function TestManagerLocalPath_NonExistentFile (line 990) | func TestManagerLocalPath_NonExistentFile(t *testing.T) { function TestPublicAndShareFields (line 1018) | func TestPublicAndShareFields(t *testing.T) { function TestYaoPermissionFields (line 1201) | func TestYaoPermissionFields(t *testing.T) { function TestManagerLocalPath_ValidationFlow (line 1385) | func TestManagerLocalPath_ValidationFlow(t *testing.T) { function TestGetTextAndSaveText (line 1481) | func TestGetTextAndSaveText(t *testing.T) { FILE: attachment/process.go function Init (line 22) | func Init() { function processSave (line 50) | func processSave(p *process.Process) interface{} { function processRead (line 103) | func processRead(p *process.Process) interface{} { function processInfo (line 143) | func processInfo(p *process.Process) interface{} { function processList (line 174) | func processList(p *process.Process) interface{} { function processDelete (line 243) | func processDelete(p *process.Process) interface{} { function processExists (line 281) | func processExists(p *process.Process) interface{} { function processURL (line 302) | func processURL(p *process.Process) interface{} { function processSaveText (line 336) | func processSaveText(p *process.Process) interface{} { function processGetText (line 375) | func processGetText(p *process.Process) interface{} { function parseDataURI (line 419) | func parseDataURI(content string) (string, []byte, error) { function generateFilename (line 454) | func generateFilename(contentType string) string { function createUploadOption (line 483) | func createUploadOption(p *process.Process, filename string) UploadOption { function createFileHeader (line 540) | func createFileHeader(filename, contentType string, size int64) *FileHea... function checkFilePermission (line 558) | func checkFilePermission(p *process.Process, fileInfo *File, readable bo... function buildPermissionWheres (line 608) | func buildPermissionWheres(p *process.Process) []model.QueryWhere { function processZip (line 682) | func processZip(p *process.Process) interface{} { function toStringSlice (line 762) | func toStringSlice(v interface{}) []string { function dedupFilename (line 781) | func dedupFilename(name string, used map[string]int) string { FILE: attachment/process_test.go function TestProcessSave (line 15) | func TestProcessSave(t *testing.T) { function TestProcessRead (line 308) | func TestProcessRead(t *testing.T) { function TestProcessInfo (line 402) | func TestProcessInfo(t *testing.T) { function TestProcessList (line 484) | func TestProcessList(t *testing.T) { function TestProcessDelete (line 633) | func TestProcessDelete(t *testing.T) { function TestProcessExists (line 701) | func TestProcessExists(t *testing.T) { function TestProcessURL (line 754) | func TestProcessURL(t *testing.T) { function TestProcessSaveTextAndGetText (line 813) | func TestProcessSaveTextAndGetText(t *testing.T) { function TestProcessWithAuthorizedPermission (line 938) | func TestProcessWithAuthorizedPermission(t *testing.T) { function TestParseDataURI (line 1016) | func TestParseDataURI(t *testing.T) { function TestGenerateFilename (line 1091) | func TestGenerateFilename(t *testing.T) { FILE: attachment/s3/storage.go constant DefaultExpiration (line 25) | DefaultExpiration = 5 * time.Minute constant MaxImageSize (line 28) | MaxImageSize = 1920 type Storage (line 31) | type Storage struct method Upload (line 127) | func (storage *Storage) Upload(ctx context.Context, path string, reade... method UploadChunk (line 149) | func (storage *Storage) UploadChunk(ctx context.Context, path string, ... method MergeChunks (line 171) | func (storage *Storage) MergeChunks(ctx context.Context, path string, ... method Reader (line 235) | func (storage *Storage) Reader(ctx context.Context, path string) (io.R... method Download (line 263) | func (storage *Storage) Download(ctx context.Context, path string) (io... method GetContent (line 333) | func (storage *Storage) GetContent(ctx context.Context, path string) (... method URL (line 344) | func (storage *Storage) URL(ctx context.Context, path string) string { method Exists (line 364) | func (storage *Storage) Exists(ctx context.Context, path string) bool { method Delete (line 378) | func (storage *Storage) Delete(ctx context.Context, path string) error { method makeID (line 395) | func (storage *Storage) makeID(filename string, ext string) string { method LocalPath (line 467) | func (storage *Storage) LocalPath(ctx context.Context, path string) (s... function New (line 45) | func New(options map[string]interface{}) (*Storage, error) { function isImage (line 402) | func isImage(contentType string) bool { function compressImage (line 407) | func compressImage(data []byte, contentType string) ([]byte, error) { function detectContentType (line 566) | func detectContentType(filePath string) (string, error) { function detectContentTypeFromExtension (line 663) | func detectContentTypeFromExtension(ext string) (string, error) { FILE: attachment/s3/storage_test.go function generateTestFileName (line 20) | func generateTestFileName(prefix, ext string) string { function getS3Config (line 24) | func getS3Config() map[string]interface{} { function skipIfNoS3Config (line 37) | func skipIfNoS3Config(t *testing.T) { function TestS3Storage (line 43) | func TestS3Storage(t *testing.T) { FILE: attachment/types.go type FileManager (line 23) | type FileManager interface type File (line 61) | type File struct type FileResponse (line 80) | type FileResponse struct type Attachment (line 87) | type Attachment struct type Manager (line 111) | type Manager struct type Storage (line 121) | type Storage interface type ManagerOption (line 135) | type ManagerOption struct type allowedType (line 145) | type allowedType struct type UploadOption (line 151) | type UploadOption struct type ListOption (line 168) | type ListOption struct type ListResult (line 178) | type ListResult struct type FileHeader (line 187) | type FileHeader struct FILE: cert/cert.go function Load (line 13) | func Load(cfg config.Config) error { FILE: cert/cert_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 21) | func check(t *testing.T) { function TestProcessSign (line 31) | func TestProcessSign(t *testing.T) { function TestProcessVerify (line 41) | func TestProcessVerify(t *testing.T) { FILE: cmd/agent/add.go function init (line 45) | func init() { FILE: cmd/agent/agent.go function L (line 55) | func L(words string) string { function Boot (line 68) | func Boot() { FILE: cmd/agent/extract.go function init (line 83) | func init() { FILE: cmd/agent/fork.go function init (line 45) | func init() { FILE: cmd/agent/push.go function init (line 44) | func init() { FILE: cmd/agent/test.go function findAppRoot (line 195) | func findAppRoot(startPath string) (string, error) { function init (line 237) | func init() { FILE: cmd/agent/update.go function init (line 42) | func init() { FILE: cmd/ci-token/main.go function main (line 17) | func main() { function envOr (line 86) | func envOr(key, fallback string) string { FILE: cmd/credential.go type Credential (line 13) | type Credential struct method Expired (line 24) | func (c *Credential) Expired() bool { function credentialPath (line 35) | func credentialPath() (string, error) { function LoadCredential (line 45) | func LoadCredential() (*Credential, error) { function LoadCredentialFrom (line 71) | func LoadCredentialFrom(path string) (*Credential, error) { function SaveCredential (line 88) | func SaveCredential(cred *Credential) error { function RemoveCredential (line 109) | func RemoveCredential() error { FILE: cmd/dump.go function zipfiles (line 119) | func zipfiles(files []string, output string, process func(file string)) ... function addFile (line 153) | func addFile(w *zip.Writer, file, baseInZip string, process func(file st... function addFolder (line 176) | func addFolder(w *zip.Writer, basePath, baseInZip string, process func(f... FILE: cmd/get/get.go constant Application (line 23) | Application uint = iota constant Widgets (line 26) | Widgets constant Table (line 29) | Table constant Form (line 32) | Form constant Model (line 35) | Model constant Flow (line 38) | Flow type Package (line 42) | type Package struct method InfraURL (line 107) | func (pkg *Package) InfraURL() string { method GithubURL (line 112) | func (pkg *Package) GithubURL() string { method Download (line 131) | func (pkg *Package) Download() error { method Validate (line 166) | func (pkg *Package) Validate() error { method Unpack (line 174) | func (pkg *Package) Unpack(dest string) (*app.DSL, error) { function New (line 54) | func New(repo string) (*Package, error) { function parse (line 82) | func parse(repo string) (string, string, string, error) { function urlExists (line 117) | func urlExists(url string) bool { function extractFile (line 241) | func extractFile(f *zip.File, dest string) error { FILE: cmd/get/get_test.go function TestUnpack (line 7) | func TestUnpack(t *testing.T) { FILE: cmd/init.go function printInitWelcome (line 98) | func printInitWelcome() { function init (line 112) | func init() { FILE: cmd/login.go function init (line 136) | func init() { type oauthEndpoints (line 142) | type oauthEndpoints struct type deviceAuthResponse (line 151) | type deviceAuthResponse struct type tokenResponse (line 160) | type tokenResponse struct type oauthError (line 168) | type oauthError struct function discoverEndpoints (line 177) | func discoverEndpoints(serverURL string) (*oauthEndpoints, error) { type yaoMetadataResponse (line 181) | type yaoMetadataResponse struct function discoverFromYaoMetadata (line 187) | func discoverFromYaoMetadata(serverURL string) (*oauthEndpoints, error) { function registerClient (line 216) | func registerClient(endpoint, clientID string) error { function requestDeviceAuthorization (line 239) | func requestDeviceAuthorization(endpoint, clientID string) (*deviceAuthR... function pollForToken (line 267) | func pollForToken(endpoint, clientID, deviceCode string, interval, expir... function parseJWTSubject (line 326) | func parseJWTSubject(token string) string { FILE: cmd/logout.go function revokeToken (line 47) | func revokeToken(endpoint, token string) { function init (line 57) | func init() { FILE: cmd/mcp/add.go function init (line 44) | func init() { FILE: cmd/mcp/fork.go function init (line 44) | func init() { FILE: cmd/mcp/mcp.go function L (line 28) | func L(words string) string { function Boot (line 40) | func Boot() { FILE: cmd/mcp/push.go function init (line 43) | func init() { FILE: cmd/mcp/update.go function init (line 41) | func init() { FILE: cmd/migrate.go function init (line 117) | func init() { FILE: cmd/pack.go function init (line 88) | func init() { FILE: cmd/restore.go function init (line 90) | func init() { function restoreData (line 95) | func restoreData(basePath string) { function restoreModels (line 117) | func restoreModels(basePath string, migOpts []model.MigrateOption) { function unzipFile (line 153) | func unzipFile(file string, process func(file string)) string { FILE: cmd/robot/add.go function init (line 49) | func init() { FILE: cmd/robot/robot.go function L (line 23) | func L(words string) string { function Boot (line 35) | func Boot() { FILE: cmd/root.go function L (line 76) | func L(words string) string { function init (line 162) | func init() { function Execute (line 213) | func Execute() { function Boot (line 221) | func Boot() { FILE: cmd/run.go function init (line 46) | func init() { function resolveCredential (line 52) | func resolveCredential() *Credential { function runGRPC (line 67) | func runGRPC(cred *Credential, args []string) { function runLocal (line 132) | func runLocal(args []string) { function parseRunArgs (line 253) | func parseRunArgs(args []string) []interface{} { function findAppRootFromPath (line 290) | func findAppRootFromPath(startPath string) (string, error) { FILE: cmd/start.go function install (line 286) | func install() error { function adminRoot (line 318) | func adminRoot() (string, int) { function printWelcome (line 329) | func printWelcome() { function printConnectors (line 339) | func printConnectors(silent bool) { function printStores (line 361) | func printStores(silent bool) { function printSchedules (line 382) | func printSchedules(silent bool) { function printTasks (line 412) | func printTasks(silent bool) { function printApis (line 434) | func printApis(silent bool) { function printMCPs (line 496) | func printMCPs(silent bool) { function colorMehtod (line 610) | func colorMehtod(method string) string { function portOccupied (line 624) | func portOccupied(host string, port int) (bool, string) { function init (line 634) | func init() { FILE: cmd/sui/sui.go function init (line 7) | func init() { FILE: cmd/sui/utils.go function L (line 20) | func L(words string) string { function Boot (line 34) | func Boot() { FILE: cmd/sui/watch.go function watchMultiple (line 176) | func watchMultiple(roots []string, handler func(event string, name strin... function watch (line 286) | func watch(root string, handler func(event string, name string), interru... FILE: cmd/tea.go function fuxi (line 8) | func fuxi() { FILE: cmd/version.go function init (line 61) | func init() { FILE: config/config.go function init (line 26) | func init() { function Init (line 31) | func Init() { function ApplyMode (line 54) | func ApplyMode() { function findAppRoot (line 65) | func findAppRoot() string { function LoadFrom (line 93) | func LoadFrom(envfile string) Config { function LoadFromWithRoot (line 98) | func LoadFromWithRoot(envfile string, root string) Config { function Load (line 114) | func Load() Config { function LoadWithRoot (line 120) | func LoadWithRoot(root string) Config { method GetLogDir (line 189) | func (cfg *Config) GetLogDir() string { function Production (line 203) | func Production() { function Development (line 216) | func Development() { function ReloadLog (line 229) | func ReloadLog() { function OpenLog (line 235) | func OpenLog() { function CloseLog (line 273) | func CloseLog() { function IsDevelopment (line 284) | func IsDevelopment() bool { FILE: config/config_test.go function TestLoadFrom (line 54) | func TestLoadFrom(t *testing.T) { FILE: config/types.go function HostHasInternal (line 6) | func HostHasInternal(host string) bool { type Config (line 16) | type Config struct type GRPCConfig (line 52) | type GRPCConfig struct type Database (line 59) | type Database struct type Session (line 67) | type Session struct type Runtime (line 79) | type Runtime struct type HostExecConfig (line 93) | type HostExecConfig struct type Trace (line 102) | type Trace struct FILE: connector/connector.go function Load (line 14) | func Load(cfg config.Config) error { function Unload (line 39) | func Unload() error { function Close (line 55) | func Close() error { FILE: connector/connector_test.go function TestLoad (line 14) | func TestLoad(t *testing.T) { function check (line 41) | func check(t *testing.T) { FILE: crypto/aes.go function AES256Encrypt (line 12) | func AES256Encrypt(key string, algorithm string, nonce string, text stri... function AES256Decrypt (line 32) | func AES256Decrypt(key string, algorithm string, nonce string, ciphertex... function aes256GCMDecrypt (line 63) | func aes256GCMDecrypt(key, nonce, ciphertext, additionalData []byte) ([]... function aes256GCMEncrypt (line 86) | func aes256GCMEncrypt(key, nonce, text, additionalData []byte) ([]byte, ... FILE: crypto/aes_test.go function TestAES256GCM (line 10) | func TestAES256GCM(t *testing.T) { function TestAES256GCMBase64 (line 29) | func TestAES256GCMBase64(t *testing.T) { function TestAES256ProcessGCM (line 48) | func TestAES256ProcessGCM(t *testing.T) { function TestAES256ProcessGCMBase64 (line 69) | func TestAES256ProcessGCMBase64(t *testing.T) { FILE: crypto/crypto.go type hmacOption (line 40) | type hmacOption struct function Hash (line 47) | func Hash(hash crypto.Hash, value string) (string, error) { function Hmac (line 57) | func Hmac(hash crypto.Hash, value string, key string, encoding ...string... function HmacWith (line 72) | func HmacWith(option *hmacOption, hash crypto.Hash, value string, key st... function RSA2Sign (line 133) | func RSA2Sign(prikey string, hash crypto.Hash, value string, encoding ..... function RSA2Verify (line 159) | func RSA2Verify(pubkey string, hash crypto.Hash, value string, signature... function parsePrivateKey (line 189) | func parsePrivateKey(privateKeyStr string) (*rsa.PrivateKey, error) { function parsePublicKey (line 214) | func parsePublicKey(publicKeyStr string) (*rsa.PublicKey, error) { FILE: crypto/crypto_test.go function TestMD4 (line 13) | func TestMD4(t *testing.T) { function TestMD5 (line 25) | func TestMD5(t *testing.T) { function TestSHA1 (line 37) | func TestSHA1(t *testing.T) { function TestSHA256 (line 49) | func TestSHA256(t *testing.T) { function TestSHA1Base64 (line 61) | func TestSHA1Base64(t *testing.T) { function TestRSA2Sign (line 73) | func TestRSA2Sign(t *testing.T) { function TestRSA2SignSHA1 (line 89) | func TestRSA2SignSHA1(t *testing.T) { function TestRSA2SignBase64 (line 105) | func TestRSA2SignBase64(t *testing.T) { function TestRSA2SignProcess (line 121) | func TestRSA2SignProcess(t *testing.T) { function TestRSA2SignProcessBase64 (line 139) | func TestRSA2SignProcessBase64(t *testing.T) { function TestHmacWith (line 159) | func TestHmacWith(t *testing.T) { FILE: crypto/process.go function init (line 8) | func init() { function ProcessRSA2 (line 23) | func ProcessRSA2(process *process.Process) interface{} { function ProcessHash (line 32) | func ProcessHash(process *process.Process) interface{} { function ProcessHmac (line 54) | func ProcessHmac(process *process.Process) interface{} { function ProcessHmacWith (line 81) | func ProcessHmacWith(process *process.Process) interface{} { function ProcessRsa2Sign (line 116) | func ProcessRsa2Sign(process *process.Process) interface{} { function ProcessRsa2Verify (line 141) | func ProcessRsa2Verify(process *process.Process) interface{} { function ProcessAes256Encrypt (line 168) | func ProcessAes256Encrypt(process *process.Process) interface{} { function ProcessAes256Decrypt (line 191) | func ProcessAes256Decrypt(process *process.Process) interface{} { FILE: data/data.go function CuiV0 (line 14) | func CuiV0() *assetfs.AssetFS { function CuiV1 (line 26) | func CuiV1() *assetfs.AssetFS { function Setup (line 38) | func Setup() *assetfs.AssetFS { function ReplaceCUI (line 50) | func ReplaceCUI(search, replace string) error { function Read (line 65) | func Read(name string) ([]byte, error) { function ReadApp (line 70) | func ReadApp() (io.Reader, error) { function RemoveApp (line 79) | func RemoveApp() { function replaceCUIIndex (line 85) | func replaceCUIIndex(search, replace string) error { function replaceCUIUmi (line 108) | func replaceCUIUmi(search, replace string) error { function replaceCUILayouts (line 131) | func replaceCUILayouts(search, replace string) error { FILE: data/data_test.go function TestReplaceCUIIndex (line 9) | func TestReplaceCUIIndex(t *testing.T) { FILE: dsl/api/api.go type YaoAPI (line 10) | type YaoAPI struct method Loaded (line 22) | func (api *YaoAPI) Loaded(ctx context.Context) (map[string]*types.Info... method Load (line 27) | func (api *YaoAPI) Load(ctx context.Context, options *types.LoadOption... method Reload (line 32) | func (api *YaoAPI) Reload(ctx context.Context, options *types.ReloadOp... method Unload (line 37) | func (api *YaoAPI) Unload(ctx context.Context, options *types.UnloadOp... method Validate (line 42) | func (api *YaoAPI) Validate(ctx context.Context, source string) (bool,... method Execute (line 47) | func (api *YaoAPI) Execute(ctx context.Context, id string, method stri... function New (line 17) | func New(root string, fs types.IO, db types.IO) types.Manager { FILE: dsl/connector/cases_test.go function TestMain (line 24) | func TestMain(m *testing.M) { function loadSystemModels (line 53) | func loadSystemModels() error { type TestCase (line 105) | type TestCase struct method CreateOptions (line 153) | func (tc *TestCase) CreateOptions() *types.CreateOptions { method LoadOptions (line 161) | func (tc *TestCase) LoadOptions() *types.LoadOptions { method UnloadOptions (line 169) | func (tc *TestCase) UnloadOptions() *types.UnloadOptions { method ReloadOptions (line 176) | func (tc *TestCase) ReloadOptions() *types.ReloadOptions { method AssertInfo (line 184) | func (tc *TestCase) AssertInfo(info *types.Info) bool { method AssertUpdatedInfo (line 200) | func (tc *TestCase) AssertUpdatedInfo(info *types.Info) bool { function NewTestCase (line 115) | func NewTestCase() *TestCase { function getTestID (line 148) | func getTestID() string { FILE: dsl/connector/connector.go type YaoConnector (line 12) | type YaoConnector struct method Loaded (line 24) | func (c *YaoConnector) Loaded(ctx context.Context) (map[string]*types.... method Load (line 46) | func (c *YaoConnector) Load(ctx context.Context, options *types.LoadOp... method Unload (line 100) | func (c *YaoConnector) Unload(ctx context.Context, options *types.Unlo... method Reload (line 113) | func (c *YaoConnector) Reload(ctx context.Context, options *types.Relo... method Validate (line 168) | func (c *YaoConnector) Validate(ctx context.Context, source string) (b... method Execute (line 173) | func (c *YaoConnector) Execute(ctx context.Context, id string, method ... function New (line 19) | func New(root string, fs types.IO, db types.IO) types.Manager { FILE: dsl/connector/connector_test.go function TestConnectorLoad (line 12) | func TestConnectorLoad(t *testing.T) { function TestConnectorUnload (line 61) | func TestConnectorUnload(t *testing.T) { function TestConnectorReload (line 95) | func TestConnectorReload(t *testing.T) { function TestConnectorLoaded (line 129) | func TestConnectorLoaded(t *testing.T) { function TestConnectorValidate (line 166) | func TestConnectorValidate(t *testing.T) { function TestConnectorExecute (line 175) | func TestConnectorExecute(t *testing.T) { FILE: dsl/dsl.go type DSL (line 16) | type DSL struct method Inspect (line 64) | func (dsl *DSL) Inspect(ctx context.Context, id string) (*types.Info, ... method Path (line 100) | func (dsl *DSL) Path(ctx context.Context, id string) (string, error) { method Source (line 105) | func (dsl *DSL) Source(ctx context.Context, id string) (string, error) { method List (line 129) | func (dsl *DSL) List(ctx context.Context, opts *types.ListOptions) ([]... method Create (line 184) | func (dsl *DSL) Create(ctx context.Context, options *types.CreateOptio... method Exists (line 230) | func (dsl *DSL) Exists(ctx context.Context, id string) (bool, error) { method Update (line 246) | func (dsl *DSL) Update(ctx context.Context, options *types.UpdateOptio... method Delete (line 308) | func (dsl *DSL) Delete(ctx context.Context, options *types.DeleteOptio... method Load (line 377) | func (dsl *DSL) Load(ctx context.Context, options *types.LoadOptions) ... method Unload (line 382) | func (dsl *DSL) Unload(ctx context.Context, options *types.UnloadOptio... method Reload (line 387) | func (dsl *DSL) Reload(ctx context.Context, options *types.ReloadOptio... method Execute (line 392) | func (dsl *DSL) Execute(ctx context.Context, id string, method string,... method Validate (line 397) | func (dsl *DSL) Validate(ctx context.Context, source string) (bool, []... function New (line 26) | func New(typ types.Type) (types.DSL, error) { FILE: dsl/dsl_test.go function TestMain (line 26) | func TestMain(m *testing.M) { function loadSystemModels (line 59) | func loadSystemModels() error { function cleanTestData (line 111) | func cleanTestData() error { function getTestID (line 125) | func getTestID() string { type TestCase (line 130) | type TestCase struct method CreateOptions (line 256) | func (tc *TestCase) CreateOptions(store types.StoreType) *types.Create... method UpdateOptions (line 265) | func (tc *TestCase) UpdateOptions() *types.UpdateOptions { method DeleteOptions (line 273) | func (tc *TestCase) DeleteOptions() *types.DeleteOptions { method LoadOptions (line 280) | func (tc *TestCase) LoadOptions(store types.StoreType) *types.LoadOpti... method UnloadOptions (line 289) | func (tc *TestCase) UnloadOptions(store types.StoreType) *types.Unload... method ReloadOptions (line 297) | func (tc *TestCase) ReloadOptions(store types.StoreType) *types.Reload... method ListOptions (line 306) | func (tc *TestCase) ListOptions(store types.StoreType) *types.ListOpti... method AssertInfo (line 314) | func (tc *TestCase) AssertInfo(info *types.Info) bool { method AssertUpdatedInfo (line 331) | func (tc *TestCase) AssertUpdatedInfo(info *types.Info) bool { function NewModelTestCase (line 141) | func NewModelTestCase() *TestCase { function NewConnectorTestCase (line 179) | func NewConnectorTestCase() *TestCase { function NewMCPTestCase (line 213) | func NewMCPTestCase() *TestCase { function TestDSLCreate (line 365) | func TestDSLCreate(t *testing.T) { function TestDSLInspect (line 424) | func TestDSLInspect(t *testing.T) { function TestDSLSource (line 476) | func TestDSLSource(t *testing.T) { function TestDSLList (line 528) | func TestDSLList(t *testing.T) { function TestDSLUpdate (line 594) | func TestDSLUpdate(t *testing.T) { function TestDSLDelete (line 652) | func TestDSLDelete(t *testing.T) { function TestDSLFlow (line 706) | func TestDSLFlow(t *testing.T) { FILE: dsl/io/cases_test.go function TestMain (line 25) | func TestMain(m *testing.M) { function loadSystemModels (line 45) | func loadSystemModels() error { function cleanTestData (line 97) | func cleanTestData() error { function getTestID (line 111) | func getTestID() string { type TestCase (line 116) | type TestCase struct method CreateOptions (line 157) | func (tc *TestCase) CreateOptions() *types.CreateOptions { method UpdateOptions (line 165) | func (tc *TestCase) UpdateOptions() *types.UpdateOptions { method UpdateInfoOptions (line 173) | func (tc *TestCase) UpdateInfoOptions() *types.UpdateOptions { method ListOptions (line 185) | func (tc *TestCase) ListOptions(withSource bool) *types.ListOptions { method AssertInfo (line 193) | func (tc *TestCase) AssertInfo(info *types.Info) bool { method AssertUpdatedInfo (line 204) | func (tc *TestCase) AssertUpdatedInfo(info *types.Info) bool { method AssertUpdatedInfoViaInfo (line 215) | func (tc *TestCase) AssertUpdatedInfoViaInfo(info *types.Info) bool { function NewTestCase (line 126) | func NewTestCase() *TestCase { FILE: dsl/io/db.go type DB (line 14) | type DB struct method Inspect (line 61) | func (db *DB) Inspect(id string) (*types.Info, bool, error) { method Source (line 118) | func (db *DB) Source(id string) (string, bool, error) { method List (line 153) | func (db *DB) List(options *types.ListOptions) ([]*types.Info, error) { method Create (line 233) | func (db *DB) Create(options *types.CreateOptions) error { method Update (line 314) | func (db *DB) Update(options *types.UpdateOptions) error { method Delete (line 420) | func (db *DB) Delete(id string) error { method Exists (line 448) | func (db *DB) Exists(id string) (bool, error) { function NewDB (line 19) | func NewDB(typ types.Type) types.IO { function fmtRow (line 24) | func fmtRow(row map[string]interface{}) map[string]interface{} { FILE: dsl/io/db_test.go function TestDBNew (line 10) | func TestDBNew(t *testing.T) { function TestDBCreate (line 17) | func TestDBCreate(t *testing.T) { function TestDBInspect (line 35) | func TestDBInspect(t *testing.T) { function TestDBSource (line 49) | func TestDBSource(t *testing.T) { function TestDBList (line 63) | func TestDBList(t *testing.T) { function TestDBUpdate (line 90) | func TestDBUpdate(t *testing.T) { function TestDBDelete (line 117) | func TestDBDelete(t *testing.T) { function TestDBFlow (line 133) | func TestDBFlow(t *testing.T) { FILE: dsl/io/fs.go type FS (line 12) | type FS struct method Inspect (line 22) | func (fs *FS) Inspect(id string) (*types.Info, bool, error) { method Source (line 105) | func (fs *FS) Source(id string) (string, bool, error) { method List (line 124) | func (fs *FS) List(options *types.ListOptions) ([]*types.Info, error) { method Create (line 184) | func (fs *FS) Create(options *types.CreateOptions) error { method Update (line 203) | func (fs *FS) Update(options *types.UpdateOptions) error { method Delete (line 253) | func (fs *FS) Delete(id string) error { method Exists (line 272) | func (fs *FS) Exists(id string) (bool, error) { function NewFS (line 17) | func NewFS(typ types.Type) types.IO { FILE: dsl/io/fs_test.go function prepare (line 14) | func prepare(t *testing.T) { function TestFSNew (line 55) | func TestFSNew(t *testing.T) { function TestFSCreate (line 62) | func TestFSCreate(t *testing.T) { function TestFSInspect (line 80) | func TestFSInspect(t *testing.T) { function TestFSSource (line 94) | func TestFSSource(t *testing.T) { function TestFSList (line 108) | func TestFSList(t *testing.T) { function TestFSUpdate (line 147) | func TestFSUpdate(t *testing.T) { function TestFSDelete (line 174) | func TestFSDelete(t *testing.T) { function TestFSFlow (line 190) | func TestFSFlow(t *testing.T) { FILE: dsl/io/utils.go function toBool (line 6) | func toBool(v interface{}) bool { function toTime (line 28) | func toTime(v interface{}) string { FILE: dsl/mcp/cases_test.go function TestMain (line 24) | func TestMain(m *testing.M) { function loadSystemModels (line 53) | func loadSystemModels() error { type TestCase (line 105) | type TestCase struct method CreateOptions (line 232) | func (tc *TestCase) CreateOptions() *types.CreateOptions { method LoadOptions (line 240) | func (tc *TestCase) LoadOptions() *types.LoadOptions { method UnloadOptions (line 248) | func (tc *TestCase) UnloadOptions() *types.UnloadOptions { method ReloadOptions (line 255) | func (tc *TestCase) ReloadOptions() *types.ReloadOptions { method AssertInfo (line 263) | func (tc *TestCase) AssertInfo(info *types.Info) bool { method AssertUpdatedInfo (line 279) | func (tc *TestCase) AssertUpdatedInfo(info *types.Info) bool { method AssertHTTPInfo (line 296) | func (tc *TestCase) AssertHTTPInfo(info *types.Info) bool { method AssertSSEInfo (line 312) | func (tc *TestCase) AssertSSEInfo(info *types.Info) bool { function NewTestCase (line 115) | func NewTestCase() *TestCase { function NewHTTPTestCase (line 157) | func NewHTTPTestCase() *TestCase { function NewSSETestCase (line 192) | func NewSSETestCase() *TestCase { function getTestID (line 227) | func getTestID() string { FILE: dsl/mcp/client.go type YaoMCPClient (line 12) | type YaoMCPClient struct method Loaded (line 24) | func (client *YaoMCPClient) Loaded(ctx context.Context) (map[string]*t... method Load (line 59) | func (client *YaoMCPClient) Load(ctx context.Context, options *types.L... method Unload (line 111) | func (client *YaoMCPClient) Unload(ctx context.Context, options *types... method Reload (line 126) | func (client *YaoMCPClient) Reload(ctx context.Context, options *types... method Validate (line 177) | func (client *YaoMCPClient) Validate(ctx context.Context, source strin... method Execute (line 182) | func (client *YaoMCPClient) Execute(ctx context.Context, id string, me... function NewClient (line 19) | func NewClient(root string, fs types.IO, db types.IO) types.Manager { FILE: dsl/mcp/client_test.go function TestMCPClientLoad (line 12) | func TestMCPClientLoad(t *testing.T) { function TestMCPClientUnload (line 61) | func TestMCPClientUnload(t *testing.T) { function TestMCPClientReload (line 95) | func TestMCPClientReload(t *testing.T) { function TestMCPClientLoaded (line 129) | func TestMCPClientLoaded(t *testing.T) { function TestMCPClientValidate (line 166) | func TestMCPClientValidate(t *testing.T) { function TestMCPClientExecute (line 175) | func TestMCPClientExecute(t *testing.T) { function TestMCPClientHTTPLoad (line 185) | func TestMCPClientHTTPLoad(t *testing.T) { function TestMCPClientSSELoad (line 216) | func TestMCPClientSSELoad(t *testing.T) { function TestMCPClientLoadWithDatabaseStore (line 247) | func TestMCPClientLoadWithDatabaseStore(t *testing.T) { function TestMCPClientLoadWithFileStore (line 293) | func TestMCPClientLoadWithFileStore(t *testing.T) { FILE: dsl/mcp/server.go type YaoMCPServer (line 10) | type YaoMCPServer struct method Loaded (line 20) | func (server *YaoMCPServer) Loaded(ctx context.Context) (map[string]*t... method Load (line 25) | func (server *YaoMCPServer) Load(ctx context.Context, options *types.L... method Unload (line 30) | func (server *YaoMCPServer) Unload(ctx context.Context, options *types... method Reload (line 35) | func (server *YaoMCPServer) Reload(ctx context.Context, options *types... method Validate (line 40) | func (server *YaoMCPServer) Validate(ctx context.Context, source strin... method Execute (line 45) | func (server *YaoMCPServer) Execute(ctx context.Context, id string, me... function NewServer (line 15) | func NewServer(root string) types.Manager { FILE: dsl/model/cases_test.go function TestMain (line 25) | func TestMain(m *testing.M) { function loadSystemModels (line 45) | func loadSystemModels() error { function cleanTestData (line 97) | func cleanTestData() error { function getTestID (line 111) | func getTestID() string { type TestCase (line 116) | type TestCase struct method CreateOptions (line 163) | func (tc *TestCase) CreateOptions() *types.CreateOptions { method UpdateOptions (line 171) | func (tc *TestCase) UpdateOptions() *types.UpdateOptions { method UpdateInfoOptions (line 179) | func (tc *TestCase) UpdateInfoOptions() *types.UpdateOptions { method ListOptions (line 191) | func (tc *TestCase) ListOptions(withSource bool) *types.ListOptions { method AssertInfo (line 199) | func (tc *TestCase) AssertInfo(info *types.Info) bool { method AssertUpdatedInfo (line 215) | func (tc *TestCase) AssertUpdatedInfo(info *types.Info) bool { method AssertUpdatedInfoViaInfo (line 231) | func (tc *TestCase) AssertUpdatedInfoViaInfo(info *types.Info) bool { function NewTestCase (line 126) | func NewTestCase() *TestCase { FILE: dsl/model/model.go type YaoModel (line 13) | type YaoModel struct method Loaded (line 25) | func (m *YaoModel) Loaded(ctx context.Context) (map[string]*types.Info... method Load (line 49) | func (m *YaoModel) Load(ctx context.Context, options *types.LoadOption... method Unload (line 122) | func (m *YaoModel) Unload(ctx context.Context, options *types.UnloadOp... method Reload (line 176) | func (m *YaoModel) Reload(ctx context.Context, options *types.ReloadOp... method Validate (line 249) | func (m *YaoModel) Validate(ctx context.Context, source string) (bool,... method Execute (line 254) | func (m *YaoModel) Execute(ctx context.Context, id string, method stri... function New (line 20) | func New(root string, fs types.IO, db types.IO) types.Manager { FILE: dsl/model/model_test.go function TestModelLoad (line 12) | func TestModelLoad(t *testing.T) { function TestModelLoadWithDB (line 92) | func TestModelLoadWithDB(t *testing.T) { function TestModelUnload (line 126) | func TestModelUnload(t *testing.T) { function TestModelReload (line 196) | func TestModelReload(t *testing.T) { function TestModelLoaded (line 261) | func TestModelLoaded(t *testing.T) { function TestModelValidate (line 333) | func TestModelValidate(t *testing.T) { function TestModelExecute (line 342) | func TestModelExecute(t *testing.T) { FILE: dsl/types/interfaces.go type DSL (line 8) | type DSL interface type Manager (line 33) | type Manager interface type IO (line 54) | type IO interface FILE: dsl/types/types.go type Type (line 8) | type Type type Status (line 11) | type Status type StoreType (line 14) | type StoreType type LintSeverity (line 17) | type LintSeverity constant StoreTypeDB (line 21) | StoreTypeDB StoreType = "db" constant StoreTypeFile (line 22) | StoreTypeFile StoreType = "file" constant StatusLoading (line 27) | StatusLoading Status = "loading" constant StatusLoaded (line 28) | StatusLoaded Status = "loaded" constant StatusError (line 29) | StatusError Status = "error" constant LintSeverityError (line 34) | LintSeverityError LintSeverity = "error" constant LintSeverityWarning (line 35) | LintSeverityWarning LintSeverity = "warning" constant LintSeverityInfo (line 36) | LintSeverityInfo LintSeverity = "info" constant LintSeverityHint (line 37) | LintSeverityHint LintSeverity = "hint" constant TypeModel (line 43) | TypeModel Type = "model" constant TypeAPI (line 45) | TypeAPI Type = "api" constant TypeConnector (line 47) | TypeConnector Type = "connector" constant TypeMCPServer (line 49) | TypeMCPServer Type = "mcp-server" constant TypeMCPClient (line 51) | TypeMCPClient Type = "mcp-client" constant TypeStore (line 53) | TypeStore Type = "store" constant TypeSchedule (line 55) | TypeSchedule Type = "schedule" constant TypeTable (line 58) | TypeTable Type = "table" constant TypeForm (line 60) | TypeForm Type = "form" constant TypeList (line 62) | TypeList Type = "list" constant TypeChart (line 64) | TypeChart Type = "chart" constant TypeDashboard (line 66) | TypeDashboard Type = "dashboard" constant TypeFlow (line 69) | TypeFlow Type = "flow" constant TypePipe (line 71) | TypePipe Type = "pipe" constant TypeAIGC (line 73) | TypeAIGC Type = "aigc" constant TypeUnknown (line 76) | TypeUnknown Type = "unknown" type Info (line 80) | type Info struct type ListOptions (line 103) | type ListOptions struct type CreateOptions (line 113) | type CreateOptions struct type UpdateOptions (line 121) | type UpdateOptions struct type DeleteOptions (line 129) | type DeleteOptions struct type LoadOptions (line 136) | type LoadOptions struct type UnloadOptions (line 145) | type UnloadOptions struct type ReloadOptions (line 153) | type ReloadOptions struct type LintMessage (line 162) | type LintMessage struct FILE: dsl/types/utils.go function ToPath (line 10) | func ToPath(typ Type, id string) string { function ToID (line 28) | func ToID(path string) string { function WithTypeToID (line 34) | func WithTypeToID(typ Type, path string) string { function DetectType (line 74) | func DetectType(path string) Type { function TypeRootAndExts (line 161) | func TypeRootAndExts(typ Type) (string, []string) { FILE: dsl/types/utils_test.go function TestToPath (line 9) | func TestToPath(t *testing.T) { function TestToID (line 63) | func TestToID(t *testing.T) { function TestWithTypeToID (line 95) | func TestWithTypeToID(t *testing.T) { function TestDetectType (line 173) | func TestDetectType(t *testing.T) { function TestTypeRootAndExts (line 413) | func TestTypeRootAndExts(t *testing.T) { function TestIntegration (line 544) | func TestIntegration(t *testing.T) { FILE: engine/load.go function RegisterLoadHook (line 63) | func RegisterLoadHook(name string, hook func(config.Config) error) error { type LoadOption (line 72) | type LoadOption struct type Warning (line 79) | type Warning struct function loadStep (line 85) | func loadStep(name string, loadFunc func() error, callback func(string, ... function Load (line 98) | func Load(cfg config.Config, options LoadOption, progressCallback ...fun... function Unload (line 433) | func Unload() (err error) { function Reload (line 482) | func Reload(cfg config.Config, options LoadOption) (err error) { function Restart (line 651) | func Restart(cfg config.Config, options LoadOption) error { function loadApp (line 672) | func loadApp(root string) error { function InspectExtTools (line 777) | func InspectExtTools() { function inspectDocker (line 844) | func inspectDocker() *share.DockerInfo { function printErr (line 914) | func printErr(mode, widget string, err error) { FILE: engine/load_test.go function TestLoad (line 14) | func TestLoad(t *testing.T) { function TestReload (line 21) | func TestReload(t *testing.T) { function TestLoadYaz (line 31) | func TestLoadYaz(t *testing.T) { function TestReoadYaz (line 52) | func TestReoadYaz(t *testing.T) { FILE: engine/machine.go type MachineInfo (line 16) | type MachineInfo struct function init (line 28) | func init() { function GetMachineID (line 34) | func GetMachineID() (*MachineInfo, error) { function computeMachineID (line 41) | func computeMachineID() (*MachineInfo, error) { function fallbackMachineID (line 59) | func fallbackMachineID(hostname string) string { function firstHardwareAddr (line 64) | func firstHardwareAddr() string { function processMachineID (line 78) | func processMachineID(p *process.Process) interface{} { FILE: engine/machine_darwin.go function platformMachineID (line 10) | func platformMachineID() (string, error) { FILE: engine/machine_linux.go function platformMachineID (line 10) | func platformMachineID() (string, error) { FILE: engine/machine_test.go function TestGetMachineID_Deterministic (line 8) | func TestGetMachineID_Deterministic(t *testing.T) { function TestGetMachineID_Format (line 24) | func TestGetMachineID_Format(t *testing.T) { function TestGetMachineID_NonEmpty (line 48) | func TestGetMachineID_NonEmpty(t *testing.T) { FILE: engine/machine_windows.go function platformMachineID (line 9) | func platformMachineID() (string, error) { FILE: engine/process.go function init (line 11) | func init() { function processPing (line 30) | func processPing(process *process.Process) interface{} { function processInspect (line 40) | func processInspect(process *process.Process) interface{} { function processFavicon (line 54) | func processFavicon(process *process.Process) interface{} { function processFileContent (line 60) | func processFileContent(process *process.Process) interface{} { function processAppFileContent (line 73) | func processAppFileContent(process *process.Process) interface{} { FILE: engine/process_test.go function TestProcessPing (line 11) | func TestProcessPing(t *testing.T) { function TestProcessAliasPing (line 18) | func TestProcessAliasPing(t *testing.T) { function TestProcessInspect (line 24) | func TestProcessInspect(t *testing.T) { FILE: event/bench_test.go type benchHandler (line 20) | type benchHandler struct method Handle (line 24) | func (h *benchHandler) Handle(ctx context.Context, ev *types.Event, re... method Shutdown (line 31) | func (h *benchHandler) Shutdown(ctx context.Context) error { return nil } type benchListener (line 34) | type benchListener struct method OnEvent (line 38) | func (l *benchListener) OnEvent(ev *types.Event) { l.receiv... method Shutdown (line 39) | func (l *benchListener) Shutdown(ctx context.Context) error { return n... function BenchmarkPush_NoQueue (line 45) | func BenchmarkPush_NoQueue(b *testing.B) { function BenchmarkCall_NoQueue (line 70) | func BenchmarkCall_NoQueue(b *testing.B) { function BenchmarkPush_WithQueue (line 90) | func BenchmarkPush_WithQueue(b *testing.B) { function TestScenario_1000Users (line 123) | func TestScenario_1000Users(t *testing.T) { function BenchmarkQueueCreateRelease (line 290) | func BenchmarkQueueCreateRelease(b *testing.B) { function BenchmarkSubscriberFanout (line 313) | func BenchmarkSubscriberFanout(b *testing.B) { function BenchmarkMixed_2000Queues (line 343) | func BenchmarkMixed_2000Queues(b *testing.B) { FILE: event/bus.go function nextEventID (line 14) | func nextEventID() string { function prefixOf (line 21) | func prefixOf(typ string) string { function Push (line 31) | func Push(ctx context.Context, typ string, payload any, opts ...types.Pu... function Call (line 80) | func Call(ctx context.Context, typ string, payload any, opts ...types.Pu... function QueueCreate (line 130) | func QueueCreate(prefix string, id ...string) (string, error) { function QueueRelease (line 151) | func QueueRelease(queueID string) { function QueueAbort (line 157) | func QueueAbort(queueID string) { FILE: event/bus_test.go type recordHandler (line 16) | type recordHandler struct method Handle (line 22) | func (h *recordHandler) Handle(ctx context.Context, ev *types.Event, r... method Shutdown (line 37) | func (h *recordHandler) Shutdown(ctx context.Context) error { method getCalls (line 44) | func (h *recordHandler) getCalls() []string { function TestPush_NoQueue (line 54) | func TestPush_NoQueue(t *testing.T) { function TestCall_NoQueue (line 81) | func TestCall_NoQueue(t *testing.T) { function TestPush_UnregisteredPrefix (line 102) | func TestPush_UnregisteredPrefix(t *testing.T) { function TestPush_NotStarted (line 115) | func TestPush_NotStarted(t *testing.T) { function TestPush_SIDAndAuth (line 126) | func TestPush_SIDAndAuth(t *testing.T) { type captureHandler (line 165) | type captureHandler struct method Handle (line 169) | func (h *captureHandler) Handle(ctx context.Context, ev *types.Event, ... method Shutdown (line 178) | func (h *captureHandler) Shutdown(ctx context.Context) error { return ... function TestPush_TypeWithoutDot (line 182) | func TestPush_TypeWithoutDot(t *testing.T) { function TestCall_UnregisteredPrefix (line 207) | func TestCall_UnregisteredPrefix(t *testing.T) { function TestCall_WithQueue (line 222) | func TestCall_WithQueue(t *testing.T) { function TestCall_QueueNotFound (line 251) | func TestCall_QueueNotFound(t *testing.T) { function TestCall_CtxTimeout (line 267) | func TestCall_CtxTimeout(t *testing.T) { function TestCall_NoQueue_DispatchFail (line 289) | func TestCall_NoQueue_DispatchFail(t *testing.T) { FILE: event/leak_test.go function stableGoroutineCount (line 19) | func stableGoroutineCount() int { type leakHandler (line 30) | type leakHandler struct method Handle (line 32) | func (h *leakHandler) Handle(ctx context.Context, ev *types.Event, res... method Shutdown (line 38) | func (h *leakHandler) Shutdown(ctx context.Context) error { return nil } type leakListener (line 41) | type leakListener struct method OnEvent (line 43) | func (l *leakListener) OnEvent(ev *types.Event) {} method Shutdown (line 44) | func (l *leakListener) Shutdown(ctx context.Context) error { return nil } function TestLeak_QueueCreateRelease (line 50) | func TestLeak_QueueCreateRelease(t *testing.T) { function TestLeak_QueueCreateAbort (line 91) | func TestLeak_QueueCreateAbort(t *testing.T) { function TestLeak_SubscriberLifecycle (line 129) | func TestLeak_SubscriberLifecycle(t *testing.T) { function TestLeak_StartStopCycles (line 175) | func TestLeak_StartStopCycles(t *testing.T) { function TestLeak_1000Users_FullCycle (line 211) | func TestLeak_1000Users_FullCycle(t *testing.T) { function TestLeak_MemoryStability (line 285) | func TestLeak_MemoryStability(t *testing.T) { FILE: event/listener.go type listenerEntry (line 13) | type listenerEntry struct type listenerManager (line 23) | type listenerManager struct method register (line 34) | func (lm *listenerManager) register(pattern string, listener types.Lis... method start (line 54) | func (lm *listenerManager) start() { method consume (line 67) | func (lm *listenerManager) consume(entry *listenerEntry) { method notify (line 82) | func (lm *listenerManager) notify(ev *types.Event) { method stop (line 106) | func (lm *listenerManager) stop(ctx context.Context) { function newListenerManager (line 29) | func newListenerManager() *listenerManager { function matchPattern (line 125) | func matchPattern(pattern, eventType string) bool { function Listen (line 137) | func Listen(pattern string, listener types.Listener, opts ...types.Filte... FILE: event/listener_test.go type collectListener (line 17) | type collectListener struct method OnEvent (line 23) | func (l *collectListener) OnEvent(ev *types.Event) { method Shutdown (line 29) | func (l *collectListener) Shutdown(ctx context.Context) error { method getEvents (line 36) | func (l *collectListener) getEvents() []*types.Event { function TestListener_PatternMatch (line 44) | func TestListener_PatternMatch(t *testing.T) { function TestListener_Filter (line 86) | func TestListener_Filter(t *testing.T) { function TestListener_BufferFull_Skip (line 109) | func TestListener_BufferFull_Skip(t *testing.T) { type blockingListener (line 139) | type blockingListener struct method OnEvent (line 144) | func (l *blockingListener) OnEvent(ev *types.Event) { method Shutdown (line 149) | func (l *blockingListener) Shutdown(ctx context.Context) error { retur... function TestListener_Shutdown (line 151) | func TestListener_Shutdown(t *testing.T) { function TestListener_PanicRecovery (line 166) | func TestListener_PanicRecovery(t *testing.T) { type panicListener (line 186) | type panicListener struct method OnEvent (line 191) | func (l *panicListener) OnEvent(ev *types.Event) { method Shutdown (line 199) | func (l *panicListener) Shutdown(ctx context.Context) error { return n... function TestListener_NotifyBeforeStart (line 203) | func TestListener_NotifyBeforeStart(t *testing.T) { FILE: event/option.go function MaxWorkers (line 7) | func MaxWorkers(n int) types.HandlerOption { function ReservedWorkers (line 15) | func ReservedWorkers(n int) types.HandlerOption { function QueueSize (line 23) | func QueueSize(n int) types.HandlerOption { function Queue (line 31) | func Queue(key string) types.PushOption { function Filter (line 39) | func Filter(fn func(*types.Event) bool) types.FilterOption { function BufferSize (line 47) | func BufferSize(n int) types.FilterOption { FILE: event/queue.go type queueItem (line 11) | type queueItem struct type eventQueue (line 19) | type eventQueue struct method enqueue (line 32) | func (q *eventQueue) enqueue(ctx context.Context, ev *types.Event, res... method release (line 49) | func (q *eventQueue) release() { method abort (line 62) | func (q *eventQueue) abort() { method consumer (line 78) | func (q *eventQueue) consumer(pool *workerPool) { type queueManager (line 109) | type queueManager struct method create (line 123) | func (qm *queueManager) create(prefix string, queueID string, queueSiz... method get (line 145) | func (qm *queueManager) get(queueID string) (*eventQueue, error) { method release (line 160) | func (qm *queueManager) release(queueID string) { method abortOne (line 176) | func (qm *queueManager) abortOne(queueID string) { method abortAll (line 192) | func (qm *queueManager) abortAll() { function newQueueManager (line 115) | func newQueueManager() *queueManager { FILE: event/queue_test.go type orderHandler (line 17) | type orderHandler struct method Handle (line 22) | func (h *orderHandler) Handle(ctx context.Context, ev *types.Event, re... method Shutdown (line 34) | func (h *orderHandler) Shutdown(ctx context.Context) error { return nil } method getOrder (line 36) | func (h *orderHandler) getOrder() []int { function TestQueueCreate_Release_FIFO (line 44) | func TestQueueCreate_Release_FIFO(t *testing.T) { function TestQueueCreate_CustomID (line 84) | func TestQueueCreate_CustomID(t *testing.T) { function TestQueueCreate_Duplicate (line 102) | func TestQueueCreate_Duplicate(t *testing.T) { function TestQueueCreate_UnregisteredPrefix (line 118) | func TestQueueCreate_UnregisteredPrefix(t *testing.T) { function TestPush_QueueNotFound (line 131) | func TestPush_QueueNotFound(t *testing.T) { function TestPush_QueueReleased (line 145) | func TestPush_QueueReleased(t *testing.T) { function TestQueueAbort_DiscardsPending (line 163) | func TestQueueAbort_DiscardsPending(t *testing.T) { type slowHandler (line 192) | type slowHandler struct method Handle (line 197) | func (h *slowHandler) Handle(ctx context.Context, ev *types.Event, res... method Shutdown (line 205) | func (h *slowHandler) Shutdown(ctx context.Context) error { return nil } function TestQueue_CallInsideQueue_Serial (line 207) | func TestQueue_CallInsideQueue_Serial(t *testing.T) { function TestQueueFull (line 257) | func TestQueueFull(t *testing.T) { function TestQueueRelease_NonExistent (line 301) | func TestQueueRelease_NonExistent(t *testing.T) { function TestQueueAbort_NonExistent (line 315) | func TestQueueAbort_NonExistent(t *testing.T) { function TestQueueAbort_AfterRelease (line 329) | func TestQueueAbort_AfterRelease(t *testing.T) { function TestStop_WithActiveQueues (line 347) | func TestStop_WithActiveQueues(t *testing.T) { function TestCall_QueueReleased (line 371) | func TestCall_QueueReleased(t *testing.T) { FILE: event/service.go type ctxKey (line 24) | type ctxKey constant ctxKeySID (line 27) | ctxKeySID ctxKey = iota constant ctxKeyAuth (line 28) | ctxKeyAuth function WithSID (line 32) | func WithSID(ctx context.Context, sid string) context.Context { function SIDFrom (line 37) | func SIDFrom(ctx context.Context) string { function WithAuth (line 45) | func WithAuth(ctx context.Context, auth *types.AuthorizedInfo) context.C... function AuthFrom (line 50) | func AuthFrom(ctx context.Context) *types.AuthorizedInfo { type service (line 58) | type service struct method reset (line 214) | func (s *service) reset() { function init (line 70) | func init() { function Register (line 76) | func Register(prefix string, handler types.Handler, opts ...types.Handle... function Start (line 95) | func Start() error { function Stop (line 122) | func Stop(ctx context.Context) error { function Reload (line 174) | func Reload() error { function IsStarted (line 185) | func IsStarted() bool { function getHandler (line 192) | func getHandler(prefix string) (*types.HandlerEntry, *workerPool, error) { function Reset (line 208) | func Reset() { FILE: event/service_test.go type stubHandler (line 12) | type stubHandler struct method Handle (line 16) | func (h *stubHandler) Handle(ctx context.Context, ev *types.Event, res... method Shutdown (line 18) | func (h *stubHandler) Shutdown(ctx context.Context) error { function TestStartStop_Basic (line 25) | func TestStartStop_Basic(t *testing.T) { function TestStart_Double (line 48) | func TestStart_Double(t *testing.T) { function TestStop_WhenNotStarted (line 64) | func TestStop_WhenNotStarted(t *testing.T) { function TestReload_WhenNotStarted (line 73) | func TestReload_WhenNotStarted(t *testing.T) { function TestReload_WhenStarted (line 83) | func TestReload_WhenStarted(t *testing.T) { function TestRegister_DefaultOptions (line 96) | func TestRegister_DefaultOptions(t *testing.T) { function TestRegister_CustomOptions (line 111) | func TestRegister_CustomOptions(t *testing.T) { function TestStop_CallsHandlerShutdown (line 132) | func TestStop_CallsHandlerShutdown(t *testing.T) { function TestStop_MultipleHandlersShutdown (line 148) | func TestStop_MultipleHandlersShutdown(t *testing.T) { function TestWithSID_SIDFrom (line 168) | func TestWithSID_SIDFrom(t *testing.T) { function TestSIDFrom_Empty (line 176) | func TestSIDFrom_Empty(t *testing.T) { function TestWithAuth_AuthFrom (line 183) | func TestWithAuth_AuthFrom(t *testing.T) { function TestAuthFrom_Nil (line 195) | func TestAuthFrom_Nil(t *testing.T) { function TestWithSIDAndAuth_Combined (line 202) | func TestWithSIDAndAuth_Combined(t *testing.T) { function TestReset_ClearsState (line 217) | func TestReset_ClearsState(t *testing.T) { FILE: event/sub.go function nextSubID (line 13) | func nextSubID() string { type subEntry (line 19) | type subEntry struct type subManager (line 27) | type subManager struct method subscribe (line 39) | func (sm *subManager) subscribe(pattern string, ch chan<- *types.Event... method unsubscribe (line 59) | func (sm *subManager) unsubscribe(id string) { method notify (line 76) | func (sm *subManager) notify(ev *types.Event) { method clear (line 98) | func (sm *subManager) clear() { function newSubManager (line 32) | func newSubManager() *subManager { function Subscribe (line 117) | func Subscribe(pattern string, ch chan<- *types.Event, opts ...types.Fil... function Unsubscribe (line 122) | func Unsubscribe(id string) { FILE: event/sub_test.go function TestSubscribe_Basic (line 14) | func TestSubscribe_Basic(t *testing.T) { function TestSubscribe_PatternFilter (line 44) | func TestSubscribe_PatternFilter(t *testing.T) { function TestSubscribe_Unsubscribe (line 72) | func TestSubscribe_Unsubscribe(t *testing.T) { function TestSubscribe_ChanFull_Skip (line 99) | func TestSubscribe_ChanFull_Skip(t *testing.T) { function TestSubscribe_WildcardAll (line 125) | func TestSubscribe_WildcardAll(t *testing.T) { function TestSubscribe_StopClearsSubscribers (line 147) | func TestSubscribe_StopClearsSubscribers(t *testing.T) { function drainChan (line 168) | func drainChan(ch chan *types.Event, n int, timeout time.Duration) []*ty... FILE: event/types/interfaces.go type Handler (line 11) | type Handler interface type Listener (line 20) | type Listener interface FILE: event/types/types.go type Event (line 14) | type Event struct method Should (line 31) | func (ev *Event) Should(target any) error { type Result (line 66) | type Result struct type HandlerOption (line 72) | type HandlerOption type HandlerEntry (line 75) | type HandlerEntry struct type FilterOption (line 84) | type FilterOption type FilterEntry (line 87) | type FilterEntry struct type PushOption (line 94) | type PushOption constant DefaultMaxWorkers (line 98) | DefaultMaxWorkers = 512 constant DefaultReservedWorkers (line 99) | DefaultReservedWorkers = 10 constant DefaultQueueSize (line 100) | DefaultQueueSize = 8192 constant DefaultBufferSize (line 101) | DefaultBufferSize = 8192 FILE: event/types/types_test.go type samplePayload (line 11) | type samplePayload struct function TestShould_StructValue (line 19) | func TestShould_StructValue(t *testing.T) { function TestShould_PointerPayload (line 35) | func TestShould_PointerPayload(t *testing.T) { function TestShould_StringPayload (line 51) | func TestShould_StringPayload(t *testing.T) { function TestShould_IntPayload (line 65) | func TestShould_IntPayload(t *testing.T) { function TestShould_NilTarget (line 81) | func TestShould_NilTarget(t *testing.T) { function TestShould_NonPointerTarget (line 88) | func TestShould_NonPointerTarget(t *testing.T) { function TestShould_NilPayload (line 96) | func TestShould_NilPayload(t *testing.T) { function TestShould_NilPointerPayload (line 104) | func TestShould_NilPointerPayload(t *testing.T) { function TestShould_TypeMismatch (line 112) | func TestShould_TypeMismatch(t *testing.T) { function TestEvent_NilAuth (line 124) | func TestEvent_NilAuth(t *testing.T) { function TestEvent_WithAuth (line 138) | func TestEvent_WithAuth(t *testing.T) { function TestEvent_QueueAndIsCall (line 159) | func TestEvent_QueueAndIsCall(t *testing.T) { function TestResult_Success (line 176) | func TestResult_Success(t *testing.T) { function TestResult_Error (line 187) | func TestResult_Error(t *testing.T) { function TestHandlerEntry_Defaults (line 202) | func TestHandlerEntry_Defaults(t *testing.T) { function TestFilterEntry_WithFilter (line 231) | func TestFilterEntry_WithFilter(t *testing.T) { function TestFilterEntry_NilFilter (line 259) | func TestFilterEntry_NilFilter(t *testing.T) { FILE: event/worker.go type workerPool (line 15) | type workerPool struct method dispatch (line 44) | func (wp *workerPool) dispatch(ctx context.Context, ev *types.Event, r... method recoverPanic (line 81) | func (wp *workerPool) recoverPanic(ev *types.Event, resp chan<- types.... method wait (line 92) | func (wp *workerPool) wait() { function newWorkerPool (line 29) | func newWorkerPool(entry *types.HandlerEntry) *workerPool { FILE: event/worker_test.go function TestWorker_MaxConcurrency (line 16) | func TestWorker_MaxConcurrency(t *testing.T) { type concurrencyHandler (line 48) | type concurrencyHandler struct method Handle (line 54) | func (h *concurrencyHandler) Handle(ctx context.Context, ev *types.Eve... method Shutdown (line 69) | func (h *concurrencyHandler) Shutdown(ctx context.Context) error { ret... function TestWorker_CallReservation (line 71) | func TestWorker_CallReservation(t *testing.T) { type reservationHandler (line 102) | type reservationHandler struct method Handle (line 107) | func (h *reservationHandler) Handle(ctx context.Context, ev *types.Eve... method Shutdown (line 118) | func (h *reservationHandler) Shutdown(ctx context.Context) error { ret... function TestWorker_PanicRecovery (line 120) | func TestWorker_PanicRecovery(t *testing.T) { type panicHandler (line 144) | type panicHandler struct method Handle (line 148) | func (h *panicHandler) Handle(ctx context.Context, ev *types.Event, re... method Shutdown (line 158) | func (h *panicHandler) Shutdown(ctx context.Context) error { return nil } function TestWorker_ReservedExceedsMax (line 162) | func TestWorker_ReservedExceedsMax(t *testing.T) { function TestWorker_Call_CtxCancel_SemTotal (line 185) | func TestWorker_Call_CtxCancel_SemTotal(t *testing.T) { FILE: excel/each.go type Cols (line 13) | type Cols struct type Rows (line 20) | type Rows struct method OpenRow (line 30) | func (excel *Excel) OpenRow(sheet string) (string, error) { function NextRow (line 41) | func NextRow(id string) ([]string, error) { function CloseRow (line 63) | func CloseRow(id string) { method OpenColumn (line 68) | func (excel *Excel) OpenColumn(sheet string) (string, error) { function NextColumn (line 79) | func NextColumn(id string) ([]string, error) { function CloseColumn (line 102) | func CloseColumn(id string) { FILE: excel/each_test.go function TestEachCols (line 10) | func TestEachCols(t *testing.T) { function TestEachRows (line 38) | func TestEachRows(t *testing.T) { FILE: excel/excel.go type Excel (line 16) | type Excel struct function Open (line 28) | func Open(path string, writable bool) (string, error) { function Close (line 93) | func Close(handler string) error { function Get (line 109) | func Get(handler string) (*Excel, error) { FILE: excel/excel_test.go function TestOpenClose (line 13) | func TestOpenClose(t *testing.T) { function TestGetSheetList (line 53) | func TestGetSheetList(t *testing.T) { function TestOpenInvalidFile (line 74) | func TestOpenInvalidFile(t *testing.T) { function TestCloseErrors (line 98) | func TestCloseErrors(t *testing.T) { function TestOpenWithInvalidPath (line 119) | func TestOpenWithInvalidPath(t *testing.T) { function TestWrite (line 129) | func TestWrite(t *testing.T) { function TestSetSheet (line 201) | func TestSetSheet(t *testing.T) { function testFiles (line 241) | func testFiles(t *testing.T) map[string]string { FILE: excel/process.go function init (line 9) | func init() { function processOpen (line 60) | func processOpen(process *process.Process) interface{} { function processClose (line 76) | func processClose(process *process.Process) interface{} { function processSave (line 87) | func processSave(process *process.Process) interface{} { function processSheets (line 104) | func processSheets(process *process.Process) interface{} { function processReadCell (line 115) | func processReadCell(process *process.Process) interface{} { function processReadRow (line 133) | func processReadRow(process *process.Process) interface{} { function processReadColumn (line 150) | func processReadColumn(process *process.Process) interface{} { function processWriteCell (line 167) | func processWriteCell(process *process.Process) interface{} { function processWriteRow (line 186) | func processWriteRow(process *process.Process) interface{} { function processWriteColumn (line 215) | func processWriteColumn(process *process.Process) interface{} { function processWriteAll (line 244) | func processWriteAll(process *process.Process) interface{} { function processSetStyle (line 278) | func processSetStyle(process *process.Process) interface{} { function processSetFormula (line 297) | func processSetFormula(process *process.Process) interface{} { function processSetLink (line 316) | func processSetLink(process *process.Process) interface{} { function processSetRichText (line 336) | func processSetRichText(process *process.Process) interface{} { function processSetComment (line 371) | func processSetComment(process *process.Process) interface{} { function processSetRowHeight (line 392) | func processSetRowHeight(process *process.Process) interface{} { function processSetColumnWidth (line 412) | func processSetColumnWidth(process *process.Process) interface{} { function processMergeCell (line 433) | func processMergeCell(process *process.Process) interface{} { function processUnmergeCell (line 452) | func processUnmergeCell(process *process.Process) interface{} { function processColumnNameToNumber (line 471) | func processColumnNameToNumber(process *process.Process) interface{} { function processColumnNumberToName (line 482) | func processColumnNumberToName(process *process.Process) interface{} { function processCellNameToCoordinates (line 493) | func processCellNameToCoordinates(process *process.Process) interface{} { function processCoordinatesToCellName (line 504) | func processCoordinatesToCellName(process *process.Process) interface{} { function processOpenRow (line 516) | func processOpenRow(process *process.Process) interface{} { function processCloseRow (line 534) | func processCloseRow(process *process.Process) interface{} { function processNextRow (line 544) | func processNextRow(process *process.Process) interface{} { function processOpenColumn (line 563) | func processOpenColumn(process *process.Process) interface{} { function processCloseColumn (line 581) | func processCloseColumn(process *process.Process) interface{} { function processNextColumn (line 591) | func processNextColumn(process *process.Process) interface{} { function processCreateSheet (line 610) | func processCreateSheet(process *process.Process) interface{} { function processReadSheet (line 628) | func processReadSheet(process *process.Process) interface{} { function processUpdateSheet (line 646) | func processUpdateSheet(process *process.Process) interface{} { function processDeleteSheet (line 679) | func processDeleteSheet(process *process.Process) interface{} { function processCopySheet (line 697) | func processCopySheet(process *process.Process) interface{} { function processListSheets (line 716) | func processListSheets(process *process.Process) interface{} { function processSheetExists (line 729) | func processSheetExists(process *process.Process) interface{} { function processReadSheetRows (line 743) | func processReadSheetRows(process *process.Process) interface{} { function processGetSheetDimension (line 763) | func processGetSheetDimension(process *process.Process) interface{} { FILE: excel/process_test.go function TestProcessOpen (line 15) | func TestProcessOpen(t *testing.T) { function TestProcessSheets (line 48) | func TestProcessSheets(t *testing.T) { function TestProcessReadCell (line 80) | func TestProcessReadCell(t *testing.T) { function TestProcessClose (line 140) | func TestProcessClose(t *testing.T) { function TestProcessConvert (line 176) | func TestProcessConvert(t *testing.T) { function TestProcessSave (line 230) | func TestProcessSave(t *testing.T) { function TestProcessWriteCell (line 315) | func TestProcessWriteCell(t *testing.T) { function TestProcessSetStyle (line 381) | func TestProcessSetStyle(t *testing.T) { function TestProcessReadRow (line 435) | func TestProcessReadRow(t *testing.T) { function TestProcessReadColumn (line 469) | func TestProcessReadColumn(t *testing.T) { function TestProcessWriteOperations (line 503) | func TestProcessWriteOperations(t *testing.T) { function TestProcessSetOptions (line 585) | func TestProcessSetOptions(t *testing.T) { function TestProcessIterators (line 671) | func TestProcessIterators(t *testing.T) { function TestProcessSheetOperations (line 765) | func TestProcessSheetOperations(t *testing.T) { function TestProcessReadSheetRows (line 923) | func TestProcessReadSheetRows(t *testing.T) { function TestProcessGetSheetDimension (line 1092) | func TestProcessGetSheetDimension(t *testing.T) { FILE: excel/sheet.go function New (line 11) | func New() (*Excel, error) { method validateSheetName (line 23) | func (excel *Excel) validateSheetName(name string) error { method CreateSheet (line 41) | func (excel *Excel) CreateSheet(name string) (int, error) { method ReadSheet (line 57) | func (excel *Excel) ReadSheet(name string) ([][]interface{}, error) { method GetSheetDimension (line 80) | func (excel *Excel) GetSheetDimension(name string) (rows int, cols int, ... method ReadSheetRows (line 109) | func (excel *Excel) ReadSheetRows(name string, start int, size int) ([][... method UpdateSheet (line 167) | func (excel *Excel) UpdateSheet(name string, data [][]interface{}) error { method DeleteSheet (line 196) | func (excel *Excel) DeleteSheet(name string) error { method ListSheets (line 206) | func (excel *Excel) ListSheets() []string { method SheetExists (line 211) | func (excel *Excel) SheetExists(name string) bool { method CopySheet (line 217) | func (excel *Excel) CopySheet(source, destination string) error { FILE: excel/sheet_test.go function TestSheetOperations (line 11) | func TestSheetOperations(t *testing.T) { function TestGetSheetDimension (line 216) | func TestGetSheetDimension(t *testing.T) { FILE: excel/write.go method WriteCell (line 8) | func (excel *Excel) WriteCell(sheet string, cell string, value interface... method WriteRow (line 18) | func (excel *Excel) WriteRow(sheet string, cell string, value []interfac... method WriteColumn (line 29) | func (excel *Excel) WriteColumn(sheet string, cell string, value []inter... method WriteAll (line 39) | func (excel *Excel) WriteAll(sheet string, cell string, rows [][]interfa... method SetSheet (line 81) | func (excel *Excel) SetSheet(name string) (int, error) { FILE: excel/write_test.go function TestWriteAll (line 12) | func TestWriteAll(t *testing.T) { FILE: flow/flow.go function Load (line 11) | func Load(cfg config.Config) error { FILE: flow/flow_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function check (line 20) | func check(t *testing.T) { FILE: fs/fs.go function Load (line 13) | func Load(cfg config.Config) error { FILE: fs/fs_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function TestDSL (line 33) | func TestDSL(t *testing.T) { function TestScirpt (line 54) | func TestScirpt(t *testing.T) { FILE: grpc/agent/agent.go type Handler (line 19) | type Handler struct method AgentStream (line 23) | func (h *Handler) AgentStream(req *pb.AgentRequest, stream grpc.Server... function toGRPCError (line 66) | func toGRPCError(err error) error { type grpcStreamWriter (line 77) | type grpcStreamWriter struct method Header (line 83) | func (w *grpcStreamWriter) Header() http.Header { return w.head... method WriteHeader (line 84) | func (w *grpcStreamWriter) WriteHeader(statusCode int) { w.code = stat... method Write (line 85) | func (w *grpcStreamWriter) Write(data []byte) (int, error) { method Flush (line 93) | func (w *grpcStreamWriter) Flush() {} FILE: grpc/agent/agent_test.go function TestAgentStream_InvalidAssistant (line 18) | func TestAgentStream_InvalidAssistant(t *testing.T) { function TestAgentStream_EmptyAssistantID (line 45) | func TestAgentStream_EmptyAssistantID(t *testing.T) { function TestAgentStream_EmptyMessages (line 67) | func TestAgentStream_EmptyMessages(t *testing.T) { function TestAgentStream_NilMessages (line 92) | func TestAgentStream_NilMessages(t *testing.T) { function TestAgentStream_BadMessagesJSON (line 115) | func TestAgentStream_BadMessagesJSON(t *testing.T) { function TestAgentStream_BadOptionsJSON (line 138) | func TestAgentStream_BadOptionsJSON(t *testing.T) { function TestAgentStream_RealAgent (line 166) | func TestAgentStream_RealAgent(t *testing.T) { FILE: grpc/api/api.go type Handler (line 18) | type Handler struct method API (line 21) | func (h *Handler) API(ctx context.Context, req *pb.APIRequest) (*pb.AP... FILE: grpc/api/api_test.go function TestAPI_Proxy (line 15) | func TestAPI_Proxy(t *testing.T) { function TestAPI_NotFoundEndpoint (line 42) | func TestAPI_NotFoundEndpoint(t *testing.T) { function TestAPI_MissingMethod (line 62) | func TestAPI_MissingMethod(t *testing.T) { function TestAPI_MissingPath (line 79) | func TestAPI_MissingPath(t *testing.T) { function TestAPI_WithHeaders (line 96) | func TestAPI_WithHeaders(t *testing.T) { function TestAPI_PostWithBody (line 116) | func TestAPI_PostWithBody(t *testing.T) { FILE: grpc/auth/endpoint.go function VirtualEndpoint (line 12) | func VirtualEndpoint(fullMethod string, req interface{}) (method string,... FILE: grpc/auth/endpoint_test.go function TestVirtualEndpoint_Run (line 12) | func TestVirtualEndpoint_Run(t *testing.T) { function TestVirtualEndpoint_Stream (line 18) | func TestVirtualEndpoint_Stream(t *testing.T) { function TestVirtualEndpoint_Shell (line 24) | func TestVirtualEndpoint_Shell(t *testing.T) { function TestVirtualEndpoint_ShellStream (line 30) | func TestVirtualEndpoint_ShellStream(t *testing.T) { function TestVirtualEndpoint_API (line 36) | func TestVirtualEndpoint_API(t *testing.T) { function TestVirtualEndpoint_MCPListTools (line 42) | func TestVirtualEndpoint_MCPListTools(t *testing.T) { function TestVirtualEndpoint_MCPCallTool (line 48) | func TestVirtualEndpoint_MCPCallTool(t *testing.T) { function TestVirtualEndpoint_MCPListResources (line 54) | func TestVirtualEndpoint_MCPListResources(t *testing.T) { function TestVirtualEndpoint_MCPReadResource (line 60) | func TestVirtualEndpoint_MCPReadResource(t *testing.T) { function TestVirtualEndpoint_ChatCompletions (line 66) | func TestVirtualEndpoint_ChatCompletions(t *testing.T) { function TestVirtualEndpoint_ChatCompletionsStream (line 72) | func TestVirtualEndpoint_ChatCompletionsStream(t *testing.T) { function TestVirtualEndpoint_AgentStream (line 78) | func TestVirtualEndpoint_AgentStream(t *testing.T) { function TestVirtualEndpoint_Unknown (line 84) | func TestVirtualEndpoint_Unknown(t *testing.T) { function TestVirtualEndpoint_RunNilReq (line 90) | func TestVirtualEndpoint_RunNilReq(t *testing.T) { function TestVirtualEndpoint_RunEmptyProcess (line 96) | func TestVirtualEndpoint_RunEmptyProcess(t *testing.T) { function TestVirtualEndpoint_StreamNilReq (line 102) | func TestVirtualEndpoint_StreamNilReq(t *testing.T) { function TestVirtualEndpoint_APINilReq (line 108) | func TestVirtualEndpoint_APINilReq(t *testing.T) { function TestVirtualEndpoint_APIEmptyMethod (line 114) | func TestVirtualEndpoint_APIEmptyMethod(t *testing.T) { function TestVirtualEndpoint_MCPCallToolNilReq (line 120) | func TestVirtualEndpoint_MCPCallToolNilReq(t *testing.T) { function TestVirtualEndpoint_AgentStreamNilReq (line 126) | func TestVirtualEndpoint_AgentStreamNilReq(t *testing.T) { function TestVirtualEndpoint_AgentStreamEmptyID (line 132) | func TestVirtualEndpoint_AgentStreamEmptyID(t *testing.T) { function TestVirtualEndpoint_Heartbeat (line 138) | func TestVirtualEndpoint_Heartbeat(t *testing.T) { function TestVirtualEndpoint_HeartbeatNilReq (line 144) | func TestVirtualEndpoint_HeartbeatNilReq(t *testing.T) { FILE: grpc/auth/guard.go constant healthzMethod (line 18) | healthzMethod = "/yao.Yao/Healthz" constant apiMethod (line 19) | apiMethod = "/yao.Yao/API" constant taiRegisterMethod (line 20) | taiRegisterMethod = "/tai.tunnel.TaiTunnel/Register" constant taiForwardMethod (line 21) | taiForwardMethod = "/tai.tunnel.TaiTunnel/Forward" constant metaAuthorization (line 23) | metaAuthorization = "authorization" constant metaRefreshToken (line 24) | metaRefreshToken = "x-refresh-token" constant metaAccessToken (line 25) | metaAccessToken = "x-access-token" constant metaSandboxID (line 26) | metaSandboxID = "x-sandbox-id" constant metaSessionID (line 27) | metaSessionID = "x-session-id" type authCtxKey (line 30) | type authCtxKey struct function WithAuthorizedInfo (line 33) | func WithAuthorizedInfo(ctx context.Context, info *types.AuthorizedInfo)... function GetAuthorizedInfo (line 38) | func GetAuthorizedInfo(ctx context.Context) *types.AuthorizedInfo { function UnaryInterceptor (line 44) | func UnaryInterceptor(ctx context.Context, req interface{}, info *grpc.U... function StreamInterceptor (line 59) | func StreamInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc... function authenticate (line 73) | func authenticate(ctx context.Context, fullMethod string, req interface{... function getACLEnforcer (line 129) | func getACLEnforcer() *acl.ACL { function extractBearer (line 143) | func extractBearer(md metadata.MD) string { function extractMeta (line 155) | func extractMeta(md metadata.MD, key string) string { type wrappedStream (line 164) | type wrappedStream struct method Context (line 169) | func (w *wrappedStream) Context() context.Context { FILE: grpc/auth/guard_test.go function TestAuth_NoToken_Rejected (line 17) | func TestAuth_NoToken_Rejected(t *testing.T) { function TestAuth_ValidToken (line 30) | func TestAuth_ValidToken(t *testing.T) { function TestAuth_WrongScope_Denied (line 46) | func TestAuth_WrongScope_Denied(t *testing.T) { function TestAuth_TokenRefresh (line 62) | func TestAuth_TokenRefresh(t *testing.T) { function TestHealthz_Public (line 81) | func TestHealthz_Public(t *testing.T) { function TestAuth_InvalidBearerFormat (line 92) | func TestAuth_InvalidBearerFormat(t *testing.T) { function TestAuth_StreamInterceptor_NoToken (line 105) | func TestAuth_StreamInterceptor_NoToken(t *testing.T) { function TestAuth_StreamInterceptor_ValidToken (line 124) | func TestAuth_StreamInterceptor_ValidToken(t *testing.T) { function TestAuth_StreamInterceptor_WrongScope (line 149) | func TestAuth_StreamInterceptor_WrongScope(t *testing.T) { function TestAuth_TaiTunnel_Register_NoToken (line 174) | func TestAuth_TaiTunnel_Register_NoToken(t *testing.T) { function TestAuth_TaiTunnel_Forward_NoToken (line 192) | func TestAuth_TaiTunnel_Forward_NoToken(t *testing.T) { function TestAuth_TaiTunnel_Register_ValidToken (line 211) | func TestAuth_TaiTunnel_Register_ValidToken(t *testing.T) { function TestAuth_TaiTunnel_Register_ExpiredToken (line 242) | func TestAuth_TaiTunnel_Register_ExpiredToken(t *testing.T) { FILE: grpc/auth/scope.go function init (line 5) | func init() { FILE: grpc/client/client.go type Client (line 16) | type Client struct method Close (line 68) | func (c *Client) Close() error { method Conn (line 76) | func (c *Client) Conn() *grpc.ClientConn { return c.conn } method TokenManager (line 79) | func (c *Client) TokenManager() *TokenManager { return c.token } method Run (line 84) | func (c *Client) Run(ctx context.Context, process string, args []byte,... method Shell (line 97) | func (c *Client) Shell(ctx context.Context, command string, args []str... method API (line 109) | func (c *Client) API(ctx context.Context, method, path string, headers... method MCPListTools (line 121) | func (c *Client) MCPListTools(ctx context.Context, sessionID string) (... method MCPCallTool (line 130) | func (c *Client) MCPCallTool(ctx context.Context, sessionID, tool stri... method MCPListResources (line 143) | func (c *Client) MCPListResources(ctx context.Context, sessionID strin... method MCPReadResource (line 152) | func (c *Client) MCPReadResource(ctx context.Context, sessionID, uri s... method ChatCompletions (line 166) | func (c *Client) ChatCompletions(ctx context.Context, connector string... method ChatCompletionsStream (line 179) | func (c *Client) ChatCompletionsStream(ctx context.Context, connector ... method AgentStream (line 208) | func (c *Client) AgentStream(ctx context.Context, assistantID string, ... method Heartbeat (line 237) | func (c *Client) Heartbeat(ctx context.Context, sandboxID string, cpuP... method Healthz (line 253) | func (c *Client) Healthz(ctx context.Context) (string, error) { function NewFromEnv (line 24) | func NewFromEnv() (*Client, error) { function Dial (line 39) | func Dial(addr string, tm *TokenManager) (*Client, error) { FILE: grpc/client/token.go type TokenManager (line 14) | type TokenManager struct method AttachMetadata (line 40) | func (tm *TokenManager) AttachMetadata(ctx context.Context) context.Co... method HandleResponseHeaders (line 63) | func (tm *TokenManager) HandleResponseHeaders(header metadata.MD) { method UnaryInterceptor (line 81) | func (tm *TokenManager) UnaryInterceptor() grpc.UnaryClientInterceptor { method StreamInterceptor (line 96) | func (tm *TokenManager) StreamInterceptor() grpc.StreamClientIntercept... method AccessToken (line 113) | func (tm *TokenManager) AccessToken() string { function NewTokenManagerFromEnv (line 22) | func NewTokenManagerFromEnv() (*TokenManager, error) { function NewTokenManager (line 31) | func NewTokenManager(accessToken, refreshToken, sandboxID string) *Token... FILE: grpc/grpc.go type yaoServer (line 40) | type yaoServer struct method Healthz (line 54) | func (s *yaoServer) Healthz(ctx context.Context, req *pb.Empty) (*pb.H... method Run (line 60) | func (s *yaoServer) Run(ctx context.Context, req *pb.RunRequest) (*pb.... method Shell (line 64) | func (s *yaoServer) Shell(ctx context.Context, req *pb.ShellRequest) (... method Stream (line 69) | func (s *yaoServer) Stream(req *pb.RunRequest, stream grpc.ServerStrea... method ShellStream (line 73) | func (s *yaoServer) ShellStream(req *pb.ShellRequest, stream grpc.Serv... method API (line 79) | func (s *yaoServer) API(ctx context.Context, req *pb.APIRequest) (*pb.... method MCPListTools (line 85) | func (s *yaoServer) MCPListTools(ctx context.Context, req *pb.MCPListR... method MCPCallTool (line 89) | func (s *yaoServer) MCPCallTool(ctx context.Context, req *pb.MCPCallRe... method MCPListResources (line 93) | func (s *yaoServer) MCPListResources(ctx context.Context, req *pb.MCPL... method MCPReadResource (line 97) | func (s *yaoServer) MCPReadResource(ctx context.Context, req *pb.MCPRe... method ChatCompletions (line 103) | func (s *yaoServer) ChatCompletions(ctx context.Context, req *pb.ChatR... method ChatCompletionsStream (line 107) | func (s *yaoServer) ChatCompletionsStream(req *pb.ChatRequest, stream ... method AgentStream (line 113) | func (s *yaoServer) AgentStream(req *pb.AgentRequest, stream grpc.Serv... method Heartbeat (line 119) | func (s *yaoServer) Heartbeat(ctx context.Context, req *pb.HeartbeatRe... function SandboxHandler (line 127) | func SandboxHandler() *sandboxhandler.Handler { function SetSandboxOnBeat (line 138) | func SetSandboxOnBeat(fn func(data *sandboxhandler.HeartbeatData) string) { function StartServer (line 146) | func StartServer(cfg config.Config) error { function stopLocked (line 202) | func stopLocked() { function Stop (line 230) | func Stop() { function GRPCServer (line 239) | func GRPCServer() *grpc.Server { function TunnelHandler (line 246) | func TunnelHandler() *tunnel.TunnelHandler { function Addr (line 253) | func Addr() []string { function ExpandHosts (line 266) | func ExpandHosts(raw string) []string { function InternalIPs (line 305) | func InternalIPs() []string { function isPrivateIP (line 336) | func isPrivateIP(ip net.IP) bool { FILE: grpc/health/health.go type Handler (line 10) | type Handler struct method Healthz (line 13) | func (h *Handler) Healthz(ctx context.Context, req *pb.Empty) (*pb.Hea... FILE: grpc/health/health_test.go function TestHealthz_ReturnsOk (line 13) | func TestHealthz_ReturnsOk(t *testing.T) { FILE: grpc/llm/llm.go type Handler (line 20) | type Handler struct method ChatCompletions (line 23) | func (h *Handler) ChatCompletions(ctx context.Context, req *pb.ChatReq... method ChatCompletionsStream (line 49) | func (h *Handler) ChatCompletionsStream(req *pb.ChatRequest, stream gr... function prepareLLMCall (line 84) | func prepareLLMCall(ctx context.Context, req *pb.ChatRequest) (agentLLM.... function parseMessagesToContext (line 117) | func parseMessagesToContext(raw []byte) ([]agentContext.Message, error) { function toOpenAIFormat (line 134) | func toOpenAIFormat(resp *agentContext.CompletionResponse) map[string]in... FILE: grpc/llm/llm_test.go function TestChatCompletions_InvalidConnector (line 18) | func TestChatCompletions_InvalidConnector(t *testing.T) { function TestChatCompletions_EmptyConnector (line 39) | func TestChatCompletions_EmptyConnector(t *testing.T) { function TestChatCompletionsStream_EmptyConnector (line 55) | func TestChatCompletionsStream_EmptyConnector(t *testing.T) { function TestChatCompletions_BadMessagesJSON (line 77) | func TestChatCompletions_BadMessagesJSON(t *testing.T) { function TestChatCompletions_EmptyMessages (line 94) | func TestChatCompletions_EmptyMessages(t *testing.T) { function TestChatCompletions_EmptyMessageArray (line 111) | func TestChatCompletions_EmptyMessageArray(t *testing.T) { function TestChatCompletions_BadOptionsJSON (line 128) | func TestChatCompletions_BadOptionsJSON(t *testing.T) { function TestChatCompletionsStream_InvalidConnector (line 149) | func TestChatCompletionsStream_InvalidConnector(t *testing.T) { function TestChatCompletionsStream_BadMessages (line 176) | func TestChatCompletionsStream_BadMessages(t *testing.T) { function TestChatCompletions_RealLLM (line 200) | func TestChatCompletions_RealLLM(t *testing.T) { function TestChatCompletionsStream_RealLLM (line 227) | func TestChatCompletionsStream_RealLLM(t *testing.T) { FILE: grpc/mcp/mcp.go type Handler (line 15) | type Handler struct method MCPListTools (line 18) | func (h *Handler) MCPListTools(ctx context.Context, req *pb.MCPListReq... method MCPCallTool (line 38) | func (h *Handler) MCPCallTool(ctx context.Context, req *pb.MCPCallRequ... method MCPListResources (line 65) | func (h *Handler) MCPListResources(ctx context.Context, req *pb.MCPLis... method MCPReadResource (line 85) | func (h *Handler) MCPReadResource(ctx context.Context, req *pb.MCPReso... FILE: grpc/mcp/mcp_test.go constant echoSession (line 16) | echoSession = "echo" function TestMCPListTools_Success (line 20) | func TestMCPListTools_Success(t *testing.T) { function TestMCPListTools_InvalidSession (line 52) | func TestMCPListTools_InvalidSession(t *testing.T) { function TestMCPCallTool_Ping (line 70) | func TestMCPCallTool_Ping(t *testing.T) { function TestMCPCallTool_Echo (line 93) | func TestMCPCallTool_Echo(t *testing.T) { function TestMCPCallTool_NilArgs (line 113) | func TestMCPCallTool_NilArgs(t *testing.T) { function TestMCPCallTool_InvalidSession (line 132) | func TestMCPCallTool_InvalidSession(t *testing.T) { function TestMCPCallTool_BadArgs (line 149) | func TestMCPCallTool_BadArgs(t *testing.T) { function TestMCPListResources_Success (line 169) | func TestMCPListResources_Success(t *testing.T) { function TestMCPListResources_InvalidSession (line 191) | func TestMCPListResources_InvalidSession(t *testing.T) { function TestMCPReadResource_Success (line 209) | func TestMCPReadResource_Success(t *testing.T) { function TestMCPReadResource_InvalidSession (line 232) | func TestMCPReadResource_InvalidSession(t *testing.T) { function TestMCPReadResource_NotFoundURI (line 249) | func TestMCPReadResource_NotFoundURI(t *testing.T) { FILE: grpc/pb/yao.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type RunRequest (line 24) | type RunRequest struct method Reset (line 33) | func (x *RunRequest) Reset() { method String (line 40) | func (x *RunRequest) String() string { method ProtoMessage (line 44) | func (*RunRequest) ProtoMessage() {} method ProtoReflect (line 46) | func (x *RunRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 59) | func (*RunRequest) Descriptor() ([]byte, []int) { method GetProcess (line 63) | func (x *RunRequest) GetProcess() string { method GetArgs (line 70) | func (x *RunRequest) GetArgs() []byte { method GetTimeout (line 77) | func (x *RunRequest) GetTimeout() int32 { type RunResponse (line 84) | type RunResponse struct method Reset (line 91) | func (x *RunResponse) Reset() { method String (line 98) | func (x *RunResponse) String() string { method ProtoMessage (line 102) | func (*RunResponse) ProtoMessage() {} method ProtoReflect (line 104) | func (x *RunResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 117) | func (*RunResponse) Descriptor() ([]byte, []int) { method GetData (line 121) | func (x *RunResponse) GetData() []byte { type Chunk (line 128) | type Chunk struct method Reset (line 136) | func (x *Chunk) Reset() { method String (line 143) | func (x *Chunk) String() string { method ProtoMessage (line 147) | func (*Chunk) ProtoMessage() {} method ProtoReflect (line 149) | func (x *Chunk) ProtoReflect() protoreflect.Message { method Descriptor (line 162) | func (*Chunk) Descriptor() ([]byte, []int) { method GetData (line 166) | func (x *Chunk) GetData() []byte { method GetDone (line 173) | func (x *Chunk) GetDone() bool { type ShellRequest (line 180) | type ShellRequest struct method Reset (line 190) | func (x *ShellRequest) Reset() { method String (line 197) | func (x *ShellRequest) String() string { method ProtoMessage (line 201) | func (*ShellRequest) ProtoMessage() {} method ProtoReflect (line 203) | func (x *ShellRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 216) | func (*ShellRequest) Descriptor() ([]byte, []int) { method GetCommand (line 220) | func (x *ShellRequest) GetCommand() string { method GetArgs (line 227) | func (x *ShellRequest) GetArgs() []string { method GetEnv (line 234) | func (x *ShellRequest) GetEnv() map[string]string { method GetTimeout (line 241) | func (x *ShellRequest) GetTimeout() int32 { type ShellResponse (line 248) | type ShellResponse struct method Reset (line 257) | func (x *ShellResponse) Reset() { method String (line 264) | func (x *ShellResponse) String() string { method ProtoMessage (line 268) | func (*ShellResponse) ProtoMessage() {} method ProtoReflect (line 270) | func (x *ShellResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 283) | func (*ShellResponse) Descriptor() ([]byte, []int) { method GetStdout (line 287) | func (x *ShellResponse) GetStdout() []byte { method GetStderr (line 294) | func (x *ShellResponse) GetStderr() []byte { method GetExitCode (line 301) | func (x *ShellResponse) GetExitCode() int32 { type APIRequest (line 308) | type APIRequest struct method Reset (line 318) | func (x *APIRequest) Reset() { method String (line 325) | func (x *APIRequest) String() string { method ProtoMessage (line 329) | func (*APIRequest) ProtoMessage() {} method ProtoReflect (line 331) | func (x *APIRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 344) | func (*APIRequest) Descriptor() ([]byte, []int) { method GetMethod (line 348) | func (x *APIRequest) GetMethod() string { method GetPath (line 355) | func (x *APIRequest) GetPath() string { method GetHeaders (line 362) | func (x *APIRequest) GetHeaders() map[string]string { method GetBody (line 369) | func (x *APIRequest) GetBody() []byte { type APIResponse (line 376) | type APIResponse struct method Reset (line 385) | func (x *APIResponse) Reset() { method String (line 392) | func (x *APIResponse) String() string { method ProtoMessage (line 396) | func (*APIResponse) ProtoMessage() {} method ProtoReflect (line 398) | func (x *APIResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 411) | func (*APIResponse) Descriptor() ([]byte, []int) { method GetStatus (line 415) | func (x *APIResponse) GetStatus() int32 { method GetHeaders (line 422) | func (x *APIResponse) GetHeaders() map[string]string { method GetBody (line 429) | func (x *APIResponse) GetBody() []byte { type MCPListRequest (line 436) | type MCPListRequest struct method Reset (line 443) | func (x *MCPListRequest) Reset() { method String (line 450) | func (x *MCPListRequest) String() string { method ProtoMessage (line 454) | func (*MCPListRequest) ProtoMessage() {} method ProtoReflect (line 456) | func (x *MCPListRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 469) | func (*MCPListRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 473) | func (x *MCPListRequest) GetSessionId() string { type MCPListResponse (line 480) | type MCPListResponse struct method Reset (line 487) | func (x *MCPListResponse) Reset() { method String (line 494) | func (x *MCPListResponse) String() string { method ProtoMessage (line 498) | func (*MCPListResponse) ProtoMessage() {} method ProtoReflect (line 500) | func (x *MCPListResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 513) | func (*MCPListResponse) Descriptor() ([]byte, []int) { method GetTools (line 517) | func (x *MCPListResponse) GetTools() []byte { type MCPCallRequest (line 524) | type MCPCallRequest struct method Reset (line 533) | func (x *MCPCallRequest) Reset() { method String (line 540) | func (x *MCPCallRequest) String() string { method ProtoMessage (line 544) | func (*MCPCallRequest) ProtoMessage() {} method ProtoReflect (line 546) | func (x *MCPCallRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 559) | func (*MCPCallRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 563) | func (x *MCPCallRequest) GetSessionId() string { method GetTool (line 570) | func (x *MCPCallRequest) GetTool() string { method GetArguments (line 577) | func (x *MCPCallRequest) GetArguments() []byte { type MCPCallResponse (line 584) | type MCPCallResponse struct method Reset (line 591) | func (x *MCPCallResponse) Reset() { method String (line 598) | func (x *MCPCallResponse) String() string { method ProtoMessage (line 602) | func (*MCPCallResponse) ProtoMessage() {} method ProtoReflect (line 604) | func (x *MCPCallResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 617) | func (*MCPCallResponse) Descriptor() ([]byte, []int) { method GetResult (line 621) | func (x *MCPCallResponse) GetResult() []byte { type MCPResourcesResponse (line 628) | type MCPResourcesResponse struct method Reset (line 635) | func (x *MCPResourcesResponse) Reset() { method String (line 642) | func (x *MCPResourcesResponse) String() string { method ProtoMessage (line 646) | func (*MCPResourcesResponse) ProtoMessage() {} method ProtoReflect (line 648) | func (x *MCPResourcesResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 661) | func (*MCPResourcesResponse) Descriptor() ([]byte, []int) { method GetResources (line 665) | func (x *MCPResourcesResponse) GetResources() []byte { type MCPResourceRequest (line 672) | type MCPResourceRequest struct method Reset (line 680) | func (x *MCPResourceRequest) Reset() { method String (line 687) | func (x *MCPResourceRequest) String() string { method ProtoMessage (line 691) | func (*MCPResourceRequest) ProtoMessage() {} method ProtoReflect (line 693) | func (x *MCPResourceRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 706) | func (*MCPResourceRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 710) | func (x *MCPResourceRequest) GetSessionId() string { method GetUri (line 717) | func (x *MCPResourceRequest) GetUri() string { type MCPResourceResponse (line 724) | type MCPResourceResponse struct method Reset (line 731) | func (x *MCPResourceResponse) Reset() { method String (line 738) | func (x *MCPResourceResponse) String() string { method ProtoMessage (line 742) | func (*MCPResourceResponse) ProtoMessage() {} method ProtoReflect (line 744) | func (x *MCPResourceResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 757) | func (*MCPResourceResponse) Descriptor() ([]byte, []int) { method GetContents (line 761) | func (x *MCPResourceResponse) GetContents() []byte { type ChatRequest (line 768) | type ChatRequest struct method Reset (line 777) | func (x *ChatRequest) Reset() { method String (line 784) | func (x *ChatRequest) String() string { method ProtoMessage (line 788) | func (*ChatRequest) ProtoMessage() {} method ProtoReflect (line 790) | func (x *ChatRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 803) | func (*ChatRequest) Descriptor() ([]byte, []int) { method GetConnector (line 807) | func (x *ChatRequest) GetConnector() string { method GetMessages (line 814) | func (x *ChatRequest) GetMessages() []byte { method GetOptions (line 821) | func (x *ChatRequest) GetOptions() []byte { type ChatResponse (line 828) | type ChatResponse struct method Reset (line 835) | func (x *ChatResponse) Reset() { method String (line 842) | func (x *ChatResponse) String() string { method ProtoMessage (line 846) | func (*ChatResponse) ProtoMessage() {} method ProtoReflect (line 848) | func (x *ChatResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 861) | func (*ChatResponse) Descriptor() ([]byte, []int) { method GetData (line 865) | func (x *ChatResponse) GetData() []byte { type ChatChunk (line 872) | type ChatChunk struct method Reset (line 880) | func (x *ChatChunk) Reset() { method String (line 887) | func (x *ChatChunk) String() string { method ProtoMessage (line 891) | func (*ChatChunk) ProtoMessage() {} method ProtoReflect (line 893) | func (x *ChatChunk) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*ChatChunk) Descriptor() ([]byte, []int) { method GetData (line 910) | func (x *ChatChunk) GetData() []byte { method GetDone (line 917) | func (x *ChatChunk) GetDone() bool { type AgentRequest (line 924) | type AgentRequest struct method Reset (line 933) | func (x *AgentRequest) Reset() { method String (line 940) | func (x *AgentRequest) String() string { method ProtoMessage (line 944) | func (*AgentRequest) ProtoMessage() {} method ProtoReflect (line 946) | func (x *AgentRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 959) | func (*AgentRequest) Descriptor() ([]byte, []int) { method GetAssistantId (line 963) | func (x *AgentRequest) GetAssistantId() string { method GetMessages (line 970) | func (x *AgentRequest) GetMessages() []byte { method GetOptions (line 977) | func (x *AgentRequest) GetOptions() []byte { type AgentChunk (line 985) | type AgentChunk struct method Reset (line 993) | func (x *AgentChunk) Reset() { method String (line 1000) | func (x *AgentChunk) String() string { method ProtoMessage (line 1004) | func (*AgentChunk) ProtoMessage() {} method ProtoReflect (line 1006) | func (x *AgentChunk) ProtoReflect() protoreflect.Message { method Descriptor (line 1019) | func (*AgentChunk) Descriptor() ([]byte, []int) { method GetData (line 1023) | func (x *AgentChunk) GetData() []byte { method GetDone (line 1030) | func (x *AgentChunk) GetDone() bool { type Empty (line 1037) | type Empty struct method Reset (line 1043) | func (x *Empty) Reset() { method String (line 1050) | func (x *Empty) String() string { method ProtoMessage (line 1054) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 1056) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 1069) | func (*Empty) Descriptor() ([]byte, []int) { type HealthzResponse (line 1073) | type HealthzResponse struct method Reset (line 1080) | func (x *HealthzResponse) Reset() { method String (line 1087) | func (x *HealthzResponse) String() string { method ProtoMessage (line 1091) | func (*HealthzResponse) ProtoMessage() {} method ProtoReflect (line 1093) | func (x *HealthzResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1106) | func (*HealthzResponse) Descriptor() ([]byte, []int) { method GetStatus (line 1110) | func (x *HealthzResponse) GetStatus() string { type HeartbeatRequest (line 1117) | type HeartbeatRequest struct method Reset (line 1127) | func (x *HeartbeatRequest) Reset() { method String (line 1134) | func (x *HeartbeatRequest) String() string { method ProtoMessage (line 1138) | func (*HeartbeatRequest) ProtoMessage() {} method ProtoReflect (line 1140) | func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1153) | func (*HeartbeatRequest) Descriptor() ([]byte, []int) { method GetSandboxId (line 1157) | func (x *HeartbeatRequest) GetSandboxId() string { method GetCpuPercent (line 1164) | func (x *HeartbeatRequest) GetCpuPercent() int32 { method GetMemBytes (line 1171) | func (x *HeartbeatRequest) GetMemBytes() int64 { method GetRunningProcs (line 1178) | func (x *HeartbeatRequest) GetRunningProcs() int32 { type HeartbeatResponse (line 1185) | type HeartbeatResponse struct method Reset (line 1192) | func (x *HeartbeatResponse) Reset() { method String (line 1199) | func (x *HeartbeatResponse) String() string { method ProtoMessage (line 1203) | func (*HeartbeatResponse) ProtoMessage() {} method ProtoReflect (line 1205) | func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1218) | func (*HeartbeatResponse) Descriptor() ([]byte, []int) { method GetAction (line 1222) | func (x *HeartbeatResponse) GetAction() string { constant file_grpc_pb_yao_proto_rawDesc (line 1231) | file_grpc_pb_yao_proto_rawDesc = "" + function file_grpc_pb_yao_proto_rawDescGZIP (line 1345) | func file_grpc_pb_yao_proto_rawDescGZIP() []byte { function init (line 1420) | func init() { file_grpc_pb_yao_proto_init() } function file_grpc_pb_yao_proto_init (line 1421) | func file_grpc_pb_yao_proto_init() { FILE: grpc/pb/yao_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion9 constant Yao_Run_FullMethodName (line 22) | Yao_Run_FullMethodName = "/yao.Yao/Run" constant Yao_Stream_FullMethodName (line 23) | Yao_Stream_FullMethodName = "/yao.Yao/Stream" constant Yao_Shell_FullMethodName (line 24) | Yao_Shell_FullMethodName = "/yao.Yao/Shell" constant Yao_ShellStream_FullMethodName (line 25) | Yao_ShellStream_FullMethodName = "/yao.Yao/ShellStream" constant Yao_API_FullMethodName (line 26) | Yao_API_FullMethodName = "/yao.Yao/API" constant Yao_MCPListTools_FullMethodName (line 27) | Yao_MCPListTools_FullMethodName = "/yao.Yao/MCPListTools" constant Yao_MCPCallTool_FullMethodName (line 28) | Yao_MCPCallTool_FullMethodName = "/yao.Yao/MCPCallTool" constant Yao_MCPListResources_FullMethodName (line 29) | Yao_MCPListResources_FullMethodName = "/yao.Yao/MCPListResources" constant Yao_MCPReadResource_FullMethodName (line 30) | Yao_MCPReadResource_FullMethodName = "/yao.Yao/MCPReadResource" constant Yao_ChatCompletions_FullMethodName (line 31) | Yao_ChatCompletions_FullMethodName = "/yao.Yao/ChatCompletions" constant Yao_ChatCompletionsStream_FullMethodName (line 32) | Yao_ChatCompletionsStream_FullMethodName = "/yao.Yao/ChatCompletionsStream" constant Yao_AgentStream_FullMethodName (line 33) | Yao_AgentStream_FullMethodName = "/yao.Yao/AgentStream" constant Yao_Healthz_FullMethodName (line 34) | Yao_Healthz_FullMethodName = "/yao.Yao/Healthz" constant Yao_Heartbeat_FullMethodName (line 35) | Yao_Heartbeat_FullMethodName = "/yao.Yao/Heartbeat" type YaoClient (line 43) | type YaoClient interface type yaoClient (line 67) | type yaoClient struct method Run (line 75) | func (c *yaoClient) Run(ctx context.Context, in *RunRequest, opts ...g... method Stream (line 85) | func (c *yaoClient) Stream(ctx context.Context, in *RunRequest, opts .... method Shell (line 104) | func (c *yaoClient) Shell(ctx context.Context, in *ShellRequest, opts ... method ShellStream (line 114) | func (c *yaoClient) ShellStream(ctx context.Context, in *ShellRequest,... method API (line 133) | func (c *yaoClient) API(ctx context.Context, in *APIRequest, opts ...g... method MCPListTools (line 143) | func (c *yaoClient) MCPListTools(ctx context.Context, in *MCPListReque... method MCPCallTool (line 153) | func (c *yaoClient) MCPCallTool(ctx context.Context, in *MCPCallReques... method MCPListResources (line 163) | func (c *yaoClient) MCPListResources(ctx context.Context, in *MCPListR... method MCPReadResource (line 173) | func (c *yaoClient) MCPReadResource(ctx context.Context, in *MCPResour... method ChatCompletions (line 183) | func (c *yaoClient) ChatCompletions(ctx context.Context, in *ChatReque... method ChatCompletionsStream (line 193) | func (c *yaoClient) ChatCompletionsStream(ctx context.Context, in *Cha... method AgentStream (line 212) | func (c *yaoClient) AgentStream(ctx context.Context, in *AgentRequest,... method Healthz (line 231) | func (c *yaoClient) Healthz(ctx context.Context, in *Empty, opts ...gr... method Heartbeat (line 241) | func (c *yaoClient) Heartbeat(ctx context.Context, in *HeartbeatReques... function NewYaoClient (line 71) | func NewYaoClient(cc grpc.ClientConnInterface) YaoClient { type YaoServer (line 256) | type YaoServer interface type UnimplementedYaoServer (line 286) | type UnimplementedYaoServer struct method Run (line 288) | func (UnimplementedYaoServer) Run(context.Context, *RunRequest) (*RunR... method Stream (line 291) | func (UnimplementedYaoServer) Stream(*RunRequest, grpc.ServerStreaming... method Shell (line 294) | func (UnimplementedYaoServer) Shell(context.Context, *ShellRequest) (*... method ShellStream (line 297) | func (UnimplementedYaoServer) ShellStream(*ShellRequest, grpc.ServerSt... method API (line 300) | func (UnimplementedYaoServer) API(context.Context, *APIRequest) (*APIR... method MCPListTools (line 303) | func (UnimplementedYaoServer) MCPListTools(context.Context, *MCPListRe... method MCPCallTool (line 306) | func (UnimplementedYaoServer) MCPCallTool(context.Context, *MCPCallReq... method MCPListResources (line 309) | func (UnimplementedYaoServer) MCPListResources(context.Context, *MCPLi... method MCPReadResource (line 312) | func (UnimplementedYaoServer) MCPReadResource(context.Context, *MCPRes... method ChatCompletions (line 315) | func (UnimplementedYaoServer) ChatCompletions(context.Context, *ChatRe... method ChatCompletionsStream (line 318) | func (UnimplementedYaoServer) ChatCompletionsStream(*ChatRequest, grpc... method AgentStream (line 321) | func (UnimplementedYaoServer) AgentStream(*AgentRequest, grpc.ServerSt... method Healthz (line 324) | func (UnimplementedYaoServer) Healthz(context.Context, *Empty) (*Healt... method Heartbeat (line 327) | func (UnimplementedYaoServer) Heartbeat(context.Context, *HeartbeatReq... method mustEmbedUnimplementedYaoServer (line 330) | func (UnimplementedYaoServer) mustEmbedUnimplementedYaoServer() {} method testEmbeddedByValue (line 331) | func (UnimplementedYaoServer) testEmbeddedByValue() {} type UnsafeYaoServer (line 336) | type UnsafeYaoServer interface function RegisterYaoServer (line 340) | func RegisterYaoServer(s grpc.ServiceRegistrar, srv YaoServer) { function _Yao_Run_Handler (line 351) | func _Yao_Run_Handler(srv interface{}, ctx context.Context, dec func(int... function _Yao_Stream_Handler (line 369) | func _Yao_Stream_Handler(srv interface{}, stream grpc.ServerStream) error { function _Yao_Shell_Handler (line 380) | func _Yao_Shell_Handler(srv interface{}, ctx context.Context, dec func(i... function _Yao_ShellStream_Handler (line 398) | func _Yao_ShellStream_Handler(srv interface{}, stream grpc.ServerStream)... function _Yao_API_Handler (line 409) | func _Yao_API_Handler(srv interface{}, ctx context.Context, dec func(int... function _Yao_MCPListTools_Handler (line 427) | func _Yao_MCPListTools_Handler(srv interface{}, ctx context.Context, dec... function _Yao_MCPCallTool_Handler (line 445) | func _Yao_MCPCallTool_Handler(srv interface{}, ctx context.Context, dec ... function _Yao_MCPListResources_Handler (line 463) | func _Yao_MCPListResources_Handler(srv interface{}, ctx context.Context,... function _Yao_MCPReadResource_Handler (line 481) | func _Yao_MCPReadResource_Handler(srv interface{}, ctx context.Context, ... function _Yao_ChatCompletions_Handler (line 499) | func _Yao_ChatCompletions_Handler(srv interface{}, ctx context.Context, ... function _Yao_ChatCompletionsStream_Handler (line 517) | func _Yao_ChatCompletionsStream_Handler(srv interface{}, stream grpc.Ser... function _Yao_AgentStream_Handler (line 528) | func _Yao_AgentStream_Handler(srv interface{}, stream grpc.ServerStream)... function _Yao_Healthz_Handler (line 539) | func _Yao_Healthz_Handler(srv interface{}, ctx context.Context, dec func... function _Yao_Heartbeat_Handler (line 557) | func _Yao_Heartbeat_Handler(srv interface{}, ctx context.Context, dec fu... FILE: grpc/run/run.go type Handler (line 17) | type Handler struct method Run (line 20) | func (h *Handler) Run(ctx context.Context, req *pb.RunRequest) (*pb.Ru... function injectAuth (line 64) | func injectAuth(p *process.Process, ctx context.Context) { FILE: grpc/run/run_test.go function TestRun_ProcessExec (line 16) | func TestRun_ProcessExec(t *testing.T) { function TestRun_WithArgs (line 32) | func TestRun_WithArgs(t *testing.T) { function TestRun_InvalidProcess (line 56) | func TestRun_InvalidProcess(t *testing.T) { function TestRun_EmptyProcessName (line 68) | func TestRun_EmptyProcessName(t *testing.T) { function TestRun_BadArgsJSON (line 80) | func TestRun_BadArgsJSON(t *testing.T) { function TestRun_WithTimeout (line 97) | func TestRun_WithTimeout(t *testing.T) { function TestRun_EmptyProcessName_StatusCode (line 113) | func TestRun_EmptyProcessName_StatusCode(t *testing.T) { function TestRun_InvalidProcess_StatusCode (line 127) | func TestRun_InvalidProcess_StatusCode(t *testing.T) { function TestRun_NilArgs (line 141) | func TestRun_NilArgs(t *testing.T) { FILE: grpc/sandbox/heartbeat.go type HeartbeatData (line 13) | type HeartbeatData struct type Handler (line 22) | type Handler struct method Heartbeat (line 38) | func (h *Handler) Heartbeat(_ context.Context, req *pb.HeartbeatReques... method LastHeartbeat (line 65) | func (h *Handler) LastHeartbeat(sandboxID string) *HeartbeatData { method RemoveHeartbeat (line 72) | func (h *Handler) RemoveHeartbeat(sandboxID string) { function NewHandler (line 30) | func NewHandler(onBeat func(data *HeartbeatData) string) *Handler { FILE: grpc/sandbox/heartbeat_test.go function TestHeartbeat_StoresData (line 12) | func TestHeartbeat_StoresData(t *testing.T) { function TestHeartbeat_OnBeatCallback (line 50) | func TestHeartbeat_OnBeatCallback(t *testing.T) { function TestHeartbeat_OnBeatEmptyReturnDefaultsToOK (line 74) | func TestHeartbeat_OnBeatEmptyReturnDefaultsToOK(t *testing.T) { function TestLastHeartbeat_Unknown (line 88) | func TestLastHeartbeat_Unknown(t *testing.T) { function TestRemoveHeartbeat (line 95) | func TestRemoveHeartbeat(t *testing.T) { function TestRemoveHeartbeat_Idempotent (line 109) | func TestRemoveHeartbeat_Idempotent(t *testing.T) { function TestHeartbeat_ConcurrentAccess (line 114) | func TestHeartbeat_ConcurrentAccess(t *testing.T) { function TestHeartbeat_MultiSandbox (line 138) | func TestHeartbeat_MultiSandbox(t *testing.T) { FILE: grpc/shell/shell.go constant defaultTimeout (line 19) | defaultTimeout = 30 * time.Second constant maxTimeout (line 20) | maxTimeout = 300 * time.Second type Handler (line 24) | type Handler struct method Shell (line 27) | func (h *Handler) Shell(ctx context.Context, req *pb.ShellRequest) (*p... FILE: grpc/shell/shell_test.go function TestShell_Echo (line 16) | func TestShell_Echo(t *testing.T) { function TestShell_CommandNotFound (line 34) | func TestShell_CommandNotFound(t *testing.T) { function TestShell_Timeout (line 50) | func TestShell_Timeout(t *testing.T) { function TestShell_EmptyCommand (line 72) | func TestShell_EmptyCommand(t *testing.T) { function TestShell_NonZeroExit (line 86) | func TestShell_NonZeroExit(t *testing.T) { function TestShell_WithEnv (line 105) | func TestShell_WithEnv(t *testing.T) { function TestShell_MaxTimeoutCapped (line 126) | func TestShell_MaxTimeoutCapped(t *testing.T) { function TestShell_Stderr (line 147) | func TestShell_Stderr(t *testing.T) { FILE: grpc/tests/testutils/testutils.go function Prepare (line 44) | func Prepare(t *testing.T) *grpc.ClientConn { function Clean (line 123) | func Clean() { function Addr (line 131) | func Addr() string { function RelayAddr (line 143) | func RelayAddr() string { function ObtainAccessToken (line 160) | func ObtainAccessToken(t *testing.T, scopes ...string) string { function ObtainAccessTokenForUser (line 176) | func ObtainAccessTokenForUser(t *testing.T, userID string, scopes ...str... function ObtainExpiredAccessToken (line 192) | func ObtainExpiredAccessToken(t *testing.T, scopes ...string) string { function ObtainRefreshToken (line 208) | func ObtainRefreshToken(t *testing.T, scopes ...string) string { function WithToken (line 224) | func WithToken(ctx context.Context, token string) context.Context { function WithRefreshToken (line 229) | func WithRefreshToken(ctx context.Context, token, refreshToken string) c... function WithSandboxMetadata (line 237) | func WithSandboxMetadata(ctx context.Context, sandboxID, upstream string... function NewClient (line 245) | func NewClient(conn *grpc.ClientConn) pb.YaoClient { FILE: helper/array.go type ArrayPluckValue (line 12) | type ArrayPluckValue struct type ArrayTreeOption (line 19) | type ArrayTreeOption struct method Tree (line 198) | func (opt ArrayTreeOption) Tree(records []map[string]interface{}) []ma... function ArrayColumn (line 27) | func ArrayColumn(records []map[string]interface{}, name string) []interf... function ArrayKeep (line 36) | func ArrayKeep(records []map[string]interface{}, keeps []string) []map[s... function ArraySplit (line 49) | func ArraySplit(records []map[string]interface{}) ([]string, [][]interfa... function ArrayPluck (line 84) | func ArrayPluck(columns []string, pluck map[string]interface{}) []map[st... function ArrayUnique (line 123) | func ArrayUnique(columns []interface{}) []interface{} { function ArrayStringUnique (line 137) | func ArrayStringUnique(columns []string) []string { function OfArrayPluckValue (line 150) | func OfArrayPluckValue(any interface{}) ArrayPluckValue { function NewArrayTreeOption (line 164) | func NewArrayTreeOption(option map[string]interface{}) ArrayTreeOption { function ArrayTree (line 192) | func ArrayTree(records []map[string]interface{}, setting map[string]inte... function ArrayMapSet (line 250) | func ArrayMapSet(records []map[string]interface{}, key string, value int... function ArrayMapSetMapStr (line 261) | func ArrayMapSetMapStr(records []maps.MapStr, key string, value interfac... FILE: helper/array.process.go function ProcessArrayPluck (line 9) | func ProcessArrayPluck(process *process.Process) interface{} { function ProcessArraySplit (line 17) | func ProcessArraySplit(process *process.Process) interface{} { function ProcessArrayColumn (line 28) | func ProcessArrayColumn(process *process.Process) interface{} { function ProcessArrayKeep (line 37) | func ProcessArrayKeep(process *process.Process) interface{} { function ProcessArrayTree (line 45) | func ProcessArrayTree(process *process.Process) interface{} { function ProcessArrayUnique (line 53) | func ProcessArrayUnique(process *process.Process) interface{} { function ProcessArrayMapSet (line 62) | func ProcessArrayMapSet(process *process.Process) interface{} { function ProcessArrayIndexes (line 74) | func ProcessArrayIndexes(process *process.Process) interface{} { function ProcessArrayGet (line 85) | func ProcessArrayGet(process *process.Process) interface{} { FILE: helper/array_test.go function TestArrayPluck (line 77) | func TestArrayPluck(t *testing.T) { function TestArraySplit (line 92) | func TestArraySplit(t *testing.T) { function TestArrayTree (line 105) | func TestArrayTree(t *testing.T) { function TestProcessArrayPluck (line 111) | func TestProcessArrayPluck(t *testing.T) { function TestProcessArraySplit (line 133) | func TestProcessArraySplit(t *testing.T) { function TestProcessArrayUnique (line 158) | func TestProcessArrayUnique(t *testing.T) { function TestProcessArrayIndexes (line 170) | func TestProcessArrayIndexes(t *testing.T) { function TestProcessArrayGet (line 181) | func TestProcessArrayGet(t *testing.T) { FILE: helper/captcha.go type CaptchaOption (line 12) | type CaptchaOption struct function NewCaptchaOption (line 22) | func NewCaptchaOption() CaptchaOption { function CaptchaMake (line 33) | func CaptchaMake(option CaptchaOption) (string, string) { function CaptchaValidate (line 47) | func CaptchaValidate(id string, code string) bool { function CaptchaGet (line 53) | func CaptchaGet(id string) string { function CaptchaValidateCloudflare (line 62) | func CaptchaValidateCloudflare(token, secret string) bool { function ProcessCaptchaValidate (line 67) | func ProcessCaptchaValidate(process *process.Process) interface{} { function ProcessCaptcha (line 83) | func ProcessCaptcha(process *process.Process) interface{} { FILE: helper/captcha_test.go function TestCaptcha (line 12) | func TestCaptcha(t *testing.T) { function TestProcessCaptcha (line 47) | func TestProcessCaptcha(t *testing.T) { FILE: helper/case.go type CaseParam (line 10) | type CaseParam struct function Case (line 18) | func Case(params ...CaseParam) interface{} { function CaseParamOf (line 28) | func CaseParamOf(v interface{}) CaseParam { function ProcessCase (line 42) | func ProcessCase(process *process.Process) interface{} { FILE: helper/case_test.go function TestCase (line 10) | func TestCase(t *testing.T) { function TestProcessCase (line 39) | func TestProcessCase(t *testing.T) { FILE: helper/condition.go type ComputeFunc (line 13) | type ComputeFunc type Condition (line 62) | type Condition struct method Exec (line 85) | func (cond Condition) Exec() bool { method UnmarshalJSON (line 90) | func (cond *Condition) UnmarshalJSON(data []byte) error { method MarshalJSON (line 101) | func (cond Condition) MarshalJSON() ([]byte, error) { method ToMap (line 155) | func (cond Condition) ToMap() map[string]interface{} { function When (line 72) | func When(conds []Condition) bool { function ConditionOf (line 106) | func ConditionOf(input map[string]interface{}) Condition { FILE: helper/condition_test.go function TestCondition (line 10) | func TestCondition(t *testing.T) { FILE: helper/control.process.go function ProcessReturn (line 9) | func ProcessReturn(process *process.Process) interface{} { function ProcessThrow (line 14) | func ProcessThrow(process *process.Process) interface{} { FILE: helper/control_test.go function TestProcessThrow (line 11) | func TestProcessThrow(t *testing.T) { function TestProcessReturn (line 18) | func TestProcessReturn(t *testing.T) { FILE: helper/env.process.go function ProcessEnvGet (line 12) | func ProcessEnvGet(process *process.Process) interface{} { function ProcessEnvSet (line 19) | func ProcessEnvSet(process *process.Process) interface{} { function ProcessEnvMultiGet (line 27) | func ProcessEnvMultiGet(process *process.Process) interface{} { function ProcessEnvMultiSet (line 38) | func ProcessEnvMultiSet(process *process.Process) interface{} { FILE: helper/env_test.go function TestProcessEnv (line 11) | func TestProcessEnv(t *testing.T) { function TestProcessEnvMulti (line 18) | func TestProcessEnvMulti(t *testing.T) { FILE: helper/hex.process.go function ProcessHexToString (line 11) | func ProcessHexToString(process *process.Process) interface{} { FILE: helper/hex_test.go function TestProcessHexToString (line 10) | func TestProcessHexToString(t *testing.T) { FILE: helper/if.go function IF (line 8) | func IF(param CaseParam, paramElse ...CaseParam) interface{} { function ProcessIF (line 18) | func ProcessIF(process *process.Process) interface{} { FILE: helper/if_test.go function TestIF (line 10) | func TestIF(t *testing.T) { function TestProcessIF (line 39) | func TestProcessIF(t *testing.T) { FILE: helper/jwt.go constant MaxTokenLength (line 19) | MaxTokenLength = 4096 constant MaxTokenParts (line 21) | MaxTokenParts = 3 type JwtClaims (line 25) | type JwtClaims struct type JwtToken (line 33) | type JwtToken struct function JwtValidate (line 39) | func JwtValidate(tokenString string, secret ...[]byte) *JwtClaims { function JwtMake (line 78) | func JwtMake(id int, data map[string]interface{}, option map[string]inte... function ProcessJwtMake (line 150) | func ProcessJwtMake(process *process.Process) interface{} { function ProcessJwtValidate (line 162) | func ProcessJwtValidate(process *process.Process) interface{} { FILE: helper/jwt_test.go function TestJwt (line 11) | func TestJwt(t *testing.T) { function TestProcessJwt (line 25) | func TestProcessJwt(t *testing.T) { FILE: helper/map.go function MapValues (line 6) | func MapValues(record map[string]interface{}) []interface{} { function MapKeys (line 15) | func MapKeys(record map[string]interface{}) []string { function MapGet (line 24) | func MapGet(record map[string]interface{}, key string) interface{} { function MapSet (line 30) | func MapSet(record map[string]interface{}, key string, value interface{}... function MapDel (line 36) | func MapDel(record map[string]interface{}, key string) map[string]interf... function MapMultiDel (line 42) | func MapMultiDel(record map[string]interface{}, keys ...string) map[stri... FILE: helper/map.process.go function ProcessMapValues (line 10) | func ProcessMapValues(process *process.Process) interface{} { function ProcessMapKeys (line 17) | func ProcessMapKeys(process *process.Process) interface{} { function ProcessMapGet (line 24) | func ProcessMapGet(process *process.Process) interface{} { function ProcessMapSet (line 32) | func ProcessMapSet(process *process.Process) interface{} { function ProcessMapDel (line 41) | func ProcessMapDel(process *process.Process) interface{} { function ProcessMapMultiDel (line 49) | func ProcessMapMultiDel(process *process.Process) interface{} { function ProcessMapToArray (line 60) | func ProcessMapToArray(process *process.Process) interface{} { FILE: helper/map_test.go function TestProcessMapDel (line 10) | func TestProcessMapDel(t *testing.T) { function TestProcessGetSet (line 21) | func TestProcessGetSet(t *testing.T) { function TestProcessMapKeys (line 35) | func TestProcessMapKeys(t *testing.T) { function TestProcessMapValues (line 44) | func TestProcessMapValues(t *testing.T) { function TestProcessMapMultiDel (line 53) | func TestProcessMapMultiDel(t *testing.T) { function TestProcessMapToArray (line 64) | func TestProcessMapToArray(t *testing.T) { FILE: helper/password.go function PasswordValidate (line 10) | func PasswordValidate(password string, passwordHash string) bool { function ProcessPasswordValidate (line 20) | func ProcessPasswordValidate(process *process.Process) interface{} { FILE: helper/password_test.go function TestPassword (line 10) | func TestPassword(t *testing.T) { function TestProcessPassword (line 17) | func TestProcessPassword(t *testing.T) { FILE: helper/process.go function init (line 10) | func init() { function ProcessPrint (line 81) | func ProcessPrint(process *process.Process) interface{} { function ProcessSleep (line 88) | func ProcessSleep(process *process.Process) interface{} { FILE: helper/range.go type Process (line 17) | type Process struct function Range (line 23) | func Range(v interface{}, process Process) { function For (line 65) | func For(from int, to int, p Process) { function bindArgs (line 76) | func bindArgs(args []interface{}, bindings map[string]interface{}) []int... function rangeString (line 84) | func rangeString(v string, p Process) { function rangeMap (line 97) | func rangeMap(v map[string]interface{}, p Process) { function rangeArray (line 108) | func rangeArray(v []interface{}, p Process) { function ProcessOf (line 120) | func ProcessOf(v map[string]interface{}) Process { function ProcessEach (line 144) | func ProcessEach(process *process.Process) interface{} { function ProcessFor (line 153) | func ProcessFor(process *process.Process) interface{} { FILE: helper/string.process.go function ProcessStrConcat (line 10) | func ProcessStrConcat(process *process.Process) interface{} { FILE: helper/string_test.go function TestProcessStrConcat (line 10) | func TestProcessStrConcat(t *testing.T) { FILE: i18n/i18n.go function init (line 30) | func init() { function Load (line 41) | func Load(cfg config.Config) error { function Trans (line 85) | func Trans(langName string, widgets []string, data interface{}) (interfa... function cacheSet (line 110) | func cacheSet(dict *lang.Dict, widgets []string, value interface{}) { function loadFromBin (line 118) | func loadFromBin() error { FILE: i18n/i18n_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { FILE: importer/column.go method MarshalJSON (line 11) | func (column Column) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 17) | func (column *Column) UnmarshalJSON(source []byte) error { function ColumnOf (line 34) | func ColumnOf(data map[string]interface{}) (*Column, error) { method ToMap (line 69) | func (column Column) ToMap() map[string]interface{} { method setRules (line 90) | func (column *Column) setRules(data map[string]interface{}) error { method setLabel (line 103) | func (column *Column) setLabel(data map[string]interface{}) error { method setMatch (line 113) | func (column *Column) setMatch(data map[string]interface{}) error { method setName (line 123) | func (column *Column) setName(data map[string]interface{}) error { function GetString (line 152) | func GetString(data map[string]interface{}, key string, required bool) (... function GetArrayString (line 167) | func GetArrayString(data map[string]interface{}, key string) ([]string, ... function ErrorF (line 205) | func ErrorF(format string, data ...interface{}) error { FILE: importer/column_test.go function TestColumnUnmarshalJSON (line 44) | func TestColumnUnmarshalJSON(t *testing.T) { FILE: importer/from/source.go constant TUnknown (line 5) | TUnknown byte = iota constant TBool (line 7) | TBool constant TDatetime (line 9) | TDatetime constant TError (line 11) | TError constant TNumber (line 13) | TNumber constant TString (line 15) | TString type Source (line 19) | type Source interface type Column (line 28) | type Column struct type Inspect (line 35) | type Inspect struct FILE: importer/importer.go function Load (line 35) | func Load(cfg config.Config) error { function Select (line 68) | func Select(name string) *Importer { function Open (line 77) | func Open(name string) from.Source { method WithSid (line 89) | func (imp *Importer) WithSid(sid string) *Importer { method AutoMapping (line 95) | func (imp *Importer) AutoMapping(src from.Source) *Mapping { method DataGet (line 133) | func (imp *Importer) DataGet(src from.Source, page int, size int, mappin... method Chunk (line 148) | func (imp *Importer) Chunk(src from.Source, mapping *Mapping, cb func(li... method DataClean (line 157) | func (imp *Importer) DataClean(data [][]interface{}, bindings []*Binding... function DataValidate (line 186) | func DataValidate(row []interface{}, value interface{}, rule string) ([]... method DataPreview (line 206) | func (imp *Importer) DataPreview(src from.Source, page int, size int, ma... method MappingPreview (line 244) | func (imp *Importer) MappingPreview(src from.Source) *Mapping { method DataSetting (line 271) | func (imp *Importer) DataSetting() map[string]interface{} { method MappingSetting (line 328) | func (imp *Importer) MappingSetting(src from.Source) map[string]interfac... method Fingerprint (line 391) | func (imp *Importer) Fingerprint(src from.Source) string { method SaveAsTemplate (line 404) | func (imp *Importer) SaveAsTemplate(src from.Source) { method Run (line 408) | func (imp *Importer) Run(src from.Source, mapping *Mapping) interface{} { method Start (line 474) | func (imp *Importer) Start() {} function getSourceColumns (line 477) | func getSourceColumns(src from.Source) map[string]from.Column { method getColumns (line 490) | func (imp *Importer) getColumns() map[string]*Column { method getFieldOption (line 502) | func (imp *Importer) getFieldOption() []map[string]interface{} { method getSourceOption (line 512) | func (imp *Importer) getSourceOption(src from.Source) []map[string]inter... method getRulesOption (line 523) | func (imp *Importer) getRulesOption() []map[string]interface{} { FILE: importer/importer_test.go function TestLoad (line 16) | func TestLoad(t *testing.T) { function TestFingerprintSimple (line 23) | func TestFingerprintSimple(t *testing.T) { function TestAutoMappingSimple (line 37) | func TestAutoMappingSimple(t *testing.T) { function TestDataGetSimple (line 66) | func TestDataGetSimple(t *testing.T) { function TestDataChunkSimple (line 92) | func TestDataChunkSimple(t *testing.T) { function TestRunSimple (line 110) | func TestRunSimple(t *testing.T) { function TestDataPreviewSimple (line 128) | func TestDataPreviewSimple(t *testing.T) { function TestMappingPreviewSimple (line 151) | func TestMappingPreviewSimple(t *testing.T) { function TestMappingSetting (line 179) | func TestMappingSetting(t *testing.T) { function TestDataSetting (line 194) | func TestDataSetting(t *testing.T) { function prepare (line 206) | func prepare(t *testing.T, cfg config.Config) string { FILE: importer/option.go method UnmarshalJSON (line 9) | func (option *Option) UnmarshalJSON(source []byte) error { function OptionOf (line 26) | func OptionOf(data map[string]interface{}) (*Option, error) { function getPreviewOption (line 54) | func getPreviewOption(value string) string { FILE: importer/option_test.go function TestOptionUnmarshalJSON (line 21) | func TestOptionUnmarshalJSON(t *testing.T) { FILE: importer/process.go function init (line 9) | func init() { function ProcessRun (line 29) | func ProcessRun(process *process.Process) interface{} { function ProcessSetting (line 42) | func ProcessSetting(process *process.Process) interface{} { function ProcessData (line 56) | func ProcessData(process *process.Process) interface{} { function ProcessDataSetting (line 74) | func ProcessDataSetting(process *process.Process) interface{} { function ProcessMapping (line 83) | func ProcessMapping(process *process.Process) interface{} { function ProcessMappingSetting (line 96) | func ProcessMappingSetting(process *process.Process) interface{} { function anyToMapping (line 108) | func anyToMapping(v interface{}) *Mapping { FILE: importer/process_test.go function TestProcessMapping (line 13) | func TestProcessMapping(t *testing.T) { function TestProcessMappingSetting (line 25) | func TestProcessMappingSetting(t *testing.T) { function TestProcessData (line 37) | func TestProcessData(t *testing.T) { function TestProcessDataSetting (line 50) | func TestProcessDataSetting(t *testing.T) { function TestProcessSetting (line 61) | func TestProcessSetting(t *testing.T) { function TestProcessRun (line 72) | func TestProcessRun(t *testing.T) { FILE: importer/types.go constant PreviewAuto (line 4) | PreviewAuto = "auto" constant PreviewAlways (line 7) | PreviewAlways = "always" constant PreviewNever (line 10) | PreviewNever = "never" type Importer (line 13) | type Importer struct type Column (line 24) | type Column struct type Option (line 39) | type Option struct type Mapping (line 48) | type Mapping struct type Binding (line 58) | type Binding struct FILE: importer/xlsx/xlsx.go type Xlsx (line 14) | type Xlsx struct method Close (line 56) | func (xlsx *Xlsx) Close() error { method Inspect (line 65) | func (xlsx *Xlsx) Inspect() from.Inspect { method Data (line 75) | func (xlsx *Xlsx) Data(row int, size int, axises []string) [][]interfa... method Chunk (line 88) | func (xlsx *Xlsx) Chunk(size int, axises []string, cb func(line int, d... method readLine (line 116) | func (xlsx *Xlsx) readLine(line int, axises []string) ([]interface{}, ... method Columns (line 139) | func (xlsx *Xlsx) Columns() []from.Column { method getMergeCells (line 182) | func (xlsx *Xlsx) getMergeCells() { function Open (line 25) | func Open(filename string) *Xlsx { function positionToAxis (line 194) | func positionToAxis(row, col int) string { function axisToPosition (line 208) | func axisToPosition(axis string) (int, int, error) { FILE: integrations/dingtalk/bot.go constant apiBase (line 14) | apiBase = "https://api.dingtalk.com" constant oauthBase (line 15) | oauthBase = "https://api.dingtalk.com/v1.0/oauth2/accessToken" type Bot (line 19) | type Bot struct method ClientID (line 38) | func (b *Bot) ClientID() string { return b.clientID } method ClientSecret (line 41) | func (b *Bot) ClientSecret() string { return b.clientSecret } method GetAccessToken (line 44) | func (b *Bot) GetAccessToken(ctx context.Context) (string, error) { method GetBotInfo (line 88) | func (b *Bot) GetBotInfo(ctx context.Context) error { method apiRequest (line 94) | func (b *Bot) apiRequest(ctx context.Context, method, path string, bod... function NewBot (line 29) | func NewBot(clientID, clientSecret string) *Bot { FILE: integrations/dingtalk/bot_test.go function TestNewBot (line 7) | func TestNewBot(t *testing.T) { FILE: integrations/dingtalk/convert.go type ConvertedMessage (line 9) | type ConvertedMessage struct method HasMedia (line 44) | func (cm *ConvertedMessage) HasMedia() bool { return len(cm.MediaItems... method HasText (line 47) | func (cm *ConvertedMessage) HasText() bool { return cm.Text != "" } type MediaItem (line 24) | type MediaItem struct type MediaType (line 33) | type MediaType constant MediaImage (line 36) | MediaImage MediaType = "image" constant MediaFile (line 37) | MediaFile MediaType = "file" constant MediaAudio (line 38) | MediaAudio MediaType = "audio" constant MediaVideo (line 39) | MediaVideo MediaType = "video" constant MediaRichText (line 40) | MediaRichText MediaType = "richText" type StreamCallbackData (line 50) | type StreamCallbackData struct type AtUser (line 71) | type AtUser struct type TextContent (line 77) | type TextContent struct function ConvertStreamData (line 82) | func ConvertStreamData(data *StreamCallbackData) *ConvertedMessage { function parseRichText (line 118) | func parseRichText(raw json.RawMessage) (string, []MediaItem) { FILE: integrations/dingtalk/convert_test.go function TestConvertStreamData_Text (line 7) | func TestConvertStreamData_Text(t *testing.T) { function TestConvertStreamData_Nil (line 40) | func TestConvertStreamData_Nil(t *testing.T) { function TestConvertedMessage_HasText (line 47) | func TestConvertedMessage_HasText(t *testing.T) { function TestConvertedMessage_HasMedia (line 58) | func TestConvertedMessage_HasMedia(t *testing.T) { FILE: integrations/dingtalk/dingtalk_test.go function TestMain (line 13) | func TestMain(m *testing.M) { function skipIfNoCreds (line 19) | func skipIfNoCreds(t *testing.T) { function testBotInstance (line 26) | func testBotInstance() *Bot { FILE: integrations/dingtalk/e2e_test.go function TestE2E_01_GetAccessToken (line 10) | func TestE2E_01_GetAccessToken(t *testing.T) { function TestE2E_02_BotInfo (line 38) | func TestE2E_02_BotInfo(t *testing.T) { function min (line 52) | func min(a, b int) int { FILE: integrations/dingtalk/file.go constant defaultUploader (line 19) | defaultUploader = "__yao.attachment" type FileResult (line 22) | type FileResult struct function DownloadAndStoreURL (line 30) | func DownloadAndStoreURL(ctx context.Context, url, mimeType, fileName st... function ResolveMedia (line 95) | func ResolveMedia(ctx context.Context, cm *ConvertedMessage, groups []st... function fingerprintKey (line 116) | func fingerprintKey(key string, groups []string) string { FILE: integrations/dingtalk/format.go function FormatDingTalkMarkdown (line 25) | func FormatDingTalkMarkdown(md string) string { function dtIsTableRow (line 103) | func dtIsTableRow(line string) bool { function dtIsTableSep (line 107) | func dtIsTableSep(line string) bool { function dtParseTableRow (line 111) | func dtParseTableRow(line string) []string { function dtFlushTable (line 122) | func dtFlushTable(out *strings.Builder, rows [][]string) { function dtPadRight (line 164) | func dtPadRight(s string, width int) string { FILE: integrations/dingtalk/message.go function SendTextMessage (line 13) | func SendTextMessage(ctx context.Context, sessionWebhook, text string) e... function SendMarkdownMessage (line 24) | func SendMarkdownMessage(ctx context.Context, sessionWebhook, title, tex... function SendImageMessage (line 36) | func SendImageMessage(ctx context.Context, sessionWebhook, mediaID strin... function SendFileMessage (line 47) | func SendFileMessage(ctx context.Context, sessionWebhook, mediaID, fileN... method ReplyText (line 60) | func (b *Bot) ReplyText(ctx context.Context, openConversationID, text st... function postWebhook (line 94) | func postWebhook(ctx context.Context, webhookURL string, body []byte) er... FILE: integrations/discord/bot.go type Bot (line 10) | type Bot struct method Token (line 33) | func (b *Bot) Token() string { return b.token } method AppID (line 36) | func (b *Bot) AppID() string { return b.appID } method Session (line 39) | func (b *Bot) Session() *discordgo.Session { return b.session } method BotUser (line 42) | func (b *Bot) BotUser() (*discordgo.User, error) { function NewBot (line 17) | func NewBot(token, appID string) (*Bot, error) { FILE: integrations/discord/bot_test.go function TestNewBot (line 7) | func TestNewBot(t *testing.T) { FILE: integrations/discord/convert.go type ConvertedMessage (line 8) | type ConvertedMessage struct method HasMedia (line 44) | func (cm *ConvertedMessage) HasMedia() bool { return len(cm.MediaItems... method HasText (line 47) | func (cm *ConvertedMessage) HasText() bool { return cm.Text != "" } type MediaItem (line 23) | type MediaItem struct type MediaType (line 34) | type MediaType constant MediaImage (line 37) | MediaImage MediaType = "image" constant MediaVideo (line 38) | MediaVideo MediaType = "video" constant MediaAudio (line 39) | MediaAudio MediaType = "audio" constant MediaDocument (line 40) | MediaDocument MediaType = "document" function ConvertMessageCreate (line 50) | func ConvertMessageCreate(m *discordgo.MessageCreate) *ConvertedMessage { function ConvertMessage (line 58) | func ConvertMessage(m *discordgo.Message) *ConvertedMessage { function detectMediaType (line 96) | func detectMediaType(contentType string) MediaType { FILE: integrations/discord/convert_test.go function TestConvertMessage_Text (line 9) | func TestConvertMessage_Text(t *testing.T) { function TestConvertMessage_DM (line 51) | func TestConvertMessage_DM(t *testing.T) { function TestConvertMessage_WithAttachments (line 70) | func TestConvertMessage_WithAttachments(t *testing.T) { function TestConvertMessage_WithReply (line 121) | func TestConvertMessage_WithReply(t *testing.T) { function TestConvertMessage_Nil (line 141) | func TestConvertMessage_Nil(t *testing.T) { function TestConvertMessageCreate_Nil (line 148) | func TestConvertMessageCreate_Nil(t *testing.T) { function TestDetectMediaType (line 155) | func TestDetectMediaType(t *testing.T) { FILE: integrations/discord/discord_test.go function TestMain (line 13) | func TestMain(m *testing.M) { function skipIfNoToken (line 19) | func skipIfNoToken(t *testing.T) { function testBot (line 26) | func testBot(t *testing.T) *Bot { FILE: integrations/discord/e2e_test.go function TestE2E_01_BotUser (line 8) | func TestE2E_01_BotUser(t *testing.T) { FILE: integrations/discord/file.go constant defaultUploader (line 19) | defaultUploader = "__yao.attachment" type FileResult (line 22) | type FileResult struct function DownloadAndStoreURL (line 30) | func DownloadAndStoreURL(ctx context.Context, url, contentType, fileName... function ResolveMedia (line 94) | func ResolveMedia(ctx context.Context, cm *ConvertedMessage, groups []st... function fingerprintKey (line 115) | func fingerprintKey(key string, groups []string) string { FILE: integrations/discord/format.go function FormatDiscordMarkdown (line 23) | func FormatDiscordMarkdown(md string) string { function dcIsTableRow (line 84) | func dcIsTableRow(line string) bool { function dcIsTableSep (line 88) | func dcIsTableSep(line string) bool { function dcParseTableRow (line 92) | func dcParseTableRow(line string) []string { function dcFlushTable (line 103) | func dcFlushTable(out *strings.Builder, rows [][]string) { function dcPadRight (line 145) | func dcPadRight(s string, width int) string { FILE: integrations/discord/message.go method SendMessage (line 12) | func (b *Bot) SendMessage(channelID, text string) (*discordgo.Message, e... method SendMessageReply (line 17) | func (b *Bot) SendMessageReply(channelID, text, replyToID string) (*disc... method SendComplex (line 25) | func (b *Bot) SendComplex(channelID string, data *discordgo.MessageSend)... method SendFile (line 30) | func (b *Bot) SendFile(channelID, filename string, reader io.Reader) (*d... method SendFileWithMessage (line 35) | func (b *Bot) SendFileWithMessage(channelID, text, filename string, read... method SendMediaFromWrapper (line 40) | func (b *Bot) SendMediaFromWrapper(channelID, wrapper, caption string) e... function parseWrapper (line 66) | func parseWrapper(wrapper string) (managerName string, fileID string, er... FILE: integrations/discord/message_test.go function TestParseWrapper (line 7) | func TestParseWrapper(t *testing.T) { FILE: integrations/feishu/bot.go type Bot (line 9) | type Bot struct method AppID (line 28) | func (b *Bot) AppID() string { return b.appID } method AppSecret (line 31) | func (b *Bot) AppSecret() string { return b.appSecret } method Client (line 34) | func (b *Bot) Client() *lark.Client { return b.client } function NewBot (line 16) | func NewBot(appID, appSecret string) *Bot { function derefStr (line 36) | func derefStr(s *string) string { FILE: integrations/feishu/bot_test.go function TestNewBot (line 7) | func TestNewBot(t *testing.T) { FILE: integrations/feishu/convert.go type ConvertedMessage (line 8) | type ConvertedMessage struct method HasMedia (line 43) | func (cm *ConvertedMessage) HasMedia() bool { return len(cm.MediaItems... method HasText (line 46) | func (cm *ConvertedMessage) HasText() bool { return cm.Text != "" } type MediaItem (line 22) | type MediaItem struct type MediaType (line 32) | type MediaType constant MediaImage (line 35) | MediaImage MediaType = "image" constant MediaFile (line 36) | MediaFile MediaType = "file" constant MediaAudio (line 37) | MediaAudio MediaType = "audio" constant MediaVideo (line 38) | MediaVideo MediaType = "video" constant MediaMedia (line 39) | MediaMedia MediaType = "media" type feishuTextContent (line 49) | type feishuTextContent struct type feishuImageContent (line 54) | type feishuImageContent struct type feishuFileContent (line 59) | type feishuFileContent struct type feishuAudioContent (line 65) | type feishuAudioContent struct type feishuMediaContent (line 71) | type feishuMediaContent struct function ParseMessageContent (line 78) | func ParseMessageContent(msgType, content string) (text string, media []... function extractPostText (line 115) | func extractPostText(post map[string]interface{}) string { FILE: integrations/feishu/convert_test.go function TestParseMessageContent_Text (line 7) | func TestParseMessageContent_Text(t *testing.T) { function TestParseMessageContent_Image (line 17) | func TestParseMessageContent_Image(t *testing.T) { function TestParseMessageContent_File (line 33) | func TestParseMessageContent_File(t *testing.T) { function TestParseMessageContent_Audio (line 49) | func TestParseMessageContent_Audio(t *testing.T) { function TestParseMessageContent_Media (line 62) | func TestParseMessageContent_Media(t *testing.T) { function TestParseMessageContent_Post (line 75) | func TestParseMessageContent_Post(t *testing.T) { function TestParseMessageContent_InvalidJSON (line 86) | func TestParseMessageContent_InvalidJSON(t *testing.T) { function TestParseMessageContent_UnknownType (line 96) | func TestParseMessageContent_UnknownType(t *testing.T) { function TestConvertedMessage_HasMedia (line 106) | func TestConvertedMessage_HasMedia(t *testing.T) { function TestConvertedMessage_HasText (line 117) | func TestConvertedMessage_HasText(t *testing.T) { FILE: integrations/feishu/e2e_test.go function TestE2E_01_BotCredentials (line 11) | func TestE2E_01_BotCredentials(t *testing.T) { function TestE2E_02_SendMessage (line 32) | func TestE2E_02_SendMessage(t *testing.T) { function TestE2E_03_SendImage (line 52) | func TestE2E_03_SendImage(t *testing.T) { function getChatID (line 65) | func getChatID(t *testing.T) string { FILE: integrations/feishu/feishu_test.go function TestMain (line 13) | func TestMain(m *testing.M) { function skipIfNoCreds (line 19) | func skipIfNoCreds(t *testing.T) { function testBot (line 26) | func testBot() *Bot { FILE: integrations/feishu/file.go constant defaultUploader (line 19) | defaultUploader = "__yao.attachment" type FileResult (line 22) | type FileResult struct method DownloadAndStoreImage (line 30) | func (b *Bot) DownloadAndStoreImage(ctx context.Context, messageID, imag... method DownloadAndStoreFile (line 65) | func (b *Bot) DownloadAndStoreFile(ctx context.Context, messageID, fileK... method ResolveMedia (line 110) | func (b *Bot) ResolveMedia(ctx context.Context, cm *ConvertedMessage, gr... function storeData (line 137) | func storeData(ctx context.Context, manager *attachment.Manager, fingerp... function fingerprintKey (line 162) | func fingerprintKey(key string, groups []string) string { FILE: integrations/feishu/format.go function FormatFeishuMarkdown (line 24) | func FormatFeishuMarkdown(md string) string { function fmtIsTableRow (line 128) | func fmtIsTableRow(line string) bool { function fmtIsTableSep (line 132) | func fmtIsTableSep(line string) bool { function fmtParseTableRow (line 136) | func fmtParseTableRow(line string) []string { function fmtFlushTable (line 147) | func fmtFlushTable(out *strings.Builder, rows [][]string) { function fmtPadRight (line 187) | func fmtPadRight(s string, width int) string { FILE: integrations/feishu/message.go method SendTextMessage (line 16) | func (b *Bot) SendTextMessage(ctx context.Context, chatID, text string) ... method SendTextToUser (line 22) | func (b *Bot) SendTextToUser(ctx context.Context, openID, text string) (... method SendCardMessage (line 29) | func (b *Bot) SendCardMessage(ctx context.Context, chatID, markdown stri... method ReplyCardMessage (line 36) | func (b *Bot) ReplyCardMessage(ctx context.Context, messageID, markdown ... function buildMarkdownCard (line 44) | func buildMarkdownCard(markdown string) map[string]interface{} { method SendImageMessage (line 62) | func (b *Bot) SendImageMessage(ctx context.Context, chatID, imageKey str... method SendFileMessage (line 68) | func (b *Bot) SendFileMessage(ctx context.Context, chatID, fileKey strin... method ReplyTextMessage (line 74) | func (b *Bot) ReplyTextMessage(ctx context.Context, messageID, text stri... method sendMessage (line 79) | func (b *Bot) sendMessage(ctx context.Context, receiveIDType, receiveID,... method UploadImage (line 103) | func (b *Bot) UploadImage(ctx context.Context, filename string, reader i... method UploadFile (line 126) | func (b *Bot) UploadFile(ctx context.Context, filename, fileType string,... method SendImageFromWrapper (line 149) | func (b *Bot) SendImageFromWrapper(ctx context.Context, chatID, wrapper,... method SendFileFromWrapper (line 182) | func (b *Bot) SendFileFromWrapper(ctx context.Context, chatID, wrapper, ... function detectFeishuFileType (line 217) | func detectFeishuFileType(contentType, ext string) string { method replyMessage (line 257) | func (b *Bot) replyMessage(ctx context.Context, messageID, msgType, cont... FILE: integrations/telegram/bot.go constant defaultAPIBase (line 12) | defaultAPIBase = "https://api.telegram.org" type Bot (line 17) | type Bot struct method Token (line 51) | func (b *Bot) Token() string { return b.token } method SecretToken (line 54) | func (b *Bot) SecretToken() string { return b.secretToken } method APIBase (line 57) | func (b *Bot) APIBase() string { return b.apiBase } method botURL (line 60) | func (b *Bot) botURL() string { method fileURL (line 65) | func (b *Bot) fileURL(filePath string) string { method sdk (line 70) | func (b *Bot) sdk() (*bot.Bot, error) { type BotOption (line 25) | type BotOption function WithAPIBase (line 28) | func WithAPIBase(url string) BotOption { function NewBot (line 37) | func NewBot(token string, secretToken string, opts ...BotOption) *Bot { FILE: integrations/telegram/bot_test.go function TestNewBot (line 7) | func TestNewBot(t *testing.T) { function TestNewBot_EmptySecret (line 17) | func TestNewBot_EmptySecret(t *testing.T) { FILE: integrations/telegram/convert.go type ConvertedMessage (line 13) | type ConvertedMessage struct method HasMedia (line 87) | func (cm *ConvertedMessage) HasMedia() bool { method HasText (line 92) | func (cm *ConvertedMessage) HasText() bool { type MediaItem (line 29) | type MediaItem struct type ReplyInfo (line 40) | type ReplyInfo struct function ConvertUpdate (line 47) | func ConvertUpdate(u *models.Update) *ConvertedMessage { function buildSenderName (line 96) | func buildSenderName(u *models.User) string { function extractMedia (line 104) | func extractMedia(msg *models.Message) []MediaItem { function pickBestPhoto (line 230) | func pickBestPhoto(photos []models.PhotoSize) models.PhotoSize { function ApplyEntities (line 243) | func ApplyEntities(text string, entities []models.MessageEntity) string { FILE: integrations/telegram/e2e_test.go function TestE2E_00_Seed (line 23) | func TestE2E_00_Seed(t *testing.T) { function TestE2E_01_GetMe (line 28) | func TestE2E_01_GetMe(t *testing.T) { function TestE2E_02_GetUpdates (line 64) | func TestE2E_02_GetUpdates(t *testing.T) { function TestE2E_03_GetFile_Download (line 139) | func TestE2E_03_GetFile_Download(t *testing.T) { function TestE2E_04_DownloadAndStore (line 194) | func TestE2E_04_DownloadAndStore(t *testing.T) { function TestE2E_05_SendMessage (line 253) | func TestE2E_05_SendMessage(t *testing.T) { function TestE2E_06_SendMedia_Wrapper (line 271) | func TestE2E_06_SendMedia_Wrapper(t *testing.T) { function TestE2E_07_SendMediaByReader (line 320) | func TestE2E_07_SendMediaByReader(t *testing.T) { function fetchUpdates (line 341) | func fetchUpdates(t *testing.T, b *Bot, ctx context.Context) []*Converte... function findChatID (line 350) | func findChatID(t *testing.T, b *Bot, ctx context.Context) int64 { function findFileID (line 360) | func findFileID(t *testing.T, b *Bot, ctx context.Context) string { function findPhotoIDs (line 375) | func findPhotoIDs(t *testing.T, b *Bot, ctx context.Context) (fileID, un... function safeUserID (line 390) | func safeUserID(u *User) int64 { function truncate (line 397) | func truncate(s string, max int) string { function generateTestPNG (line 405) | func generateTestPNG() []byte { FILE: integrations/telegram/file.go constant defaultUploader (line 23) | defaultUploader = "__yao.attachment" type FileResult (line 27) | type FileResult struct method GetFile (line 35) | func (b *Bot) GetFile(ctx context.Context, fileID string) (*models.File,... method DownloadFile (line 75) | func (b *Bot) DownloadFile(ctx context.Context, filePath string) (io.Rea... method DownloadAndStore (line 109) | func (b *Bot) DownloadAndStore(ctx context.Context, tgFileID, fileUnique... method ResolveMedia (line 178) | func (b *Bot) ResolveMedia(ctx context.Context, cm *ConvertedMessage, gr... function fingerprintFileID (line 199) | func fingerprintFileID(fileUniqueID string, groups []string) string { FILE: integrations/telegram/file_test.go function TestFingerprintFileID (line 7) | func TestFingerprintFileID(t *testing.T) { FILE: integrations/telegram/format.go function FormatTelegramHTML (line 14) | func FormatTelegramHTML(md string) string { function formatInline (line 131) | func formatInline(escaped string) string { function unescapeHTML (line 149) | func unescapeHTML(s string) string { function isTableRow (line 153) | func isTableRow(line string) bool { function isTableSeparator (line 157) | func isTableSeparator(line string) bool { function parseTableRow (line 161) | func parseTableRow(line string) []string { function flushTable (line 172) | func flushTable(out *strings.Builder, rows [][]string) { function padRight (line 214) | func padRight(s string, width int) string { FILE: integrations/telegram/media_e2e_test.go type mediaTestCase (line 18) | type mediaTestCase struct function readTestFile (line 38) | func readTestFile(t *testing.T, name string) []byte { function TestE2E_08_SendMediaByReader_MultiType (line 50) | func TestE2E_08_SendMediaByReader_MultiType(t *testing.T) { function TestE2E_09_SendMedia_Wrapper_MultiType (line 79) | func TestE2E_09_SendMedia_Wrapper_MultiType(t *testing.T) { function TestE2E_10_Receive_DownloadAndStore_Dedup (line 135) | func TestE2E_10_Receive_DownloadAndStore_Dedup(t *testing.T) { function TestE2E_99_Offset_Confirm (line 240) | func TestE2E_99_Offset_Confirm(t *testing.T) { FILE: integrations/telegram/message.go method SendMessage (line 16) | func (b *Bot) SendMessage(ctx context.Context, chatID int64, text string... type MediaType (line 36) | type MediaType constant MediaPhoto (line 39) | MediaPhoto MediaType = "photo" constant MediaDocument (line 40) | MediaDocument MediaType = "document" constant MediaAudio (line 41) | MediaAudio MediaType = "audio" constant MediaVideo (line 42) | MediaVideo MediaType = "video" constant MediaVoice (line 43) | MediaVoice MediaType = "voice" constant MediaAnimation (line 44) | MediaAnimation MediaType = "animation" constant MediaSticker (line 45) | MediaSticker MediaType = "sticker" method SendMedia (line 52) | func (b *Bot) SendMedia(ctx context.Context, chatID int64, wrapper strin... method SendMediaByURL (line 78) | func (b *Bot) SendMediaByURL(ctx context.Context, chatID int64, mediaTyp... method SendMediaByReader (line 84) | func (b *Bot) SendMediaByReader(ctx context.Context, chatID int64, media... function DetectMediaType (line 91) | func DetectMediaType(mimeType string) MediaType { function parseWrapper (line 112) | func parseWrapper(wrapper string) (managerName string, fileID string, er... method sendMedia (line 120) | func (b *Bot) sendMedia(ctx context.Context, chatID int64, mediaType Med... FILE: integrations/telegram/message_test.go function TestDetectMediaType (line 7) | func TestDetectMediaType(t *testing.T) { function TestParseWrapper (line 36) | func TestParseWrapper(t *testing.T) { FILE: integrations/telegram/polling.go method GetUpdates (line 19) | func (b *Bot) GetUpdates(ctx context.Context, offset int64, timeout int,... method GetRawUpdates (line 39) | func (b *Bot) GetRawUpdates(ctx context.Context, offset int64, timeout i... FILE: integrations/telegram/telegram_test.go function TestMain (line 24) | func TestMain(m *testing.M) { function prepare (line 29) | func prepare(t *testing.T) { function cleanup (line 37) | func cleanup() { function skipIfNoToken (line 41) | func skipIfNoToken(t *testing.T) { function testBot (line 48) | func testBot(opts ...BotOption) *Bot { function seedBotMessages (line 59) | func seedBotMessages(t *testing.T) { function mtpRandID (line 173) | func mtpRandID() int64 { FILE: integrations/telegram/verify.go method GetMe (line 16) | func (b *Bot) GetMe(ctx context.Context) (*models.User, error) { method VerifyWebhook (line 48) | func (b *Bot) VerifyWebhook(headerSecret string) bool { FILE: integrations/telegram/verify_test.go function TestVerifyWebhook_NoSecret (line 7) | func TestVerifyWebhook_NoSecret(t *testing.T) { function TestVerifyWebhook_CorrectSecret (line 17) | func TestVerifyWebhook_CorrectSecret(t *testing.T) { function TestVerifyWebhook_WrongSecret (line 24) | func TestVerifyWebhook_WrongSecret(t *testing.T) { FILE: integrations/telegram/webhook.go method SetWebhook (line 17) | func (b *Bot) SetWebhook(ctx context.Context, url string, allowedUpdates... method DeleteWebhook (line 34) | func (b *Bot) DeleteWebhook(ctx context.Context, dropPending bool) error { method ParseWebhookPayload (line 51) | func (b *Bot) ParseWebhookPayload(ctx context.Context, r *http.Request, ... method ParseRawWebhookPayload (line 66) | func (b *Bot) ParseRawWebhookPayload(r *http.Request) (*models.Update, e... FILE: integrations/telegram/webhook_e2e_test.go function TestE2E_Webhook (line 25) | func TestE2E_Webhook(t *testing.T) { type webhookHit (line 270) | type webhookHit struct function min (line 275) | func min(a, b int) int { FILE: job/data.go function ListJobs (line 56) | func ListJobs(param model.QueryParam, page int, pagesize int) (maps.MapS... function GetActiveJobs (line 167) | func GetActiveJobs() ([]*Job, error) { function CountJobs (line 199) | func CountJobs(param model.QueryParam) (int, error) { function SaveJob (line 240) | func SaveJob(job *Job) error { function RemoveJobs (line 303) | func RemoveJobs(ids []string) error { function GetJob (line 320) | func GetJob(jobID string) (*Job, error) { function GetCategories (line 380) | func GetCategories(param model.QueryParam) ([]*Category, error) { function CountCategories (line 409) | func CountCategories(param model.QueryParam) (int, error) { function RemoveCategories (line 449) | func RemoveCategories(ids []string) error { function SaveCategory (line 466) | func SaveCategory(category *Category) error { function GetOrCreateCategory (line 558) | func GetOrCreateCategory(name, description string) (*Category, error) { function getCategoryIDByName (line 612) | func getCategoryIDByName(categoryName string) (string, error) { function ensureCategoryExists (line 621) | func ensureCategoryExists(categoryName string) (*Category, error) { function ListLogs (line 690) | func ListLogs(jobID string, param model.QueryParam, page int, pagesize i... function SaveLog (line 718) | func SaveLog(log *Log) error { function RemoveLogs (line 747) | func RemoveLogs(ids []string) error { function GetExecutions (line 768) | func GetExecutions(jobID string) ([]*Execution, error) { function CountExecutions (line 811) | func CountExecutions(jobID string, param model.QueryParam) (int, error) { function RemoveExecutions (line 857) | func RemoveExecutions(ids []string) error { function GetExecution (line 874) | func GetExecution(executionID string, param model.QueryParam) (*Executio... function getMapKeys (line 916) | func getMapKeys(m maps.MapStrAny) []string { function SaveExecution (line 925) | func SaveExecution(execution *Execution) error { function GetProgress (line 1016) | func GetProgress(executionID string, cb func(progress *Progress)) (*Prog... function generateJobID (line 1042) | func generateJobID() (string, error) { function generateCategoryID (line 1084) | func generateCategoryID() (string, error) { function generateExecutionID (line 1126) | func generateExecutionID() (string, error) { function structToMap (line 1172) | func structToMap(v interface{}) maps.MapStrAny { function mapToStruct (line 1192) | func mapToStruct(m maps.MapStr, v interface{}) error { function updateJobProgress (line 1251) | func updateJobProgress(jobID string) error { FILE: job/data_test.go function TestJobCRUD (line 15) | func TestJobCRUD(t *testing.T) { function TestCategoryCRUD (line 142) | func TestCategoryCRUD(t *testing.T) { function TestExecutionCRUD (line 261) | func TestExecutionCRUD(t *testing.T) { function TestLogCRUD (line 378) | func TestLogCRUD(t *testing.T) { function stringPtr (line 488) | func stringPtr(s string) *string { FILE: job/execution.go method Add (line 14) | func (j *Job) Add(options *ExecutionOptions, processName string, args ..... method AddCommand (line 23) | func (j *Job) AddCommand(options *ExecutionOptions, command string, args... method AddFunc (line 35) | func (j *Job) AddFunc(options *ExecutionOptions, name string, fn Executi... method addExecution (line 46) | func (j *Job) addExecution(options *ExecutionOptions, config *ExecutionC... method GetExecutions (line 100) | func (j *Job) GetExecutions() ([]*Execution, error) { method GetExecution (line 105) | func (j *Job) GetExecution(executionID string) (*Execution, error) { method Log (line 110) | func (e *Execution) Log(level LogLevel, format string, args ...interface... method Info (line 169) | func (e *Execution) Info(format string, args ...interface{}) error { method Debug (line 174) | func (e *Execution) Debug(format string, args ...interface{}) error { method Warn (line 179) | func (e *Execution) Warn(format string, args ...interface{}) error { method Error (line 184) | func (e *Execution) Error(format string, args ...interface{}) error { method Fatal (line 189) | func (e *Execution) Fatal(format string, args ...interface{}) error { method Panic (line 194) | func (e *Execution) Panic(format string, args ...interface{}) error { method Trace (line 199) | func (e *Execution) Trace(format string, args ...interface{}) error { method SetProgress (line 204) | func (e *Execution) SetProgress(progress int, message string) error { FILE: job/goroutine.go type Goroutine (line 16) | type Goroutine struct method ExecuteYaoProcess (line 19) | func (g *Goroutine) ExecuteYaoProcess(ctx context.Context, work *WorkR... method ExecuteSystemCommand (line 120) | func (g *Goroutine) ExecuteSystemCommand(ctx context.Context, work *Wo... method ExecuteFunc (line 242) | func (g *Goroutine) ExecuteFunc(ctx context.Context, work *WorkRequest... function UpdateExecutionProgress (line 207) | func UpdateExecutionProgress(executionID string, progressData map[string... function extractProgressData (line 320) | func extractProgressData(data map[string]interface{}) (int, string) { FILE: job/health.go type HealthChecker (line 15) | type HealthChecker struct method Start (line 34) | func (hc *HealthChecker) Start() { method Stop (line 54) | func (hc *HealthChecker) Stop() { method performHealthCheck (line 61) | func (hc *HealthChecker) performHealthCheck() error { method getRunningJobs (line 89) | func (hc *HealthChecker) getRunningJobs() ([]*Job, error) { method checkJobHealth (line 127) | func (hc *HealthChecker) checkJobHealth(job *Job, wm *WorkerManager) e... method isWorkerActive (line 165) | func (hc *HealthChecker) isWorkerActive(workerID string, wm *WorkerMan... method isExecutionTimeout (line 174) | func (hc *HealthChecker) isExecutionTimeout(execution *Execution) bool { method markJobAsFailed (line 189) | func (hc *HealthChecker) markJobAsFailed(job *Job, reason string) error { function NewHealthChecker (line 24) | func NewHealthChecker(interval time.Duration) *HealthChecker { function stringPtr (line 246) | func stringPtr(s string) *string { function GetHealthChecker (line 252) | func GetHealthChecker() *HealthChecker { type DataCleaner (line 261) | type DataCleaner struct method Start (line 282) | func (dc *DataCleaner) Start() { method Stop (line 307) | func (dc *DataCleaner) Stop() { method shouldRunCleanup (line 314) | func (dc *DataCleaner) shouldRunCleanup() bool { method performCleanup (line 319) | func (dc *DataCleaner) performCleanup() error { method cleanupJobs (line 349) | func (dc *DataCleaner) cleanupJobs(cutoffTime time.Time) (int, error) { method cleanupExecutions (line 401) | func (dc *DataCleaner) cleanupExecutions(cutoffTime time.Time) (int, e... method cleanupLogs (line 422) | func (dc *DataCleaner) cleanupLogs(cutoffTime time.Time) (int, error) { function NewDataCleaner (line 271) | func NewDataCleaner(retentionDays int) *DataCleaner { function GetDataCleaner (line 443) | func GetDataCleaner() *DataCleaner { FILE: job/health_test.go function registerHealthTestProcesses (line 15) | func registerHealthTestProcesses() { function TestHealthCheckerCreation (line 49) | func TestHealthCheckerCreation(t *testing.T) { function TestHealthCheckerBasicFunction (line 61) | func TestHealthCheckerBasicFunction(t *testing.T) { function TestHealthCheckerWithRunningJob (line 83) | func TestHealthCheckerWithRunningJob(t *testing.T) { function TestHealthCheckerWithTimeoutJob (line 130) | func TestHealthCheckerWithTimeoutJob(t *testing.T) { function TestHealthCheckerWithNoTimeoutJob (line 188) | func TestHealthCheckerWithNoTimeoutJob(t *testing.T) { function TestHealthCheckerStopAndStart (line 236) | func TestHealthCheckerStopAndStart(t *testing.T) { function TestGlobalHealthChecker (line 260) | func TestGlobalHealthChecker(t *testing.T) { function TestHealthCheckerRestart (line 276) | func TestHealthCheckerRestart(t *testing.T) { function TestDataCleanerCreation (line 295) | func TestDataCleanerCreation(t *testing.T) { function TestDataCleanerBasicFunction (line 307) | func TestDataCleanerBasicFunction(t *testing.T) { function TestDataCleanupWithOldJobs (line 326) | func TestDataCleanupWithOldJobs(t *testing.T) { function TestGlobalDataCleaner (line 386) | func TestGlobalDataCleaner(t *testing.T) { function TestHealthCheckerWithMultipleJobs (line 402) | func TestHealthCheckerWithMultipleJobs(t *testing.T) { FILE: job/interfaces.go type ProgressManager (line 4) | type ProgressManager interface FILE: job/job.go function init (line 16) | func init() { function initHealthChecker (line 27) | func initHealthChecker() { function getHealthCheckInterval (line 39) | func getHealthCheckInterval() time.Duration { function StopHealthChecker (line 59) | func StopHealthChecker() { function RestartHealthChecker (line 68) | func RestartHealthChecker(interval time.Duration) { function initDataCleaner (line 80) | func initDataCleaner() { function StopDataCleaner (line 92) | func StopDataCleaner() { function ForceCleanup (line 100) | func ForceCleanup() error { function Once (line 108) | func Once(mode ModeType, data map[string]interface{}) (*Job, error) { function OnceAndSave (line 119) | func OnceAndSave(mode ModeType, data map[string]interface{}) (*Job, erro... function Cron (line 134) | func Cron(mode ModeType, data map[string]interface{}, expression string)... function CronAndSave (line 146) | func CronAndSave(mode ModeType, data map[string]interface{}, expression ... function Daemon (line 161) | func Daemon(mode ModeType, data map[string]interface{}) (*Job, error) { function DaemonAndSave (line 172) | func DaemonAndSave(mode ModeType, data map[string]interface{}) (*Job, er... method Push (line 187) | func (j *Job) Push() error { method Stop (line 265) | func (j *Job) Stop() error { method Destroy (line 311) | func (j *Job) Destroy() error { method SetData (line 336) | func (j *Job) SetData(data map[string]interface{}) *Job { method SetConfig (line 341) | func (j *Job) SetConfig(config map[string]interface{}) *Job { method SetName (line 347) | func (j *Job) SetName(name string) *Job { method SetDescription (line 353) | func (j *Job) SetDescription(description string) *Job { method SetCategory (line 359) | func (j *Job) SetCategory(category string) *Job { method SetMaxWorkerNums (line 365) | func (j *Job) SetMaxWorkerNums(maxWorkerNums int) *Job { method SetStatus (line 371) | func (j *Job) SetStatus(status string) *Job { method SetMaxRetryCount (line 377) | func (j *Job) SetMaxRetryCount(maxRetryCount int) *Job { method SetDefaultTimeout (line 383) | func (j *Job) SetDefaultTimeout(defaultTimeout int) *Job { method SetMode (line 389) | func (j *Job) SetMode(mode ModeType) { function makeJob (line 393) | func makeJob(data []byte) (*Job, error) { function RestoreJobsFromDatabase (line 434) | func RestoreJobsFromDatabase() ([]*Job, error) { FILE: job/job_test.go function registerTestProcesses (line 16) | func registerTestProcesses() { function TestOnceGoroutine (line 143) | func TestOnceGoroutine(t *testing.T) { function TestOnceProcess (line 178) | func TestOnceProcess(t *testing.T) { function TestCronGoroutine (line 213) | func TestCronGoroutine(t *testing.T) { function TestCronProcess (line 244) | func TestCronProcess(t *testing.T) { function TestDaemonGoroutine (line 276) | func TestDaemonGoroutine(t *testing.T) { function TestDaemonProcess (line 307) | func TestDaemonProcess(t *testing.T) { function TestCommand (line 338) | func TestCommand(t *testing.T) { function TestDatabase (line 376) | func TestDatabase(t *testing.T) { function TestJobExecution (line 451) | func TestJobExecution(t *testing.T) { function TestOnceAndSave (line 548) | func TestOnceAndSave(t *testing.T) { function TestCronAndSave (line 603) | func TestCronAndSave(t *testing.T) { function TestDaemonAndSave (line 643) | func TestDaemonAndSave(t *testing.T) { function TestAddFunc (line 683) | func TestAddFunc(t *testing.T) { function TestAddFuncMemoryCleanup (line 775) | func TestAddFuncMemoryCleanup(t *testing.T) { function TestAddFuncError (line 893) | func TestAddFuncError(t *testing.T) { FILE: job/jsapi/jsapi.go function init (line 12) | func init() { function ExportFunction (line 29) | func ExportFunction(iso *v8go.Isolate) *v8go.FunctionTemplate { function yaoJobConstructor (line 44) | func yaoJobConstructor(info *v8go.FunctionCallbackInfo) *v8go.Value { function yaoJobAddMethod (line 99) | func yaoJobAddMethod(iso *v8go.Isolate, jobID string) *v8go.FunctionTemp... function yaoJobRunMethod (line 153) | func yaoJobRunMethod(iso *v8go.Isolate, jobID string) *v8go.FunctionTemp... function yaoJobStatusStatic (line 176) | func yaoJobStatusStatic(iso *v8go.Isolate) *v8go.FunctionTemplate { function yaoJobStopStatic (line 233) | func yaoJobStopStatic(iso *v8go.Isolate) *v8go.FunctionTemplate { FILE: job/jsapi/jsapi_test.go function registerTestProcesses (line 16) | func registerTestProcesses() { function TestYaoJobConstructor (line 48) | func TestYaoJobConstructor(t *testing.T) { function TestYaoJobConstructorEmpty (line 73) | func TestYaoJobConstructorEmpty(t *testing.T) { function TestYaoJobAddAndRun (line 95) | func TestYaoJobAddAndRun(t *testing.T) { function TestYaoJobAddChaining (line 124) | func TestYaoJobAddChaining(t *testing.T) { function TestYaoJobStatus (line 149) | func TestYaoJobStatus(t *testing.T) { function TestYaoJobStatusInvalid (line 201) | func TestYaoJobStatusInvalid(t *testing.T) { function TestYaoJobStatusMissingArg (line 214) | func TestYaoJobStatusMissingArg(t *testing.T) { function TestYaoJobStop (line 226) | func TestYaoJobStop(t *testing.T) { function TestYaoJobStopInvalid (line 262) | func TestYaoJobStopInvalid(t *testing.T) { function TestYaoJobAddMissingProcessName (line 275) | func TestYaoJobAddMissingProcessName(t *testing.T) { function TestYaoJobScopeFieldsDataPath (line 291) | func TestYaoJobScopeFieldsDataPath(t *testing.T) { function TestYaoJobScopeFieldsViaJS (line 325) | func TestYaoJobScopeFieldsViaJS(t *testing.T) { function TestYaoJobFullLifecycle (line 386) | func TestYaoJobFullLifecycle(t *testing.T) { FILE: job/process.go type Process (line 15) | type Process struct method ExecuteYaoProcess (line 18) | func (p *Process) ExecuteYaoProcess(ctx context.Context, work *WorkReq... method ExecuteSystemCommand (line 117) | func (p *Process) ExecuteSystemCommand(ctx context.Context, work *Work... function convertArgsForYaoRun (line 216) | func convertArgsForYaoRun(args []interface{}) []string { FILE: job/progress.go type Progress (line 10) | type Progress struct method Set (line 27) | func (p *Progress) Set(progress int, message string) error { method Get (line 47) | func (p *Progress) Get() (int, string) { method Progress (line 18) | func (j *Job) Progress() ProgressManager { FILE: job/types.go type ScheduleType (line 11) | type ScheduleType constant ScheduleTypeOnce (line 15) | ScheduleTypeOnce ScheduleType = "once" constant ScheduleTypeCron (line 16) | ScheduleTypeCron ScheduleType = "cron" constant ScheduleTypeDaemon (line 17) | ScheduleTypeDaemon ScheduleType = "daemon" type ModeType (line 21) | type ModeType constant GOROUTINE (line 25) | GOROUTINE ModeType = "GOROUTINE" constant PROCESS (line 26) | PROCESS ModeType = "PROCESS" type LogLevel (line 30) | type LogLevel constant Panic (line 37) | Panic LogLevel = iota constant Fatal (line 40) | Fatal constant Error (line 43) | Error constant Warn (line 45) | Warn constant Info (line 48) | Info constant Debug (line 50) | Debug constant Trace (line 52) | Trace type ExecutionType (line 56) | type ExecutionType constant ExecutionTypeProcess (line 60) | ExecutionTypeProcess ExecutionType = "process" constant ExecutionTypeCommand (line 61) | ExecutionTypeCommand ExecutionType = "command" constant ExecutionTypeFunc (line 62) | ExecutionTypeFunc ExecutionType = "func" type ExecutionOptions (line 66) | type ExecutionOptions struct method WithPriority (line 80) | func (o *ExecutionOptions) WithPriority(priority int) *ExecutionOptions { method WithSharedData (line 86) | func (o *ExecutionOptions) WithSharedData(data map[string]interface{})... method AddSharedData (line 92) | func (o *ExecutionOptions) AddSharedData(key string, value interface{}... function NewExecutionOptions (line 72) | func NewExecutionOptions() *ExecutionOptions { type ExecutionFunc (line 102) | type ExecutionFunc type ExecutionContext (line 105) | type ExecutionContext struct function RegisterFunc (line 117) | func RegisterFunc(funcID string, fn ExecutionFunc) { function GetFunc (line 124) | func GetFunc(funcID string) (ExecutionFunc, bool) { function UnregisterFunc (line 132) | func UnregisterFunc(funcID string) { type ExecutionConfig (line 139) | type ExecutionConfig struct type Job (line 153) | type Job struct type Category (line 201) | type Category struct type Execution (line 219) | type Execution struct type Log (line 256) | type Log struct FILE: job/worker.go type WorkerManager (line 17) | type WorkerManager struct method Start (line 88) | func (wm *WorkerManager) Start() { method Stop (line 105) | func (wm *WorkerManager) Stop() { method SubmitJob (line 138) | func (wm *WorkerManager) SubmitJob(ctx context.Context, job *Job, exec... method dispatch (line 170) | func (wm *WorkerManager) dispatch() { method GetActiveWorkers (line 189) | func (wm *WorkerManager) GetActiveWorkers() int { method GetQueueStatus (line 196) | func (wm *WorkerManager) GetQueueStatus() (length int, capacity int) { type Worker (line 27) | type Worker struct method Start (line 216) | func (w *Worker) Start() { method Stop (line 234) | func (w *Worker) Stop() { method processWork (line 246) | func (w *Worker) processWork(work *WorkRequest) { method executeInGoroutine (line 384) | func (w *Worker) executeInGoroutine(ctx context.Context, work *WorkReq... method executeInProcess (line 409) | func (w *Worker) executeInProcess(ctx context.Context, work *WorkReque... type WorkRequest (line 38) | type WorkRequest struct function init (line 49) | func init() { function GetWorkerManager (line 56) | func GetWorkerManager() *WorkerManager { function getDefaultMaxWorkers (line 65) | func getDefaultMaxWorkers() int { function NewWorkerManagerForTest (line 72) | func NewWorkerManagerForTest(maxWorkers int) *WorkerManager { function NewWorkerManager (line 77) | func NewWorkerManager(maxWorkers int) *WorkerManager { function NewWorker (line 201) | func NewWorker(workerPool chan chan *WorkRequest, mode ModeType) *Worker { FILE: kb/api/addfile.go method AddFile (line 14) | func (instance *KBInstance) AddFile(ctx context.Context, params *AddFile... method AddFileAsync (line 111) | func (instance *KBInstance) AddFileAsync(ctx context.Context, params *Ad... method processFile (line 267) | func (instance *KBInstance) processFile(ctx context.Context, docID strin... FILE: kb/api/addfile_test.go function createTestCollectionForFile (line 22) | func createTestCollectionForFile(t *testing.T, ctx context.Context) stri... function cleanupTestCollectionForFile (line 53) | func cleanupTestCollectionForFile(ctx context.Context, collectionID stri... function TestAddFile (line 63) | func TestAddFile(t *testing.T) { function TestAddFileAsync (line 177) | func TestAddFileAsync(t *testing.T) { function getTestUploader (line 292) | func getTestUploader(t *testing.T) (string, *attachment.Manager) { function uploadTestFile (line 311) | func uploadTestFile(t *testing.T, ctx context.Context, filename, content... function cleanupTestFile (line 336) | func cleanupTestFile(ctx context.Context, t *testing.T, fileID string) { function TestAddFileWithRealFile (line 341) | func TestAddFileWithRealFile(t *testing.T) { function TestAddFileAsyncWithRealFile (line 405) | func TestAddFileAsyncWithRealFile(t *testing.T) { function TestAddFileIntegration (line 491) | func TestAddFileIntegration(t *testing.T) { FILE: kb/api/addtext.go method AddText (line 13) | func (instance *KBInstance) AddText(ctx context.Context, params *AddText... method AddTextAsync (line 83) | func (instance *KBInstance) AddTextAsync(ctx context.Context, params *Ad... method processText (line 211) | func (instance *KBInstance) processText(ctx context.Context, docID strin... FILE: kb/api/addtext_test.go function createTestCollectionForText (line 19) | func createTestCollectionForText(t *testing.T, ctx context.Context) stri... function cleanupTestCollectionForText (line 50) | func cleanupTestCollectionForText(ctx context.Context, collectionID stri... function TestAddText (line 58) | func TestAddText(t *testing.T) { function TestAddTextAsync (line 238) | func TestAddTextAsync(t *testing.T) { function TestAddTextIntegration (line 409) | func TestAddTextIntegration(t *testing.T) { FILE: kb/api/addurl.go method AddURL (line 13) | func (instance *KBInstance) AddURL(ctx context.Context, params *AddURLPa... method AddURLAsync (line 83) | func (instance *KBInstance) AddURLAsync(ctx context.Context, params *Add... method processURL (line 211) | func (instance *KBInstance) processURL(ctx context.Context, docID string... FILE: kb/api/addurl_test.go function createTestCollectionForURL (line 19) | func createTestCollectionForURL(t *testing.T, ctx context.Context) string { function cleanupTestCollectionForURL (line 50) | func cleanupTestCollectionForURL(ctx context.Context, collectionID strin... function TestAddURL (line 58) | func TestAddURL(t *testing.T) { function TestAddURLAsync (line 244) | func TestAddURLAsync(t *testing.T) { function TestAddURLIntegration (line 418) | func TestAddURLIntegration(t *testing.T) { FILE: kb/api/api.go function NewAPI (line 9) | func NewAPI(graphRag types.GraphRag, config *kbtypes.Config, providers *... FILE: kb/api/collection.go method CreateCollection (line 14) | func (instance *KBInstance) CreateCollection(ctx context.Context, params... method RemoveCollection (line 211) | func (instance *KBInstance) RemoveCollection(ctx context.Context, collec... method GetCollection (line 278) | func (instance *KBInstance) GetCollection(ctx context.Context, collectio... method CollectionExists (line 328) | func (instance *KBInstance) CollectionExists(ctx context.Context, collec... method ListCollections (line 354) | func (instance *KBInstance) ListCollections(ctx context.Context, filter ... method UpdateCollectionMetadata (line 528) | func (instance *KBInstance) UpdateCollectionMetadata(ctx context.Context... function validateCreateParams (line 579) | func validateCreateParams(params *CreateCollectionParams) error { type ProviderSettings (line 603) | type ProviderSettings struct method getProviderSettings (line 610) | func (instance *KBInstance) getProviderSettings(providerID, optionValue,... method updateCollectionWithSync (line 660) | func (instance *KBInstance) updateCollectionWithSync(ctx context.Context... FILE: kb/api/collection_test.go function TestMain (line 20) | func TestMain(m *testing.M) { function TestCreateCollection (line 41) | func TestCreateCollection(t *testing.T) { function TestGetCollection (line 167) | func TestGetCollection(t *testing.T) { function TestCollectionExists (line 251) | func TestCollectionExists(t *testing.T) { function TestRemoveCollection (line 304) | func TestRemoveCollection(t *testing.T) { function TestListCollections (line 400) | func TestListCollections(t *testing.T) { function TestUpdateCollectionMetadata (line 561) | func TestUpdateCollectionMetadata(t *testing.T) { function TestCollectionIntegration (line 653) | func TestCollectionIntegration(t *testing.T) { FILE: kb/api/consts.go constant DefaultPage (line 38) | DefaultPage = 1 constant DefaultPageSize (line 39) | DefaultPageSize = 20 constant MaxPageSize (line 40) | MaxPageSize = 100 constant DefaultSortField (line 45) | DefaultSortField = "created_at" constant DefaultSortOrder (line 46) | DefaultSortOrder = "desc" constant DefaultLocale (line 56) | DefaultLocale = "en" constant DefaultUploader (line 104) | DefaultUploader = "local" FILE: kb/api/document.go method ListDocuments (line 15) | func (instance *KBInstance) ListDocuments(ctx context.Context, filter *L... method GetDocument (line 204) | func (instance *KBInstance) GetDocument(ctx context.Context, docID strin... method RemoveDocuments (line 237) | func (instance *KBInstance) RemoveDocuments(ctx context.Context, params ... method GetDocumentsContent (line 285) | func (instance *KBInstance) GetDocumentsContent(ctx context.Context, doc... function isTextContentType (line 365) | func isTextContentType(contentType string) bool { function inferContentType (line 381) | func inferContentType(filePath string) string { function readFileContent (line 404) | func readFileContent(filePath string) (string, error) { FILE: kb/api/document_test.go function createTestCollectionForDoc (line 19) | func createTestCollectionForDoc(t *testing.T, ctx context.Context) string { function cleanupTestCollectionForDoc (line 50) | func cleanupTestCollectionForDoc(ctx context.Context, collectionID strin... function addTestDocument (line 57) | func addTestDocument(t *testing.T, ctx context.Context, collectionID, ti... function TestListDocuments (line 82) | func TestListDocuments(t *testing.T) { function TestGetDocument (line 176) | func TestGetDocument(t *testing.T) { function TestRemoveDocuments (line 228) | func TestRemoveDocuments(t *testing.T) { FILE: kb/api/interfaces.go type API (line 11) | type API interface type KBInstance (line 41) | type KBInstance struct FILE: kb/api/search.go constant DefaultSearchK (line 16) | DefaultSearchK = 10 constant DefaultMaxDepth (line 17) | DefaultMaxDepth = 2 constant DefaultThreshold (line 18) | DefaultThreshold = 0.0 constant MaxSearchK (line 19) | MaxSearchK = 100 constant DefaultSearchPageSize (line 20) | DefaultSearchPageSize = 20 method Search (line 27) | func (kb *KBInstance) Search(ctx context.Context, queries []Query) (*Sea... method validateQueries (line 107) | func (kb *KBInstance) validateQueries(queries []Query) error { method groupQueriesByCollection (line 122) | func (kb *KBInstance) groupQueriesByCollection(queries []Query) map[stri... method searchCollection (line 133) | func (kb *KBInstance) searchCollection(ctx context.Context, collectionID... method executeQuery (line 198) | func (kb *KBInstance) executeQuery(ctx context.Context, collectionID str... method getQueryText (line 226) | func (kb *KBInstance) getQueryText(query Query) string { method searchVector (line 245) | func (kb *KBInstance) searchVector(ctx context.Context, collectionID str... method searchGraph (line 280) | func (kb *KBInstance) searchGraph(ctx context.Context, collectionID stri... method searchExpand (line 320) | func (kb *KBInstance) searchExpand(ctx context.Context, collectionID str... method createEmbedding (line 393) | func (kb *KBInstance) createEmbedding(providerID, optionID, locale strin... method createExtraction (line 409) | func (kb *KBInstance) createExtraction(collection map[string]interface{}... method deduplicateSegments (line 436) | func (kb *KBInstance) deduplicateSegments(segments []graphragtypes.Segme... function mergeGraphData (line 456) | func mergeGraphData(a, b *GraphData) *GraphData { method applyPagination (line 499) | func (kb *KBInstance) applyPagination(segments []graphragtypes.Segment, ... FILE: kb/api/search_setup_test.go constant SearchTestScienceCollection (line 22) | SearchTestScienceCollection = "search_test_science" constant SearchTestTechCollection (line 24) | SearchTestTechCollection = "search_test_tech" function TestSearchSetup (line 37) | func TestSearchSetup(t *testing.T) { function TestSearchCleanup (line 272) | func TestSearchCleanup(t *testing.T) { function TestSearchVerify (line 304) | func TestSearchVerify(t *testing.T) { function addFixedTestDocument (line 358) | func addFixedTestDocument(t *testing.T, ctx context.Context, collectionI... function sanitizeTitle (line 390) | func sanitizeTitle(title string) string { FILE: kb/api/search_test.go function ensureTestDataExists (line 20) | func ensureTestDataExists(t *testing.T, ctx context.Context) { function TestSearchQuery (line 25) | func TestSearchQuery(t *testing.T) { function TestSearchErrorHandling (line 371) | func TestSearchErrorHandling(t *testing.T) { function truncateText (line 431) | func truncateText(text string, maxLen int) string { FILE: kb/api/types.go type CreateCollectionParams (line 9) | type CreateCollectionParams struct type CreateCollectionResult (line 20) | type CreateCollectionResult struct type RemoveCollectionResult (line 26) | type RemoveCollectionResult struct type CollectionExistsResult (line 34) | type CollectionExistsResult struct type ListCollectionsFilter (line 40) | type ListCollectionsFilter struct type ListCollectionsResult (line 53) | type ListCollectionsResult struct type UpdateMetadataParams (line 64) | type UpdateMetadataParams struct type UpdateMetadataResult (line 70) | type UpdateMetadataResult struct type ListDocumentsFilter (line 78) | type ListDocumentsFilter struct type ListDocumentsResult (line 92) | type ListDocumentsResult struct type GetDocumentParams (line 103) | type GetDocumentParams struct type RemoveDocumentsParams (line 108) | type RemoveDocumentsParams struct type RemoveDocumentsResult (line 113) | type RemoveDocumentsResult struct type AddFileParams (line 121) | type AddFileParams struct type AddTextParams (line 138) | type AddTextParams struct type AddURLParams (line 154) | type AddURLParams struct type ProviderConfigParams (line 170) | type ProviderConfigParams struct type JobOptionsParams (line 177) | type JobOptionsParams struct type AddDocumentResult (line 185) | type AddDocumentResult struct type AddDocumentAsyncResult (line 194) | type AddDocumentAsyncResult struct type SearchMode (line 202) | type SearchMode constant SearchModeVector (line 206) | SearchModeVector SearchMode = "vector" constant SearchModeGraph (line 208) | SearchModeGraph SearchMode = "graph" constant SearchModeExpand (line 211) | SearchModeExpand SearchMode = "expand" type Query (line 215) | type Query struct type GraphData (line 253) | type GraphData struct type SearchResult (line 259) | type SearchResult struct FILE: kb/api/utils.go method updateDocumentAfterProcessing (line 15) | func (instance *KBInstance) updateDocumentAfterProcessing(ctx context.Co... method updateDocumentCountWithSync (line 37) | func (instance *KBInstance) updateDocumentCountWithSync(ctx context.Cont... method toUpsertOptions (line 59) | func (instance *KBInstance) toUpsertOptions(docID, collectionID, locale,... method getProviderOption (line 181) | func (instance *KBInstance) getProviderOption(providerType, providerID, ... method getDefaultProvider (line 211) | func (instance *KBInstance) getDefaultProvider(providerType, locale stri... function getJobOptions (line 233) | func getJobOptions(job *JobOptionsParams, defaultName, defaultDescriptio... function addBaseFieldsFromParams (line 258) | func addBaseFieldsFromParams(data map[string]interface{}, locale string,... FILE: kb/kb.go type KnowledgeBase (line 29) | type KnowledgeBase struct function Load (line 36) | func Load(appConfig config.Config) (*KnowledgeBase, error) { function GetProviders (line 101) | func GetProviders(typ string, ids []string, locale string) ([]kbtypes.Pr... function GetProvider (line 139) | func GetProvider(typ string, id string) (*kbtypes.Provider, error) { function GetProviderWithLanguage (line 144) | func GetProviderWithLanguage(typ string, id string, locale string) (*kbt... function GetConfig (line 163) | func GetConfig() (*kbtypes.Config, error) { FILE: kb/kb_test.go function TestLoad (line 11) | func TestLoad(t *testing.T) { function TestGetProviders (line 27) | func TestGetProviders(t *testing.T) { function TestGetProviderWithLanguage (line 67) | func TestGetProviderWithLanguage(t *testing.T) { function TestLoadProviders (line 94) | func TestLoadProviders(t *testing.T) { function TestProviderConfigGetProviders (line 120) | func TestProviderConfigGetProviders(t *testing.T) { FILE: kb/providers/chunking.go type Structured (line 11) | type Structured struct method Make (line 25) | func (s *Structured) Make(_ *kbtypes.ProviderOption) (types.Chunking, ... method Options (line 30) | func (s *Structured) Options(option *kbtypes.ProviderOption) (*types.C... method Schema (line 114) | func (s *Structured) Schema(provider *kbtypes.Provider, locale string)... type Semantic (line 14) | type Semantic struct method Make (line 121) | func (s *Semantic) Make(_ *kbtypes.ProviderOption) (types.Chunking, er... method Options (line 126) | func (s *Semantic) Options(option *kbtypes.ProviderOption) (*types.Chu... method Schema (line 265) | func (s *Semantic) Schema(provider *kbtypes.Provider, locale string) (... function init (line 17) | func init() { FILE: kb/providers/chunking_test.go function TestStructured_Options (line 10) | func TestStructured_Options(t *testing.T) { function TestSemantic_Options (line 190) | func TestSemantic_Options(t *testing.T) { function TestStructured_Schema (line 417) | func TestStructured_Schema(t *testing.T) { function TestSemantic_Schema (line 428) | func TestSemantic_Schema(t *testing.T) { FILE: kb/providers/converter.go type Converter (line 11) | type Converter struct method AutoDetect (line 17) | func (c Converter) AutoDetect(filename, contentTypes string) (bool, in... function init (line 40) | func init() { FILE: kb/providers/converters/mcp.go type MCP (line 13) | type MCP struct method Make (line 19) | func (mcp *MCP) Make(option *kbtypes.ProviderOption) (types.Converter,... method AutoDetect (line 109) | func (mcp *MCP) AutoDetect(filename, contentTypes string) (bool, int, ... method Schema (line 131) | func (mcp *MCP) Schema(provider *kbtypes.Provider, locale string) (*kb... FILE: kb/providers/converters/mcp_test.go function TestMCP_Make (line 9) | func TestMCP_Make(t *testing.T) { function TestMCP_AutoDetect (line 148) | func TestMCP_AutoDetect(t *testing.T) { function TestMCP_Schema (line 221) | func TestMCP_Schema(t *testing.T) { FILE: kb/providers/converters/ocr.go type OCR (line 15) | type OCR struct method Make (line 21) | func (ocr *OCR) Make(option *kbtypes.ProviderOption) (types.Converter,... method AutoDetect (line 150) | func (ocr *OCR) AutoDetect(filename, contentTypes string) (bool, int, ... method Schema (line 172) | func (ocr *OCR) Schema(provider *kbtypes.Provider, locale string) (*kb... FILE: kb/providers/converters/ocr_test.go function TestOCR_Make (line 11) | func TestOCR_Make(t *testing.T) { function TestOCR_AutoDetect (line 299) | func TestOCR_AutoDetect(t *testing.T) { function TestOCR_Schema (line 398) | func TestOCR_Schema(t *testing.T) { FILE: kb/providers/converters/office.go type Office (line 14) | type Office struct method Make (line 20) | func (office *Office) Make(option *kbtypes.ProviderOption) (types.Conv... method AutoDetect (line 90) | func (office *Office) AutoDetect(filename, contentTypes string) (bool,... method Schema (line 112) | func (office *Office) Schema(provider *kbtypes.Provider, locale string... FILE: kb/providers/converters/office_test.go function TestOffice_Make (line 9) | func TestOffice_Make(t *testing.T) { function TestOffice_AutoDetect (line 218) | func TestOffice_AutoDetect(t *testing.T) { function TestOffice_Schema (line 304) | func TestOffice_Schema(t *testing.T) { FILE: kb/providers/converters/utf8.go type UTF8 (line 13) | type UTF8 struct method Make (line 19) | func (utf8 *UTF8) Make(option *kbtypes.ProviderOption) (types.Converte... method AutoDetect (line 25) | func (utf8 *UTF8) AutoDetect(filename, contentTypes string) (bool, int... method Schema (line 47) | func (utf8 *UTF8) Schema(provider *kbtypes.Provider, locale string) (*... FILE: kb/providers/converters/utf8_test.go function TestUTF8_Make (line 9) | func TestUTF8_Make(t *testing.T) { function TestUTF8_AutoDetect (line 49) | func TestUTF8_AutoDetect(t *testing.T) { function TestUTF8_Schema (line 122) | func TestUTF8_Schema(t *testing.T) { FILE: kb/providers/converters/utils.go function parseNestedConverter (line 12) | func parseNestedConverter(config interface{}) (types.Converter, error) { FILE: kb/providers/converters/utils_test.go function TestParseNestedConverter (line 7) | func TestParseNestedConverter(t *testing.T) { FILE: kb/providers/converters/video.go type Video (line 14) | type Video struct method Make (line 20) | func (video *Video) Make(option *kbtypes.ProviderOption) (types.Conver... method AutoDetect (line 171) | func (video *Video) AutoDetect(filename, contentTypes string) (bool, i... method Schema (line 193) | func (video *Video) Schema(provider *kbtypes.Provider, locale string) ... FILE: kb/providers/converters/video_test.go function TestVideo_Make (line 11) | func TestVideo_Make(t *testing.T) { function TestVideo_AutoDetect (line 172) | func TestVideo_AutoDetect(t *testing.T) { function TestVideo_Schema (line 245) | func TestVideo_Schema(t *testing.T) { FILE: kb/providers/converters/vision.go type Vision (line 13) | type Vision struct method Make (line 19) | func (vision *Vision) Make(option *kbtypes.ProviderOption) (types.Conv... method AutoDetect (line 75) | func (vision *Vision) AutoDetect(filename, contentTypes string) (bool,... method Schema (line 97) | func (vision *Vision) Schema(provider *kbtypes.Provider, locale string... FILE: kb/providers/converters/vision_test.go function TestVision_Make (line 9) | func TestVision_Make(t *testing.T) { function TestVision_AutoDetect (line 110) | func TestVision_AutoDetect(t *testing.T) { function TestVision_Schema (line 183) | func TestVision_Schema(t *testing.T) { FILE: kb/providers/converters/whisper.go type Whisper (line 13) | type Whisper struct method Make (line 19) | func (whisper *Whisper) Make(option *kbtypes.ProviderOption) (types.Co... method AutoDetect (line 125) | func (whisper *Whisper) AutoDetect(filename, contentTypes string) (boo... method Schema (line 147) | func (whisper *Whisper) Schema(provider *kbtypes.Provider, locale stri... FILE: kb/providers/converters/whisper_test.go function TestWhisper_Make (line 9) | func TestWhisper_Make(t *testing.T) { function TestWhisper_AutoDetect (line 141) | func TestWhisper_AutoDetect(t *testing.T) { function TestWhisper_Schema (line 214) | func TestWhisper_Schema(t *testing.T) { FILE: kb/providers/embedding.go type OpenAI (line 11) | type OpenAI struct method Make (line 25) | func (o *OpenAI) Make(option *kbtypes.ProviderOption) (types.Embedding... method Schema (line 73) | func (o *OpenAI) Schema(provider *kbtypes.Provider, locale string) (*k... type Fastembed (line 14) | type Fastembed struct method Make (line 80) | func (f *Fastembed) Make(option *kbtypes.ProviderOption) (types.Embedd... method Schema (line 144) | func (f *Fastembed) Schema(provider *kbtypes.Provider, locale string) ... function init (line 17) | func init() { FILE: kb/providers/embedding_test.go function TestOpenAI_Make (line 9) | func TestOpenAI_Make(t *testing.T) { function TestOpenAI_Schema (line 123) | func TestOpenAI_Schema(t *testing.T) { function TestFastembed_Make (line 134) | func TestFastembed_Make(t *testing.T) { function TestFastembed_Schema (line 284) | func TestFastembed_Schema(t *testing.T) { FILE: kb/providers/extraction.go type ExtractionOpenAI (line 13) | type ExtractionOpenAI struct method Make (line 21) | func (e *ExtractionOpenAI) Make(option *kbtypes.ProviderOption) (types... method Schema (line 131) | func (e *ExtractionOpenAI) Schema(provider *kbtypes.Provider, locale s... function init (line 16) | func init() { FILE: kb/providers/extraction_test.go function TestExtractionOpenAI_Make (line 9) | func TestExtractionOpenAI_Make(t *testing.T) { function TestExtractionOpenAI_Schema (line 280) | func TestExtractionOpenAI_Schema(t *testing.T) { FILE: kb/providers/factory/factory.go type ProviderType (line 11) | type ProviderType constant ProviderTypeChunking (line 15) | ProviderTypeChunking ProviderType = "chunking" constant ProviderTypeConverter (line 17) | ProviderTypeConverter ProviderType = "converter" constant ProviderTypeEmbedding (line 19) | ProviderTypeEmbedding ProviderType = "embedding" constant ProviderTypeExtraction (line 21) | ProviderTypeExtraction ProviderType = "extraction" constant ProviderTypeFetcher (line 23) | ProviderTypeFetcher ProviderType = "fetcher" type DetectMatch (line 27) | type DetectMatch struct function MakeChunking (line 50) | func MakeChunking(id string, option *kbtypes.ProviderOption) (types.Chun... function ChunkingOptions (line 59) | func ChunkingOptions(id string, option *kbtypes.ProviderOption) (*types.... function MakeConverter (line 70) | func MakeConverter(id string, option *kbtypes.ProviderOption) (types.Con... function AutoDetectConverter (line 80) | func AutoDetectConverter(filename, contentType string) (bool, string, er... function MakeEmbedding (line 99) | func MakeEmbedding(id string, option *kbtypes.ProviderOption) (types.Emb... function MakeExtraction (line 110) | func MakeExtraction(id string, option *kbtypes.ProviderOption) (types.Ex... function MakeFetcher (line 121) | func MakeFetcher(id string, option *kbtypes.ProviderOption) (types.Fetch... function GetSchema (line 132) | func GetSchema(typ ProviderType, provider *kbtypes.Provider, locale stri... FILE: kb/providers/factory/interfaces.go type Chunking (line 9) | type Chunking interface type Converter (line 16) | type Converter interface type Embedding (line 23) | type Embedding interface type Extraction (line 29) | type Extraction interface type Fetcher (line 35) | type Fetcher interface type Schema (line 41) | type Schema interface FILE: kb/providers/factory/utils.go function GetSchemaFromBindata (line 14) | func GetSchemaFromBindata(typ ProviderType, name string, locale string) ... function replaceVars (line 48) | func replaceVars(raw []byte, vars map[string]interface{}) ([]byte, error) { FILE: kb/providers/fetcher.go type FetcherHTTP (line 13) | type FetcherHTTP struct method Make (line 27) | func (f *FetcherHTTP) Make(option *kbtypes.ProviderOption) (types.Fetc... method Schema (line 69) | func (f *FetcherHTTP) Schema(provider *kbtypes.Provider, locale string... type FetcherMCP (line 16) | type FetcherMCP struct method Make (line 76) | func (f *FetcherMCP) Make(option *kbtypes.ProviderOption) (types.Fetch... method Schema (line 158) | func (f *FetcherMCP) Schema(provider *kbtypes.Provider, locale string)... function init (line 19) | func init() { FILE: kb/providers/fetcher_test.go function TestFetcherHTTP_Make (line 9) | func TestFetcherHTTP_Make(t *testing.T) { function TestFetcherHTTP_Schema (line 184) | func TestFetcherHTTP_Schema(t *testing.T) { function TestFetcherMCP_Make (line 195) | func TestFetcherMCP_Make(t *testing.T) { function TestFetcherMCP_Schema (line 442) | func TestFetcherMCP_Schema(t *testing.T) { FILE: kb/types/collection.go method SearchCollections (line 12) | func (c *Config) SearchCollections(param model.QueryParam, page int, pag... method FindCollection (line 26) | func (c *Config) FindCollection(collectionID string, param model.QueryPa... method CreateCollection (line 54) | func (c *Config) CreateCollection(data maps.MapStrAny) (int, error) { method UpdateCollection (line 68) | func (c *Config) UpdateCollection(collectionID string, data maps.MapStrA... method RemoveCollection (line 91) | func (c *Config) RemoveCollection(collectionID string) error { method DocumentCount (line 114) | func (c *Config) DocumentCount(collectionID string) (int, error) { method UpdateDocumentCount (line 162) | func (c *Config) UpdateDocumentCount(collectionID string) error { FILE: kb/types/config.go function ParseConfigFromJSON (line 20) | func ParseConfigFromJSON(data []byte) (*Config, error) { function ParseConfigFromFile (line 29) | func ParseConfigFromFile(filename string) (*Config, error) { method ToJSON (line 38) | func (c *Config) ToJSON() ([]byte, error) { method GraphRagConfig (line 43) | func (c *Config) GraphRagConfig() (*graphrag.Config, error) { method getStoreName (line 80) | func (c *Config) getStoreName() string { method createVectorStore (line 88) | func (c *Config) createVectorStore() (types.VectorStore, error) { method createGraphStore (line 103) | func (c *Config) createGraphStore() (types.GraphStore, error) { method toVectorStoreConfig (line 118) | func (c *Config) toVectorStoreConfig() (types.VectorStoreConfig, error) { method toGraphStoreConfig (line 162) | func (c *Config) toGraphStoreConfig() (types.GraphStoreConfig, error) { method resolveEnvVars (line 209) | func (c *Config) resolveEnvVars(config map[string]interface{}) (map[stri... method parseEnvVar (line 232) | func (c *Config) parseEnvVar(value string) string { method resolveAllEnvVars (line 251) | func (c *Config) resolveAllEnvVars() error { method resolveProviderEnvVars (line 279) | func (c *Config) resolveProviderEnvVars() error { method UnmarshalJSON (line 314) | func (c *Config) UnmarshalJSON(data []byte) error { method MarshalJSON (line 346) | func (c *Config) MarshalJSON() ([]byte, error) { method ComputeFeatures (line 353) | func (c *Config) ComputeFeatures() Features { method hasProvidersInAnyLanguage (line 393) | func (c *Config) hasProvidersInAnyLanguage(providerMap map[string][]*Pro... FILE: kb/types/config_test.go constant testConfigJSON (line 12) | testConfigJSON = `{ constant minimalConfigJSON (line 38) | minimalConfigJSON = `{ function TestParseConfigFromJSON (line 45) | func TestParseConfigFromJSON(t *testing.T) { function TestParseConfigFromFile (line 87) | func TestParseConfigFromFile(t *testing.T) { function TestConfig_ToJSON (line 127) | func TestConfig_ToJSON(t *testing.T) { function TestConfig_UnmarshalJSON (line 154) | func TestConfig_UnmarshalJSON(t *testing.T) { function TestConfig_MarshalJSON (line 185) | func TestConfig_MarshalJSON(t *testing.T) { function TestConfig_ComputeFeatures (line 218) | func TestConfig_ComputeFeatures(t *testing.T) { function TestRoundTrip (line 307) | func TestRoundTrip(t *testing.T) { function TestConfig_ResolveEnvVars (line 338) | func TestConfig_ResolveEnvVars(t *testing.T) { function TestConfig_ParseEnvVar (line 422) | func TestConfig_ParseEnvVar(t *testing.T) { function TestConfig_ResolveEnvVarsOnParsing (line 471) | func TestConfig_ResolveEnvVarsOnParsing(t *testing.T) { function TestProviderConfig_GetProviders (line 531) | func TestProviderConfig_GetProviders(t *testing.T) { function TestProviderConfig_GetProvider (line 632) | func TestProviderConfig_GetProvider(t *testing.T) { FILE: kb/types/document.go method SearchDocuments (line 11) | func (c *Config) SearchDocuments(param model.QueryParam, page int, pages... method FindDocument (line 26) | func (c *Config) FindDocument(documentID string, param model.QueryParam)... method CreateDocument (line 54) | func (c *Config) CreateDocument(data maps.MapStrAny) (int, error) { method UpdateDocument (line 68) | func (c *Config) UpdateDocument(documentID string, data maps.MapStrAny) ... method RemoveDocument (line 91) | func (c *Config) RemoveDocument(documentID string) error { method RemoveDocumentsByCollectionID (line 114) | func (c *Config) RemoveDocumentsByCollectionID(collectionID string) error { method UpdateSegmentCount (line 136) | func (c *Config) UpdateSegmentCount(documentID string, count int) error { FILE: kb/types/provider.go method GetOption (line 14) | func (p *Provider) GetOption(id string) (*ProviderOption, bool) { method GetOptionByIndex (line 29) | func (p *Provider) GetOptionByIndex(index int) (*ProviderOption, bool) { method Parse (line 37) | func (p *ProviderOption) Parse(v interface{}) error { function LoadProviders (line 53) | func LoadProviders(basePath string) (*ProviderConfig, error) { function loadProviderType (line 84) | func loadProviderType(basePath, providerType string, config *ProviderCon... function loadProvidersForLanguage (line 154) | func loadProvidersForLanguage(providerDir, filename string) ([]*Provider... method GetProviders (line 174) | func (pc *ProviderConfig) GetProviders(providerType, language string) []... method GetProvider (line 221) | func (pc *ProviderConfig) GetProvider(providerType, id, language string)... FILE: kb/types/types.go type Features (line 4) | type Features struct function SetGlobalPDF (line 36) | func SetGlobalPDF(config *PDFConfig) { function SetGlobalFFmpeg (line 41) | func SetGlobalFFmpeg(config *FFmpegConfig) { function GetGlobalPDF (line 46) | func GetGlobalPDF() *PDFConfig { function GetGlobalFFmpeg (line 51) | func GetGlobalFFmpeg() *FFmpegConfig { type Config (line 56) | type Config struct type ProviderConfig (line 92) | type ProviderConfig struct type VectorConfig (line 107) | type VectorConfig struct type GraphConfig (line 113) | type GraphConfig struct type PDFConfig (line 120) | type PDFConfig struct type FFmpegConfig (line 126) | type FFmpegConfig struct type LimitsConfig (line 136) | type LimitsConfig struct type QueueLimit (line 151) | type QueueLimit struct type Provider (line 157) | type Provider struct type ProviderOption (line 166) | type ProviderOption struct type ProviderSchema (line 175) | type ProviderSchema struct type PropertySchema (line 184) | type PropertySchema struct type ErrorMessages (line 219) | type ErrorMessages struct type PropertyType (line 230) | type PropertyType constant PropertyTypeString (line 234) | PropertyTypeString PropertyType = "string" constant PropertyTypeNumber (line 235) | PropertyTypeNumber PropertyType = "number" constant PropertyTypeInteger (line 236) | PropertyTypeInteger PropertyType = "integer" constant PropertyTypeBoolean (line 237) | PropertyTypeBoolean PropertyType = "boolean" constant PropertyTypeObject (line 238) | PropertyTypeObject PropertyType = "object" constant PropertyTypeArray (line 239) | PropertyTypeArray PropertyType = "array" type EnumOption (line 243) | type EnumOption struct type OptionGroup (line 251) | type OptionGroup struct type RawConfig (line 257) | type RawConfig FILE: main.go function main (line 25) | func main() { FILE: mcp/mcp.go function Load (line 20) | func Load(cfg config.Config) error { function loadAssistantMCPs (line 67) | func loadAssistantMCPs() []error { function loadDatabaseMCPs (line 164) | func loadDatabaseMCPs() []error { FILE: mcp/mcp_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 26) | func check(t *testing.T) { function TestLoadWithError (line 68) | func TestLoadWithError(t *testing.T) { function TestGetClient (line 80) | func TestGetClient(t *testing.T) { function TestUnloadClient (line 104) | func TestUnloadClient(t *testing.T) { function TestLoadAssistantMCPs (line 132) | func TestLoadAssistantMCPs(t *testing.T) { FILE: messenger/messenger.go type Service (line 34) | type Service struct method Send (line 240) | func (m *Service) Send(ctx context.Context, channel string, message *t... method SendWithProvider (line 254) | func (m *Service) SendWithProvider(ctx context.Context, providerName s... method SendT (line 304) | func (m *Service) SendT(ctx context.Context, channel string, templateI... method SendTWithProvider (line 372) | func (m *Service) SendTWithProvider(ctx context.Context, providerName ... method SendTBatch (line 403) | func (m *Service) SendTBatch(ctx context.Context, channel string, temp... method SendTBatchWithProvider (line 463) | func (m *Service) SendTBatchWithProvider(ctx context.Context, provider... method SendTBatchMixed (line 514) | func (m *Service) SendTBatchMixed(ctx context.Context, channel string,... method SendTBatchMixedWithProvider (line 602) | func (m *Service) SendTBatchMixedWithProvider(ctx context.Context, pro... method SendBatch (line 655) | func (m *Service) SendBatch(ctx context.Context, channel string, messa... method GetProvider (line 699) | func (m *Service) GetProvider(name string) (types.Provider, error) { method GetProviders (line 711) | func (m *Service) GetProviders(messageType string) []types.Provider { method GetProvidersByMessageType (line 723) | func (m *Service) GetProvidersByMessageType() map[types.MessageType][]... method GetAllProviders (line 737) | func (m *Service) GetAllProviders() []types.Provider { method GetChannels (line 749) | func (m *Service) GetChannels() []string { method Close (line 776) | func (m *Service) Close() error { method getProviderForChannel (line 796) | func (m *Service) getProviderForChannel(channel, messageType string) s... method validateMessage (line 913) | func (m *Service) validateMessage(message *types.Message) error { method supportsChannelType (line 930) | func (m *Service) supportsChannelType(provider types.Provider, channel... method startMailReceivers (line 966) | func (m *Service) startMailReceivers() { method StopMailReceivers (line 1017) | func (m *Service) StopMailReceivers() { method StopMailReceiver (line 1032) | func (m *Service) StopMailReceiver(providerName string) { method GetActiveReceivers (line 1046) | func (m *Service) GetActiveReceivers() []string { method OnReceive (line 1059) | func (m *Service) OnReceive(handler types.MessageHandler) error { method RemoveReceiveHandler (line 1073) | func (m *Service) RemoveReceiveHandler(handler types.MessageHandler) e... method TriggerWebhook (line 1097) | func (m *Service) TriggerWebhook(providerName string, c interface{}) e... method triggerOnReceiveHandlers (line 1126) | func (m *Service) triggerOnReceiveHandlers(ctx context.Context, messag... function Load (line 46) | func Load(cfg config.Config) error { function loadProviders (line 133) | func loadProviders() (map[string]types.Provider, error) { function loadProvider (line 174) | func loadProvider(file string, name string) (types.Provider, error) { function createProvider (line 200) | func createProvider(config types.ProviderConfig) (types.Provider, error) { function createTwilioProvider (line 230) | func createTwilioProvider(config types.ProviderConfig) (types.Provider, ... function createMailgunProvider (line 235) | func createMailgunProvider(config types.ProviderConfig) (types.Provider,... function templateTypeToMessageType (line 343) | func templateTypeToMessageType(templateType types.TemplateType) types.Me... function messageTypeToTemplateType (line 357) | func messageTypeToTemplateType(messageType types.MessageType) types.Temp... function resolveProviderEnvVars (line 831) | func resolveProviderEnvVars(config *types.ProviderConfig) error { function resolveEnvVars (line 843) | func resolveEnvVars(config map[string]interface{}) (map[string]interface... function parseEnvVar (line 866) | func parseEnvVar(value string) string { function parseChannelsConfig (line 885) | func parseChannelsConfig(channelsConfig map[string]interface{}, defaults... function getSupportedMessageTypes (line 947) | func getSupportedMessageTypes(provider types.Provider) []types.MessageTy... FILE: messenger/messenger_onreceive_test.go function createMockGinContext (line 21) | func createMockGinContext(formData map[string]interface{}) *gin.Context { function TestService_OnReceive (line 45) | func TestService_OnReceive(t *testing.T) { function TestService_RemoveReceiveHandler (line 116) | func TestService_RemoveReceiveHandler(t *testing.T) { function TestService_TriggerWebhook (line 153) | func TestService_TriggerWebhook(t *testing.T) { function TestService_TriggerOnReceiveHandlers_ErrorHandling (line 281) | func TestService_TriggerOnReceiveHandlers_ErrorHandling(t *testing.T) { function TestMessenger_OnReceiveIntegration (line 340) | func TestMessenger_OnReceiveIntegration(t *testing.T) { FILE: messenger/messenger_receiver_test.go function TestService_MailReceiverManagement (line 16) | func TestService_MailReceiverManagement(t *testing.T) { function TestService_StartMailReceivers_NoMailerProviders (line 93) | func TestService_StartMailReceivers_NoMailerProviders(t *testing.T) { function TestLoad_AutoStartMailReceivers (line 113) | func TestLoad_AutoStartMailReceivers(t *testing.T) { function TestService_RealProviderConfiguration (line 164) | func TestService_RealProviderConfiguration(t *testing.T) { function createMockMailerProvider (line 220) | func createMockMailerProvider(t *testing.T, supportsIMAP bool) *mailer.P... FILE: messenger/messenger_sendt_test.go function TestSendT_TemplateTypeSelection (line 16) | func TestSendT_TemplateTypeSelection(t *testing.T) { function TestGetProviderForChannel (line 62) | func TestGetProviderForChannel(t *testing.T) { function TestTemplateTypeConversion (line 99) | func TestTemplateTypeConversion(t *testing.T) { function TestSendTBatch (line 136) | func TestSendTBatch(t *testing.T) { function TestSendTBatchMixed (line 185) | func TestSendTBatchMixed(t *testing.T) { FILE: messenger/messenger_test.go function createTestMessage (line 15) | func createTestMessage(msgType types.MessageType) *types.Message { function setupTestEnvironment (line 41) | func setupTestEnvironment() { function TestLoad (line 48) | func TestLoad(t *testing.T) { function TestLoadProvidersDirectly (line 79) | func TestLoadProvidersDirectly(t *testing.T) { function TestLoadedProviders (line 116) | func TestLoadedProviders(t *testing.T) { function getProviderNames (line 154) | func getProviderNames(providers map[string]types.Provider) []string { function TestProviderTypes (line 162) | func TestProviderTypes(t *testing.T) { function TestChannelConfiguration (line 197) | func TestChannelConfiguration(t *testing.T) { function TestGetProvidersByMessageType (line 251) | func TestGetProvidersByMessageType(t *testing.T) { function TestGetAllProviders (line 306) | func TestGetAllProviders(t *testing.T) { function TestValidateMessage (line 355) | func TestValidateMessage(t *testing.T) { function TestProviderValidation (line 449) | func TestProviderValidation(t *testing.T) { function TestCloseMessenger (line 545) | func TestCloseMessenger(t *testing.T) { function TestMessengerIntegration (line 567) | func TestMessengerIntegration(t *testing.T) { function contains (line 613) | func contains(slice []string, item string) bool { function BenchmarkLoad (line 624) | func BenchmarkLoad(b *testing.B) { function BenchmarkGetProvider (line 639) | func BenchmarkGetProvider(b *testing.B) { function BenchmarkValidateMessage (line 661) | func BenchmarkValidateMessage(b *testing.B) { FILE: messenger/providers/mailer/mailer.go type Provider (line 20) | type Provider struct method Send (line 188) | func (p *Provider) Send(ctx context.Context, message *types.Message) e... method SendBatch (line 204) | func (p *Provider) SendBatch(ctx context.Context, messages []*types.Me... method SendT (line 214) | func (p *Provider) SendT(ctx context.Context, templateID string, templ... method SendTBatch (line 232) | func (p *Provider) SendTBatch(ctx context.Context, templateID string, ... method SendTBatchMixed (line 254) | func (p *Provider) SendTBatchMixed(ctx context.Context, templateReques... method getTemplate (line 277) | func (p *Provider) getTemplate(templateID string, templateType types.T... method GetType (line 285) | func (p *Provider) GetType() string { method GetName (line 290) | func (p *Provider) GetName() string { method GetPublicInfo (line 295) | func (p *Provider) GetPublicInfo() types.ProviderPublicInfo { method Validate (line 316) | func (p *Provider) Validate() error { method TriggerWebhook (line 336) | func (p *Provider) TriggerWebhook(c interface{}) (*types.Message, erro... method Close (line 341) | func (p *Provider) Close() error { method SupportsReceiving (line 346) | func (p *Provider) SupportsReceiving() bool { method buildMessage (line 351) | func (p *Provider) buildMessage(message *types.Message) (string, error) { method buildMessageSimple (line 387) | func (p *Provider) buildMessageSimple(content *strings.Builder, messag... method buildMessageWithAttachments (line 421) | func (p *Provider) buildMessageWithAttachments(content *strings.Builde... method sendEmail (line 535) | func (p *Provider) sendEmail(ctx context.Context, to []string, content... method sendWithContext (line 551) | func (p *Provider) sendWithContext(ctx context.Context, addr string, a... method sendWithTLS (line 614) | func (p *Provider) sendWithTLS(ctx context.Context, addr string, auth ... function NewMailerProvider (line 43) | func NewMailerProvider(config types.ProviderConfig) (*Provider, error) { function NewMailerProviderWithTemplateManager (line 48) | func NewMailerProviderWithTemplateManager(config types.ProviderConfig, t... function extractEmailAddress (line 523) | func extractEmailAddress(address string) string { FILE: messenger/providers/mailer/mailer_batch_test.go function TestSendTBatch_Success (line 14) | func TestSendTBatch_Success(t *testing.T) { function TestSendTBatch_ContextTimeout (line 58) | func TestSendTBatch_ContextTimeout(t *testing.T) { function TestSendTBatchMixed_Success (line 104) | func TestSendTBatchMixed_Success(t *testing.T) { function TestSendTBatchMixed_ContextTimeout (line 153) | func TestSendTBatchMixed_ContextTimeout(t *testing.T) { FILE: messenger/providers/mailer/mailer_receive.go type MailReceiver (line 23) | type MailReceiver struct method connect (line 59) | func (r *MailReceiver) connect() error { method reconnect (line 96) | func (r *MailReceiver) reconnect() error { method startReceiving (line 108) | func (r *MailReceiver) startReceiving(ctx context.Context) { method receiveWithIdle (line 169) | func (r *MailReceiver) receiveWithIdle(ctx context.Context) { method receiveWithPolling (line 231) | func (r *MailReceiver) receiveWithPolling(ctx context.Context) { method processNewMessages (line 253) | func (r *MailReceiver) processNewMessages() { method processMessage (line 340) | func (r *MailReceiver) processMessage(imapMsg *imap.Message) error { method formatAddress (line 385) | func (r *MailReceiver) formatAddress(addrs []*imap.Address) string { method formatAddresses (line 397) | func (r *MailReceiver) formatAddresses(addrs []*imap.Address) []string { method extractMessageBody (line 414) | func (r *MailReceiver) extractMessageBody(imapMsg *imap.Message) (plai... method parseMultipartBody (line 479) | func (r *MailReceiver) parseMultipartBody(body io.Reader, boundary str... method Stop (line 525) | func (r *MailReceiver) Stop() { method StartMailReceiver (line 36) | func (p *Provider) StartMailReceiver(ctx context.Context, handler func(*... FILE: messenger/providers/mailer/mailer_template_test.go function TestSendT_TemplateNotImplemented (line 18) | func TestSendT_TemplateNotImplemented(t *testing.T) { function TestSendT_ContextTimeout (line 56) | func TestSendT_ContextTimeout(t *testing.T) { function TestTemplateSystem_LoadTemplates (line 108) | func TestTemplateSystem_LoadTemplates(t *testing.T) { function BenchmarkSendT (line 139) | func BenchmarkSendT(b *testing.B) { FILE: messenger/providers/mailer/mailer_test.go constant TestEmailAgent (line 19) | TestEmailAgent = "agent@iqka.com" constant TestEmailX (line 20) | TestEmailX = "x@iqka.com" constant TestEmailXiang (line 21) | TestEmailXiang = "xiang@iqka.com" function getEnvOrDefault (line 26) | func getEnvOrDefault(key, defaultValue string) string { function createTestMessage (line 33) | func createTestMessage(msgType types.MessageType) *types.Message { function loadPrimaryTestConfig (line 52) | func loadPrimaryTestConfig(t *testing.T) types.ProviderConfig { function loadReliableTestConfig (line 83) | func loadReliableTestConfig(t *testing.T) types.ProviderConfig { function TestNewMailerProvider_Primary (line 118) | func TestNewMailerProvider_Primary(t *testing.T) { function TestNewMailerProvider_Reliable (line 140) | func TestNewMailerProvider_Reliable(t *testing.T) { function TestNewMailerProvider_MissingOptions (line 157) | func TestNewMailerProvider_MissingOptions(t *testing.T) { function TestNewMailerProvider_MissingHost (line 170) | func TestNewMailerProvider_MissingHost(t *testing.T) { function TestNewMailerProvider_MissingUsername (line 188) | func TestNewMailerProvider_MissingUsername(t *testing.T) { function TestNewMailerProvider_MissingPassword (line 206) | func TestNewMailerProvider_MissingPassword(t *testing.T) { function TestNewMailerProvider_MissingFrom (line 224) | func TestNewMailerProvider_MissingFrom(t *testing.T) { function TestGetType (line 244) | func TestGetType(t *testing.T) { function TestGetName (line 252) | func TestGetName(t *testing.T) { function TestValidate (line 260) | func TestValidate(t *testing.T) { function TestValidate_MissingHost (line 269) | func TestValidate_MissingHost(t *testing.T) { function TestValidate_InvalidPort (line 280) | func TestValidate_InvalidPort(t *testing.T) { function TestValidate_MissingUsername (line 291) | func TestValidate_MissingUsername(t *testing.T) { function TestValidate_MissingPassword (line 302) | func TestValidate_MissingPassword(t *testing.T) { function TestValidate_MissingFrom (line 313) | func TestValidate_MissingFrom(t *testing.T) { function TestClose (line 324) | func TestClose(t *testing.T) { function TestSend_NonEmailMessage (line 335) | func TestSend_NonEmailMessage(t *testing.T) { function TestSend_EmailMessage_RealAPI_Primary (line 348) | func TestSend_EmailMessage_RealAPI_Primary(t *testing.T) { function TestSend_EmailMessage_RealAPI_Reliable (line 390) | func TestSend_EmailMessage_RealAPI_Reliable(t *testing.T) { function TestSend_ContextTimeout_RealAPI (line 433) | func TestSend_ContextTimeout_RealAPI(t *testing.T) { function TestSendBatch_RealAPI (line 462) | func TestSendBatch_RealAPI(t *testing.T) { function TestSend_MultipleRecipients_RealAPI (line 501) | func TestSend_MultipleRecipients_RealAPI(t *testing.T) { function TestSend_WithCustomFrom (line 536) | func TestSend_WithCustomFrom(t *testing.T) { function TestSend_PlainTextOnly (line 561) | func TestSend_PlainTextOnly(t *testing.T) { function TestSend_HTMLOnly (line 586) | func TestSend_HTMLOnly(t *testing.T) { function TestSend_MultipartMessage (line 611) | func TestSend_MultipartMessage(t *testing.T) { function BenchmarkNewMailerProvider (line 638) | func BenchmarkNewMailerProvider(b *testing.B) { function BenchmarkValidate (line 653) | func BenchmarkValidate(b *testing.B) { function BenchmarkBuildMessage (line 670) | func BenchmarkBuildMessage(b *testing.B) { function TestProvider_GetPublicInfo (line 689) | func TestProvider_GetPublicInfo(t *testing.T) { function TestProvider_GetPublicInfo_DefaultDescription (line 723) | func TestProvider_GetPublicInfo_DefaultDescription(t *testing.T) { function TestProvider_TriggerWebhook (line 747) | func TestProvider_TriggerWebhook(t *testing.T) { function TestBuildMessage_WithAttachments (line 776) | func TestBuildMessage_WithAttachments(t *testing.T) { function TestSend_EmailWithAttachments_RealAPI (line 892) | func TestSend_EmailWithAttachments_RealAPI(t *testing.T) { FILE: messenger/providers/mailgun/mailgun.go type Provider (line 19) | type Provider struct method Send (line 81) | func (p *Provider) Send(ctx context.Context, message *types.Message) e... method SendBatch (line 90) | func (p *Provider) SendBatch(ctx context.Context, messages []*types.Me... method SendT (line 100) | func (p *Provider) SendT(ctx context.Context, templateID string, templ... method SendTBatch (line 118) | func (p *Provider) SendTBatch(ctx context.Context, templateID string, ... method SendTBatchMixed (line 140) | func (p *Provider) SendTBatchMixed(ctx context.Context, templateReques... method getTemplate (line 163) | func (p *Provider) getTemplate(templateID string, templateType types.T... method GetType (line 171) | func (p *Provider) GetType() string { method GetName (line 176) | func (p *Provider) GetName() string { method GetPublicInfo (line 181) | func (p *Provider) GetPublicInfo() types.ProviderPublicInfo { method Validate (line 202) | func (p *Provider) Validate() error { method Close (line 216) | func (p *Provider) Close() error { method sendEmail (line 221) | func (p *Provider) sendEmail(ctx context.Context, message *types.Messa... method sendEmailSimple (line 234) | func (p *Provider) sendEmailSimple(ctx context.Context, apiURL string,... method sendEmailWithAttachments (line 314) | func (p *Provider) sendEmailWithAttachments(ctx context.Context, apiUR... function NewMailgunProvider (line 30) | func NewMailgunProvider(config types.ProviderConfig) (*Provider, error) { function NewMailgunProviderWithTemplateManager (line 35) | func NewMailgunProviderWithTemplateManager(config types.ProviderConfig, ... FILE: messenger/providers/mailgun/mailgun_batch_test.go function TestSendTBatch_Success (line 14) | func TestSendTBatch_Success(t *testing.T) { function TestSendTBatch_ContextTimeout (line 54) | func TestSendTBatch_ContextTimeout(t *testing.T) { function TestSendTBatchMixed_Success (line 96) | func TestSendTBatchMixed_Success(t *testing.T) { function TestSendTBatchMixed_ContextTimeout (line 141) | func TestSendTBatchMixed_ContextTimeout(t *testing.T) { FILE: messenger/providers/mailgun/mailgun_receive.go method TriggerWebhook (line 11) | func (p *Provider) TriggerWebhook(c interface{}) (*types.Message, error) { FILE: messenger/providers/mailgun/mailgun_receive_test.go function createMockGinContext (line 16) | func createMockGinContext(formData map[string]interface{}) *gin.Context { function TestProvider_TriggerWebhook (line 39) | func TestProvider_TriggerWebhook(t *testing.T) { function TestProvider_TriggerWebhook_InvalidInput (line 152) | func TestProvider_TriggerWebhook_InvalidInput(t *testing.T) { function TestProvider_GetPublicInfo (line 173) | func TestProvider_GetPublicInfo(t *testing.T) { function TestProvider_GetPublicInfo_DefaultDescription (line 205) | func TestProvider_GetPublicInfo_DefaultDescription(t *testing.T) { FILE: messenger/providers/mailgun/mailgun_template_test.go function TestSendT_TemplateNotImplemented (line 16) | func TestSendT_TemplateNotImplemented(t *testing.T) { function TestSendT_ContextTimeout (line 49) | func TestSendT_ContextTimeout(t *testing.T) { FILE: messenger/providers/mailgun/mailgun_test.go constant TestEmailAgent (line 22) | TestEmailAgent = "agent@iqka.com" constant TestEmailX (line 23) | TestEmailX = "x@iqka.com" constant TestEmailXiang (line 24) | TestEmailXiang = "xiang@iqka.com" function createTestMessage (line 29) | func createTestMessage(msgType types.MessageType) *types.Message { function loadTestConfig (line 48) | func loadTestConfig(t *testing.T) types.ProviderConfig { function TestNewMailgunProvider (line 71) | func TestNewMailgunProvider(t *testing.T) { function TestNewMailgunProvider_MissingOptions (line 86) | func TestNewMailgunProvider_MissingOptions(t *testing.T) { function TestNewMailgunProvider_MissingDomain (line 99) | func TestNewMailgunProvider_MissingDomain(t *testing.T) { function TestNewMailgunProvider_MissingAPIKey (line 115) | func TestNewMailgunProvider_MissingAPIKey(t *testing.T) { function TestNewMailgunProvider_MissingFrom (line 131) | func TestNewMailgunProvider_MissingFrom(t *testing.T) { function TestGetType (line 149) | func TestGetType(t *testing.T) { function TestGetName (line 157) | func TestGetName(t *testing.T) { function TestValidate (line 165) | func TestValidate(t *testing.T) { function TestValidate_MissingDomain (line 174) | func TestValidate_MissingDomain(t *testing.T) { function TestValidate_MissingAPIKey (line 185) | func TestValidate_MissingAPIKey(t *testing.T) { function TestValidate_MissingFrom (line 196) | func TestValidate_MissingFrom(t *testing.T) { function TestClose (line 207) | func TestClose(t *testing.T) { function TestSend_NonEmailMessage (line 218) | func TestSend_NonEmailMessage(t *testing.T) { function TestSend_EmailMessage_RealAPI (line 231) | func TestSend_EmailMessage_RealAPI(t *testing.T) { function TestSend_EmailMessage_APIError (line 271) | func TestSend_EmailMessage_APIError(t *testing.T) { function TestSend_ContextTimeout_RealAPI (line 295) | func TestSend_ContextTimeout_RealAPI(t *testing.T) { function TestSendBatch_RealAPI (line 324) | func TestSendBatch_RealAPI(t *testing.T) { function TestSendBatch_PartialFailure (line 361) | func TestSendBatch_PartialFailure(t *testing.T) { function TestSend_WithCustomFrom (line 402) | func TestSend_WithCustomFrom(t *testing.T) { function TestSend_WithScheduledTime (line 430) | func TestSend_WithScheduledTime(t *testing.T) { function TestSend_MultipleRecipients_RealAPI (line 462) | func TestSend_MultipleRecipients_RealAPI(t *testing.T) { function BenchmarkNewMailgunProvider (line 495) | func BenchmarkNewMailgunProvider(b *testing.B) { function BenchmarkSend (line 510) | func BenchmarkSend(b *testing.B) { function BenchmarkValidate (line 538) | func BenchmarkValidate(b *testing.B) { function TestSend_EmailWithAttachments_MockServer (line 559) | func TestSend_EmailWithAttachments_MockServer(t *testing.T) { function TestSend_EmailWithInlineAttachment_MockServer (line 614) | func TestSend_EmailWithInlineAttachment_MockServer(t *testing.T) { function TestSend_EmailWithAttachments_RealAPI (line 649) | func TestSend_EmailWithAttachments_RealAPI(t *testing.T) { FILE: messenger/providers/twilio/twilio.go type Provider (line 18) | type Provider struct method Send (line 105) | func (p *Provider) Send(ctx context.Context, message *types.Message) e... method SendBatch (line 119) | func (p *Provider) SendBatch(ctx context.Context, messages []*types.Me... method SendT (line 129) | func (p *Provider) SendT(ctx context.Context, templateID string, templ... method SendTBatch (line 147) | func (p *Provider) SendTBatch(ctx context.Context, templateID string, ... method SendTBatchMixed (line 169) | func (p *Provider) SendTBatchMixed(ctx context.Context, templateReques... method getTemplate (line 192) | func (p *Provider) getTemplate(templateID string, templateType types.T... method GetType (line 200) | func (p *Provider) GetType() string { method GetName (line 205) | func (p *Provider) GetName() string { method GetPublicInfo (line 210) | func (p *Provider) GetPublicInfo() types.ProviderPublicInfo { method Validate (line 245) | func (p *Provider) Validate() error { method Close (line 267) | func (p *Provider) Close() error { method sendSMS (line 272) | func (p *Provider) sendSMS(ctx context.Context, message *types.Message... method sendSMSToRecipient (line 287) | func (p *Provider) sendSMSToRecipient(ctx context.Context, to string, ... method sendWhatsApp (line 305) | func (p *Provider) sendWhatsApp(ctx context.Context, message *types.Me... method sendWhatsAppToRecipient (line 320) | func (p *Provider) sendWhatsAppToRecipient(ctx context.Context, to str... method sendEmail (line 344) | func (p *Provider) sendEmail(ctx context.Context, message *types.Messa... method sendTwilioRequest (line 427) | func (p *Provider) sendTwilioRequest(ctx context.Context, apiURL strin... method buildEmailRecipients (line 459) | func (p *Provider) buildEmailRecipients(to []string) []map[string]stri... method buildFromAddress (line 468) | func (p *Provider) buildFromAddress(message *types.Message) map[string... method buildEmailContent (line 487) | func (p *Provider) buildEmailContent(message *types.Message) []map[str... method buildAttachments (line 516) | func (p *Provider) buildAttachments(attachments []types.Attachment) ([... function NewTwilioProvider (line 35) | func NewTwilioProvider(config types.ProviderConfig) (*Provider, error) { function NewTwilioProviderWithTemplateManager (line 40) | func NewTwilioProviderWithTemplateManager(config types.ProviderConfig, t... FILE: messenger/providers/twilio/twilio_batch_test.go function TestSendTBatch_Success (line 14) | func TestSendTBatch_Success(t *testing.T) { function TestSendTBatch_ContextTimeout (line 54) | func TestSendTBatch_ContextTimeout(t *testing.T) { function TestSendTBatchMixed_Success (line 96) | func TestSendTBatchMixed_Success(t *testing.T) { function TestSendTBatchMixed_ContextTimeout (line 141) | func TestSendTBatchMixed_ContextTimeout(t *testing.T) { FILE: messenger/providers/twilio/twilio_receive.go method TriggerWebhook (line 12) | func (p *Provider) TriggerWebhook(c interface{}) (*types.Message, error) { FILE: messenger/providers/twilio/twilio_receive_test.go function createMockGinContext (line 16) | func createMockGinContext(formData map[string]interface{}) *gin.Context { function TestProvider_TriggerWebhook (line 39) | func TestProvider_TriggerWebhook(t *testing.T) { function TestProvider_TriggerWebhook_InvalidInput (line 174) | func TestProvider_TriggerWebhook_InvalidInput(t *testing.T) { FILE: messenger/providers/twilio/twilio_sms_test.go function getTestSMSPhone (line 16) | func getTestSMSPhone() string { function createTestSMSMessage (line 21) | func createTestSMSMessage() *types.Message { function loadSMSTestConfig (line 30) | func loadSMSTestConfig(t *testing.T) types.ProviderConfig { function loadSMSTestConfigWithAPIKey (line 41) | func loadSMSTestConfigWithAPIKey(t *testing.T) types.ProviderConfig { function TestSMS_ProviderConfig_WithFromPhone_AuthToken (line 58) | func TestSMS_ProviderConfig_WithFromPhone_AuthToken(t *testing.T) { function TestSMS_ProviderConfig_WithFromPhone_APIKey (line 78) | func TestSMS_ProviderConfig_WithFromPhone_APIKey(t *testing.T) { function TestSMS_ProviderConfig_WithMessagingService (line 99) | func TestSMS_ProviderConfig_WithMessagingService(t *testing.T) { function TestSMS_ProviderConfig_MissingPhoneAndService (line 116) | func TestSMS_ProviderConfig_MissingPhoneAndService(t *testing.T) { function TestSend_SMSMessage_WithAuthToken_RealAPI (line 142) | func TestSend_SMSMessage_WithAuthToken_RealAPI(t *testing.T) { function TestSend_SMSMessage_WithAPIKey_RealAPI (line 178) | func TestSend_SMSMessage_WithAPIKey_RealAPI(t *testing.T) { function TestSend_SMSMessage_WithMessagingService_RealAPI (line 214) | func TestSend_SMSMessage_WithMessagingService_RealAPI(t *testing.T) { function TestSend_SMSMessage_ContextTimeout_RealAPI (line 249) | func TestSend_SMSMessage_ContextTimeout_RealAPI(t *testing.T) { function TestSendBatch_SMS_RealAPI (line 273) | func TestSendBatch_SMS_RealAPI(t *testing.T) { function TestSend_SMS_MultipleRecipients_RealAPI (line 316) | func TestSend_SMS_MultipleRecipients_RealAPI(t *testing.T) { function TestSend_SMS_WithCustomMetadata (line 356) | func TestSend_SMS_WithCustomMetadata(t *testing.T) { function TestSend_SMS_WithDeliveryStatus (line 365) | func TestSend_SMS_WithDeliveryStatus(t *testing.T) { function TestSend_SMS_PhoneNumberValidation (line 374) | func TestSend_SMS_PhoneNumberValidation(t *testing.T) { function TestSend_SMS_RateLimiting (line 384) | func TestSend_SMS_RateLimiting(t *testing.T) { function TestSend_SMS_LongMessages (line 394) | func TestSend_SMS_LongMessages(t *testing.T) { function TestSend_SMS_InvalidPhoneNumber (line 408) | func TestSend_SMS_InvalidPhoneNumber(t *testing.T) { function TestSend_SMS_InsufficientBalance (line 417) | func TestSend_SMS_InsufficientBalance(t *testing.T) { function TestSend_SMS_APIError_Scenarios (line 426) | func TestSend_SMS_APIError_Scenarios(t *testing.T) { function BenchmarkSend_SMS_AuthToken (line 440) | func BenchmarkSend_SMS_AuthToken(b *testing.B) { function BenchmarkSend_SMS_APIKey (line 461) | func BenchmarkSend_SMS_APIKey(b *testing.B) { function BenchmarkSendBatch_SMS_AuthToken (line 482) | func BenchmarkSendBatch_SMS_AuthToken(b *testing.B) { FILE: messenger/providers/twilio/twilio_template_test.go function TestSendT_TemplateNotImplemented (line 16) | func TestSendT_TemplateNotImplemented(t *testing.T) { function TestSendT_ContextTimeout (line 48) | func TestSendT_ContextTimeout(t *testing.T) { FILE: messenger/providers/twilio/twilio_test.go constant TestEmailAgent (line 22) | TestEmailAgent = "agent@iqka.com" constant TestEmailX (line 23) | TestEmailX = "x@iqka.com" constant TestEmailXiang (line 24) | TestEmailXiang = "xiang@iqka.com" function loadTestConfig (line 30) | func loadTestConfig(t *testing.T) types.ProviderConfig { function createTestMessage (line 52) | func createTestMessage(messageType types.MessageType) *types.Message { function TestNewTwilioProvider (line 76) | func TestNewTwilioProvider(t *testing.T) { function TestNewTwilioProvider_MissingOptions (line 94) | func TestNewTwilioProvider_MissingOptions(t *testing.T) { function TestNewTwilioProvider_MissingAccountSID (line 107) | func TestNewTwilioProvider_MissingAccountSID(t *testing.T) { function TestGetType (line 122) | func TestGetType(t *testing.T) { function TestGetName (line 130) | func TestGetName(t *testing.T) { function TestValidate (line 138) | func TestValidate(t *testing.T) { function TestValidate_MissingAccountSID (line 147) | func TestValidate_MissingAccountSID(t *testing.T) { function TestValidate_MissingAuth (line 161) | func TestValidate_MissingAuth(t *testing.T) { function TestValidate_PartialAPIKeys (line 178) | func TestValidate_PartialAPIKeys(t *testing.T) { function TestClose (line 199) | func TestClose(t *testing.T) { function TestSend_EmailMessage_RealAPI (line 212) | func TestSend_EmailMessage_RealAPI(t *testing.T) { function TestSend_EmailMessage_APIError (line 239) | func TestSend_EmailMessage_APIError(t *testing.T) { function TestSend_ContextTimeout_Email_RealAPI (line 279) | func TestSend_ContextTimeout_Email_RealAPI(t *testing.T) { function TestSendBatch_Email_RealAPI (line 304) | func TestSendBatch_Email_RealAPI(t *testing.T) { function TestSend_EmailMessage_WithCustomFrom (line 344) | func TestSend_EmailMessage_WithCustomFrom(t *testing.T) { function TestSend_EmailMessage_WithScheduledTime (line 386) | func TestSend_EmailMessage_WithScheduledTime(t *testing.T) { function TestSend_EmailMessage_MultipleRecipients_RealAPI (line 430) | func TestSend_EmailMessage_MultipleRecipients_RealAPI(t *testing.T) { function TestSend_UnsupportedMessageType (line 459) | func TestSend_UnsupportedMessageType(t *testing.T) { function BenchmarkSend_Email (line 488) | func BenchmarkSend_Email(b *testing.B) { function BenchmarkSendBatch_Email (line 509) | func BenchmarkSendBatch_Email(b *testing.B) { type mockTransport (line 538) | type mockTransport struct method RoundTrip (line 542) | func (t *mockTransport) RoundTrip(req *http.Request) (*http.Response, ... FILE: messenger/providers/twilio/twilio_whatsapp_test.go constant TestWhatsAppPhoneAgent (line 15) | TestWhatsAppPhoneAgent = "+1234567890" constant TestWhatsAppPhoneX (line 16) | TestWhatsAppPhoneX = "+1234567891" constant TestWhatsAppPhoneXiang (line 17) | TestWhatsAppPhoneXiang = "+1234567892" function createTestWhatsAppMessage (line 21) | func createTestWhatsAppMessage() *types.Message { function loadWhatsAppTestConfig (line 30) | func loadWhatsAppTestConfig(t *testing.T) types.ProviderConfig { function TestWhatsApp_ProviderConfig_WithFromPhone (line 43) | func TestWhatsApp_ProviderConfig_WithFromPhone(t *testing.T) { function TestWhatsApp_ProviderConfig_MissingFromPhone (line 60) | func TestWhatsApp_ProviderConfig_MissingFromPhone(t *testing.T) { function TestWhatsApp_PhoneNumberFormatting (line 82) | func TestWhatsApp_PhoneNumberFormatting(t *testing.T) { function TestSend_WhatsAppMessage_RealAPI (line 113) | func TestSend_WhatsAppMessage_RealAPI(t *testing.T) { function TestSend_WhatsAppMessage_PhoneNumberFormatting_RealAPI (line 139) | func TestSend_WhatsAppMessage_PhoneNumberFormatting_RealAPI(t *testing.T) { function TestSend_WhatsAppMessage_ContextTimeout_RealAPI (line 150) | func TestSend_WhatsAppMessage_ContextTimeout_RealAPI(t *testing.T) { function TestSendBatch_WhatsApp_RealAPI (line 169) | func TestSendBatch_WhatsApp_RealAPI(t *testing.T) { function TestSend_WhatsApp_MultipleRecipients_RealAPI (line 199) | func TestSend_WhatsApp_MultipleRecipients_RealAPI(t *testing.T) { function TestSend_WhatsApp_WithMediaMessage (line 226) | func TestSend_WhatsApp_WithMediaMessage(t *testing.T) { function TestSend_WhatsApp_WithTemplateMessage (line 237) | func TestSend_WhatsApp_WithTemplateMessage(t *testing.T) { function TestSend_WhatsApp_WithInteractiveMessage (line 248) | func TestSend_WhatsApp_WithInteractiveMessage(t *testing.T) { function TestSend_WhatsApp_WithLocationMessage (line 259) | func TestSend_WhatsApp_WithLocationMessage(t *testing.T) { function TestSend_WhatsApp_WithContactMessage (line 269) | func TestSend_WhatsApp_WithContactMessage(t *testing.T) { function TestSend_WhatsApp_BusinessProfile (line 283) | func TestSend_WhatsApp_BusinessProfile(t *testing.T) { function TestSend_WhatsApp_OptInOptOut (line 293) | func TestSend_WhatsApp_OptInOptOut(t *testing.T) { function TestSend_WhatsApp_MessageStatus (line 303) | func TestSend_WhatsApp_MessageStatus(t *testing.T) { function TestSend_WhatsApp_InvalidPhoneNumber (line 317) | func TestSend_WhatsApp_InvalidPhoneNumber(t *testing.T) { function TestSend_WhatsApp_RateLimiting (line 327) | func TestSend_WhatsApp_RateLimiting(t *testing.T) { function TestSend_WhatsApp_PolicyViolation (line 337) | func TestSend_WhatsApp_PolicyViolation(t *testing.T) { function TestSend_WhatsApp_APIError_Scenarios (line 347) | func TestSend_WhatsApp_APIError_Scenarios(t *testing.T) { function BenchmarkSend_WhatsApp (line 362) | func BenchmarkSend_WhatsApp(b *testing.B) { function BenchmarkSendBatch_WhatsApp (line 372) | func BenchmarkSendBatch_WhatsApp(b *testing.B) { FILE: messenger/template/debug_test.go function TestDebugTemplateLoading (line 12) | func TestDebugTemplateLoading(t *testing.T) { function min (line 42) | func min(a, b int) int { FILE: messenger/template/load_test.go function TestLoadTemplate (line 11) | func TestLoadTemplate(t *testing.T) { FILE: messenger/template/render_test.go function TestTemplateRender (line 11) | func TestTemplateRender(t *testing.T) { function TestTemplateToMessage (line 60) | func TestTemplateToMessage(t *testing.T) { function TestNestedTemplateRender (line 109) | func TestNestedTemplateRender(t *testing.T) { function contains (line 152) | func contains(s, substr string) bool { FILE: messenger/template/template.go type Manager (line 16) | type Manager struct method GetTemplate (line 27) | func (m *Manager) GetTemplate(templateID string, templateType types.Te... method GetAllTemplates (line 40) | func (m *Manager) GetAllTemplates() map[string]map[types.TemplateType]... method GetAvailableTypes (line 57) | func (m *Manager) GetAvailableTypes(templateID string) []types.Templat... method ReloadTemplates (line 81) | func (m *Manager) ReloadTemplates() error { function loadTemplates (line 93) | func loadTemplates(m *Manager) error { function loadTemplate (line 156) | func loadTemplate(file string, templateID string) (*types.Template, erro... function parseTemplateType (line 210) | func parseTemplateType(filename string) (templateType, templateName stri... function parseTemplateContent (line 226) | func parseTemplateContent(content string, templateType types.TemplateTyp... function parseMailTemplate (line 242) | func parseMailTemplate(content string) (subject, body, html string, err ... function parseSMSTemplate (line 273) | func parseSMSTemplate(content string) (subject, body, html string, err e... function parseWhatsAppTemplate (line 280) | func parseWhatsAppTemplate(content string) (subject, body, html string, ... function LoadTemplates (line 286) | func LoadTemplates() error { FILE: messenger/template/template_test.go function TestTemplateManager_LoadTemplates (line 13) | func TestTemplateManager_LoadTemplates(t *testing.T) { function TestTemplateManager_GetTemplate (line 35) | func TestTemplateManager_GetTemplate(t *testing.T) { function TestTemplate_Render (line 60) | func TestTemplate_Render(t *testing.T) { function TestTemplate_ToMessage (line 103) | func TestTemplate_ToMessage(t *testing.T) { function TestTemplate_SMSTemplate (line 151) | func TestTemplate_SMSTemplate(t *testing.T) { FILE: messenger/template/walk_test.go function TestWalkTemplates (line 11) | func TestWalkTemplates(t *testing.T) { FILE: messenger/types/interfaces.go type MessageHandler (line 6) | type MessageHandler type Provider (line 9) | type Provider interface type Messenger (line 48) | type Messenger interface FILE: messenger/types/template.go type TemplateType (line 10) | type TemplateType constant TemplateTypeMail (line 13) | TemplateTypeMail TemplateType = "mail" constant TemplateTypeSMS (line 14) | TemplateTypeSMS TemplateType = "sms" constant TemplateTypeWhatsApp (line 15) | TemplateTypeWhatsApp TemplateType = "whatsapp" function templateTypeToMessageType (line 19) | func templateTypeToMessageType(templateType TemplateType) MessageType { type Template (line 33) | type Template struct method Render (line 46) | func (t *Template) Render(data TemplateData) (subject, body, html stri... method ToMessage (line 66) | func (t *Template) ToMessage(data TemplateData) (*Message, error) { type TemplateData (line 43) | type TemplateData function renderTemplate (line 111) | func renderTemplate(template string, data TemplateData) string { function getNestedValue (line 128) | func getNestedValue(data TemplateData, key string) interface{} { type TemplateManager (line 157) | type TemplateManager interface FILE: messenger/types/types.go type MessageType (line 10) | type MessageType constant MessageTypeEmail (line 15) | MessageTypeEmail MessageType = "email" constant MessageTypeSMS (line 17) | MessageTypeSMS MessageType = "sms" constant MessageTypeWhatsApp (line 19) | MessageTypeWhatsApp MessageType = "whatsapp" type Message (line 23) | type Message struct type Attachment (line 38) | type Attachment struct type ProviderConfig (line 47) | type ProviderConfig struct type Config (line 57) | type Config struct type Channel (line 65) | type Channel struct type RateLimit (line 76) | type RateLimit struct type GlobalConfig (line 84) | type GlobalConfig struct type SendOptions (line 92) | type SendOptions struct type SendResult (line 102) | type SendResult struct type ProviderPublicInfo (line 113) | type ProviderPublicInfo struct type Features (line 122) | type Features struct type TemplateRequest (line 130) | type TemplateRequest struct FILE: model/migrate.go function BatchMigrate (line 16) | func BatchMigrate(models map[string]*model.Model) error { FILE: model/migrate_test.go function TestBatchMigrate (line 12) | func TestBatchMigrate(t *testing.T) { FILE: model/model.go function Load (line 49) | func Load(cfg config.Config) error { function loadSystemModels (line 115) | func loadSystemModels() (map[string]*model.Model, error) { function loadAssistantModels (line 157) | func loadAssistantModels() (map[string]*model.Model, []error) { function loadDatabaseModels (line 293) | func loadDatabaseModels() []error { FILE: model/model_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 21) | func check(t *testing.T) { FILE: monitor/logger.go constant slogLevelTrace (line 11) | slogLevelTrace = slog.Level(-8) function initLogger (line 19) | func initLogger(root string, logMode string, appMode string) { function levelToSlog (line 49) | func levelToSlog(l Level) slog.Level { FILE: monitor/service.go type watcherEntry (line 18) | type watcherEntry struct type monitorService (line 27) | type monitorService struct method startWatcher (line 155) | func (s *monitorService) startWatcher(entry *watcherEntry) { method runLoop (line 162) | func (s *monitorService) runLoop(ctx context.Context, entry *watcherEn... method tick (line 192) | func (s *monitorService) tick(ctx context.Context, entry *watcherEntry) { method execAction (line 229) | func (s *monitorService) execAction(ctx context.Context, watcherName s... method notify (line 240) | func (s *monitorService) notify(a *Alert) { function Register (line 40) | func Register(w Watcher) { function Start (line 56) | func Start(ctx context.Context) error { function Stop (line 79) | func Stop() error { function Subscribe (line 100) | func Subscribe(ch chan<- *Alert) string { function Unsubscribe (line 111) | func Unsubscribe(id string) { type WatcherHealth (line 118) | type WatcherHealth struct type HealthStatus (line 128) | type HealthStatus struct function Health (line 134) | func Health() HealthStatus { FILE: monitor/service_test.go function resetService (line 13) | func resetService() { type testWatcher (line 34) | type testWatcher struct method Name (line 40) | func (w *testWatcher) Name() string { return w.name } method Interval (line 41) | func (w *testWatcher) Interval() time.Duration { return w.interval } method Check (line 42) | func (w *testWatcher) Check(ctx context.Context) []Alert { function TestRegisterAndStart (line 49) | func TestRegisterAndStart(t *testing.T) { function TestDoubleStartError (line 81) | func TestDoubleStartError(t *testing.T) { function TestStopWithoutStart (line 98) | func TestStopWithoutStart(t *testing.T) { function TestAlertWatcherName (line 105) | func TestAlertWatcherName(t *testing.T) { function TestAlertAction (line 149) | func TestAlertAction(t *testing.T) { function TestPanicRecovery_Check (line 183) | func TestPanicRecovery_Check(t *testing.T) { function TestPanicRecovery_Action (line 211) | func TestPanicRecovery_Action(t *testing.T) { function TestSubscribeUnsubscribe (line 243) | func TestSubscribeUnsubscribe(t *testing.T) { function TestSubscribeFullChanDrops (line 275) | func TestSubscribeFullChanDrops(t *testing.T) { function TestRegisterOverwrite (line 296) | func TestRegisterOverwrite(t *testing.T) { function TestRegisterAfterStart (line 332) | func TestRegisterAfterStart(t *testing.T) { function TestLevelString (line 356) | func TestLevelString(t *testing.T) { function TestContextCancelledDuringCheck (line 375) | func TestContextCancelledDuringCheck(t *testing.T) { function TestHealth_NotStarted (line 417) | func TestHealth_NotStarted(t *testing.T) { function TestHealth_Running (line 435) | func TestHealth_Running(t *testing.T) { function TestHealth_PanicCount (line 478) | func TestHealth_PanicCount(t *testing.T) { FILE: monitor/types.go type Level (line 9) | type Level method String (line 18) | func (l Level) String() string { constant Trace (line 12) | Trace Level = iota constant Info (line 13) | Info constant Warn (line 14) | Warn constant Error (line 15) | Error type Alert (line 34) | type Alert struct type Watcher (line 44) | type Watcher interface FILE: openai/openai.go function Tiktoken (line 17) | func Tiktoken(model string, input string) (int, error) { type OpenAI (line 27) | type OpenAI struct method Model (line 149) | func (openai OpenAI) Model() string { method Completions (line 155) | func (openai OpenAI) Completions(prompt interface{}, option map[string... method CompletionsWith (line 172) | func (openai OpenAI) CompletionsWith(ctx context.Context, prompt inter... method ChatCompletions (line 189) | func (openai OpenAI) ChatCompletions(messages []map[string]interface{}... method ChatCompletionsWith (line 206) | func (openai OpenAI) ChatCompletionsWith(ctx context.Context, messages... method Edits (line 223) | func (openai OpenAI) Edits(instruction string, option map[string]inter... method Embeddings (line 234) | func (openai OpenAI) Embeddings(input interface{}, user string) (inter... method AudioTranscriptions (line 244) | func (openai OpenAI) AudioTranscriptions(dataBase64 string, option map... method AudioTranscriptionsFile (line 260) | func (openai OpenAI) AudioTranscriptionsFile(filePath string, option m... method ImagesGenerations (line 295) | func (openai OpenAI) ImagesGenerations(prompt string, option map[strin... method ImagesEdits (line 310) | func (openai OpenAI) ImagesEdits(imageBase64 string, prompt string, op... method ImagesVariations (line 341) | func (openai OpenAI) ImagesVariations(imageBase64 string, option map[s... method Tiktoken (line 361) | func (openai OpenAI) Tiktoken(input string) (int, error) { method MaxToken (line 371) | func (openai OpenAI) MaxToken() int { method GetContent (line 376) | func (openai OpenAI) GetContent(response interface{}) (string, *except... method Post (line 401) | func (openai OpenAI) Post(path string, payload map[string]interface{})... method Stream (line 406) | func (openai OpenAI) Stream(ctx context.Context, path string, payload ... method post (line 411) | func (openai OpenAI) post(path string, payload map[string]interface{})... method postWithoutModel (line 437) | func (openai OpenAI) postWithoutModel(path string, payload map[string]... method postFile (line 455) | func (openai OpenAI) postFile(path string, files map[string][]byte, op... method postFileWithoutModel (line 493) | func (openai OpenAI) postFileWithoutModel(path string, files map[strin... method stream (line 522) | func (openai OpenAI) stream(ctx context.Context, path string, payload ... method isError (line 550) | func (openai OpenAI) isError(res *http.Response) *exception.Exception { function New (line 38) | func New(id string) (*OpenAI, error) { function NewOpenAI (line 63) | func NewOpenAI(setting map[string]interface{}) (*OpenAI, error) { function NewMoapi (line 116) | func NewMoapi(model string) (*OpenAI, error) { FILE: openai/openai_test.go function TestCompletions (line 17) | func TestCompletions(t *testing.T) { function TestCompletionsWith (line 57) | func TestCompletionsWith(t *testing.T) { function TestChatCompletions (line 86) | func TestChatCompletions(t *testing.T) { function TestChatCompletionsWith (line 126) | func TestChatCompletionsWith(t *testing.T) { function TestEmbeddings (line 174) | func TestEmbeddings(t *testing.T) { function TestAudioTranscriptions (line 193) | func TestAudioTranscriptions(t *testing.T) { function TestAudioTranscriptionsFile (line 205) | func TestAudioTranscriptionsFile(t *testing.T) { function TestAudioTranscriptionsFile_WithLanguage (line 219) | func TestAudioTranscriptionsFile_WithLanguage(t *testing.T) { function TestAudioTranscriptionsFile_FileNotFound (line 236) | func TestAudioTranscriptionsFile_FileNotFound(t *testing.T) { function TestImagesGenerations (line 246) | func TestImagesGenerations(t *testing.T) { function TestImageEdits (line 264) | func TestImageEdits(t *testing.T) { function TestImageVariations (line 276) | func TestImageVariations(t *testing.T) { function TestTiktoken (line 289) | func TestTiktoken(t *testing.T) { function prepare (line 307) | func prepare(t *testing.T, id string) *OpenAI { function mask (line 321) | func mask(t *testing.T) string { function image (line 330) | func image(t *testing.T) string { function audio (line 339) | func audio(t *testing.T) string { function audioFilePath (line 348) | func audioFilePath(t *testing.T) string { FILE: openai/process.go function init (line 13) | func init() { function ProcessTiktoken (line 24) | func ProcessTiktoken(process *process.Process) interface{} { function ProcessEmbeddings (line 36) | func ProcessEmbeddings(process *process.Process) interface{} { function ProcessAudioTranscriptions (line 58) | func ProcessAudioTranscriptions(process *process.Process) interface{} { function ProcessAudioTranscriptionsFile (line 96) | func ProcessAudioTranscriptionsFile(process *process.Process) interface{} { function ProcessChatCompletions (line 121) | func ProcessChatCompletions(process *process.Process) interface{} { FILE: openai/process_test.go function TestProcessTiktoken (line 12) | func TestProcessTiktoken(t *testing.T) { function TestProcessEmbeddings (line 23) | func TestProcessEmbeddings(t *testing.T) { function TestProcessAudioTranscriptions (line 36) | func TestProcessAudioTranscriptions(t *testing.T) { function TestProcessAudioTranscriptionsFile (line 45) | func TestProcessAudioTranscriptionsFile(t *testing.T) { function TestProcessAudioTranscriptionsFile_WithOptions (line 55) | func TestProcessAudioTranscriptionsFile_WithOptions(t *testing.T) { function TestProcessAudioTranscriptionsFile_InvalidConnector (line 68) | func TestProcessAudioTranscriptionsFile_InvalidConnector(t *testing.T) { function TestProcessChatCompletions (line 84) | func TestProcessChatCompletions(t *testing.T) { FILE: openai/types.go type Message (line 5) | type Message struct type MessageWithReasoningContent (line 20) | type MessageWithReasoningContent struct type ChatCompletionChunk (line 33) | type ChatCompletionChunk struct type ChatCompletionChunkChoice (line 43) | type ChatCompletionChunkChoice struct type ChatCompletionChunkDelta (line 51) | type ChatCompletionChunkDelta struct type LogProbs (line 60) | type LogProbs struct type ContentLogProb (line 65) | type ContentLogProb struct type LogProb (line 73) | type LogProb struct type ToolCall (line 80) | type ToolCall struct type FunctionCall (line 88) | type FunctionCall struct type Function (line 94) | type Function struct type ToolCalls (line 100) | type ToolCalls struct type ErrorMessage (line 122) | type ErrorMessage struct type Error (line 127) | type Error struct FILE: openapi/agent/agent.go function Attach (line 11) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { FILE: openapi/agent/assistant.go function ListAssistants (line 19) | func ListAssistants(c *gin.Context) { function GetAssistant (line 192) | func GetAssistant(c *gin.Context) { function ListAssistantTags (line 284) | func ListAssistantTags(c *gin.Context) { function CreateAssistant (line 356) | func CreateAssistant(c *gin.Context) { function UpdateAssistant (line 437) | func UpdateAssistant(c *gin.Context) { function GetAssistantInfo (line 542) | func GetAssistantInfo(c *gin.Context) { function checkAssistantPermission (line 598) | func checkAssistantPermission(authInfo *types.AuthorizedInfo, assistantI... FILE: openapi/agent/filter.go function AuthFilter (line 24) | func AuthFilter(c *gin.Context, authInfo *types.AuthorizedInfo) []model.... function AuthQueryFilter (line 82) | func AuthQueryFilter(c *gin.Context, authInfo *types.AuthorizedInfo) fun... function FilterBuiltInFields (line 132) | func FilterBuiltInFields(assistants []*agenttypes.AssistantModel) { function FilterBuiltInAssistant (line 145) | func FilterBuiltInAssistant(assistant *agenttypes.AssistantModel) { function AssistantToResponse (line 166) | func AssistantToResponse(assistant *agenttypes.AssistantModel, hasSandbo... function AssistantsToResponse (line 188) | func AssistantsToResponse(assistants []*agenttypes.AssistantModel) []map... FILE: openapi/agent/models.go type Model (line 14) | type Model struct type ModelsListResponse (line 22) | type ModelsListResponse struct function GetModels (line 29) | func GetModels(c *gin.Context) { function GetModelDetails (line 95) | func GetModelDetails(c *gin.Context) { function getOwner (line 203) | func getOwner(assistant agenttypes.AssistantModel) string { FILE: openapi/agent/robot/activities.go function ListActivities (line 19) | func ListActivities(c *gin.Context) { FILE: openapi/agent/robot/completions.go function resolveHostAssistantID (line 16) | func resolveHostAssistantID(ctx context.Context, memberID string) (strin... function injectAssistantID (line 43) | func injectAssistantID(c *gin.Context, assistantID string) { function RobotCompletions (line 51) | func RobotCompletions(c *gin.Context) { function RobotAppendMessages (line 76) | func RobotAppendMessages(c *gin.Context) { function RobotHostID (line 101) | func RobotHostID(c *gin.Context) { FILE: openapi/agent/robot/detail.go function GetRobot (line 16) | func GetRobot(c *gin.Context) { function GetRobotStatus (line 78) | func GetRobotStatus(c *gin.Context) { function CreateRobot (line 135) | func CreateRobot(c *gin.Context) { function UpdateRobot (line 251) | func UpdateRobot(c *gin.Context) { function DeleteRobot (line 348) | func DeleteRobot(c *gin.Context) { FILE: openapi/agent/robot/execute.go type ExecuteRequest (line 14) | type ExecuteRequest struct function ExecuteRobot (line 23) | func ExecuteRobot(c *gin.Context) { FILE: openapi/agent/robot/execution.go function ListExecutions (line 21) | func ListExecutions(c *gin.Context) { function GetExecution (line 139) | func GetExecution(c *gin.Context) { function PauseExecution (line 235) | func PauseExecution(c *gin.Context) { function ResumeExecution (line 241) | func ResumeExecution(c *gin.Context) { function CancelExecution (line 247) | func CancelExecution(c *gin.Context) { function handleExecutionControl (line 252) | func handleExecutionControl(c *gin.Context, action string) { FILE: openapi/agent/robot/interact.go type InteractRequest (line 18) | type InteractRequest struct type InteractResponse (line 28) | type InteractResponse struct type ReplyRequest (line 38) | type ReplyRequest struct type ConfirmRequest (line 43) | type ConfirmRequest struct function InteractRobot (line 49) | func InteractRobot(c *gin.Context) { function interactSSE (line 148) | func interactSSE(c *gin.Context, ctx *robottypes.Context, robotID string... function ReplyToTask (line 219) | func ReplyToTask(c *gin.Context) { function ConfirmExecution (line 289) | func ConfirmExecution(c *gin.Context) { function handleRobotError (line 352) | func handleRobotError(c *gin.Context, robotID string, err error) { FILE: openapi/agent/robot/interact_test.go function init (line 16) | func init() { function setAuthContext (line 21) | func setAuthContext(c *gin.Context) { function TestInteractRobot_OH1_MissingAuth (line 29) | func TestInteractRobot_OH1_MissingAuth(t *testing.T) { function TestInteractRobot_OH2_InvalidJSON (line 48) | func TestInteractRobot_OH2_InvalidJSON(t *testing.T) { function TestInteractRobot_OH3_EmptyMessage (line 67) | func TestInteractRobot_OH3_EmptyMessage(t *testing.T) { function TestReplyToTask_OH4_MissingAuth (line 86) | func TestReplyToTask_OH4_MissingAuth(t *testing.T) { function TestReplyToTask_OH5_EmptyRobotID (line 109) | func TestReplyToTask_OH5_EmptyRobotID(t *testing.T) { function TestReplyToTask_OH6_EmptyMessage (line 132) | func TestReplyToTask_OH6_EmptyMessage(t *testing.T) { function TestConfirmExecution_OH7_MissingAuth (line 155) | func TestConfirmExecution_OH7_MissingAuth(t *testing.T) { function TestConfirmExecution_OH8_EmptyExecutionID (line 177) | func TestConfirmExecution_OH8_EmptyExecutionID(t *testing.T) { function TestConfirmExecution_OH9_RobotNotFound (line 200) | func TestConfirmExecution_OH9_RobotNotFound(t *testing.T) { FILE: openapi/agent/robot/list.go function ListRobots (line 18) | func ListRobots(c *gin.Context) { function newResponseFromRobot (line 120) | func newResponseFromRobot(r *robottypes.Robot) *Response { FILE: openapi/agent/robot/permission.go function CanRead (line 27) | func CanRead(c *gin.Context, authInfo *types.AuthorizedInfo, robotTeamID... function CanWrite (line 66) | func CanWrite(c *gin.Context, authInfo *types.AuthorizedInfo, robotTeamI... function GetEffectiveTeamID (line 97) | func GetEffectiveTeamID(authInfo *types.AuthorizedInfo) string { function BuildListFilter (line 114) | func BuildListFilter(c *gin.Context, authInfo *types.AuthorizedInfo, req... FILE: openapi/agent/robot/results.go function ListResults (line 19) | func ListResults(c *gin.Context) { function GetResult (line 129) | func GetResult(c *gin.Context) { FILE: openapi/agent/robot/robot.go function Attach (line 13) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { FILE: openapi/agent/robot/trigger.go function TriggerRobot (line 20) | func TriggerRobot(c *gin.Context) { function InterveneRobot (line 111) | func InterveneRobot(c *gin.Context) { function buildAPITriggerRequest (line 216) | func buildAPITriggerRequest(req *TriggerRequest) *robotapi.TriggerRequest { function convertMessagesToContext (line 262) | func convertMessagesToContext(msgs []MessageItem) []agentcontext.Message { FILE: openapi/agent/robot/types.go type CreateRobotRequest (line 14) | type CreateRobotRequest struct method ToAPICreateRequest (line 198) | func (r *CreateRobotRequest) ToAPICreateRequest() *robotapi.CreateRobo... type UpdateRobotRequest (line 50) | type UpdateRobotRequest struct method ToAPIUpdateRequest (line 223) | func (r *UpdateRobotRequest) ToAPIUpdateRequest() *robotapi.UpdateRobo... type Response (line 85) | type Response struct type StatusResponse (line 138) | type StatusResponse struct type ListResponse (line 152) | type ListResponse struct function NewResponse (line 162) | func NewResponse(r *robotapi.RobotResponse) *Response { function NewStatusResponse (line 246) | func NewStatusResponse(s *robotapi.RobotState) *StatusResponse { type ExecutionFilter (line 268) | type ExecutionFilter struct type ExecutionResponse (line 278) | type ExecutionResponse struct type ExecutionListResponse (line 306) | type ExecutionListResponse struct type ExecutionControlResponse (line 314) | type ExecutionControlResponse struct type TriggerRequest (line 324) | type TriggerRequest struct type MessageItem (line 345) | type MessageItem struct type TriggerResponse (line 353) | type TriggerResponse struct type InterveneRequest (line 361) | type InterveneRequest struct type InterveneResponse (line 368) | type InterveneResponse struct function NewExecutionListResponse (line 377) | func NewExecutionListResponse(e *robotapi.ExecutionResult) *ExecutionLis... function NewExecutionResponseFromExecution (line 396) | func NewExecutionResponseFromExecution(exec *robottypes.Execution) *Exec... function NewExecutionResponseBrief (line 426) | func NewExecutionResponseBrief(exec *robottypes.Execution) *ExecutionRes... type ResultFilter (line 475) | type ResultFilter struct type ResultResponse (line 483) | type ResultResponse struct type ResultDetailResponse (line 496) | type ResultDetailResponse struct type ResultListResponse (line 508) | type ResultListResponse struct function NewResultResponse (line 516) | func NewResultResponse(item *robotapi.ResultItem) *ResultResponse { function NewResultDetailResponse (line 535) | func NewResultDetailResponse(detail *robotapi.ResultDetail) *ResultDetai... type ActivityFilter (line 555) | type ActivityFilter struct type ActivityResponse (line 562) | type ActivityResponse struct type ActivityListResponse (line 572) | type ActivityListResponse struct function NewActivityResponse (line 577) | func NewActivityResponse(activity *robotapi.Activity) *ActivityResponse { FILE: openapi/agent/robot/utils.go function GetLocale (line 15) | func GetLocale(c *gin.Context) string { function ParseBoolValue (line 36) | func ParseBoolValue(value string) *bool { constant memberModel (line 52) | memberModel = "__yao.member" function GenerateMemberID (line 56) | func GenerateMemberID(ctx context.Context) (string, error) { function memberIDExists (line 82) | func memberIDExists(ctx context.Context, memberID string) (bool, error) { FILE: openapi/agent/robot/verify.go type VerifyIntegrationRequest (line 18) | type VerifyIntegrationRequest struct type VerifyIntegrationResponse (line 24) | type VerifyIntegrationResponse struct function VerifyIntegration (line 34) | func VerifyIntegration(c *gin.Context) { function str (line 69) | func str(m map[string]any, key string) string { function verifyTelegram (line 74) | func verifyTelegram(ctx context.Context, cfg map[string]any) VerifyInteg... function verifyFeishu (line 102) | func verifyFeishu(ctx context.Context, cfg map[string]any) VerifyIntegra... function verifyDingtalk (line 133) | func verifyDingtalk(ctx context.Context, cfg map[string]any) VerifyInteg... function verifyDiscord (line 154) | func verifyDiscord(ctx context.Context, cfg map[string]any) VerifyIntegr... FILE: openapi/agent/types.go function parseBoolValue (line 34) | func parseBoolValue(value string) *bool { type AssistantFilterParams (line 48) | type AssistantFilterParams struct function BuildAssistantFilter (line 68) | func BuildAssistantFilter(params AssistantFilterParams) agenttypes.Assis... function ValidatePagination (line 106) | func ValidatePagination(page, pagesize int) error { FILE: openapi/app/app.go function Attach (line 14) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { type MenuRequest (line 20) | type MenuRequest struct function getMenu (line 26) | func getMenu(c *gin.Context) { FILE: openapi/captcha/captcha.go function Attach (line 13) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function image (line 23) | func image(c *gin.Context) { function audio (line 42) | func audio(c *gin.Context) { FILE: openapi/chat/chat.go function Attach (line 10) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function placeholder (line 76) | func placeholder(c *gin.Context) { FILE: openapi/chat/completions.go function GinCreateCompletions (line 16) | func GinCreateCompletions(c *gin.Context) { function GinUpdateCompletions (line 163) | func GinUpdateCompletions(c *gin.Context) {} function GinAppendMessages (line 167) | func GinAppendMessages(c *gin.Context) { FILE: openapi/chat/reference.go function GetReferences (line 19) | func GetReferences(c *gin.Context) { function GetReference (line 102) | func GetReference(c *gin.Context) { FILE: openapi/chat/session.go function ListChats (line 23) | func ListChats(c *gin.Context) { function GetChat (line 74) | func GetChat(c *gin.Context) { function UpdateChat (line 146) | func UpdateChat(c *gin.Context) { function DeleteChat (line 247) | func DeleteChat(c *gin.Context) { function GetMessages (line 315) | func GetMessages(c *gin.Context) { function getLocale (line 392) | func getLocale(c *gin.Context) string { function collectAssistantIDs (line 414) | func collectAssistantIDs(messages []*storetypes.Message) []string { function buildChatFilter (line 433) | func buildChatFilter(c *gin.Context, authInfo *oauthtypes.AuthorizedInfo... function buildMessageFilter (line 523) | func buildMessageFilter(c *gin.Context) storetypes.MessageFilter { function checkChatPermission (line 554) | func checkChatPermission(chatStore storetypes.ChatStore, authInfo *oauth... FILE: openapi/chat/types.go type AppendMessagesRequest (line 10) | type AppendMessagesRequest struct type UpdateChatRequest (line 21) | type UpdateChatRequest struct FILE: openapi/computer/computer.go function Attach (line 23) | func Attach(group *gin.RouterGroup, oauth oauthTypes.OAuth) { type computerSystemInfo (line 28) | type computerSystemInfo struct type computerOption (line 36) | type computerOption struct function handleOptions (line 51) | func handleOptions(c *gin.Context) { function matchNodeFilter (line 155) | func matchNodeFilter(s *taitypes.NodeMeta, osFilter, archFilter string, ... function nodeDisplayName (line 171) | func nodeDisplayName(s taitypes.NodeMeta) string { function nodeToHostOption (line 181) | func nodeToHostOption(s taitypes.NodeMeta) computerOption { function nodeToNodeOption (line 217) | func nodeToNodeOption(s taitypes.NodeMeta) computerOption { function boxToOption (line 253) | func boxToOption(b *sandboxv2.Box) computerOption { function nodeOwnedBy (line 300) | func nodeOwnedBy(snap *taitypes.NodeMeta, authInfo *oauthTypes.Authorize... function resolveOwner (line 313) | func resolveOwner(authInfo *oauthTypes.AuthorizedInfo) string { function getManager (line 323) | func getManager() *sandboxv2.Manager { function parseMemString (line 328) | func parseMemString(s string) int64 { FILE: openapi/config.go method Validate (line 21) | func (config *Config) Validate() error { method MarshalJSON (line 34) | func (config *Config) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 120) | func (config *Config) UnmarshalJSON(data []byte) error { function parseDuration (line 279) | func parseDuration(durationStr string) (time.Duration, error) { function formatDuration (line 287) | func formatDuration(duration time.Duration) string { function convertRelativeToAbsolutePath (line 295) | func convertRelativeToAbsolutePath(relativePath, rootPath string) string { function convertAbsoluteToRelativePath (line 308) | func convertAbsoluteToRelativePath(absolutePath, rootPath string) string { method OAuthConfig (line 331) | func (config *Config) OAuthConfig(appConfig config.Config) (*oauth.Confi... method GetDefaultOAuthConfig (line 403) | func (config *Config) GetDefaultOAuthConfig() *OAuth { method GetProviders (line 414) | func (config *Config) GetProviders() *Providers { FILE: openapi/dsl/dsl.go function Attach (line 16) | func Attach(group *gin.RouterGroup, oauth oauthTypes.OAuth) { function inspect (line 44) | func inspect(c *gin.Context) { function source (line 69) | func source(c *gin.Context) { function path (line 94) | func path(c *gin.Context) { function list (line 119) | func list(c *gin.Context) { function exists (line 160) | func exists(c *gin.Context) { function create (line 185) | func create(c *gin.Context) { function update (line 220) | func update(c *gin.Context) { function delete (line 255) | func delete(c *gin.Context) { function load (line 287) | func load(c *gin.Context) { function unload (line 317) | func unload(c *gin.Context) { function reload (line 347) | func reload(c *gin.Context) { function execute (line 377) | func execute(c *gin.Context) { function validate (line 418) | func validate(c *gin.Context) { FILE: openapi/file/file.go function Attach (line 19) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function upload (line 44) | func upload(c *gin.Context) { function list (line 112) | func list(c *gin.Context) { function retrieve (line 219) | func retrieve(c *gin.Context) { function delete (line 289) | func delete(c *gin.Context) { function content (line 373) | func content(c *gin.Context) { function exists (line 461) | func exists(c *gin.Context) { function createUploadOption (line 506) | func createUploadOption(c *gin.Context, defaultFilename string) attachme... function checkFilePermission (line 581) | func checkFilePermission(authInfo *types.AuthorizedInfo, fileInfo *attac... FILE: openapi/file/filter.go function AuthFilter (line 20) | func AuthFilter(c *gin.Context, authInfo *types.AuthorizedInfo) []model.... FILE: openapi/hello/hello.go function Attach (line 14) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function helloWorldPublic (line 25) | func helloWorldPublic(c *gin.Context) { function helloWorldProtected (line 52) | func helloWorldProtected(c *gin.Context) { FILE: openapi/integrations/integrations.go type WebhookPayload (line 16) | type WebhookPayload struct function Attach (line 27) | func Attach(group *gin.RouterGroup) { function webhookHandler (line 35) | func webhookHandler(c *gin.Context) { function flattenHeaders (line 75) | func flattenHeaders(h http.Header) map[string]string { function flattenQuery (line 88) | func flattenQuery(q map[string][]string) map[string]string { FILE: openapi/job/categories.go function ListCategories (line 14) | func ListCategories(c *gin.Context) { function GetCategory (line 59) | func GetCategory(c *gin.Context) { function ProcessListCategories (line 95) | func ProcessListCategories(process *process.Process) interface{} { function ProcessGetCategory (line 122) | func ProcessGetCategory(process *process.Process) interface{} { function ProcessCountCategories (line 159) | func ProcessCountCategories(process *process.Process) interface{} { FILE: openapi/job/executions.go function ListExecutions (line 16) | func ListExecutions(c *gin.Context) { function GetExecution (line 102) | func GetExecution(c *gin.Context) { function StopExecution (line 142) | func StopExecution(c *gin.Context) { function GetExecutionProgress (line 196) | func GetExecutionProgress(c *gin.Context) { function ProcessListExecutions (line 263) | func ProcessListExecutions(process *process.Process) interface{} { function ProcessGetExecution (line 291) | func ProcessGetExecution(process *process.Process) interface{} { function ProcessCountExecutions (line 324) | func ProcessCountExecutions(process *process.Process) interface{} { function ProcessStopExecution (line 357) | func ProcessStopExecution(process *process.Process) interface{} { FILE: openapi/job/filter.go function AuthFilter (line 24) | func AuthFilter(c *gin.Context, authInfo *types.AuthorizedInfo) []model.... function HasJobAccess (line 69) | func HasJobAccess(c *gin.Context, authInfo *types.AuthorizedInfo, jobIns... FILE: openapi/job/job.go function init (line 9) | func init() { function Attach (line 28) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { FILE: openapi/job/jobs.go function ListJobs (line 16) | func ListJobs(c *gin.Context) { function GetJob (line 115) | func GetJob(c *gin.Context) { function StopJob (line 147) | func StopJob(c *gin.Context) { function GetJobProgress (line 191) | func GetJobProgress(c *gin.Context) { function GetStats (line 267) | func GetStats(c *gin.Context) { function ProcessListJobs (line 354) | func ProcessListJobs(process *process.Process) interface{} { function ProcessGetJob (line 394) | func ProcessGetJob(process *process.Process) interface{} { function ProcessCountJobs (line 419) | func ProcessCountJobs(process *process.Process) interface{} { function ProcessStopJob (line 443) | func ProcessStopJob(process *process.Process) interface{} { FILE: openapi/job/logs.go function ListLogs (line 16) | func ListLogs(c *gin.Context) { function ListExecutionLogs (line 95) | func ListExecutionLogs(c *gin.Context) { function ProcessListLogs (line 181) | func ProcessListLogs(process *process.Process) interface{} { FILE: openapi/kb/addfile.go function AddFile (line 22) | func AddFile(c *gin.Context) { function AddFileAsync (line 96) | func AddFileAsync(c *gin.Context) { function ProcessAddFile (line 194) | func ProcessAddFile(process *process.Process) interface{} { function convertAddFileRequest (line 227) | func convertAddFileRequest(req *AddFileRequest, authInfo *oauthtypes.Aut... function parseAddFileParams (line 291) | func parseAddFileParams(reqMap map[string]interface{}) *kbapi.AddFilePar... function validateFileExists (line 422) | func validateFileExists(c *gin.Context, req *AddFileRequest) error { FILE: openapi/kb/addtext.go function AddText (line 20) | func AddText(c *gin.Context) { function AddTextAsync (line 94) | func AddTextAsync(c *gin.Context) { function ProcessAddText (line 184) | func ProcessAddText(process *process.Process) interface{} { function convertAddTextRequest (line 217) | func convertAddTextRequest(req *AddTextRequest, authInfo *oauthtypes.Aut... function parseAddTextParams (line 280) | func parseAddTextParams(reqMap map[string]interface{}) *kbapi.AddTextPar... FILE: openapi/kb/addurl.go function AddURL (line 20) | func AddURL(c *gin.Context) { function AddURLAsync (line 94) | func AddURLAsync(c *gin.Context) { function ProcessAddURL (line 184) | func ProcessAddURL(process *process.Process) interface{} { function convertAddURLRequest (line 217) | func convertAddURLRequest(req *AddURLRequest, authInfo *oauthtypes.Autho... function parseAddURLParams (line 280) | func parseAddURLParams(reqMap map[string]interface{}) *kbapi.AddURLParams { FILE: openapi/kb/backup.go function Backup (line 12) | func Backup(c *gin.Context) { function Restore (line 20) | func Restore(c *gin.Context) { FILE: openapi/kb/collection.go type ProviderSettings (line 24) | type ProviderSettings struct function CreateCollection (line 31) | func CreateCollection(c *gin.Context) { function RemoveCollection (line 102) | func RemoveCollection(c *gin.Context) { function CollectionExists (line 169) | func CollectionExists(c *gin.Context) { function GetCollection (line 210) | func GetCollection(c *gin.Context) { function ListCollections (line 256) | func ListCollections(c *gin.Context) { function UpdateCollectionMetadata (line 387) | func UpdateCollectionMetadata(c *gin.Context) { type CreateCollectionRequest (line 484) | type CreateCollectionRequest struct type CreateCollectionConfig (line 491) | type CreateCollectionConfig struct type UpdateCollectionMetadataRequest (line 499) | type UpdateCollectionMetadataRequest struct function validateCreateCollectionRequest (line 504) | func validateCreateCollectionRequest(req *CreateCollectionRequest) error { function validateUpdateCollectionMetadataRequest (line 522) | func validateUpdateCollectionMetadataRequest(req *UpdateCollectionMetada... function getProviderSettings (line 535) | func getProviderSettings(providerID, optionValue, locale string) (*Provi... function checkCollectionPermission (line 585) | func checkCollectionPermission(authInfo *oauthtypes.AuthorizedInfo, coll... FILE: openapi/kb/collection_process.go function ProcessCreateCollection (line 41) | func ProcessCreateCollection(process *process.Process) interface{} { function ProcessRemoveCollection (line 87) | func ProcessRemoveCollection(process *process.Process) interface{} { function ProcessGetCollection (line 132) | func ProcessGetCollection(process *process.Process) interface{} { function ProcessCollectionExists (line 159) | func ProcessCollectionExists(process *process.Process) interface{} { function ProcessListCollections (line 200) | func ProcessListCollections(process *process.Process) interface{} { function ProcessUpdateCollectionMetadata (line 263) | func ProcessUpdateCollectionMetadata(process *process.Process) interface... function processAuthFilter (line 325) | func processAuthFilter(authInfo *oauthtypes.AuthorizedInfo) []model.Quer... FILE: openapi/kb/document.go function ListDocuments (line 19) | func ListDocuments(c *gin.Context) { function GetDocument (line 193) | func GetDocument(c *gin.Context) { function RemoveDocs (line 256) | func RemoveDocs(c *gin.Context) { function checkKBAPI (line 347) | func checkKBAPI(c *gin.Context) bool { function extractCollectionIDFromDocID (line 361) | func extractCollectionIDFromDocID(docID string) string { FILE: openapi/kb/document_process.go function ProcessGetDocumentsContent (line 25) | func ProcessGetDocumentsContent(process *process.Process) interface{} { FILE: openapi/kb/filter.go function AuthFilter (line 20) | func AuthFilter(c *gin.Context, authInfo *types.AuthorizedInfo) []model.... FILE: openapi/kb/graph.go function GetSegmentGraph (line 19) | func GetSegmentGraph(c *gin.Context) { function GetSegmentEntities (line 97) | func GetSegmentEntities(c *gin.Context) { function GetSegmentRelationships (line 153) | func GetSegmentRelationships(c *gin.Context) { function GetSegmentRelationshipsByEntities (line 209) | func GetSegmentRelationshipsByEntities(c *gin.Context) { function ExtractSegmentGraph (line 266) | func ExtractSegmentGraph(c *gin.Context) { function ExtractSegmentGraphAsync (line 432) | func ExtractSegmentGraphAsync(c *gin.Context) { FILE: openapi/kb/hit.go function ScrollHits (line 16) | func ScrollHits(c *gin.Context) { function GetHits (line 130) | func GetHits(c *gin.Context) { function GetHit (line 174) | func GetHit(c *gin.Context) { function AddHits (line 246) | func AddHits(c *gin.Context) { function UpdateHits (line 346) | func UpdateHits(c *gin.Context) { function RemoveHits (line 399) | func RemoveHits(c *gin.Context) { FILE: openapi/kb/kb.go function init (line 11) | func init() { function Attach (line 31) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { FILE: openapi/kb/provider.go function GetProviders (line 13) | func GetProviders(c *gin.Context) { function GetProviderSchema (line 48) | func GetProviderSchema(c *gin.Context) { FILE: openapi/kb/score.go function UpdateScores (line 15) | func UpdateScores(c *gin.Context) { FILE: openapi/kb/search.go function Search (line 12) | func Search(c *gin.Context) { function MultiSearch (line 18) | func MultiSearch(c *gin.Context) { FILE: openapi/kb/segment.go function AddSegments (line 21) | func AddSegments(c *gin.Context) { function UpdateSegments (line 89) | func UpdateSegments(c *gin.Context) { function RemoveSegments (line 273) | func RemoveSegments(c *gin.Context) { function RemoveSegmentsByDocID (line 363) | func RemoveSegmentsByDocID(c *gin.Context) { function GetSegments (line 421) | func GetSegments(c *gin.Context) { function GetSegment (line 442) | func GetSegment(c *gin.Context) { function ScrollSegments (line 517) | func ScrollSegments(c *gin.Context) { function AddSegmentsAsync (line 625) | func AddSegmentsAsync(c *gin.Context) { function UpdateSegmentsAsync (line 688) | func UpdateSegmentsAsync(c *gin.Context) { function GetSegmentParents (line 738) | func GetSegmentParents(c *gin.Context) { function formatSegmentTreeResponse (line 823) | func formatSegmentTreeResponse(tree *types.SegmentTree, includeMetadata ... FILE: openapi/kb/types.go type ProviderConfig (line 75) | type ProviderConfig struct method ProviderOption (line 179) | func (config *ProviderConfig) ProviderOption(providerType, locale stri... type JobOptions (line 82) | type JobOptions struct type BaseUpsertRequest (line 90) | type BaseUpsertRequest struct method ToUpsertOptions (line 251) | func (r *BaseUpsertRequest) ToUpsertOptions(fileInfo ...string) (*type... method Validate (line 373) | func (r *BaseUpsertRequest) Validate() error { method GetJobOptions (line 466) | func (r *BaseUpsertRequest) GetJobOptions(defaultName, defaultDescript... method AddBaseFields (line 491) | func (r *BaseUpsertRequest) AddBaseFields(data map[string]interface{}) { type AddFileRequest (line 113) | type AddFileRequest struct method Validate (line 387) | func (r *AddFileRequest) Validate() error { type AddTextRequest (line 120) | type AddTextRequest struct method Validate (line 398) | func (r *AddTextRequest) Validate() error { type AddURLRequest (line 126) | type AddURLRequest struct method Validate (line 409) | func (r *AddURLRequest) Validate() error { type AddSegmentsRequest (line 132) | type AddSegmentsRequest struct method Validate (line 420) | func (r *AddSegmentsRequest) Validate() error { type UpdateSegmentsRequest (line 138) | type UpdateSegmentsRequest struct type UpdateVoteRequest (line 144) | type UpdateVoteRequest struct type UpdateHitRequest (line 150) | type UpdateHitRequest struct type UpdateScoreRequest (line 156) | type UpdateScoreRequest struct type UpdateWeightRequest (line 161) | type UpdateWeightRequest struct method Validate (line 434) | func (r *UpdateWeightRequest) Validate() error { type UpdateScoresRequest (line 166) | type UpdateScoresRequest struct type UpdateWeightsRequest (line 171) | type UpdateWeightsRequest struct method Validate (line 450) | func (r *UpdateWeightsRequest) Validate() error { FILE: openapi/kb/utils.go function PrepareCreateCollection (line 15) | func PrepareCreateCollection(c *gin.Context) (*CreateCollectionRequest, ... function UpdateCollectionWithSync (line 101) | func UpdateCollectionWithSync(collectionID string, data maps.MapStrAny, ... function UpdateDocumentCountWithSync (line 133) | func UpdateDocumentCountWithSync(collectionID string, config *kbtypes.Co... FILE: openapi/kb/vote.go function ScrollVotes (line 16) | func ScrollVotes(c *gin.Context) { function GetVotes (line 130) | func GetVotes(c *gin.Context) { function GetVote (line 171) | func GetVote(c *gin.Context) { function AddVotes (line 243) | func AddVotes(c *gin.Context) { function UpdateVotes (line 343) | func UpdateVotes(c *gin.Context) { function RemoveVotes (line 396) | func RemoveVotes(c *gin.Context) { FILE: openapi/kb/weight.go function UpdateWeights (line 12) | func UpdateWeights(c *gin.Context) { FILE: openapi/llm/llm.go type Provider (line 14) | type Provider struct function Attach (line 23) | func Attach(group *gin.RouterGroup, oauth oauthTypes.OAuth) { function listProviders (line 34) | func listProviders(c *gin.Context) { function getConnectorType (line 76) | func getConnectorType(id string) string { function getCapabilitiesFromConn (line 94) | func getCapabilitiesFromConn(conn connector.Connector) map[string]interf... function matchesFilters (line 114) | func matchesFilters(capabilities map[string]interface{}, filters []strin... FILE: openapi/mcp/mcp.go type Server (line 11) | type Server struct function Attach (line 22) | func Attach(group *gin.RouterGroup, oauth oauthTypes.OAuth) { function listServers (line 32) | func listServers(c *gin.Context) { FILE: openapi/messenger/messenger.go function Attach (line 13) | func Attach(group *gin.RouterGroup, oauth oauthTypes.OAuth) { function webhookHandler (line 26) | func webhookHandler(c *gin.Context) { function getProviderHandler (line 71) | func getProviderHandler(c *gin.Context) { function getProvidersHandler (line 108) | func getProvidersHandler(c *gin.Context) { function getChannelsHandler (line 150) | func getChannelsHandler(c *gin.Context) { FILE: openapi/nodes/nodes.go function Attach (line 18) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { type nodeResponse (line 24) | type nodeResponse struct type systemResponse (line 39) | type systemResponse struct function snapToResponse (line 48) | func snapToResponse(s taitypes.NodeMeta) nodeResponse { function nodeOwnedBy (line 79) | func nodeOwnedBy(snap *taitypes.NodeMeta, authInfo *types.AuthorizedInfo... function handleList (line 93) | func handleList(c *gin.Context) { function handleGet (line 114) | func handleGet(c *gin.Context) { FILE: openapi/oauth.go method attachOAuth (line 26) | func (openapi *OpenAPI) attachOAuth(base *gin.RouterGroup) { method oauthAuthorize (line 75) | func (openapi *OpenAPI) oauthAuthorize(c *gin.Context) { method oauthToken (line 124) | func (openapi *OpenAPI) oauthToken(c *gin.Context) { method handleStandardTokenGrant (line 152) | func (openapi *OpenAPI) handleStandardTokenGrant(c *gin.Context, grantTy... method handleRefreshTokenGrant (line 242) | func (openapi *OpenAPI) handleRefreshTokenGrant(c *gin.Context) { method handleTokenExchangeGrant (line 300) | func (openapi *OpenAPI) handleTokenExchangeGrant(c *gin.Context) { method oauthRevoke (line 329) | func (openapi *OpenAPI) oauthRevoke(c *gin.Context) { method oauthIntrospect (line 354) | func (openapi *OpenAPI) oauthIntrospect(c *gin.Context) { method oauthJWKS (line 390) | func (openapi *OpenAPI) oauthJWKS(c *gin.Context) { method oauthUserInfo (line 402) | func (openapi *OpenAPI) oauthUserInfo(c *gin.Context) { method oauthRegister (line 417) | func (openapi *OpenAPI) oauthRegister(c *gin.Context) { method extractClientCredentials (line 442) | func (openapi *OpenAPI) extractClientCredentials(c *gin.Context) (client... method clientSupportsGrantType (line 465) | func (openapi *OpenAPI) clientSupportsGrantType(clientInfo *types.Client... function base64Decode (line 480) | func base64Decode(data string) ([]byte, error) { method oauthGetClient (line 485) | func (openapi *OpenAPI) oauthGetClient(c *gin.Context) { method oauthUpdateClient (line 498) | func (openapi *OpenAPI) oauthUpdateClient(c *gin.Context) { method oauthDeleteClient (line 517) | func (openapi *OpenAPI) oauthDeleteClient(c *gin.Context) { method oauthDeviceAuthorization (line 530) | func (openapi *OpenAPI) oauthDeviceAuthorization(c *gin.Context) { method oauthDeviceAuthorize (line 554) | func (openapi *OpenAPI) oauthDeviceAuthorize(c *gin.Context) { method oauthPushedAuthorizationRequest (line 651) | func (openapi *OpenAPI) oauthPushedAuthorizationRequest(c *gin.Context) { method oauthTokenExchange (line 675) | func (openapi *OpenAPI) oauthTokenExchange(c *gin.Context) { method parseAuthorizationRequest (line 701) | func (openapi *OpenAPI) parseAuthorizationRequest(c *gin.Context) (*type... method getParam (line 741) | func (openapi *OpenAPI) getParam(c *gin.Context, key string) string { function extractBearerToken (line 752) | func extractBearerToken(c *gin.Context) string { FILE: openapi/oauth/acl/acl.go function New (line 12) | func New(config *Config) (Enforcer, error) { function Load (line 57) | func Load(config *Config) (Enforcer, error) { method Enabled (line 77) | func (acl *ACL) Enabled() bool { FILE: openapi/oauth/acl/enforce.go method Enforce (line 16) | func (acl *ACL) Enforce(c *gin.Context) (bool, error) { method enforce (line 76) | func (acl *ACL) enforce(ctx context.Context, authInfo *types.AuthorizedI... method enforceClient (line 199) | func (acl *ACL) enforceClient(ctx context.Context, authInfo *types.Autho... method enforceScope (line 302) | func (acl *ACL) enforceScope(_ context.Context, authInfo *types.Authoriz... method enforceUser (line 372) | func (acl *ACL) enforceUser(ctx context.Context, authInfo *types.Authori... method enforceTeam (line 475) | func (acl *ACL) enforceTeam(ctx context.Context, authInfo *types.Authori... method enforceMember (line 580) | func (acl *ACL) enforceMember(ctx context.Context, authInfo *types.Autho... FILE: openapi/oauth/acl/errors.go type ErrorType (line 6) | type ErrorType constant ErrorTypePermissionDenied (line 10) | ErrorTypePermissionDenied ErrorType = "permission_denied" constant ErrorTypeRateLimitExceeded (line 13) | ErrorTypeRateLimitExceeded ErrorType = "rate_limit_exceeded" constant ErrorTypeInsufficientScope (line 16) | ErrorTypeInsufficientScope ErrorType = "insufficient_scope" constant ErrorTypeResourceNotAllowed (line 19) | ErrorTypeResourceNotAllowed ErrorType = "resource_not_allowed" constant ErrorTypeMethodNotAllowed (line 22) | ErrorTypeMethodNotAllowed ErrorType = "method_not_allowed" constant ErrorTypeIPBlocked (line 25) | ErrorTypeIPBlocked ErrorType = "ip_blocked" constant ErrorTypeGeoRestricted (line 28) | ErrorTypeGeoRestricted ErrorType = "geo_restricted" constant ErrorTypeTimeRestricted (line 31) | ErrorTypeTimeRestricted ErrorType = "time_restricted" constant ErrorTypeQuotaExceeded (line 34) | ErrorTypeQuotaExceeded ErrorType = "quota_exceeded" constant ErrorTypeInvalidRequest (line 37) | ErrorTypeInvalidRequest ErrorType = "invalid_request" constant ErrorTypeInternal (line 40) | ErrorTypeInternal ErrorType = "internal_error" type Error (line 44) | type Error struct method Error (line 53) | func (e *Error) Error() string { method IsRetryable (line 61) | func (e *Error) IsRetryable() bool { function NewError (line 66) | func NewError(errorType ErrorType, message string) *Error { function NewPermissionDeniedError (line 75) | func NewPermissionDeniedError(message string) *Error { function NewRateLimitError (line 80) | func NewRateLimitError(message string, retryAfter int) *Error { function NewInsufficientScopeError (line 87) | func NewInsufficientScopeError(message string, requiredScopes []string) ... function NewResourceNotAllowedError (line 94) | func NewResourceNotAllowedError(resource string) *Error { function NewMethodNotAllowedError (line 101) | func NewMethodNotAllowedError(method string, allowedMethods []string) *E... function NewIPBlockedError (line 109) | func NewIPBlockedError(ip string) *Error { function NewQuotaExceededError (line 116) | func NewQuotaExceededError(message string, quotaType string, limit int64... function NewInternalError (line 125) | func NewInternalError(message string) *Error { FILE: openapi/oauth/acl/feature.go function GetFeatures (line 22) | func GetFeatures(c *gin.Context) (map[string]bool, error) { function GetFeaturesByDomain (line 47) | func GetFeaturesByDomain(c *gin.Context, domain string) (map[string]bool... type FeatureManager (line 201) | type FeatureManager struct method Features (line 72) | func (m *FeatureManager) Features(roleID string) map[string]bool { method FeaturesForUser (line 86) | func (m *FeatureManager) FeaturesForUser(ctx context.Context, userID s... method FeaturesForUserByDomain (line 96) | func (m *FeatureManager) FeaturesForUserByDomain(ctx context.Context, ... method FeaturesForTeamUser (line 106) | func (m *FeatureManager) FeaturesForTeamUser(ctx context.Context, team... method FeaturesForTeamUserByDomain (line 116) | func (m *FeatureManager) FeaturesForTeamUserByDomain(ctx context.Conte... method FeaturesByDomain (line 127) | func (m *FeatureManager) FeaturesByDomain(roleID, domain string) map[s... method DomainFeatures (line 155) | func (m *FeatureManager) DomainFeatures(domain string) map[string]bool { method Domains (line 173) | func (m *FeatureManager) Domains() []string { method Definition (line 186) | func (m *FeatureManager) Definition(featureName string) *FeatureDefini... method loadAliasConfig (line 282) | func (m *FeatureManager) loadAliasConfig() error { method expandAlias (line 316) | func (m *FeatureManager) expandAlias(alias string, config FeatureAlias... method loadFeatureDefinitions (line 360) | func (m *FeatureManager) loadFeatureDefinitions() error { method loadFeatureFile (line 400) | func (m *FeatureManager) loadFeatureFile(filePath, domain string) error { method loadRoleFeaturesConfig (line 427) | func (m *FeatureManager) loadRoleFeaturesConfig() error { method buildIndexes (line 453) | func (m *FeatureManager) buildIndexes() error { method expandFeaturesAsMap (line 466) | func (m *FeatureManager) expandFeaturesAsMap(features []string) map[st... method matchesWildcard (line 494) | func (m *FeatureManager) matchesWildcard(feature string) bool { method Reload (line 506) | func (m *FeatureManager) Reload() error { method getRoleForUser (line 530) | func (m *FeatureManager) getRoleForUser(ctx context.Context, userID st... method getRoleForMember (line 538) | func (m *FeatureManager) getRoleForMember(ctx context.Context, teamID,... type FeatureDefinition (line 223) | type FeatureDefinition struct type FeatureAliasConfig (line 229) | type FeatureAliasConfig type RoleFeatureConfig (line 232) | type RoleFeatureConfig function LoadFeatures (line 237) | func LoadFeatures() (*FeatureManager, error) { function getRoleFromContext (line 551) | func getRoleFromContext(c *gin.Context) (string, error) { FILE: openapi/oauth/acl/feature_integration_test.go function createMockGinContext (line 32) | func createMockGinContext(userID, teamID string) *gin.Context { function prepareIntegrationTest (line 53) | func prepareIntegrationTest(t *testing.T) (*FeatureManager, string, stri... function cleanIntegrationTest (line 166) | func cleanIntegrationTest(testUUID string) { function TestFeaturesForUser_Integration (line 201) | func TestFeaturesForUser_Integration(t *testing.T) { function TestFeaturesForTeamUser_Integration (line 255) | func TestFeaturesForTeamUser_Integration(t *testing.T) { function TestConvenienceMethodsWithCache_Integration (line 301) | func TestConvenienceMethodsWithCache_Integration(t *testing.T) { function TestGetFeaturesFromGinContext_Integration (line 328) | func TestGetFeaturesFromGinContext_Integration(t *testing.T) { FILE: openapi/oauth/acl/feature_test.go function setupFeatureTest (line 13) | func setupFeatureTest(t *testing.T) *FeatureManager { function TestLoadFeatures (line 36) | func TestLoadFeatures(t *testing.T) { function TestFeatures_SystemRoot (line 41) | func TestFeatures_SystemRoot(t *testing.T) { function TestFeatures_OwnerFree (line 57) | func TestFeatures_OwnerFree(t *testing.T) { function TestFeatures_OwnerPro (line 77) | func TestFeatures_OwnerPro(t *testing.T) { function TestFeaturesByDomain_User (line 91) | func TestFeaturesByDomain_User(t *testing.T) { function TestFeaturesByDomain_UserTeam (line 117) | func TestFeaturesByDomain_UserTeam(t *testing.T) { function TestFeaturesByDomain_UserProfile (line 140) | func TestFeaturesByDomain_UserProfile(t *testing.T) { function TestFeaturesByDomain_KB (line 156) | func TestFeaturesByDomain_KB(t *testing.T) { function TestFeaturesByDomain_KBCollections (line 180) | func TestFeaturesByDomain_KBCollections(t *testing.T) { function TestFeaturesByDomain_KBCollectionsAdvanced (line 199) | func TestFeaturesByDomain_KBCollectionsAdvanced(t *testing.T) { function TestDomainFeatures (line 218) | func TestDomainFeatures(t *testing.T) { function TestDomains (line 232) | func TestDomains(t *testing.T) { function TestDefinition (line 259) | func TestDefinition(t *testing.T) { function TestAliasExpansion (line 282) | func TestAliasExpansion(t *testing.T) { function TestNestedAliasExpansion (line 300) | func TestNestedAliasExpansion(t *testing.T) { function TestEmptyRole (line 314) | func TestEmptyRole(t *testing.T) { function TestEmptyDomain (line 326) | func TestEmptyDomain(t *testing.T) { function TestFeatureMapReturnType (line 338) | func TestFeatureMapReturnType(t *testing.T) { function TestHierarchicalQueryBehavior (line 358) | func TestHierarchicalQueryBehavior(t *testing.T) { function TestConvenienceMethods (line 379) | func TestConvenienceMethods(t *testing.T) { FILE: openapi/oauth/acl/interfaces.go type Enforcer (line 6) | type Enforcer interface FILE: openapi/oauth/acl/role/cache.go constant PRE (line 9) | PRE = "acl:role:" constant TTL (line 12) | TTL = 1 * time.Hour method keyUserRole (line 15) | func (m *Manager) keyUserRole(userID string) string { method keyClientRole (line 20) | func (m *Manager) keyClientRole(clientID string) string { method keyTeamRole (line 25) | func (m *Manager) keyTeamRole(teamID string) string { method keyMemberRole (line 30) | func (m *Manager) keyMemberRole(teamID, userID string) string { method keyScopes (line 35) | func (m *Manager) keyScopes(roleID string) string { method keyScopesRestricted (line 40) | func (m *Manager) keyScopesRestricted(roleID string) string { method getUserRoleCache (line 49) | func (m *Manager) getUserRoleCache(userID string) (string, bool) { method getClientRoleCache (line 61) | func (m *Manager) getClientRoleCache(clientID string) (string, bool) { method getTeamRoleCache (line 73) | func (m *Manager) getTeamRoleCache(teamID string) (string, bool) { method getMemberRoleCache (line 85) | func (m *Manager) getMemberRoleCache(teamID, userID string) (string, boo... method getScopesCache (line 98) | func (m *Manager) getScopesCache(roleID string) ([]string, []string, boo... method setUserRoleCache (line 127) | func (m *Manager) setUserRoleCache(userID, roleID string) error { method setClientRoleCache (line 135) | func (m *Manager) setClientRoleCache(clientID, roleID string) error { method setTeamRoleCache (line 143) | func (m *Manager) setTeamRoleCache(teamID, roleID string) error { method setMemberRoleCache (line 151) | func (m *Manager) setMemberRoleCache(teamID, userID, roleID string) error { method setScopesCache (line 159) | func (m *Manager) setScopesCache(roleID string, allowedScopes []string, ... method delUserRoleCache (line 186) | func (m *Manager) delUserRoleCache(userID string) error { method delClientRoleCache (line 194) | func (m *Manager) delClientRoleCache(clientID string) error { method delTeamRoleCache (line 202) | func (m *Manager) delTeamRoleCache(teamID string) error { method delMemberRoleCache (line 210) | func (m *Manager) delMemberRoleCache(teamID, userID string) error { method delScopesCache (line 218) | func (m *Manager) delScopesCache(roleID string) error { method ClearCache (line 239) | func (m *Manager) ClearCache() error { FILE: openapi/oauth/acl/role/role.go function NewManager (line 15) | func NewManager(cache store.Store, provider types.UserProvider) *Manager { method GetClientRole (line 23) | func (m *Manager) GetClientRole(ctx context.Context, clientID string) (s... method GetUserRole (line 47) | func (m *Manager) GetUserRole(ctx context.Context, userID string) (strin... method GetTeamRole (line 70) | func (m *Manager) GetTeamRole(ctx context.Context, teamID string) (strin... method GetMemberRole (line 93) | func (m *Manager) GetMemberRole(ctx context.Context, teamID, userID stri... method GetScopes (line 121) | func (m *Manager) GetScopes(ctx context.Context, roleID string) ([]strin... method getClientRole (line 148) | func (m *Manager) getClientRole(ctx context.Context, clientID string) (s... method getUserRole (line 155) | func (m *Manager) getUserRole(ctx context.Context, userID string) (strin... method getTeamRole (line 176) | func (m *Manager) getTeamRole(ctx context.Context, teamID string) (strin... method getMemberRole (line 198) | func (m *Manager) getMemberRole(ctx context.Context, teamID, userID stri... method getScopes (line 220) | func (m *Manager) getScopes(ctx context.Context, roleID string) ([]strin... FILE: openapi/oauth/acl/role/types.go type Manager (line 9) | type Manager struct FILE: openapi/oauth/acl/role/utils.go function toString (line 10) | func toString(value interface{}) string { function toStringArray (line 22) | func toStringArray(value interface{}) []string { function formatPermissions (line 43) | func formatPermissions(value interface{}) ([]string, error) { function isTrue (line 110) | func isTrue(value interface{}) bool { FILE: openapi/oauth/acl/scope.go function Register (line 37) | func Register(scopes ...*ScopeDefinition) { function LoadScopes (line 48) | func LoadScopes() (*ScopeManager, error) { method loadGlobalConfig (line 116) | func (m *ScopeManager) loadGlobalConfig() error { method loadAliasConfig (line 158) | func (m *ScopeManager) loadAliasConfig() error { method expandAlias (line 194) | func (m *ScopeManager) expandAlias(alias string, visited map[string]bool... function getFirstLevelSubdirs (line 227) | func getFirstLevelSubdirs(baseDir string) ([]string, error) { method loadScopeDefinitions (line 261) | func (m *ScopeManager) loadScopeDefinitions() error { method loadScopeFile (line 300) | func (m *ScopeManager) loadScopeFile(filePath string) error { method buildIndexes (line 322) | func (m *ScopeManager) buildIndexes() error { method addEndpointRule (line 374) | func (m *ScopeManager) addEndpointRule(method, path, action string, scop... method Check (line 534) | func (m *ScopeManager) Check(req *AccessRequest) *AccessDecision { method CheckRestricted (line 619) | func (m *ScopeManager) CheckRestricted(req *AccessRequest) *AccessDecisi... method matchEndpoint (line 693) | func (m *ScopeManager) matchEndpoint(method, path string) (*EndpointInfo... method matchParameterPath (line 725) | func (m *ScopeManager) matchParameterPath(pattern, path string) bool { method expandUserScopes (line 750) | func (m *ScopeManager) expandUserScopes(scopes []string) []string { method matchesWildcardScope (line 796) | func (m *ScopeManager) matchesWildcardScope(userScope, requiredScope str... method findMissingScopes (line 827) | func (m *ScopeManager) findMissingScopes(userScopes, requiredScopes []st... method GetScopeConstraints (line 860) | func (m *ScopeManager) GetScopeConstraints(scopeName string, method, pat... method Reload (line 891) | func (m *ScopeManager) Reload() error { function normalizePath (line 921) | func normalizePath(path string) string { method copyEndpointInfo (line 933) | func (m *ScopeManager) copyEndpointInfo(src *EndpointInfo) *EndpointInfo { function deepCopyMap (line 965) | func deepCopyMap(src map[string]interface{}) map[string]interface{} { function deepCopyValue (line 979) | func deepCopyValue(src interface{}) interface{} { FILE: openapi/oauth/acl/scope_test.go function TestNormalizePath (line 7) | func TestNormalizePath(t *testing.T) { function TestPathMatchingWithTrailingSlash (line 61) | func TestPathMatchingWithTrailingSlash(t *testing.T) { function TestPathMatchingExactPaths (line 93) | func TestPathMatchingExactPaths(t *testing.T) { FILE: openapi/oauth/acl/types.go type Config (line 18) | type Config struct type ACL (line 26) | type ACL struct type GlobalConfig (line 35) | type GlobalConfig struct type EndpointRule (line 42) | type EndpointRule struct method UnmarshalYAML (line 52) | func (e *EndpointRule) UnmarshalYAML(unmarshal func(interface{}) error... type AliasConfig (line 79) | type AliasConfig type ScopeDefinition (line 82) | type ScopeDefinition struct type ScopeManager (line 96) | type ScopeManager struct type PathMatcher (line 115) | type PathMatcher struct type WildcardPath (line 134) | type WildcardPath struct type EndpointInfo (line 141) | type EndpointInfo struct method GetConstraints (line 165) | func (e *EndpointInfo) GetConstraints() map[string]interface{} { type EndpointPolicy (line 200) | type EndpointPolicy constant PolicyDeny (line 204) | PolicyDeny EndpointPolicy = iota constant PolicyAllow (line 206) | PolicyAllow constant PolicyRequireScopes (line 208) | PolicyRequireScopes type Scope (line 212) | type Scope struct type AccessRequest (line 227) | type AccessRequest struct type AccessDecision (line 234) | type AccessDecision struct type EnforcementStage (line 252) | type EnforcementStage constant EnforcementStageClient (line 256) | EnforcementStageClient EnforcementStage = "client" constant EnforcementStageScope (line 259) | EnforcementStageScope EnforcementStage = "scope" constant EnforcementStageTeam (line 262) | EnforcementStageTeam EnforcementStage = "team" constant EnforcementStageMember (line 265) | EnforcementStageMember EnforcementStage = "member" constant EnforcementStageUser (line 268) | EnforcementStageUser EnforcementStage = "user" FILE: openapi/oauth/apikey.go method isAPIKey (line 20) | func (s *Service) isAPIKey(token string) bool { method getAccessTokenFromAPIKey (line 25) | func (s *Service) getAccessTokenFromAPIKey(apiKey string) string { FILE: openapi/oauth/authenticate.go type AuthInput (line 15) | type AuthInput struct type AuthResult (line 22) | type AuthResult struct method AuthenticateToken (line 33) | func (s *Service) AuthenticateToken(input AuthInput) (*AuthResult, error) { method refreshTokenDirect (line 87) | func (s *Service) refreshTokenDirect(refreshToken string, expiredClaims ... method buildAuthInfo (line 191) | func (s *Service) buildAuthInfo(claims *types.TokenClaims, sessionID str... FILE: openapi/oauth/authorized/utils.go function ProcessAuthInfo (line 10) | func ProcessAuthInfo(p *process.Process) *types.AuthorizedInfo { function GetInfo (line 47) | func GetInfo(c *gin.Context) *types.AuthorizedInfo { function IsTeamMember (line 103) | func IsTeamMember(c *gin.Context) bool { function GetConstraints (line 110) | func GetConstraints(c *gin.Context) types.DataConstraints { function UpdateConstraints (line 151) | func UpdateConstraints(c *gin.Context, constraints map[string]interface{... function SetInfo (line 161) | func SetInfo(c *gin.Context, claims *types.TokenClaims, sessionID string... FILE: openapi/oauth/authorized/utils_test.go function TestProcessAuthInfo (line 11) | func TestProcessAuthInfo(t *testing.T) { FILE: openapi/oauth/client.go method Register (line 15) | func (s *Service) Register(ctx context.Context, clientInfo *types.Client... method UpdateClient (line 20) | func (s *Service) UpdateClient(ctx context.Context, clientID string, cli... method DeleteClient (line 25) | func (s *Service) DeleteClient(ctx context.Context, clientID string) err... method ValidateScope (line 30) | func (s *Service) ValidateScope(ctx context.Context, requestedScopes []s... method DynamicClientRegistration (line 36) | func (s *Service) DynamicClientRegistration(ctx context.Context, request... method GenerateClientID (line 153) | func (s *Service) GenerateClientID() (string, error) { method ValidateClientID (line 169) | func (s *Service) ValidateClientID(clientID string) error { method GenerateClientSecret (line 191) | func (s *Service) GenerateClientSecret() (string, error) { method validateDynamicClientRegistrationRequest (line 207) | func (s *Service) validateDynamicClientRegistrationRequest(request *type... method validateRedirectURIForRegistration (line 261) | func (s *Service) validateRedirectURIForRegistration(uri string) error { method isValidGrantType (line 308) | func (s *Service) isValidGrantType(grantType string) bool { method isValidResponseType (line 326) | func (s *Service) isValidResponseType(responseType string) bool { FILE: openapi/oauth/client_test.go function generateUniqueClientID (line 17) | func generateUniqueClientID(prefix string) string { function TestRegister (line 27) | func TestRegister(t *testing.T) { function TestUpdateClient (line 93) | func TestUpdateClient(t *testing.T) { function TestDeleteClient (line 153) | func TestDeleteClient(t *testing.T) { function TestValidateScope (line 197) | func TestValidateScope(t *testing.T) { function TestDynamicClientRegistration (line 244) | func TestDynamicClientRegistration(t *testing.T) { function TestGenerateClientID (line 416) | func TestGenerateClientID(t *testing.T) { function TestGenerateClientSecret (line 464) | func TestGenerateClientSecret(t *testing.T) { function TestValidateDynamicClientRegistrationRequest (line 516) | func TestValidateDynamicClientRegistrationRequest(t *testing.T) { function TestValidateRedirectURIForRegistration (line 614) | func TestValidateRedirectURIForRegistration(t *testing.T) { function TestIsValidGrantType (line 691) | func TestIsValidGrantType(t *testing.T) { function TestIsValidResponseType (line 724) | func TestIsValidResponseType(t *testing.T) { function TestClientSecretExpiration (line 763) | func TestClientSecretExpiration(t *testing.T) { function TestClientRegistrationEdgeCases (line 818) | func TestClientRegistrationEdgeCases(t *testing.T) { function TestClientRegistrationWithCustomConfiguration (line 885) | func TestClientRegistrationWithCustomConfiguration(t *testing.T) { FILE: openapi/oauth/core.go method AuthorizationServer (line 13) | func (s *Service) AuthorizationServer(ctx context.Context) string { method ProtectedResource (line 18) | func (s *Service) ProtectedResource(ctx context.Context) string { method Authorize (line 24) | func (s *Service) Authorize(ctx context.Context, request *types.Authoriz... method Token (line 117) | func (s *Service) Token(ctx context.Context, grantType string, code stri... method Revoke (line 147) | func (s *Service) Revoke(ctx context.Context, token string, tokenTypeHin... method RefreshToken (line 175) | func (s *Service) RefreshToken(ctx context.Context, refreshToken string,... method RotateRefreshToken (line 273) | func (s *Service) RotateRefreshToken(ctx context.Context, oldToken strin... method handleAuthorizationCodeGrant (line 386) | func (s *Service) handleAuthorizationCodeGrant(ctx context.Context, clie... method handleClientCredentialsGrant (line 468) | func (s *Service) handleClientCredentialsGrant(ctx context.Context, clie... method handleRefreshTokenGrant (line 497) | func (s *Service) handleRefreshTokenGrant(ctx context.Context, client *t... method validatePKCE (line 541) | func (s *Service) validatePKCE(ctx context.Context, client *types.Client... method handleDeviceCodeGrant (line 615) | func (s *Service) handleDeviceCodeGrant(ctx context.Context, client *typ... function extractExtraClaims (line 711) | func extractExtraClaims(tokenInfo map[string]interface{}) map[string]int... FILE: openapi/oauth/core_test.go function TestAuthorizationServer (line 17) | func TestAuthorizationServer(t *testing.T) { function TestProtectedResource (line 30) | func TestProtectedResource(t *testing.T) { function TestAuthorize (line 47) | func TestAuthorize(t *testing.T) { function TestToken (line 213) | func TestToken(t *testing.T) { function TestRevoke (line 307) | func TestRevoke(t *testing.T) { function TestRefreshToken (line 362) | func TestRefreshToken(t *testing.T) { function TestRotateRefreshToken (line 480) | func TestRotateRefreshToken(t *testing.T) { function TestHandleAuthorizationCodeGrant (line 568) | func TestHandleAuthorizationCodeGrant(t *testing.T) { function TestHandleClientCredentialsGrant (line 615) | func TestHandleClientCredentialsGrant(t *testing.T) { function TestHandleRefreshTokenGrant (line 637) | func TestHandleRefreshTokenGrant(t *testing.T) { function TestCoreIntegration (line 725) | func TestCoreIntegration(t *testing.T) { function TestCoreEdgeCases (line 812) | func TestCoreEdgeCases(t *testing.T) { FILE: openapi/oauth/device.go constant userCodeAlphabet (line 12) | userCodeAlphabet = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789" method DeviceAuthorization (line 15) | func (s *Service) DeviceAuthorization(ctx context.Context, clientID stri... method AuthorizeDevice (line 75) | func (s *Service) AuthorizeDevice(ctx context.Context, userCode string, ... method generateUserCode (line 97) | func (s *Service) generateUserCode() (string, error) { function clientSupportsGrantType (line 112) | func clientSupportsGrantType(client *types.ClientInfo, grantType string)... FILE: openapi/oauth/discovery.go method JWKS (line 16) | func (s *Service) JWKS(ctx context.Context) (*types.JWKSResponse, error) { method Endpoints (line 56) | func (s *Service) Endpoints(ctx context.Context) (map[string]string, err... method GetServerMetadata (line 76) | func (s *Service) GetServerMetadata(ctx context.Context) (*types.Authori... FILE: openapi/oauth/guard.go type refreshGate (line 25) | type refreshGate struct method Guard (line 30) | func (s *Service) Guard(c *gin.Context) { method Authenticate (line 61) | func (s *Service) Authenticate(c *gin.Context) bool { function GetAuthorizedInfo (line 109) | func GetAuthorizedInfo(c *gin.Context) *types.AuthorizedInfo { method TryRefreshToken (line 118) | func (s *Service) TryRefreshToken(c *gin.Context, expiredClaims *types.T... method getAccessToken (line 240) | func (s *Service) getAccessToken(c *gin.Context) string { method GetAccessToken (line 265) | func (s *Service) GetAccessToken(c *gin.Context) string { method getRefreshToken (line 269) | func (s *Service) getRefreshToken(c *gin.Context) string { method GetRefreshToken (line 283) | func (s *Service) GetRefreshToken(c *gin.Context) string { function IsRefreshInProgress (line 289) | func IsRefreshInProgress(err error) bool { method GetSessionID (line 294) | func (s *Service) GetSessionID(c *gin.Context) string { method getSessionID (line 299) | func (s *Service) getSessionID(c *gin.Context) string { method handleACLError (line 332) | func (s *Service) handleACLError(c *gin.Context, err error) { FILE: openapi/oauth/mcp.go method ValidateResourceParameter (line 11) | func (s *Service) ValidateResourceParameter(ctx context.Context, resourc... method GetCanonicalResourceURI (line 18) | func (s *Service) GetCanonicalResourceURI(ctx context.Context, serverURI... method GetProtectedResourceMetadata (line 25) | func (s *Service) GetProtectedResourceMetadata(ctx context.Context) (*ty... method HandleWWWAuthenticate (line 32) | func (s *Service) HandleWWWAuthenticate(ctx context.Context, challenge s... FILE: openapi/oauth/oauth.go type Service (line 18) | type Service struct method GetConfig (line 159) | func (s *Service) GetConfig() *Config { method GetUserProvider (line 164) | func (s *Service) GetUserProvider() (types.UserProvider, error) { method GetClientProvider (line 169) | func (s *Service) GetClientProvider() types.ClientProvider { method GetCache (line 174) | func (s *Service) GetCache() store.Store { method GetStore (line 179) | func (s *Service) GetStore() store.Store { method GetKeyPrefix (line 184) | func (s *Service) GetKeyPrefix() string { method GetSecurityConfig (line 189) | func (s *Service) GetSecurityConfig() types.SecurityConfig { type Config (line 30) | type Config struct type FeatureFlags (line 64) | type FeatureFlags struct function NewService (line 92) | func NewService(config *Config) (*Service, error) { function setConfigDefaults (line 197) | func setConfigDefaults(config *Config) error { function validateConfig (line 277) | func validateConfig(config *Config) error { FILE: openapi/oauth/oauth_test.go type StoreConfig (line 40) | type StoreConfig struct type TestClient (line 47) | type TestClient struct type TestUser (line 62) | type TestUser struct function setupOAuthTestEnvironment (line 327) | func setupOAuthTestEnvironment(t *testing.T) (*Service, store.Store, sto... function setupTestData (line 454) | func setupTestData(t *testing.T, service *Service) { function cleanupTestData (line 553) | func cleanupTestData(t *testing.T, service *Service) { function createTestCertificatesOnce (line 610) | func createTestCertificatesOnce(t *testing.T) { function getMongoStore (line 631) | func getMongoStore(t *testing.T) store.Store { function getXunStore (line 658) | func getXunStore(t *testing.T) store.Store { function getLRUCache (line 679) | func getLRUCache(t *testing.T) store.Store { function getStoreConfigs (line 685) | func getStoreConfigs() []StoreConfig { function GetActualClientID (line 697) | func GetActualClientID(originalID string) string { function GetActualUserEmail (line 705) | func GetActualUserEmail(originalEmail string) string { function generateTestSuffix (line 713) | func generateTestSuffix(t *testing.T) string { function generateUniqueEmail (line 732) | func generateUniqueEmail(originalEmail, suffix string) string { function TestMain (line 747) | func TestMain(m *testing.M) { function cleanupGlobalTestCertificates (line 758) | func cleanupGlobalTestCertificates() { function TestNewService (line 771) | func TestNewService(t *testing.T) { function TestServiceGetters (line 820) | func TestServiceGetters(t *testing.T) { function TestConfigDefaults (line 844) | func TestConfigDefaults(t *testing.T) { function TestFeatureFlags (line 885) | func TestFeatureFlags(t *testing.T) { function TestProviderInitialization (line 922) | func TestProviderInitialization(t *testing.T) { function TestServiceIntegration (line 994) | func TestServiceIntegration(t *testing.T) { function TestConfigValidation (line 1032) | func TestConfigValidation(t *testing.T) { function TestDefaultConfigValues (line 1139) | func TestDefaultConfigValues(t *testing.T) { FILE: openapi/oauth/providers/client/default.go type DefaultClient (line 15) | type DefaultClient struct method clientKey (line 51) | func (c *DefaultClient) clientKey(clientID string) string { method clientListKey (line 55) | func (c *DefaultClient) clientListKey() string { method GetClientByID (line 60) | func (c *DefaultClient) GetClientByID(ctx context.Context, clientID st... method GetClientByCredentials (line 130) | func (c *DefaultClient) GetClientByCredentials(ctx context.Context, cl... method CreateClient (line 153) | func (c *DefaultClient) CreateClient(ctx context.Context, clientInfo *... method UpdateClient (line 220) | func (c *DefaultClient) UpdateClient(ctx context.Context, clientID str... method DeleteClient (line 274) | func (c *DefaultClient) DeleteClient(ctx context.Context, clientID str... method ValidateClient (line 301) | func (c *DefaultClient) ValidateClient(ctx context.Context, clientInfo... method ListClients (line 344) | func (c *DefaultClient) ListClients(ctx context.Context, filters map[s... method ValidateRedirectURI (line 384) | func (c *DefaultClient) ValidateRedirectURI(ctx context.Context, clien... method ValidateScope (line 407) | func (c *DefaultClient) ValidateScope(ctx context.Context, clientID st... method IsClientActive (line 439) | func (c *DefaultClient) IsClientActive(ctx context.Context, clientID s... method saveClient (line 452) | func (c *DefaultClient) saveClient(ctx context.Context, clientInfo *ty... method getClientList (line 474) | func (c *DefaultClient) getClientList(ctx context.Context) ([]string, ... method saveClientList (line 534) | func (c *DefaultClient) saveClientList(ctx context.Context, clientIDs ... method addToClientList (line 550) | func (c *DefaultClient) addToClientList(ctx context.Context, clientID ... method removeFromClientList (line 573) | func (c *DefaultClient) removeFromClientList(ctx context.Context, clie... method matchesFilters (line 595) | func (c *DefaultClient) matchesFilters(client *types.ClientInfo, filte... type DefaultClientOptions (line 22) | type DefaultClientOptions struct function NewDefaultClient (line 29) | func NewDefaultClient(options *DefaultClientOptions) (*DefaultClient, er... FILE: openapi/oauth/providers/client/default_test.go type StoreConfig (line 21) | type StoreConfig struct function getMongoStore (line 27) | func getMongoStore(t *testing.T) store.Store { function getXunStore (line 56) | func getXunStore(t *testing.T) store.Store { function getLRUCache (line 78) | func getLRUCache(t *testing.T) store.Store { function getStoreConfigs (line 85) | func getStoreConfigs() []StoreConfig { function createTestClient (line 92) | func createTestClient(clientID string) *types.ClientInfo { function TestNewDefaultClient (line 107) | func TestNewDefaultClient(t *testing.T) { function TestKeyGeneration (line 176) | func TestKeyGeneration(t *testing.T) { function TestCreateClient (line 203) | func TestCreateClient(t *testing.T) { function TestGetClientByID (line 283) | func TestGetClientByID(t *testing.T) { function TestDeleteClient (line 359) | func TestDeleteClient(t *testing.T) { function TestValidateClient (line 416) | func TestValidateClient(t *testing.T) { function TestCacheConsistency (line 461) | func TestCacheConsistency(t *testing.T) { FILE: openapi/oauth/providers/user/default.go constant ErrUserNotFound (line 10) | ErrUserNotFound = "user not found" constant ErrRoleNotFound (line 11) | ErrRoleNotFound = "role not found" constant ErrTypeNotFound (line 12) | ErrTypeNotFound = "type not found" constant ErrOAuthAccountNotFound (line 13) | ErrOAuthAccountNotFound = "oauth account not found" constant ErrTeamNotFound (line 14) | ErrTeamNotFound = "team not found" constant ErrMemberNotFound (line 15) | ErrMemberNotFound = "member not found" constant ErrInvalidIdentifierType (line 16) | ErrInvalidIdentifierType = "invalid identifier type: %s" constant ErrNoPasswordHash (line 17) | ErrNoPasswordHash = "no password hash found" constant ErrFailedToGenerateUserID (line 18) | ErrFailedToGenerateUserID = "failed to generate user_id: %w" constant ErrFailedToGeneratePassword (line 19) | ErrFailedToGeneratePassword = "failed to generate password: %w" constant ErrInvalidUserIDInOAuth (line 20) | ErrInvalidUserIDInOAuth = "invalid user_id in oauth account" constant ErrFailedToGetUser (line 22) | ErrFailedToGetUser = "failed to get user: %w" constant ErrFailedToGetRole (line 23) | ErrFailedToGetRole = "failed to get role: %w" constant ErrFailedToGetType (line 24) | ErrFailedToGetType = "failed to get type: %w" constant ErrFailedToGetOAuthAccount (line 25) | ErrFailedToGetOAuthAccount = "failed to get oauth account: %w" constant ErrFailedToGetTeam (line 26) | ErrFailedToGetTeam = "failed to get team: %w" constant ErrFailedToGetMember (line 27) | ErrFailedToGetMember = "failed to get member: %w" constant ErrFailedToCreateUser (line 28) | ErrFailedToCreateUser = "failed to create user: %w" constant ErrFailedToCreateRole (line 29) | ErrFailedToCreateRole = "failed to create role: %w" constant ErrFailedToCreateType (line 30) | ErrFailedToCreateType = "failed to create type: %w" constant ErrFailedToCreateOAuth (line 31) | ErrFailedToCreateOAuth = "failed to create oauth account: %w" constant ErrFailedToCreateTeam (line 32) | ErrFailedToCreateTeam = "failed to create team: %w" constant ErrFailedToCreateMember (line 33) | ErrFailedToCreateMember = "failed to create member: %w" constant ErrFailedToUpdateUser (line 34) | ErrFailedToUpdateUser = "failed to update user: %w" constant ErrFailedToUpdateRole (line 35) | ErrFailedToUpdateRole = "failed to update role: %w" constant ErrFailedToUpdateType (line 36) | ErrFailedToUpdateType = "failed to update type: %w" constant ErrFailedToUpdateOAuth (line 37) | ErrFailedToUpdateOAuth = "failed to update oauth account: %w" constant ErrFailedToUpdateTeam (line 38) | ErrFailedToUpdateTeam = "failed to update team: %w" constant ErrFailedToUpdateMember (line 39) | ErrFailedToUpdateMember = "failed to update member: %w" constant ErrFailedToDeleteUser (line 40) | ErrFailedToDeleteUser = "failed to delete user: %w" constant ErrFailedToDeleteRole (line 41) | ErrFailedToDeleteRole = "failed to delete role: %w" constant ErrFailedToDeleteType (line 42) | ErrFailedToDeleteType = "failed to delete type: %w" constant ErrFailedToDeleteOAuth (line 43) | ErrFailedToDeleteOAuth = "failed to delete oauth account: %w" constant ErrFailedToDeleteTeam (line 44) | ErrFailedToDeleteTeam = "failed to delete team: %w" constant ErrFailedToDeleteMember (line 45) | ErrFailedToDeleteMember = "failed to delete member: %w" constant ErrInvitationCodeNotFound (line 48) | ErrInvitationCodeNotFound = "invitation code not found" constant ErrInvitationCodeAlreadyUsed (line 49) | ErrInvitationCodeAlreadyUsed = "invitation code has already been used" constant ErrInvitationCodeExpired (line 50) | ErrInvitationCodeExpired = "invitation code has expired" constant ErrInvitationCodeNotPublished (line 51) | ErrInvitationCodeNotPublished = "invitation code is not published" constant ErrFailedToCreateInvitationCode (line 52) | ErrFailedToCreateInvitationCode = "failed to create invitation code: %w" constant ErrFailedToUseInvitationCode (line 53) | ErrFailedToUseInvitationCode = "failed to use invitation code: %w" constant ErrFailedToDeleteInvitationCode (line 54) | ErrFailedToDeleteInvitationCode = "failed to delete invitation code: %w" constant ErrMFANotEnabled (line 57) | ErrMFANotEnabled = "MFA is not enabled for this user" constant ErrMFAAlreadyEnabled (line 58) | ErrMFAAlreadyEnabled = "MFA is already enabled for this user" constant ErrInvalidMFACode (line 59) | ErrInvalidMFACode = "invalid MFA code" constant ErrInvalidRecoveryCode (line 60) | ErrInvalidRecoveryCode = "invalid recovery code" constant ErrFailedToGenerateMFASecret (line 61) | ErrFailedToGenerateMFASecret = "failed to generate MFA secret: %w" constant ErrFailedToGenerateQRCode (line 62) | ErrFailedToGenerateQRCode = "failed to generate QR code: %w" constant ErrFailedToVerifyMFACode (line 63) | ErrFailedToVerifyMFACode = "failed to verify MFA code: %w" constant ErrFailedToUpdateMFAStatus (line 64) | ErrFailedToUpdateMFAStatus = "failed to update MFA status: %w" constant ErrRecoveryCodeNotFound (line 65) | ErrRecoveryCodeNotFound = "recovery code not found or already used" type DefaultUser (line 189) | type DefaultUser struct type IDStrategy (line 235) | type IDStrategy constant NanoIDStrategy (line 239) | NanoIDStrategy IDStrategy = "nanoid" constant UUIDStrategy (line 240) | UUIDStrategy IDStrategy = "uuid" constant NumericStrategy (line 241) | NumericStrategy IDStrategy = "numeric" type DefaultUserOptions (line 245) | type DefaultUserOptions struct function NewDefaultUser (line 290) | func NewDefaultUser(options *DefaultUserOptions) *DefaultUser { FILE: openapi/oauth/providers/user/exists_test.go function TestExistsMethods (line 14) | func TestExistsMethods(t *testing.T) { function TestExistsPerformance (line 195) | func TestExistsPerformance(t *testing.T) { FILE: openapi/oauth/providers/user/invitation.go method invitationCodeExists (line 15) | func (u *DefaultUser) invitationCodeExists(ctx context.Context, code str... method CreateInvitationCodes (line 34) | func (u *DefaultUser) CreateInvitationCodes(ctx context.Context, codeDat... method UseInvitationCode (line 110) | func (u *DefaultUser) UseInvitationCode(ctx context.Context, code string... method DeleteInvitationCode (line 198) | func (u *DefaultUser) DeleteInvitationCode(ctx context.Context, code str... FILE: openapi/oauth/providers/user/invitation_test.go function TestCreateInvitationCodes (line 16) | func TestCreateInvitationCodes(t *testing.T) { function TestUseInvitationCode (line 167) | func TestUseInvitationCode(t *testing.T) { function TestDeleteInvitationCode (line 360) | func TestDeleteInvitationCode(t *testing.T) { function TestInvitationCodeWorkflow (line 462) | func TestInvitationCodeWorkflow(t *testing.T) { FILE: openapi/oauth/providers/user/member.go method GetMember (line 15) | func (u *DefaultUser) GetMember(ctx context.Context, teamID string, user... method GetMemberDetail (line 38) | func (u *DefaultUser) GetMemberDetail(ctx context.Context, teamID string... method GetMemberByID (line 61) | func (u *DefaultUser) GetMemberByID(ctx context.Context, memberID int64)... method GetMemberByInvitationID (line 83) | func (u *DefaultUser) GetMemberByInvitationID(ctx context.Context, invit... method GetMemberByMemberID (line 105) | func (u *DefaultUser) GetMemberByMemberID(ctx context.Context, memberID ... method GetMemberDetailByMemberID (line 127) | func (u *DefaultUser) GetMemberDetailByMemberID(ctx context.Context, mem... method MemberExists (line 149) | func (u *DefaultUser) MemberExists(ctx context.Context, teamID string, u... method MemberExistsByRobotEmail (line 168) | func (u *DefaultUser) MemberExistsByRobotEmail(ctx context.Context, robo... method MemberExistsByMemberID (line 186) | func (u *DefaultUser) MemberExistsByMemberID(ctx context.Context, member... method memberExistsByID (line 204) | func (u *DefaultUser) memberExistsByID(ctx context.Context, id int64) (b... method memberExistsByInvitationID (line 222) | func (u *DefaultUser) memberExistsByInvitationID(ctx context.Context, in... method CreateMember (line 240) | func (u *DefaultUser) CreateMember(ctx context.Context, memberData maps.... method CreateRobotMember (line 316) | func (u *DefaultUser) CreateRobotMember(ctx context.Context, teamID stri... method UpdateRobotMember (line 390) | func (u *DefaultUser) UpdateRobotMember(ctx context.Context, memberID st... method AddMember (line 467) | func (u *DefaultUser) AddMember(ctx context.Context, teamID string, user... method AcceptInvitation (line 502) | func (u *DefaultUser) AcceptInvitation(ctx context.Context, invitationID... method UpdateMember (line 581) | func (u *DefaultUser) UpdateMember(ctx context.Context, teamID string, u... method UpdateMemberByID (line 622) | func (u *DefaultUser) UpdateMemberByID(ctx context.Context, id int64, me... method UpdateMemberByMemberID (line 662) | func (u *DefaultUser) UpdateMemberByMemberID(ctx context.Context, member... method RemoveMember (line 707) | func (u *DefaultUser) RemoveMember(ctx context.Context, teamID string, u... method RemoveMemberByMemberID (line 729) | func (u *DefaultUser) RemoveMemberByMemberID(ctx context.Context, member... method RemoveAllTeamMembers (line 750) | func (u *DefaultUser) RemoveAllTeamMembers(ctx context.Context, teamID s... method GetTeamMembers (line 766) | func (u *DefaultUser) GetTeamMembers(ctx context.Context, teamID string)... method GetUserTeams (line 788) | func (u *DefaultUser) GetUserTeams(ctx context.Context, userID string) (... method GetTeamMembersByStatus (line 809) | func (u *DefaultUser) GetTeamMembersByStatus(ctx context.Context, teamID... method GetTeamRobotMembers (line 831) | func (u *DefaultUser) GetTeamRobotMembers(ctx context.Context, teamID st... method GetActiveRobotMembers (line 853) | func (u *DefaultUser) GetActiveRobotMembers(ctx context.Context) ([]maps... method UpdateMemberRole (line 876) | func (u *DefaultUser) UpdateMemberRole(ctx context.Context, teamID strin... method UpdateMemberStatus (line 885) | func (u *DefaultUser) UpdateMemberStatus(ctx context.Context, teamID str... method UpdateMemberLastActivity (line 894) | func (u *DefaultUser) UpdateMemberLastActivity(ctx context.Context, team... method UpdateMemberRoleByMemberID (line 917) | func (u *DefaultUser) UpdateMemberRoleByMemberID(ctx context.Context, me... method UpdateMemberStatusByMemberID (line 926) | func (u *DefaultUser) UpdateMemberStatusByMemberID(ctx context.Context, ... method UpdateMemberLastActivityByMemberID (line 935) | func (u *DefaultUser) UpdateMemberLastActivityByMemberID(ctx context.Con... method UpdateRobotActivity (line 958) | func (u *DefaultUser) UpdateRobotActivity(ctx context.Context, id int64,... method UpdateMemberByInvitationID (line 968) | func (u *DefaultUser) UpdateMemberByInvitationID(ctx context.Context, in... method RemoveMemberByInvitationID (line 1009) | func (u *DefaultUser) RemoveMemberByInvitationID(ctx context.Context, in... method PaginateMembers (line 1030) | func (u *DefaultUser) PaginateMembers(ctx context.Context, param model.Q... method copyMemberProfileFromUser (line 1049) | func (u *DefaultUser) copyMemberProfileFromUser(ctx context.Context, use... FILE: openapi/oauth/providers/user/member_test.go function TestMemberBasicOperations (line 15) | func TestMemberBasicOperations(t *testing.T) { function TestMemberInvitationFlow (line 219) | func TestMemberInvitationFlow(t *testing.T) { function TestRobotMemberOperations (line 313) | func TestRobotMemberOperations(t *testing.T) { function TestMemberQueryOperations (line 480) | func TestMemberQueryOperations(t *testing.T) { function TestMemberErrorHandling (line 615) | func TestMemberErrorHandling(t *testing.T) { function TestMemberInvitationExpiry (line 731) | func TestMemberInvitationExpiry(t *testing.T) { function TestMemberInvitationIDOperations (line 787) | func TestMemberInvitationIDOperations(t *testing.T) { function TestCreateMemberInvitationIDGeneration (line 931) | func TestCreateMemberInvitationIDGeneration(t *testing.T) { function TestMemberIDOperations (line 1032) | func TestMemberIDOperations(t *testing.T) { function TestMemberExistsByRobotEmail (line 1189) | func TestMemberExistsByRobotEmail(t *testing.T) { function TestUpdateRobotMember (line 1243) | func TestUpdateRobotMember(t *testing.T) { function TestRobotEmailUniqueness (line 1470) | func TestRobotEmailUniqueness(t *testing.T) { FILE: openapi/oauth/providers/user/oauth_account.go method CreateOAuthAccount (line 15) | func (u *DefaultUser) CreateOAuthAccount(ctx context.Context, userID str... method GetOAuthAccount (line 39) | func (u *DefaultUser) GetOAuthAccount(ctx context.Context, provider stri... method OAuthAccountExists (line 62) | func (u *DefaultUser) OAuthAccountExists(ctx context.Context, provider s... method GetUserOAuthAccounts (line 81) | func (u *DefaultUser) GetUserOAuthAccounts(ctx context.Context, userID s... method UpdateOAuthAccount (line 101) | func (u *DefaultUser) UpdateOAuthAccount(ctx context.Context, provider s... method DeleteOAuthAccount (line 142) | func (u *DefaultUser) DeleteOAuthAccount(ctx context.Context, provider s... method DeleteUserOAuthAccounts (line 164) | func (u *DefaultUser) DeleteUserOAuthAccounts(ctx context.Context, userI... method GetOAuthAccounts (line 185) | func (u *DefaultUser) GetOAuthAccounts(ctx context.Context, param model.... method PaginateOAuthAccounts (line 201) | func (u *DefaultUser) PaginateOAuthAccounts(ctx context.Context, param m... method CountOAuthAccounts (line 217) | func (u *DefaultUser) CountOAuthAccounts(ctx context.Context, param mode... FILE: openapi/oauth/providers/user/oauth_account_test.go type TestOAuthAccountData (line 16) | type TestOAuthAccountData struct function TestOAuthAccountBasicOperations (line 30) | func TestOAuthAccountBasicOperations(t *testing.T) { function TestOAuthAccountListOperations (line 303) | func TestOAuthAccountListOperations(t *testing.T) { function TestOAuthAccountErrorHandling (line 570) | func TestOAuthAccountErrorHandling(t *testing.T) { FILE: openapi/oauth/providers/user/role.go method GetRole (line 14) | func (u *DefaultUser) GetRole(ctx context.Context, roleID string) (maps.... method RoleExists (line 36) | func (u *DefaultUser) RoleExists(ctx context.Context, roleID string) (bo... method CreateRole (line 54) | func (u *DefaultUser) CreateRole(ctx context.Context, roleData maps.MapS... method UpdateRole (line 93) | func (u *DefaultUser) UpdateRole(ctx context.Context, roleID string, rol... method DeleteRole (line 133) | func (u *DefaultUser) DeleteRole(ctx context.Context, roleID string) err... method GetRoles (line 182) | func (u *DefaultUser) GetRoles(ctx context.Context, param model.QueryPar... method PaginateRoles (line 198) | func (u *DefaultUser) PaginateRoles(ctx context.Context, param model.Que... method CountRoles (line 214) | func (u *DefaultUser) CountRoles(ctx context.Context, param model.QueryP... method GetRolePermissions (line 232) | func (u *DefaultUser) GetRolePermissions(ctx context.Context, roleID str... method SetRolePermissions (line 261) | func (u *DefaultUser) SetRolePermissions(ctx context.Context, roleID str... method ValidateRolePermissions (line 306) | func (u *DefaultUser) ValidateRolePermissions(ctx context.Context, roleI... FILE: openapi/oauth/providers/user/role_test.go type TestRoleData (line 15) | type TestRoleData struct function TestRoleBasicOperations (line 30) | func TestRoleBasicOperations(t *testing.T) { function TestRolePermissionOperations (line 194) | func TestRolePermissionOperations(t *testing.T) { function TestRoleListOperations (line 319) | func TestRoleListOperations(t *testing.T) { function TestRoleErrorHandling (line 584) | func TestRoleErrorHandling(t *testing.T) { FILE: openapi/oauth/providers/user/team.go method GetTeam (line 15) | func (u *DefaultUser) GetTeam(ctx context.Context, teamID string) (maps.... method GetTeamDetail (line 37) | func (u *DefaultUser) GetTeamDetail(ctx context.Context, teamID string) ... method TeamExists (line 59) | func (u *DefaultUser) TeamExists(ctx context.Context, teamID string) (bo... method CreateTeam (line 77) | func (u *DefaultUser) CreateTeam(ctx context.Context, teamData maps.MapS... method UpdateTeam (line 120) | func (u *DefaultUser) UpdateTeam(ctx context.Context, teamID string, tea... method DeleteTeam (line 160) | func (u *DefaultUser) DeleteTeam(ctx context.Context, teamID string) err... method GetTeams (line 199) | func (u *DefaultUser) GetTeams(ctx context.Context, param model.QueryPar... method PaginateTeams (line 215) | func (u *DefaultUser) PaginateTeams(ctx context.Context, param model.Que... method CountTeams (line 231) | func (u *DefaultUser) CountTeams(ctx context.Context, param model.QueryP... method GetTeamsByOwner (line 249) | func (u *DefaultUser) GetTeamsByOwner(ctx context.Context, ownerID strin... method GetTeamsByMember (line 264) | func (u *DefaultUser) GetTeamsByMember(ctx context.Context, memberID str... method GetTeamByMember (line 330) | func (u *DefaultUser) GetTeamByMember(ctx context.Context, teamID string... method CountTeamsByMember (line 379) | func (u *DefaultUser) CountTeamsByMember(ctx context.Context, memberID s... method GetTeamsByStatus (line 406) | func (u *DefaultUser) GetTeamsByStatus(ctx context.Context, status strin... method UpdateTeamStatus (line 421) | func (u *DefaultUser) UpdateTeamStatus(ctx context.Context, teamID strin... method VerifyTeam (line 430) | func (u *DefaultUser) VerifyTeam(ctx context.Context, teamID string, ver... method UnverifyTeam (line 466) | func (u *DefaultUser) UnverifyTeam(ctx context.Context, teamID string) e... method TransferTeamOwnership (line 502) | func (u *DefaultUser) TransferTeamOwnership(ctx context.Context, teamID ... method IsTeamOwner (line 520) | func (u *DefaultUser) IsTeamOwner(ctx context.Context, teamID string, us... method IsTeamMember (line 535) | func (u *DefaultUser) IsTeamMember(ctx context.Context, teamID string, u... method CheckTeamAccess (line 551) | func (u *DefaultUser) CheckTeamAccess(ctx context.Context, teamID string... FILE: openapi/oauth/providers/user/team_test.go type TestTeamData (line 15) | type TestTeamData struct type TestMemberData (line 28) | type TestMemberData struct function TestTeamBasicOperations (line 37) | func TestTeamBasicOperations(t *testing.T) { function TestTeamMemberOperations (line 294) | func TestTeamMemberOperations(t *testing.T) { function TestTeamErrorHandling (line 491) | func TestTeamErrorHandling(t *testing.T) { function createTestUser (line 557) | func createTestUser(ctx context.Context, t *testing.T, suffix string) st... FILE: openapi/oauth/providers/user/type.go method GetType (line 14) | func (u *DefaultUser) GetType(ctx context.Context, typeID string) (maps.... method TypeExists (line 36) | func (u *DefaultUser) TypeExists(ctx context.Context, typeID string) (bo... method CreateType (line 54) | func (u *DefaultUser) CreateType(ctx context.Context, typeData maps.MapS... method UpdateType (line 93) | func (u *DefaultUser) UpdateType(ctx context.Context, typeID string, typ... method DeleteType (line 133) | func (u *DefaultUser) DeleteType(ctx context.Context, typeID string) err... method GetTypes (line 172) | func (u *DefaultUser) GetTypes(ctx context.Context, param model.QueryPar... method PaginateTypes (line 188) | func (u *DefaultUser) PaginateTypes(ctx context.Context, param model.Que... method CountTypes (line 204) | func (u *DefaultUser) CountTypes(ctx context.Context, param model.QueryP... method GetTypeConfiguration (line 222) | func (u *DefaultUser) GetTypeConfiguration(ctx context.Context, typeID s... method SetTypeConfiguration (line 254) | func (u *DefaultUser) SetTypeConfiguration(ctx context.Context, typeID s... method GetTypePricing (line 311) | func (u *DefaultUser) GetTypePricing(ctx context.Context, typeID string)... method GetPublishedTypes (line 338) | func (u *DefaultUser) GetPublishedTypes(ctx context.Context, param model... method SetTypePricing (line 385) | func (u *DefaultUser) SetTypePricing(ctx context.Context, typeID string,... method UpdateTypeStatus (line 458) | func (u *DefaultUser) UpdateTypeStatus(ctx context.Context, typeID strin... FILE: openapi/oauth/providers/user/type_test.go type TestTypeData (line 15) | type TestTypeData struct function TestTypeBasicOperations (line 43) | func TestTypeBasicOperations(t *testing.T) { function TestTypeConfigurationOperations (line 207) | func TestTypeConfigurationOperations(t *testing.T) { function TestTypeListOperations (line 412) | func TestTypeListOperations(t *testing.T) { function TestTypeErrorHandling (line 677) | func TestTypeErrorHandling(t *testing.T) { function TestTypePricingOperations (line 825) | func TestTypePricingOperations(t *testing.T) { FILE: openapi/oauth/providers/user/user_basic.go method GetUser (line 19) | func (u *DefaultUser) GetUser(ctx context.Context, userID string) (maps.... method GetUserWithScopes (line 41) | func (u *DefaultUser) GetUserWithScopes(ctx context.Context, userID stri... method UserExists (line 129) | func (u *DefaultUser) UserExists(ctx context.Context, userID string) (bo... method UserExistsByEmail (line 147) | func (u *DefaultUser) UserExistsByEmail(ctx context.Context, email strin... method UserExistsByPreferredUsername (line 165) | func (u *DefaultUser) UserExistsByPreferredUsername(ctx context.Context,... method GetUserByPreferredUsername (line 183) | func (u *DefaultUser) GetUserByPreferredUsername(ctx context.Context, pr... method GetUserByEmail (line 205) | func (u *DefaultUser) GetUserByEmail(ctx context.Context, email string) ... method GetUserForAuth (line 227) | func (u *DefaultUser) GetUserForAuth(ctx context.Context, identifier str... method VerifyPassword (line 264) | func (u *DefaultUser) VerifyPassword(ctx context.Context, password strin... method UpdatePassword (line 279) | func (u *DefaultUser) UpdatePassword(ctx context.Context, userID string,... method ResetPassword (line 313) | func (u *DefaultUser) ResetPassword(ctx context.Context, userID string) ... method CreateUser (line 353) | func (u *DefaultUser) CreateUser(ctx context.Context, userData maps.MapS... method UpdateUser (line 390) | func (u *DefaultUser) UpdateUser(ctx context.Context, userID string, use... method DeleteUser (line 434) | func (u *DefaultUser) DeleteUser(ctx context.Context, userID string) err... method UpdateUserLastLogin (line 494) | func (u *DefaultUser) UpdateUserLastLogin(ctx context.Context, userID st... method UpdateUserStatus (line 522) | func (u *DefaultUser) UpdateUserStatus(ctx context.Context, userID strin... FILE: openapi/oauth/providers/user/user_basic_test.go function TestUserBasicOperations (line 14) | func TestUserBasicOperations(t *testing.T) { function TestUserErrorHandling (line 266) | func TestUserErrorHandling(t *testing.T) { FILE: openapi/oauth/providers/user/user_list.go method GetUsers (line 14) | func (u *DefaultUser) GetUsers(ctx context.Context, param model.QueryPar... method PaginateUsers (line 30) | func (u *DefaultUser) PaginateUsers(ctx context.Context, param model.Que... method CountUsers (line 46) | func (u *DefaultUser) CountUsers(ctx context.Context, param model.QueryP... FILE: openapi/oauth/providers/user/user_list_test.go function TestUserListOperations (line 14) | func TestUserListOperations(t *testing.T) { function TestUserListErrorHandling (line 286) | func TestUserListErrorHandling(t *testing.T) { FILE: openapi/oauth/providers/user/user_mfa.go method GenerateMFASecret (line 21) | func (u *DefaultUser) GenerateMFASecret(ctx context.Context, userID stri... method EnableMFA (line 138) | func (u *DefaultUser) EnableMFA(ctx context.Context, userID string, secr... method DisableMFA (line 217) | func (u *DefaultUser) DisableMFA(ctx context.Context, userID string, cod... method VerifyMFACode (line 298) | func (u *DefaultUser) VerifyMFACode(ctx context.Context, userID string, ... method GenerateRecoveryCodes (line 359) | func (u *DefaultUser) GenerateRecoveryCodes(ctx context.Context, userID ... method VerifyRecoveryCode (line 451) | func (u *DefaultUser) VerifyRecoveryCode(ctx context.Context, userID str... method IsMFAEnabled (line 539) | func (u *DefaultUser) IsMFAEnabled(ctx context.Context, userID string) (... method GetMFAConfig (line 572) | func (u *DefaultUser) GetMFAConfig(ctx context.Context, userID string) (... function generateRecoveryCode (line 637) | func generateRecoveryCode(length int) (string, error) { FILE: openapi/oauth/providers/user/user_mfa_test.go function TestMFAOperations (line 16) | func TestMFAOperations(t *testing.T) { function TestMFAErrorHandling (line 167) | func TestMFAErrorHandling(t *testing.T) { function TestMFACustomOptions (line 310) | func TestMFACustomOptions(t *testing.T) { function TestMFAStateMachine (line 390) | func TestMFAStateMachine(t *testing.T) { FILE: openapi/oauth/providers/user/user_role_type.go method GetUserRole (line 14) | func (u *DefaultUser) GetUserRole(ctx context.Context, userID string) (m... method SetUserRole (line 61) | func (u *DefaultUser) SetUserRole(ctx context.Context, userID string, ro... method ClearUserRole (line 123) | func (u *DefaultUser) ClearUserRole(ctx context.Context, userID string) ... method UserHasRole (line 163) | func (u *DefaultUser) UserHasRole(ctx context.Context, userID string) (b... method GetUserType (line 187) | func (u *DefaultUser) GetUserType(ctx context.Context, userID string) (m... method SetUserType (line 234) | func (u *DefaultUser) SetUserType(ctx context.Context, userID string, ty... method ClearUserType (line 296) | func (u *DefaultUser) ClearUserType(ctx context.Context, userID string) ... method UserHasType (line 336) | func (u *DefaultUser) UserHasType(ctx context.Context, userID string) (b... method ValidateUserScope (line 360) | func (u *DefaultUser) ValidateUserScope(ctx context.Context, userID stri... FILE: openapi/oauth/providers/user/user_role_type_test.go function TestUserRoleOperations (line 14) | func TestUserRoleOperations(t *testing.T) { function TestUserTypeOperations (line 148) | func TestUserTypeOperations(t *testing.T) { function TestValidateUserScope (line 285) | func TestValidateUserScope(t *testing.T) { function TestUserRoleErrorHandling (line 501) | func TestUserRoleErrorHandling(t *testing.T) { function TestUserRoleIntegration (line 672) | func TestUserRoleIntegration(t *testing.T) { FILE: openapi/oauth/providers/user/user_test.go type TestUserData (line 16) | type TestUserData struct function prepare (line 62) | func prepare(t *testing.T) { function clean (line 82) | func clean() { function cleanupTestData (line 94) | func cleanupTestData() { function setupTestUser (line 179) | func setupTestUser(t *testing.T, ctx context.Context, userData *TestUser... function createTestUserData (line 204) | func createTestUserData(id string) *TestUserData { FILE: openapi/oauth/providers/user/utils.go method GenerateUserID (line 20) | func (u *DefaultUser) GenerateUserID(ctx context.Context, safe ...bool) ... method generateUserID (line 62) | func (u *DefaultUser) generateUserID() (string, error) { method generateInvitationID (line 90) | func (u *DefaultUser) generateInvitationID() (string, error) { method generateMemberID (line 119) | func (u *DefaultUser) generateMemberID() (string, error) { method generateMemberIDWithRetry (line 147) | func (u *DefaultUser) generateMemberIDWithRetry(ctx context.Context) (st... method memberIDExists (line 174) | func (u *DefaultUser) memberIDExists(ctx context.Context, memberID strin... method userIDExists (line 192) | func (u *DefaultUser) userIDExists(ctx context.Context, userID string) (... method GetOAuthUserID (line 210) | func (u *DefaultUser) GetOAuthUserID(ctx context.Context, provider strin... function generateNanoID (line 238) | func generateNanoID(length int) (string, error) { function generateNumericID (line 245) | func generateNumericID(length int) (string, error) { function generateUUID (line 253) | func generateUUID() (string, error) { function generateRandomPassword (line 258) | func generateRandomPassword(length int) (string, error) { function parseTimeFromDB (line 274) | func parseTimeFromDB(value interface{}) (*time.Time, error) { function parseIntFromDB (line 306) | func parseIntFromDB(value interface{}) (int64, error) { function checkTimeExpired (line 345) | func checkTimeExpired(value interface{}) (bool, error) { FILE: openapi/oauth/providers/user/utils_test.go function TestGenerateUserID (line 14) | func TestGenerateUserID(t *testing.T) { function TestNanoIDGeneration (line 154) | func TestNanoIDGeneration(t *testing.T) { function TestUUIDGeneration (line 198) | func TestUUIDGeneration(t *testing.T) { function TestRandomPasswordGeneration (line 242) | func TestRandomPasswordGeneration(t *testing.T) { function TestIDStrategyConfiguration (line 320) | func TestIDStrategyConfiguration(t *testing.T) { FILE: openapi/oauth/security.go method GenerateCodeChallenge (line 17) | func (s *Service) GenerateCodeChallenge(ctx context.Context, codeVerifie... method ValidateCodeChallenge (line 33) | func (s *Service) ValidateCodeChallenge(ctx context.Context, codeVerifie... method ValidateStateParameter (line 48) | func (s *Service) ValidateStateParameter(ctx context.Context, state stri... method GenerateStateParameter (line 99) | func (s *Service) GenerateStateParameter(ctx context.Context, clientID s... method ValidateRedirectURI (line 137) | func (s *Service) ValidateRedirectURI(ctx context.Context, redirectURI s... method ValidateRedirectURIForClient (line 161) | func (s *Service) ValidateRedirectURIForClient(ctx context.Context, clie... method PushAuthorizationRequest (line 167) | func (s *Service) PushAuthorizationRequest(ctx context.Context, request ... method stateParameterKey (line 233) | func (s *Service) stateParameterKey(clientID string, state string) string { method pushedAuthRequestKey (line 238) | func (s *Service) pushedAuthRequestKey(requestURI string) string { method generateRequestURI (line 243) | func (s *Service) generateRequestURI() string { FILE: openapi/oauth/security_test.go function TestGenerateCodeChallenge (line 18) | func TestGenerateCodeChallenge(t *testing.T) { function TestValidateCodeChallenge (line 62) | func TestValidateCodeChallenge(t *testing.T) { function TestGenerateStateParameter (line 108) | func TestGenerateStateParameter(t *testing.T) { function TestValidateStateParameter (line 153) | func TestValidateStateParameter(t *testing.T) { function TestValidateRedirectURI (line 222) | func TestValidateRedirectURI(t *testing.T) { function TestValidateRedirectURIForClient (line 295) | func TestValidateRedirectURIForClient(t *testing.T) { function TestPushAuthorizationRequest (line 329) | func TestPushAuthorizationRequest(t *testing.T) { function TestSecurityHelperMethods (line 445) | func TestSecurityHelperMethods(t *testing.T) { function TestSecurityIntegration (line 497) | func TestSecurityIntegration(t *testing.T) { function TestSecurityEdgeCases (line 565) | func TestSecurityEdgeCases(t *testing.T) { FILE: openapi/oauth/signing.go type SigningCertificates (line 26) | type SigningCertificates struct method ValidateCertificate (line 329) | func (c *SigningCertificates) ValidateCertificate() error { method GetPublicKey (line 353) | func (c *SigningCertificates) GetPublicKey() interface{} { method GetKeyID (line 361) | func (c *SigningCertificates) GetKeyID() string { method CleanupTemporaryCertificates (line 371) | func (c *SigningCertificates) CleanupTemporaryCertificates() error { function LoadSigningCertificates (line 50) | func LoadSigningCertificates(config *types.SigningConfig) (*SigningCerti... function loadExistingCertificates (line 75) | func loadExistingCertificates(certs *SigningCertificates, config *types.... function generateTemporaryCertificates (line 158) | func generateTemporaryCertificates(config *types.SigningConfig) (*Signin... function loadVerificationCertificates (line 255) | func loadVerificationCertificates(certPaths []string) ([]*x509.Certifica... function loadCertificateFromFile (line 270) | func loadCertificateFromFile(certPath string) (*x509.Certificate, error) { function parsePrivateKey (line 290) | func parsePrivateKey(der []byte) (interface{}, error) { function fileExists (line 310) | func fileExists(filename string) bool { function getSystemCertificateDirectory (line 316) | func getSystemCertificateDirectory() string { method GetSigningCertificates (line 400) | func (s *Service) GetSigningCertificates() *SigningCertificates { method GetSigningKey (line 405) | func (s *Service) GetSigningKey() interface{} { method GetSigningCertificate (line 413) | func (s *Service) GetSigningCertificate() interface{} { method GetSigningAlgorithm (line 421) | func (s *Service) GetSigningAlgorithm() string { method GetKeyID (line 429) | func (s *Service) GetKeyID() string { method SignToken (line 438) | func (s *Service) SignToken(tokenType, clientID, scope, subject string, ... method VerifyToken (line 456) | func (s *Service) VerifyToken(token string) (*types.TokenClaims, error) { method VerifyTokenAllowExpired (line 465) | func (s *Service) VerifyTokenAllowExpired(token string) (*types.TokenCla... method VerifyRefreshToken (line 474) | func (s *Service) VerifyRefreshToken(token string) (*types.TokenClaims, ... method verifyOpaqueRefreshToken (line 483) | func (s *Service) verifyOpaqueRefreshToken(token string) (*types.TokenCl... method SignIDToken (line 516) | func (s *Service) SignIDToken(clientID, scope string, expiresIn int, use... method signJWTToken (line 725) | func (s *Service) signJWTToken(tokenType, clientID, scope, subject strin... method verifyJWTToken (line 764) | func (s *Service) verifyJWTToken(tokenString string) (*types.TokenClaims... method verifyJWTTokenAllowExpired (line 770) | func (s *Service) verifyJWTTokenAllowExpired(tokenString string) (*types... method parseJWTToken (line 776) | func (s *Service) parseJWTToken(tokenString string, allowExpired bool) (... method extractTokenClaims (line 811) | func (s *Service) extractTokenClaims(mapClaims jwt.MapClaims) *types.Tok... method signOpaqueToken (line 876) | func (s *Service) signOpaqueToken(tokenType, clientID, scope, subject st... method verifyOpaqueToken (line 899) | func (s *Service) verifyOpaqueToken(token string) (*types.TokenClaims, e... method signData (line 957) | func (s *Service) signData(data []byte) ([]byte, error) { method verifySignature (line 977) | func (s *Service) verifySignature(data []byte, signature []byte) error { method generateOpaqueTokenBase (line 997) | func (s *Service) generateOpaqueTokenBase(tokenType, clientID string) (s... function getSigningMethod (line 1012) | func getSigningMethod(algorithm string) jwt.SigningMethod { function generateJTI (line 1032) | func generateJTI() string { FILE: openapi/oauth/token.go method Introspect (line 18) | func (s *Service) Introspect(ctx context.Context, token string) (*types.... method introspectFromStore (line 46) | func (s *Service) introspectFromStore(token string) (*types.TokenIntrosp... method TokenExchange (line 95) | func (s *Service) TokenExchange(ctx context.Context, subjectToken string... method ValidateTokenAudience (line 172) | func (s *Service) ValidateTokenAudience(ctx context.Context, token strin... method ValidateTokenBinding (line 207) | func (s *Service) ValidateTokenBinding(ctx context.Context, token string... method MakeAccessToken (line 252) | func (s *Service) MakeAccessToken(clientID, scope, subject string, expir... method MakeRefreshToken (line 261) | func (s *Service) MakeRefreshToken(clientID, scope, subject string, expi... method Subject (line 270) | func (s *Service) Subject(clientID, userID string) (string, error) { method UserID (line 308) | func (s *Service) UserID(clientID, subject string) (string, error) { method copyFingerprint (line 326) | func (s *Service) copyFingerprint(srcClientID, dstClientID, subject stri... method validateAudience (line 346) | func (s *Service) validateAudience(audience string) error { method generateAccessToken (line 364) | func (s *Service) generateAccessToken(clientID string) (string, error) { method generateAccessTokenWithScope (line 370) | func (s *Service) generateAccessTokenWithScope(clientID, scope, subject ... method storeAccessToken (line 395) | func (s *Service) storeAccessToken(accessToken, clientID string, scope s... method getAccessTokenData (line 419) | func (s *Service) getAccessTokenData(accessToken string) (map[string]int... method revokeAccessToken (line 450) | func (s *Service) revokeAccessToken(accessToken string) error { method generateRefreshToken (line 456) | func (s *Service) generateRefreshToken(clientID, scope, subject string, ... method generateAuthorizationCodeWithInfo (line 472) | func (s *Service) generateAuthorizationCodeWithInfo(clientID, state, sco... method storeAuthorizationCode (line 488) | func (s *Service) storeAuthorizationCode(code, clientID, state, scope, c... method getAuthorizationCodeData (line 522) | func (s *Service) getAuthorizationCodeData(code string) (map[string]inte... method consumeAuthorizationCode (line 553) | func (s *Service) consumeAuthorizationCode(code string) error { method deviceCodeKey (line 559) | func (s *Service) deviceCodeKey(code string) string { method userCodeKey (line 564) | func (s *Service) userCodeKey(code string) string { method storeDeviceCode (line 569) | func (s *Service) storeDeviceCode(deviceCode, userCode, clientID, scope ... method getDeviceCodeData (line 591) | func (s *Service) getDeviceCodeData(deviceCode string) (map[string]inter... method authorizeDeviceCode (line 615) | func (s *Service) authorizeDeviceCode(userCode, subject string, extraCla... method consumeDeviceCode (line 668) | func (s *Service) consumeDeviceCode(deviceCode string) error { method storeRefreshToken (line 680) | func (s *Service) storeRefreshToken(refreshToken, clientID string) error { method storeRefreshTokenWithScope (line 691) | func (s *Service) storeRefreshTokenWithScope(refreshToken, clientID, sco... method getRefreshTokenData (line 714) | func (s *Service) getRefreshTokenData(refreshToken string) (map[string]i... method revokeRefreshToken (line 745) | func (s *Service) revokeRefreshToken(refreshToken string) error { method authorizationCodeKey (line 751) | func (s *Service) authorizationCodeKey(code string) string { method refreshTokenKey (line 756) | func (s *Service) refreshTokenKey(refreshToken string) string { method accessTokenKey (line 761) | func (s *Service) accessTokenKey(accessToken string) string { method userFingerprintKey (line 766) | func (s *Service) userFingerprintKey(clientID, nanoID string) string { method userMappingKey (line 771) | func (s *Service) userMappingKey(clientID, userID string) string { method generateExchangedToken (line 776) | func (s *Service) generateExchangedToken(subjectToken string, audience s... method generateToken (line 792) | func (s *Service) generateToken(tokenType string, clientID string) (stri... function generateNumericID (line 817) | func generateNumericID(length int) (string, error) { method DeleteUserFingerprint (line 829) | func (s *Service) DeleteUserFingerprint(clientID, nanoID string) error { FILE: openapi/oauth/token_test.go function TestIntrospect (line 16) | func TestIntrospect(t *testing.T) { function TestTokenExchange (line 109) | func TestTokenExchange(t *testing.T) { function TestValidateTokenAudience (line 288) | func TestValidateTokenAudience(t *testing.T) { function TestValidateTokenBinding (line 383) | func TestValidateTokenBinding(t *testing.T) { function TestValidateAudience (line 520) | func TestValidateAudience(t *testing.T) { function TestTokenGeneration (line 558) | func TestTokenGeneration(t *testing.T) { function TestTokenIntegration (line 657) | func TestTokenIntegration(t *testing.T) { function TestTokenEdgeCases (line 737) | func TestTokenEdgeCases(t *testing.T) { FILE: openapi/oauth/types/authorized.go method CreateAccessScope (line 9) | func (info *AuthorizedInfo) CreateAccessScope() *model.AccessScope { method UpdateAccessScope (line 32) | func (info *AuthorizedInfo) UpdateAccessScope() *model.AccessScope { method AccessScope (line 57) | func (info *AuthorizedInfo) AccessScope() *model.AccessScope { method WithCreateScope (line 82) | func (info *AuthorizedInfo) WithCreateScope(data interface{}) map[string... method WithUpdateScope (line 103) | func (info *AuthorizedInfo) WithUpdateScope(data interface{}) map[string... function CopyCreateScope (line 125) | func CopyCreateScope(source, dest interface{}) map[string]interface{} { function CopyUpdateScope (line 146) | func CopyUpdateScope(source, dest interface{}) map[string]interface{} { function convertToMap (line 164) | func convertToMap(data interface{}) map[string]interface{} { FILE: openapi/oauth/types/authorized_test.go function TestCreateAccessScope (line 9) | func TestCreateAccessScope(t *testing.T) { function TestCreateAccessScopeNil (line 24) | func TestCreateAccessScopeNil(t *testing.T) { function TestCreateAccessScopePartial (line 30) | func TestCreateAccessScopePartial(t *testing.T) { function TestUpdateAccessScope (line 43) | func TestUpdateAccessScope(t *testing.T) { function TestUpdateAccessScopeNil (line 58) | func TestUpdateAccessScopeNil(t *testing.T) { function TestAccessScope (line 64) | func TestAccessScope(t *testing.T) { function TestAccessScopeNil (line 79) | func TestAccessScopeNil(t *testing.T) { function TestAccessScopeEmptyFields (line 85) | func TestAccessScopeEmptyFields(t *testing.T) { function TestAccessScopeOnlyUser (line 95) | func TestAccessScopeOnlyUser(t *testing.T) { function TestAccessScopeOnlyTeam (line 108) | func TestAccessScopeOnlyTeam(t *testing.T) { function TestAccessScopeIntegration (line 122) | func TestAccessScopeIntegration(t *testing.T) { function TestWithCreateScope (line 153) | func TestWithCreateScope(t *testing.T) { function TestWithCreateScopeNil (line 174) | func TestWithCreateScopeNil(t *testing.T) { function TestWithCreateScopePartial (line 186) | func TestWithCreateScopePartial(t *testing.T) { function TestWithUpdateScope (line 202) | func TestWithUpdateScope(t *testing.T) { function TestWithUpdateScopeNil (line 223) | func TestWithUpdateScopeNil(t *testing.T) { function TestWithScopesIntegration (line 235) | func TestWithScopesIntegration(t *testing.T) { function TestCopyCreateScope (line 267) | func TestCopyCreateScope(t *testing.T) { function TestCopyCreateScopePartial (line 291) | func TestCopyCreateScopePartial(t *testing.T) { function TestCopyCreateScopeEmpty (line 308) | func TestCopyCreateScopeEmpty(t *testing.T) { function TestCopyUpdateScope (line 324) | func TestCopyUpdateScope(t *testing.T) { function TestCopyUpdateScopePartial (line 348) | func TestCopyUpdateScopePartial(t *testing.T) { function TestCopyUpdateScopeEmpty (line 366) | func TestCopyUpdateScopeEmpty(t *testing.T) { function TestCopyCreateScopeRealWorld (line 382) | func TestCopyCreateScopeRealWorld(t *testing.T) { function TestCopyScopesIntegration (line 423) | func TestCopyScopesIntegration(t *testing.T) { function TestAuthorizedToMap (line 466) | func TestAuthorizedToMap(t *testing.T) { FILE: openapi/oauth/types/interfaces.go type OAuth (line 12) | type OAuth interface type UserProvider (line 148) | type UserProvider interface type ClientProvider (line 363) | type ClientProvider interface FILE: openapi/oauth/types/oidc.go method Map (line 8) | func (user OIDCUserInfo) Map() map[string]interface{} { function MakeOIDCUserInfo (line 202) | func MakeOIDCUserInfo(user map[string]interface{}) *OIDCUserInfo { function unixToMySQL (line 388) | func unixToMySQL(val interface{}) interface{} { function mysqlToUnix (line 414) | func mysqlToUnix(val interface{}) interface{} { function toUnixTimestamp (line 450) | func toUnixTimestamp(val interface{}) interface{} { FILE: openapi/oauth/types/types.go type LoginContext (line 10) | type LoginContext struct type MFAOptions (line 23) | type MFAOptions struct type ErrorResponse (line 35) | type ErrorResponse struct method Error (line 48) | func (e *ErrorResponse) Error() string { constant GrantTypeAuthorizationCode (line 57) | GrantTypeAuthorizationCode = "authorization_code" constant GrantTypeClientCredentials (line 58) | GrantTypeClientCredentials = "client_credentials" constant GrantTypeRefreshToken (line 59) | GrantTypeRefreshToken = "refresh_token" constant GrantTypeDeviceCode (line 60) | GrantTypeDeviceCode = "urn:ietf:params:oauth:grant-type:device_code" constant GrantTypeTokenExchange (line 61) | GrantTypeTokenExchange = "urn:ietf:params:oauth:grant-type:token-exc... constant ResponseTypeCode (line 66) | ResponseTypeCode = "code" constant ResponseTypeToken (line 67) | ResponseTypeToken = "token" constant ResponseTypeIDToken (line 68) | ResponseTypeIDToken = "id_token" constant TokenTypeBearer (line 73) | TokenTypeBearer = "Bearer" constant TokenTypeMAC (line 74) | TokenTypeMAC = "MAC" constant TokenTypeDPoP (line 75) | TokenTypeDPoP = "DPoP" constant ClientTypeConfidential (line 80) | ClientTypeConfidential = "confidential" constant ClientTypePublic (line 81) | ClientTypePublic = "public" constant ClientTypeCredentialed (line 82) | ClientTypeCredentialed = "credentialed" constant CodeChallengeMethodS256 (line 87) | CodeChallengeMethodS256 = "S256" constant CodeChallengeMethodPlain (line 88) | CodeChallengeMethodPlain = "plain" constant ErrorInvalidRequest (line 93) | ErrorInvalidRequest = "invalid_request" constant ErrorInvalidClient (line 94) | ErrorInvalidClient = "invalid_client" constant ErrorInvalidGrant (line 95) | ErrorInvalidGrant = "invalid_grant" constant ErrorUnauthorizedClient (line 96) | ErrorUnauthorizedClient = "unauthorized_client" constant ErrorUnsupportedGrantType (line 97) | ErrorUnsupportedGrantType = "unsupported_grant_type" constant ErrorInvalidScope (line 98) | ErrorInvalidScope = "invalid_scope" constant ErrorAccessDenied (line 99) | ErrorAccessDenied = "access_denied" constant ErrorUnsupportedResponseType (line 100) | ErrorUnsupportedResponseType = "unsupported_response_type" constant ErrorServerError (line 101) | ErrorServerError = "server_error" constant ErrorTemporarilyUnavailable (line 102) | ErrorTemporarilyUnavailable = "temporarily_unavailable" constant ErrorInvalidToken (line 103) | ErrorInvalidToken = "invalid_token" constant ErrorInsufficientScope (line 104) | ErrorInsufficientScope = "insufficient_scope" constant ErrorExpiredToken (line 105) | ErrorExpiredToken = "expired_token" constant ErrorAuthorizationPending (line 106) | ErrorAuthorizationPending = "authorization_pending" constant ErrorSlowDown (line 107) | ErrorSlowDown = "slow_down" constant TokenBindingTypeDPoP (line 112) | TokenBindingTypeDPoP = "dpop" constant TokenBindingTypeMTLS (line 113) | TokenBindingTypeMTLS = "mtls" constant TokenBindingTypeCertificate (line 114) | TokenBindingTypeCertificate = "certificate" constant ApplicationTypeWeb (line 119) | ApplicationTypeWeb = "web" constant ApplicationTypeNative (line 120) | ApplicationTypeNative = "native" constant TokenEndpointAuthNone (line 125) | TokenEndpointAuthNone = "none" constant TokenEndpointAuthPost (line 126) | TokenEndpointAuthPost = "client_secret_post" constant TokenEndpointAuthBasic (line 127) | TokenEndpointAuthBasic = "client_secret_basic" constant TokenEndpointAuthJWT (line 128) | TokenEndpointAuthJWT = "client_secret_jwt" constant TokenEndpointAuthPrivateKeyJWT (line 129) | TokenEndpointAuthPrivateKeyJWT = "private_key_jwt" constant TokenEndpointAuthTLSClientAuth (line 130) | TokenEndpointAuthTLSClientAuth = "tls_client_auth" constant TokenEndpointAuthSelfSignedTLS (line 131) | TokenEndpointAuthSelfSignedTLS = "self_signed_tls_client_auth" constant UserStatusPending (line 136) | UserStatusPending = "pending" constant UserStatusActive (line 137) | UserStatusActive = "active" constant UserStatusDisabled (line 138) | UserStatusDisabled = "disabled" constant UserStatusSuspended (line 139) | UserStatusSuspended = "suspended" constant UserStatusLocked (line 140) | UserStatusLocked = "locked" constant UserStatusPasswordExpired (line 141) | UserStatusPasswordExpired = "password_expired" constant UserStatusEmailUnverified (line 142) | UserStatusEmailUnverified = "email_unverified" constant UserStatusArchived (line 143) | UserStatusArchived = "archived" constant MFAAlgorithmSHA1 (line 148) | MFAAlgorithmSHA1 = "SHA1" constant MFAAlgorithmSHA256 (line 149) | MFAAlgorithmSHA256 = "SHA256" constant MFAAlgorithmSHA512 (line 150) | MFAAlgorithmSHA512 = "SHA512" constant ProviderLocal (line 155) | ProviderLocal = "local" constant ProviderGoogle (line 156) | ProviderGoogle = "google" constant ProviderApple (line 157) | ProviderApple = "apple" constant ProviderGitHub (line 158) | ProviderGitHub = "github" constant ProviderMicrosoft (line 159) | ProviderMicrosoft = "microsoft" constant ProviderWeChat (line 160) | ProviderWeChat = "wechat" constant ProviderGeneric (line 161) | ProviderGeneric = "generic" constant IdentifierTypeUserID (line 166) | IdentifierTypeUserID = "user_id" constant IdentifierTypeSubject (line 167) | IdentifierTypeSubject = "subject" constant IdentifierTypePreferredUsername (line 168) | IdentifierTypePreferredUsername = "preferred_username" constant IdentifierTypeEmail (line 169) | IdentifierTypeEmail = "email" constant IdentifierTypePhoneNumber (line 170) | IdentifierTypePhoneNumber = "phone_number" constant LoginMethodPassword (line 175) | LoginMethodPassword = "password" constant LoginMethodOAuth (line 176) | LoginMethodOAuth = "oauth" constant LoginMethodMFA (line 177) | LoginMethodMFA = "mfa" constant LoginMethodRecovery (line 178) | LoginMethodRecovery = "recovery" constant LoginMethodSSO (line 179) | LoginMethodSSO = "sso" constant ResponseModeQuery (line 184) | ResponseModeQuery = "query" constant ResponseModeFragment (line 185) | ResponseModeFragment = "fragment" constant ResponseModeFormPost (line 186) | ResponseModeFormPost = "form_post" constant ScopeOpenID (line 191) | ScopeOpenID = "openid" constant ScopeProfile (line 192) | ScopeProfile = "profile" constant ScopeEmail (line 193) | ScopeEmail = "email" constant ScopeAddress (line 194) | ScopeAddress = "address" constant ScopePhone (line 195) | ScopePhone = "phone" constant ScopeOffline (line 196) | ScopeOffline = "offline_access" constant MCPResourceParameter (line 201) | MCPResourceParameter = "resource" constant MCPBearerTokenHeader (line 202) | MCPBearerTokenHeader = "Authorization" constant MCPBearerTokenPrefix (line 203) | MCPBearerTokenPrefix = "Bearer " constant WWWAuthenticateSchemeBearer (line 208) | WWWAuthenticateSchemeBearer = "Bearer" constant WWWAuthenticateSchemeBasic (line 209) | WWWAuthenticateSchemeBasic = "Basic" constant WWWAuthenticateSchemeDPoP (line 210) | WWWAuthenticateSchemeDPoP = "DPoP" type Token (line 214) | type Token struct type RefreshTokenResponse (line 229) | type RefreshTokenResponse struct type DeviceAuthorizationResponse (line 238) | type DeviceAuthorizationResponse struct type ClientInfo (line 248) | type ClientInfo struct type AuthorizationServerMetadata (line 272) | type AuthorizationServerMetadata struct type ProtectedResourceMetadata (line 301) | type ProtectedResourceMetadata struct type TokenIntrospectionResponse (line 310) | type TokenIntrospectionResponse struct type PushedAuthorizationRequest (line 326) | type PushedAuthorizationRequest struct type PushedAuthorizationResponse (line 340) | type PushedAuthorizationResponse struct type TokenExchangeResponse (line 346) | type TokenExchangeResponse struct type DynamicClientRegistrationRequest (line 356) | type DynamicClientRegistrationRequest struct type DynamicClientRegistrationResponse (line 384) | type DynamicClientRegistrationResponse struct type WWWAuthenticateChallenge (line 395) | type WWWAuthenticateChallenge struct type StateParameter (line 407) | type StateParameter struct type TokenBinding (line 415) | type TokenBinding struct type ResourceParameter (line 426) | type ResourceParameter struct type ValidationResult (line 435) | type ValidationResult struct type AuthorizationRequest (line 442) | type AuthorizationRequest struct type AuthorizationResponse (line 455) | type AuthorizationResponse struct type JWKSResponse (line 463) | type JWKSResponse struct type JWK (line 468) | type JWK struct type SigningConfig (line 498) | type SigningConfig struct type TokenConfig (line 518) | type TokenConfig struct type SecurityConfig (line 549) | type SecurityConfig struct type TokenClaims (line 586) | type TokenClaims struct type DataConstraints (line 607) | type DataConstraints struct type AuthorizedInfo (line 620) | type AuthorizedInfo struct method AuthorizedToMap (line 640) | func (auth *AuthorizedInfo) AuthorizedToMap() map[string]interface{} { type JWTClaims (line 697) | type JWTClaims struct type ClientConfig (line 709) | type ClientConfig struct type OIDCIDToken (line 736) | type OIDCIDToken struct type OIDCUserInfo (line 757) | type OIDCUserInfo struct type OIDCTeamInfo (line 798) | type OIDCTeamInfo struct type OIDCTypeInfo (line 808) | type OIDCTypeInfo struct type OIDCMemberInfo (line 815) | type OIDCMemberInfo struct type OIDCAddress (line 824) | type OIDCAddress struct FILE: openapi/oauth/types/utils.go function Contains (line 4) | func Contains(slice []string, item string) bool { FILE: openapi/oauth/user.go method UserInfo (line 8) | func (s *Service) UserInfo(ctx context.Context, accessToken string) (int... FILE: openapi/openapi.go type OpenAPI (line 42) | type OpenAPI struct method Attach (line 105) | func (openapi *OpenAPI) Attach(router *gin.Engine) { function Load (line 48) | func Load(appConfig config.Config) (*OpenAPI, error) { FILE: openapi/otp/generate.go method Create (line 11) | func (s *Service) Create(params *GenerateParams) (string, error) { function validateCreateParams (line 56) | func validateCreateParams(p *GenerateParams) error { FILE: openapi/otp/handler.go type OTPCreateRequest (line 19) | type OTPCreateRequest struct type OTPLoginRequest (line 30) | type OTPLoginRequest struct function Attach (line 39) | func Attach(group *gin.RouterGroup, auth types.OAuth) { function GinOTPCreate (line 47) | func GinOTPCreate(c *gin.Context) { function GinOTPLogin (line 113) | func GinOTPLogin(c *gin.Context) { function validateTeamMembership (line 186) | func validateTeamMembership(teamID, userID, memberID string) error { FILE: openapi/otp/login.go method Login (line 16) | func (s *Service) Login(code string, locale string) (*LoginResult, error) { method resolveIdentity (line 61) | func (s *Service) resolveIdentity(payload *Payload) (userID string, team... FILE: openapi/otp/otp.go constant defaultExpiresIn (line 14) | defaultExpiresIn = 24 * 60 * 60 constant storeKeyInfix (line 15) | storeKeyInfix = "oauth:otp:" constant codeAlphabet (line 16) | codeAlphabet = "23456789abcdefghjkmnpqrstuvwxyz" constant codeLength (line 17) | codeLength = 12 constant maxCollisionRetry (line 18) | maxCollisionRetry = 5 type Service (line 22) | type Service struct method storeKey (line 71) | func (s *Service) storeKey(code string) string { type Payload (line 28) | type Payload struct type GenerateParams (line 39) | type GenerateParams struct type LoginResult (line 51) | type LoginResult struct function NewService (line 65) | func NewService(s store.Store, prefix string) *Service { function ttl (line 76) | func ttl(expiresIn int) time.Duration { FILE: openapi/otp/process.go function init (line 9) | func init() { function processCreate (line 22) | func processCreate(p *process.Process) interface{} { function processVerify (line 53) | func processVerify(p *process.Process) interface{} { function processLogin (line 66) | func processLogin(p *process.Process) interface{} { function processRevoke (line 84) | func processRevoke(p *process.Process) interface{} { FILE: openapi/otp/revoke.go method Revoke (line 5) | func (s *Service) Revoke(code string) error { FILE: openapi/otp/verify.go method Verify (line 10) | func (s *Service) Verify(code string) (*Payload, error) { function coercePayload (line 26) | func coercePayload(val interface{}) (*Payload, error) { FILE: openapi/response/response.go function SetSecureCookieEnabled (line 18) | func SetSecureCookieEnabled(enabled *bool) { function IsSecureCookieEnabled (line 24) | func IsSecureCookieEnabled() bool { function GetCookieName (line 30) | func GetCookieName(name string) string { constant StatusOK (line 156) | StatusOK = http.StatusOK constant StatusCreated (line 157) | StatusCreated = http.StatusCreated constant StatusNoContent (line 158) | StatusNoContent = http.StatusNoContent constant StatusBadRequest (line 161) | StatusBadRequest = http.StatusBadRequest constant StatusUnauthorized (line 162) | StatusUnauthorized = http.StatusUnauthorized constant StatusForbidden (line 163) | StatusForbidden = http.StatusForbidden constant StatusNotFound (line 164) | StatusNotFound = http.StatusNotFound constant StatusMethodNotAllowed (line 165) | StatusMethodNotAllowed = http.StatusMethodNotAllowed constant StatusNotAcceptable (line 166) | StatusNotAcceptable = http.StatusNotAcceptable constant StatusConflict (line 167) | StatusConflict = http.StatusConflict constant StatusUnprocessableEntity (line 168) | StatusUnprocessableEntity = http.StatusUnprocessableEntity constant StatusInternalServerError (line 171) | StatusInternalServerError = http.StatusInternalServerError constant StatusNotImplemented (line 172) | StatusNotImplemented = http.StatusNotImplemented constant StatusBadGateway (line 173) | StatusBadGateway = http.StatusBadGateway constant StatusServiceUnavailable (line 174) | StatusServiceUnavailable = http.StatusServiceUnavailable function SetOAuthSecurityHeaders (line 179) | func SetOAuthSecurityHeaders(c *gin.Context) { function SetJSONContentType (line 188) | func SetJSONContentType(c *gin.Context) { function RespondWithSuccess (line 193) | func RespondWithSuccess(c *gin.Context, statusCode int, data interface{}) { function RespondWithError (line 199) | func RespondWithError(c *gin.Context, statusCode int, err *ErrorResponse) { type SecureCookieOptions (line 211) | type SecureCookieOptions struct method WithMaxAge (line 243) | func (o *SecureCookieOptions) WithMaxAge(maxAge int) *SecureCookieOpti... method WithExpires (line 249) | func (o *SecureCookieOptions) WithExpires(expires time.Time) *SecureCo... method WithDuration (line 255) | func (o *SecureCookieOptions) WithDuration(duration time.Duration) *Se... method WithPath (line 263) | func (o *SecureCookieOptions) WithPath(path string) *SecureCookieOptio... method WithDomain (line 269) | func (o *SecureCookieOptions) WithDomain(domain string) *SecureCookieO... method WithSameSite (line 275) | func (o *SecureCookieOptions) WithSameSite(sameSite string) *SecureCoo... method WithSecurePrefix (line 281) | func (o *SecureCookieOptions) WithSecurePrefix() *SecureCookieOptions { method WithoutPrefix (line 288) | func (o *SecureCookieOptions) WithoutPrefix() *SecureCookieOptions { function NewSecureCookieOptions (line 232) | func NewSecureCookieOptions() *SecureCookieOptions { function SendSecretCookie (line 296) | func SendSecretCookie(c *gin.Context, key string, value string) { function SendSecureCookieWithOptions (line 308) | func SendSecureCookieWithOptions(c *gin.Context, key string, value strin... function SendSessionCookie (line 378) | func SendSessionCookie(c *gin.Context, sessionID string) { function SendAccessTokenCookie (line 384) | func SendAccessTokenCookie(c *gin.Context, accessToken string, maxAge in... function SendAccessTokenCookieWithExpiry (line 392) | func SendAccessTokenCookieWithExpiry(c *gin.Context, accessToken string,... function SendAccessTokenCookieWithDuration (line 400) | func SendAccessTokenCookieWithDuration(c *gin.Context, accessToken strin... function SendRefreshTokenCookie (line 408) | func SendRefreshTokenCookie(c *gin.Context, refreshToken string, maxAge ... function SendRefreshTokenCookieWithExpiry (line 417) | func SendRefreshTokenCookieWithExpiry(c *gin.Context, refreshToken strin... function SendRefreshTokenCookieWithDuration (line 426) | func SendRefreshTokenCookieWithDuration(c *gin.Context, refreshToken str... function DeleteSecureCookie (line 435) | func DeleteSecureCookie(c *gin.Context, key string) { function DeleteAllAuthCookies (line 441) | func DeleteAllAuthCookies(c *gin.Context) { constant SessionCookie (line 455) | SessionCookie = 0 constant OneHour (line 457) | OneHour = 1 * time.Hour constant TwoHours (line 458) | TwoHours = 2 * time.Hour constant SixHours (line 459) | SixHours = 6 * time.Hour constant TwelveHours (line 460) | TwelveHours = 12 * time.Hour constant OneDay (line 462) | OneDay = 24 * time.Hour constant OneWeek (line 463) | OneWeek = 7 * 24 * time.Hour constant TwoWeeks (line 464) | TwoWeeks = 14 * 24 * time.Hour constant OneMonth (line 466) | OneMonth = 30 * 24 * time.Hour constant ThreeMonths (line 467) | ThreeMonths = 90 * 24 * time.Hour constant SixMonths (line 468) | SixMonths = 180 * 24 * time.Hour constant OneYear (line 469) | OneYear = 365 * 24 * time.Hour function RespondWithAuthorizationError (line 473) | func RespondWithAuthorizationError(c *gin.Context, redirectURI string, e... function AddWWWAuthenticateHeader (line 502) | func AddWWWAuthenticateHeader(c *gin.Context, err *ErrorResponse) { function RespondWithSecureSuccess (line 533) | func RespondWithSecureSuccess(c *gin.Context, statusCode int, data inter... function RespondWithSecureError (line 540) | func RespondWithSecureError(c *gin.Context, statusCode int, err *ErrorRe... FILE: openapi/sandbox/manage.go function AttachManage (line 27) | func AttachManage(group *gin.RouterGroup, oauth types.OAuth) { function resolveOwner (line 37) | func resolveOwner(authInfo *types.AuthorizedInfo) string { type createSandboxRequest (line 49) | type createSandboxRequest struct type execRequest (line 66) | type execRequest struct type heartbeatRequest (line 73) | type heartbeatRequest struct type sandboxSystemInfo (line 78) | type sandboxSystemInfo struct type sandboxResponse (line 88) | type sandboxResponse struct function boxToResponse (line 108) | func boxToResponse(b *sandboxv2.Box) sandboxResponse { function hostToResponse (line 162) | func hostToResponse(s taitypes.NodeMeta) sandboxResponse { function nodeOwnedBy (line 214) | func nodeOwnedBy(snap *taitypes.NodeMeta, authInfo *types.AuthorizedInfo... function getManager (line 227) | func getManager(c *gin.Context) *sandboxv2.Manager { function checkBoxOwner (line 233) | func checkBoxOwner(c *gin.Context, box *sandboxv2.Box, owner string) bool { function handleList (line 247) | func handleList(c *gin.Context) { function handleCreate (line 300) | func handleCreate(c *gin.Context) { function handleGet (line 348) | func handleGet(c *gin.Context) { function handleRemove (line 374) | func handleRemove(c *gin.Context) { function handleExec (line 405) | func handleExec(c *gin.Context) { function handleHeartbeat (line 454) | func handleHeartbeat(c *gin.Context) { FILE: openapi/sandbox/sandbox.go function Attach (line 20) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function ensureProxy (line 35) | func ensureProxy() error { function handleVNCStatus (line 46) | func handleVNCStatus(c *gin.Context) { function handleVNCClient (line 62) | func handleVNCClient(c *gin.Context) { function handleVNCWebSocket (line 78) | func handleVNCWebSocket(c *gin.Context) { function Close (line 94) | func Close() error { function SetPathPrefix (line 106) | func SetPathPrefix(prefix string) { function GetVNCClientURL (line 114) | func GetVNCClientURL(sandboxID string) string { FILE: openapi/tai/proxy.go function handleLocalProxy (line 13) | func handleLocalProxy(c *gin.Context, taiID string) { FILE: openapi/tai/tai.go function Attach (line 13) | func Attach(group *gin.RouterGroup) { function handleProxy (line 18) | func handleProxy(c *gin.Context) { function handleVNC (line 27) | func handleVNC(c *gin.Context) { function isLocalNode (line 36) | func isLocalNode(taiID string) bool { FILE: openapi/tai/util.go function extractContainerID (line 13) | func extractContainerID(path string) string { function bridgeWebSocket (line 24) | func bridgeWebSocket(client, target *websocket.Conn) { function reverseProxy (line 57) | func reverseProxy(c *gin.Context, targetURL string) { FILE: openapi/tai/vnc.go function handleLocalVNC (line 19) | func handleLocalVNC(c *gin.Context, taiID string) { FILE: openapi/team/team.go function Attach (line 11) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function placeholder (line 15) | func placeholder(c *gin.Context) { FILE: openapi/tests/agent/assistant_create_test.go function TestCreateAssistant (line 16) | func TestCreateAssistant(t *testing.T) { function BenchmarkCreateAssistant (line 498) | func BenchmarkCreateAssistant(b *testing.B) { FILE: openapi/tests/agent/assistant_test.go function TestListAssistants (line 15) | func TestListAssistants(t *testing.T) { function TestAssistantEndpointsUnauthorized (line 497) | func TestAssistantEndpointsUnauthorized(t *testing.T) { function TestAssistantPermissionFiltering (line 536) | func TestAssistantPermissionFiltering(t *testing.T) { function TestAssistantResponseStructure (line 603) | func TestAssistantResponseStructure(t *testing.T) { function TestAssistantLocaleSupport (line 646) | func TestAssistantLocaleSupport(t *testing.T) { function TestAssistantEdgeCases (line 684) | func TestAssistantEdgeCases(t *testing.T) { function TestListAssistantTags (line 785) | func TestListAssistantTags(t *testing.T) { function TestGetAssistant (line 964) | func TestGetAssistant(t *testing.T) { function TestGetAssistantPermissionFiltering (line 1276) | func TestGetAssistantPermissionFiltering(t *testing.T) { function TestGetAssistantResponseStructure (line 1408) | func TestGetAssistantResponseStructure(t *testing.T) { function BenchmarkListAssistants (line 1487) | func BenchmarkListAssistants(b *testing.B) { function BenchmarkGetAssistant (line 1519) | func BenchmarkGetAssistant(b *testing.B) { FILE: openapi/tests/agent/assistant_update_test.go function TestUpdateAssistant (line 16) | func TestUpdateAssistant(t *testing.T) { function TestUpdateAssistantPermissions (line 784) | func TestUpdateAssistantPermissions(t *testing.T) { function BenchmarkUpdateAssistant (line 916) | func BenchmarkUpdateAssistant(b *testing.B) { FILE: openapi/tests/agent/models_test.go type ModelResponse (line 16) | type ModelResponse struct type ModelsListResponse (line 24) | type ModelsListResponse struct function TestListModels (line 30) | func TestListModels(t *testing.T) { function TestGetModelDetails (line 140) | func TestGetModelDetails(t *testing.T) { function TestModelIDFormat (line 285) | func TestModelIDFormat(t *testing.T) { function TestModelPermissions (line 369) | func TestModelPermissions(t *testing.T) { FILE: openapi/tests/agent/robot_execution_test.go function TestListExecutions (line 19) | func TestListExecutions(t *testing.T) { function TestGetExecution (line 166) | func TestGetExecution(t *testing.T) { function TestExecutionControl (line 220) | func TestExecutionControl(t *testing.T) { function TestExecutionPermissions (line 310) | func TestExecutionPermissions(t *testing.T) { function createRobot (line 371) | func createRobot(t *testing.T, serverURL, baseURL, token, robotID, displ... function createRobotWithTeam (line 390) | func createRobotWithTeam(t *testing.T, serverURL, baseURL, token, robotI... function deleteRobot (line 409) | func deleteRobot(t *testing.T, serverURL, baseURL, token, robotID string) { FILE: openapi/tests/agent/robot_host_test.go function TestRobotHostID (line 19) | func TestRobotHostID(t *testing.T) { function TestRobotExecute (line 91) | func TestRobotExecute(t *testing.T) { function TestRobotCompletionsMirrorAPI (line 212) | func TestRobotCompletionsMirrorAPI(t *testing.T) { function createTestRobotForHost (line 291) | func createTestRobotForHost(t *testing.T, serverURL, baseURL, token, rob... function deleteTestRobotForHost (line 309) | func deleteTestRobotForHost(t *testing.T, serverURL, baseURL, token, rob... FILE: openapi/tests/agent/robot_interact_test.go function TestInteractRobot (line 20) | func TestInteractRobot(t *testing.T) { function parseCUISSEMessages (line 268) | func parseCUISSEMessages(t *testing.T, resp *http.Response) []map[string... function findInteractDone (line 286) | func findInteractDone(messages []map[string]interface{}) map[string]inte... function createRobotForInteract (line 301) | func createRobotForInteract(t *testing.T, serverURL, baseURL, token, rob... function deleteRobotForInteract (line 344) | func deleteRobotForInteract(t *testing.T, serverURL, baseURL, token, rob... FILE: openapi/tests/agent/robot_results_activities_test.go function TestListResults (line 19) | func TestListResults(t *testing.T) { function TestGetResult (line 168) | func TestGetResult(t *testing.T) { function TestListActivities (line 232) | func TestListActivities(t *testing.T) { function TestResultsPermissions (line 437) | func TestResultsPermissions(t *testing.T) { FILE: openapi/tests/agent/robot_test.go function TestListRobots (line 18) | func TestListRobots(t *testing.T) { function TestCreateRobot (line 207) | func TestCreateRobot(t *testing.T) { function TestGetRobot (line 361) | func TestGetRobot(t *testing.T) { function TestUpdateRobot (line 435) | func TestUpdateRobot(t *testing.T) { function TestDeleteRobot (line 522) | func TestDeleteRobot(t *testing.T) { function TestGetRobotStatus (line 598) | func TestGetRobotStatus(t *testing.T) { function TestRobotPermissions (line 675) | func TestRobotPermissions(t *testing.T) { FILE: openapi/tests/agent/robot_trigger_test.go function TestTriggerRobot (line 19) | func TestTriggerRobot(t *testing.T) { function TestInterveneRobot (line 210) | func TestInterveneRobot(t *testing.T) { function TestTriggerPermissions (line 349) | func TestTriggerPermissions(t *testing.T) { function createRobotForTrigger (line 457) | func createRobotForTrigger(t *testing.T, serverURL, baseURL, token, robo... function createRobotWithTeamForTrigger (line 476) | func createRobotWithTeamForTrigger(t *testing.T, serverURL, baseURL, tok... function deleteRobotForTrigger (line 495) | func deleteRobotForTrigger(t *testing.T, serverURL, baseURL, token, robo... FILE: openapi/tests/chat/reference_test.go function createTestSearch (line 23) | func createTestSearch(t *testing.T, requestID, chatID, query, source str... function cleanupTestSearches (line 48) | func cleanupTestSearches(t *testing.T, chatID string) { function TestGetReferences (line 67) | func TestGetReferences(t *testing.T) { function TestGetReference (line 177) | func TestGetReference(t *testing.T) { function TestGetReferences_MultipleSearches (line 327) | func TestGetReferences_MultipleSearches(t *testing.T) { FILE: openapi/tests/chat/session_test.go function createTestChat (line 24) | func createTestChat(t *testing.T, title string, assistantID string) stri... function createTestMessage (line 50) | func createTestMessage(t *testing.T, chatID, role, msgType, content stri... function cleanupTestChat (line 79) | func cleanupTestChat(t *testing.T, chatID string) { function TestListChatSessions (line 98) | func TestListChatSessions(t *testing.T) { function TestGetChatSession (line 331) | func TestGetChatSession(t *testing.T) { function TestUpdateChatSession (line 406) | func TestUpdateChatSession(t *testing.T) { function TestDeleteChatSession (line 558) | func TestDeleteChatSession(t *testing.T) { function TestGetMessages (line 632) | func TestGetMessages(t *testing.T) { FILE: openapi/tests/config_test.go function TestConfigUnmarshalJSON_TimeParsingCorrect (line 15) | func TestConfigUnmarshalJSON_TimeParsingCorrect(t *testing.T) { function TestParseDuration (line 66) | func TestParseDuration(t *testing.T) { function TestFormatDuration (line 95) | func TestFormatDuration(t *testing.T) { function TestConfigMarshalUnmarshalRoundTrip (line 115) | func TestConfigMarshalUnmarshalRoundTrip(t *testing.T) { function TestConfigJSONOutputDemo (line 183) | func TestConfigJSONOutputDemo(t *testing.T) { function TestConvertRelativeToAbsolutePath (line 219) | func TestConvertRelativeToAbsolutePath(t *testing.T) { function TestConvertAbsoluteToRelativePath (line 260) | func TestConvertAbsoluteToRelativePath(t *testing.T) { function TestCertificatePathConversion (line 307) | func TestCertificatePathConversion(t *testing.T) { function parseDuration (line 358) | func parseDuration(durationStr string) (time.Duration, error) { function formatDuration (line 366) | func formatDuration(duration time.Duration) string { function convertRelativeToAbsolutePath (line 374) | func convertRelativeToAbsolutePath(relativePath, rootPath string) string { function convertAbsoluteToRelativePath (line 387) | func convertAbsoluteToRelativePath(absolutePath, rootPath string) string { FILE: openapi/tests/dsl/dsl_test.go function TestDSLCreate (line 18) | func TestDSLCreate(t *testing.T) { function TestDSLInspect (line 93) | func TestDSLInspect(t *testing.T) { function TestDSLSource (line 166) | func TestDSLSource(t *testing.T) { function TestDSLList (line 234) | func TestDSLList(t *testing.T) { function TestDSLUpdate (line 321) | func TestDSLUpdate(t *testing.T) { function TestDSLExists (line 428) | func TestDSLExists(t *testing.T) { function TestDSLDelete (line 504) | func TestDSLDelete(t *testing.T) { function TestDSLValidate (line 580) | func TestDSLValidate(t *testing.T) { function TestDSLUnauthorized (line 666) | func TestDSLUnauthorized(t *testing.T) { FILE: openapi/tests/file/file_test.go constant testUploaderID (line 23) | testUploaderID = "test" constant testFileName (line 24) | testFileName = "test-file.txt" constant testFileContent (line 25) | testFileContent = "This is a test file content for OpenAPI file manage... constant testContentType (line 26) | testContentType = "text/plain" constant invalidUploaderID (line 27) | invalidUploaderID = "invalid-uploader" function setupTestUploader (line 31) | func setupTestUploader(t *testing.T) { function createMultipartRequest (line 40) | func createMultipartRequest(url, fieldName, fileName string, content []b... function createChunkedUploadRequest (line 78) | func createChunkedUploadRequest(url, fileName, uid string, chunkContent ... function TestFileUpload (line 110) | func TestFileUpload(t *testing.T) { function TestFileChunkedUpload (line 276) | func TestFileChunkedUpload(t *testing.T) { function TestFileList (line 337) | func TestFileList(t *testing.T) { function TestFileRetrieve (line 462) | func TestFileRetrieve(t *testing.T) { function TestFileContent (line 582) | func TestFileContent(t *testing.T) { function TestFileExists (line 666) | func TestFileExists(t *testing.T) { function TestFileDelete (line 760) | func TestFileDelete(t *testing.T) { function TestFileEndpointsUnauthorized (line 844) | func TestFileEndpointsUnauthorized(t *testing.T) { function TestFileIntegration (line 900) | func TestFileIntegration(t *testing.T) { function TestFilePermissionFields (line 1019) | func TestFilePermissionFields(t *testing.T) { FILE: openapi/tests/hello/hello_test.go function TestHelloWorldPublic (line 14) | func TestHelloWorldPublic(t *testing.T) { function TestHelloWorldProtected (line 83) | func TestHelloWorldProtected(t *testing.T) { function TestHelloWorldProtectedUnauthorized (line 168) | func TestHelloWorldProtectedUnauthorized(t *testing.T) { FILE: openapi/tests/integrations_webhook_test.go type integrationHandler (line 23) | type integrationHandler struct method Handle (line 25) | func (h *integrationHandler) Handle(ctx context.Context, ev *eventtype... method Shutdown (line 31) | func (h *integrationHandler) Shutdown(ctx context.Context) error { ret... function init (line 33) | func init() { function TestWebhookPost_Telegram (line 37) | func TestWebhookPost_Telegram(t *testing.T) { function TestWebhookGet_Verification (line 94) | func TestWebhookGet_Verification(t *testing.T) { function TestWebhookPost_Stripe (line 136) | func TestWebhookPost_Stripe(t *testing.T) { function TestWebhookMissingParams (line 183) | func TestWebhookMissingParams(t *testing.T) { function TestWebhookEmptyBody (line 203) | func TestWebhookEmptyBody(t *testing.T) { function TestWebhookLargeBody (line 240) | func TestWebhookLargeBody(t *testing.T) { function TestWebhookResponseImmediate (line 289) | func TestWebhookResponseImmediate(t *testing.T) { function TestWebhookMultipleProviders (line 319) | func TestWebhookMultipleProviders(t *testing.T) { FILE: openapi/tests/kb/addfile_test.go function TestAddFile (line 17) | func TestAddFile(t *testing.T) { function TestAddFileAsync (line 195) | func TestAddFileAsync(t *testing.T) { FILE: openapi/tests/kb/addtext_test.go function TestAddText (line 17) | func TestAddText(t *testing.T) { function TestAddTextAsync (line 263) | func TestAddTextAsync(t *testing.T) { FILE: openapi/tests/kb/addurl_test.go function TestAddURL (line 17) | func TestAddURL(t *testing.T) { function TestAddURLAsync (line 263) | func TestAddURLAsync(t *testing.T) { FILE: openapi/tests/kb/collection_process_test.go function TestProcessCreateCollection (line 18) | func TestProcessCreateCollection(t *testing.T) { function TestProcessListCollections (line 169) | func TestProcessListCollections(t *testing.T) { function TestProcessGetCollection (line 235) | func TestProcessGetCollection(t *testing.T) { function TestProcessCollectionExists (line 275) | func TestProcessCollectionExists(t *testing.T) { function TestProcessCollectionIntegration (line 307) | func TestProcessCollectionIntegration(t *testing.T) { FILE: openapi/tests/kb/collection_test.go function TestCreateCollection (line 18) | func TestCreateCollection(t *testing.T) { function TestRemoveCollection (line 147) | func TestRemoveCollection(t *testing.T) { function TestCollectionExists (line 240) | func TestCollectionExists(t *testing.T) { function TestGetCollections (line 315) | func TestGetCollections(t *testing.T) { function TestCollectionEndpointsUnauthorized (line 441) | func TestCollectionEndpointsUnauthorized(t *testing.T) { function TestCollectionIntegration (line 488) | func TestCollectionIntegration(t *testing.T) { FILE: openapi/tests/kb/document_test.go function TestListDocuments (line 17) | func TestListDocuments(t *testing.T) { function TestGetDocument (line 152) | func TestGetDocument(t *testing.T) { function TestRemoveDocuments (line 215) | func TestRemoveDocuments(t *testing.T) { FILE: openapi/tests/kb/utils_test.go function TestProviderConfig_Validation (line 12) | func TestProviderConfig_Validation(t *testing.T) { function TestBaseUpsertRequest_Validate (line 58) | func TestBaseUpsertRequest_Validate(t *testing.T) { function TestAddFileRequest_Validate (line 136) | func TestAddFileRequest_Validate(t *testing.T) { function TestAddTextRequest_Validate (line 197) | func TestAddTextRequest_Validate(t *testing.T) { function TestAddURLRequest_Validate (line 258) | func TestAddURLRequest_Validate(t *testing.T) { function TestAddSegmentsRequest_Validate (line 319) | func TestAddSegmentsRequest_Validate(t *testing.T) { function TestUpdateSegmentsRequest_Structure (line 404) | func TestUpdateSegmentsRequest_Structure(t *testing.T) { function TestToUpsertOptions_WithEnvironment (line 454) | func TestToUpsertOptions_WithEnvironment(t *testing.T) { FILE: openapi/tests/nodes/nodes_test.go function TestNodesListAuthenticated (line 13) | func TestNodesListAuthenticated(t *testing.T) { function TestNodesListUnauthorized (line 51) | func TestNodesListUnauthorized(t *testing.T) { function TestNodesGetNotFound (line 67) | func TestNodesGetNotFound(t *testing.T) { FILE: openapi/tests/oauth/acl/acl_test.go function TestNew (line 26) | func TestNew(t *testing.T) { function TestLoad (line 78) | func TestLoad(t *testing.T) { function TestEnabled (line 113) | func TestEnabled(t *testing.T) { function TestDefaultConfig (line 142) | func TestDefaultConfig(t *testing.T) { FILE: openapi/tests/oauth/acl/enforce_test.go function setupGinContext (line 19) | func setupGinContext(method, path string, scopes []string) (*gin.Context... function joinScopes (line 47) | func joinScopes(scopes []string) string { function TestEnforce (line 59) | func TestEnforce(t *testing.T) { function TestEnforceReturnValues (line 287) | func TestEnforceReturnValues(t *testing.T) { function TestGetScopes (line 324) | func TestGetScopes(t *testing.T) { function setupACLTestRoles (line 369) | func setupACLTestRoles(t *testing.T, ctx context.Context, provider types... function cleanupACLTestRoles (line 450) | func cleanupACLTestRoles(t *testing.T, ctx context.Context, provider typ... function setupACLTestData (line 462) | func setupACLTestData(t *testing.T, ctx context.Context, provider types.... function cleanupACLTestData (line 548) | func cleanupACLTestData(t *testing.T, ctx context.Context, provider type... type ACLTestData (line 577) | type ACLTestData struct function TestEnforceIntegration (line 586) | func TestEnforceIntegration(t *testing.T) { function TestEnforcerInterface (line 701) | func TestEnforcerInterface(t *testing.T) { function TestEnforceEdgeCases (line 718) | func TestEnforceEdgeCases(t *testing.T) { FILE: openapi/tests/oauth/acl/role/role_test.go function TestNewManager (line 24) | func TestNewManager(t *testing.T) { function TestManagerWithNilCache (line 63) | func TestManagerWithNilCache(t *testing.T) { function TestGetUserRole (line 157) | func TestGetUserRole(t *testing.T) { function TestGetMemberRole (line 249) | func TestGetMemberRole(t *testing.T) { function TestGetScopes (line 332) | func TestGetScopes(t *testing.T) { function TestGetTeamRole (line 407) | func TestGetTeamRole(t *testing.T) { function TestGetClientRole (line 454) | func TestGetClientRole(t *testing.T) { function TestCacheIntegration (line 480) | func TestCacheIntegration(t *testing.T) { FILE: openapi/tests/oauth/acl/scope_atomic_test.go function TestScopeAtomic_ExactPathMatch (line 12) | func TestScopeAtomic_ExactPathMatch(t *testing.T) { function TestScopeAtomic_WildcardMatch (line 78) | func TestScopeAtomic_WildcardMatch(t *testing.T) { function TestScopeAtomic_ParameterPath (line 156) | func TestScopeAtomic_ParameterPath(t *testing.T) { function TestScopeAtomic_AliasExpansion (line 214) | func TestScopeAtomic_AliasExpansion(t *testing.T) { function TestScopeAtomic_ScopeValidation (line 295) | func TestScopeAtomic_ScopeValidation(t *testing.T) { function TestScopeAtomic_DefaultPolicy (line 368) | func TestScopeAtomic_DefaultPolicy(t *testing.T) { function TestScopeAtomic_PublicEndpoints (line 405) | func TestScopeAtomic_PublicEndpoints(t *testing.T) { function TestScopeAtomic_ComplexScenarios (line 455) | func TestScopeAtomic_ComplexScenarios(t *testing.T) { function TestScopeAtomic_DataConstraints (line 514) | func TestScopeAtomic_DataConstraints(t *testing.T) { FILE: openapi/tests/oauth/acl/scope_test.go function TestLoadScopes (line 12) | func TestLoadScopes(t *testing.T) { function TestScopeManagerCheck (line 28) | func TestScopeManagerCheck(t *testing.T) { function TestAccessRequest (line 165) | func TestAccessRequest(t *testing.T) { function TestAccessDecision (line 199) | func TestAccessDecision(t *testing.T) { function TestEndpointPolicy (line 238) | func TestEndpointPolicy(t *testing.T) { function TestScopeExpansion (line 250) | func TestScopeExpansion(t *testing.T) { function TestPathMatching (line 291) | func TestPathMatching(t *testing.T) { function TestDefaultPolicy (line 345) | func TestDefaultPolicy(t *testing.T) { FILE: openapi/tests/oauth/authorized_test.go function TestGetInfoOAuthEmail (line 14) | func TestGetInfoOAuthEmail(t *testing.T) { function TestGetInfoAuthSource (line 70) | func TestGetInfoAuthSource(t *testing.T) { function TestGetInfoRememberMe (line 149) | func TestGetInfoRememberMe(t *testing.T) { function TestGetInfoTeamContext (line 181) | func TestGetInfoTeamContext(t *testing.T) { FILE: openapi/tests/oauth/device_test.go function registerDeviceClient (line 20) | func registerDeviceClient(t *testing.T, serverURL, baseURL string) string { function registerConfidentialClient (line 50) | func registerConfidentialClient(t *testing.T, serverURL, baseURL string)... function TestDeviceAuthorization_Success (line 79) | func TestDeviceAuthorization_Success(t *testing.T) { function TestDeviceAuthorization_MissingClientID (line 113) | func TestDeviceAuthorization_MissingClientID(t *testing.T) { function TestDeviceAuthorization_InvalidClient (line 130) | func TestDeviceAuthorization_InvalidClient(t *testing.T) { function TestDeviceToken_AuthorizationPending (line 147) | func TestDeviceToken_AuthorizationPending(t *testing.T) { function TestDeviceToken_InvalidDeviceCode (line 193) | func TestDeviceToken_InvalidDeviceCode(t *testing.T) { function TestDeviceFlow_EndToEnd (line 221) | func TestDeviceFlow_EndToEnd(t *testing.T) { FILE: openapi/tests/oauth/guard_test.go function TestGuard_ValidToken (line 20) | func TestGuard_ValidToken(t *testing.T) { function TestGuard_NoToken (line 47) | func TestGuard_NoToken(t *testing.T) { function TestGuard_InvalidSignature (line 66) | func TestGuard_InvalidSignature(t *testing.T) { function TestGuard_ExpiredToken_NoRefresh (line 87) | func TestGuard_ExpiredToken_NoRefresh(t *testing.T) { function TestGuard_ExpiredToken_WithValidRefresh (line 115) | func TestGuard_ExpiredToken_WithValidRefresh(t *testing.T) { function TestGuard_ExpiredToken_WithExpiredRefresh (line 177) | func TestGuard_ExpiredToken_WithExpiredRefresh(t *testing.T) { function TestGuard_AuthorizationHeader (line 216) | func TestGuard_AuthorizationHeader(t *testing.T) { function authenticateRouter (line 243) | func authenticateRouter(oauthService *oauth.Service) *gin.Engine { FILE: openapi/tests/oauth/oauth_test.go function TestOAuthRegister (line 17) | func TestOAuthRegister(t *testing.T) { function TestOAuthAuthorize (line 121) | func TestOAuthAuthorize(t *testing.T) { function TestOAuthJWKS (line 328) | func TestOAuthJWKS(t *testing.T) { FILE: openapi/tests/oauth/token_test.go function TestOAuthToken_AuthorizationCode (line 18) | func TestOAuthToken_AuthorizationCode(t *testing.T) { function TestOAuthToken_ClientCredentials (line 135) | func TestOAuthToken_ClientCredentials(t *testing.T) { function TestOAuthToken_RefreshToken (line 218) | func TestOAuthToken_RefreshToken(t *testing.T) { function TestOAuthToken_InvalidGrantType (line 356) | func TestOAuthToken_InvalidGrantType(t *testing.T) { function basicAuth (line 417) | func basicAuth(username, password string) string { function base64Encode (line 423) | func base64Encode(data []byte) string { function TestOAuthRevoke (line 467) | func TestOAuthRevoke(t *testing.T) { function TestOAuthIntrospect (line 578) | func TestOAuthIntrospect(t *testing.T) { FILE: openapi/tests/openapi_test.go function TestLoad (line 11) | func TestLoad(t *testing.T) { function TestObtainAccessToken (line 20) | func TestObtainAccessToken(t *testing.T) { FILE: openapi/tests/otp/otp_test.go type otpTestContext (line 22) | type otpTestContext struct function setupTestData (line 33) | func setupTestData(t *testing.T, serverURL string) (*otpTestContext, fun... function TestOTPLoginInvalidCode (line 131) | func TestOTPLoginInvalidCode(t *testing.T) { function TestOTPLoginMissingCode (line 152) | func TestOTPLoginMissingCode(t *testing.T) { function TestOTPLoginInvalidJSON (line 169) | func TestOTPLoginInvalidJSON(t *testing.T) { function TestOTPCreateAndLogin (line 190) | func TestOTPCreateAndLogin(t *testing.T) { function TestOTPCreateAndLoginWithMemberID (line 234) | func TestOTPCreateAndLoginWithMemberID(t *testing.T) { function TestOTPCreateWithConsumeDisabled (line 275) | func TestOTPCreateWithConsumeDisabled(t *testing.T) { function TestOTPCreateWithTokenExpiresIn (line 310) | func TestOTPCreateWithTokenExpiresIn(t *testing.T) { function TestOTPServiceCreateAndVerify (line 332) | func TestOTPServiceCreateAndVerify(t *testing.T) { function TestOTPServiceCreateAndVerifyWithMemberID (line 355) | func TestOTPServiceCreateAndVerifyWithMemberID(t *testing.T) { function TestOTPServiceCreateStoresMapPayload (line 382) | func TestOTPServiceCreateStoresMapPayload(t *testing.T) { function TestOTPServiceVerifyEmptyCode (line 407) | func TestOTPServiceVerifyEmptyCode(t *testing.T) { function TestOTPServiceVerifyNonexistent (line 417) | func TestOTPServiceVerifyNonexistent(t *testing.T) { function TestOTPServiceRevoke (line 427) | func TestOTPServiceRevoke(t *testing.T) { function TestOTPServiceRevokeEmpty (line 450) | func TestOTPServiceRevokeEmpty(t *testing.T) { function TestOTPServiceCreateValidation (line 459) | func TestOTPServiceCreateValidation(t *testing.T) { function TestOTPServiceCreateWithScope (line 484) | func TestOTPServiceCreateWithScope(t *testing.T) { function TestOTPServiceCreateWithCustomExpiry (line 504) | func TestOTPServiceCreateWithCustomExpiry(t *testing.T) { function TestOTPLoginSetsAccessTokenCookieOnly (line 529) | func TestOTPLoginSetsAccessTokenCookieOnly(t *testing.T) { function TestOTPCodeUniqueness (line 573) | func TestOTPCodeUniqueness(t *testing.T) { FILE: openapi/tests/sandbox/sandbox_test.go function TestSandboxListPublicDenied (line 14) | func TestSandboxListPublicDenied(t *testing.T) { function TestSandboxListAuthenticated (line 34) | func TestSandboxListAuthenticated(t *testing.T) { function TestSandboxGetNotFound (line 65) | func TestSandboxGetNotFound(t *testing.T) { function TestSandboxCreateMissingImage (line 92) | func TestSandboxCreateMissingImage(t *testing.T) { function TestSandboxDeleteNotFound (line 121) | func TestSandboxDeleteNotFound(t *testing.T) { function jsonBody (line 148) | func jsonBody(s string) *strings.Reader { FILE: openapi/tests/testutils/testutils.go function RegisterTestCollection (line 40) | func RegisterTestCollection(collectionID string) { function CleanupTestCollections (line 47) | func CleanupTestCollections(t *testing.T) { function Prepare (line 146) | func Prepare(t *testing.T) string { function Clean (line 245) | func Clean() { function RegisterTestClient (line 332) | func RegisterTestClient(t *testing.T, clientName string, redirectURIs []... function CleanupTestClient (line 406) | func CleanupTestClient(t *testing.T, clientID string) { function CreateTestClientCredentials (line 449) | func CreateTestClientCredentials() (clientID, clientSecret string) { type AuthorizationInfo (line 505) | type AuthorizationInfo struct function ObtainAuthorizationCode (line 517) | func ObtainAuthorizationCode(t *testing.T, serverURL, clientID, redirect... type TokenInfo (line 625) | type TokenInfo struct function ObtainAccessTokenWithRootPermission (line 640) | func ObtainAccessTokenWithRootPermission(t *testing.T, serverURL, client... function ObtainAccessToken (line 760) | func ObtainAccessToken(t *testing.T, serverURL, clientID, clientSecret, ... function generateCodeVerifier (line 813) | func generateCodeVerifier() string { function generateCodeChallenge (line 827) | func generateCodeChallenge(codeVerifier string) string { function ObtainTokenForUser (line 886) | func ObtainTokenForUser(t *testing.T, clientID, clientSecret, userID, sc... function createTestUser (line 980) | func createTestUser(t *testing.T, server *openapi.OpenAPI, clientID stri... function GetUserProvider (line 1050) | func GetUserProvider(t *testing.T) types.UserProvider { FILE: openapi/tests/trace/common_test.go type testTraceData (line 16) | type testTraceData struct function prepareTestTrace (line 32) | func prepareTestTrace(t *testing.T) *testTraceData { function cleanupTestTrace (line 159) | func cleanupTestTrace(t *testing.T, data *testTraceData) { FILE: openapi/tests/trace/events_test.go function TestGetEvents (line 17) | func TestGetEvents(t *testing.T) { function TestGetEventsNotFound (line 70) | func TestGetEventsNotFound(t *testing.T) { function TestGetEventsUnauthorized (line 90) | func TestGetEventsUnauthorized(t *testing.T) { function TestGetEventsSSE (line 109) | func TestGetEventsSSE(t *testing.T) { FILE: openapi/tests/trace/info_test.go function TestGetInfo (line 15) | func TestGetInfo(t *testing.T) { function TestGetInfoNotFound (line 61) | func TestGetInfoNotFound(t *testing.T) { FILE: openapi/tests/trace/logs_test.go function TestGetLogs (line 15) | func TestGetLogs(t *testing.T) { function TestGetLogsByNode (line 76) | func TestGetLogsByNode(t *testing.T) { function TestGetLogsByNodeNotFound (line 127) | func TestGetLogsByNodeNotFound(t *testing.T) { FILE: openapi/tests/trace/nodes_test.go function TestGetNodes (line 15) | func TestGetNodes(t *testing.T) { function TestGetNodeByID (line 98) | func TestGetNodeByID(t *testing.T) { function TestGetNodeByIDNotFound (line 152) | func TestGetNodeByIDNotFound(t *testing.T) { FILE: openapi/tests/trace/spaces_test.go function TestGetSpaces (line 13) | func TestGetSpaces(t *testing.T) { function TestGetSpaceByID (line 97) | func TestGetSpaceByID(t *testing.T) { function TestGetSpaceByIDNotFound (line 161) | func TestGetSpaceByIDNotFound(t *testing.T) { FILE: openapi/tests/user/config_functions_test.go function TestGetTeamConfigFunction (line 11) | func TestGetTeamConfigFunction(t *testing.T) { function TestGetEntryConfigFunction (line 26) | func TestGetEntryConfigFunction(t *testing.T) { function TestGetYaoClientConfigFunction (line 41) | func TestGetYaoClientConfigFunction(t *testing.T) { function TestGetProviderFunction (line 48) | func TestGetProviderFunction(t *testing.T) { FILE: openapi/tests/user/config_loading_test.go function TestConfigTypes (line 12) | func TestConfigTypes(t *testing.T) { function TestConfigTypeCompatibility (line 68) | func TestConfigTypeCompatibility(t *testing.T) { FILE: openapi/tests/user/config_validation_test.go function TestConfigValidationLogic (line 10) | func TestConfigValidationLogic(t *testing.T) { function TestEnvVarNameExtraction (line 75) | func TestEnvVarNameExtraction(t *testing.T) { FILE: openapi/tests/user/entry_test.go function TestEntryVerifyWithExistingUser (line 24) | func TestEntryVerifyWithExistingUser(t *testing.T) { function TestEntryVerifyWithNewUser (line 90) | func TestEntryVerifyWithNewUser(t *testing.T) { function TestEntryVerifyValidation (line 149) | func TestEntryVerifyValidation(t *testing.T) { function TestEntryVerifyWithMobile (line 220) | func TestEntryVerifyWithMobile(t *testing.T) { function TestEntryVerifyCaptcha (line 317) | func TestEntryVerifyCaptcha(t *testing.T) { function TestEntryVerifyToken (line 385) | func TestEntryVerifyToken(t *testing.T) { function getCaptcha (line 444) | func getCaptcha(t *testing.T, serverURL, baseURL, captchaType string) (s... function createUserWithEmail (line 475) | func createUserWithEmail(t *testing.T, userID, email string) { function createUserWithMobile (line 498) | func createUserWithMobile(t *testing.T, userID, mobile string) { function TestEntryConfigDeepCopy (line 523) | func TestEntryConfigDeepCopy(t *testing.T) { FILE: openapi/tests/user/env_test.go function TestEnvironmentVariables (line 10) | func TestEnvironmentVariables(t *testing.T) { FILE: openapi/tests/user/env_var_extraction_test.go function TestExtractEnvVarName (line 10) | func TestExtractEnvVarName(t *testing.T) { function TestEnvVarNameExtractionIntegration (line 40) | func TestEnvVarNameExtractionIntegration(t *testing.T) { FILE: openapi/tests/user/invitation_test.go function TestInvitationCreate (line 23) | func TestInvitationCreate(t *testing.T) { function TestInvitationList (line 321) | func TestInvitationList(t *testing.T) { function TestInvitationGet (line 463) | func TestInvitationGet(t *testing.T) { function TestInvitationResend (line 569) | func TestInvitationResend(t *testing.T) { function TestMultipleInvitationCreation (line 686) | func TestMultipleInvitationCreation(t *testing.T) { function TestInvitationDelete (line 781) | func TestInvitationDelete(t *testing.T) { function TestInvitationAccept (line 879) | func TestInvitationAccept(t *testing.T) { function setupTeamAndInvitation (line 1141) | func setupTeamAndInvitation(t *testing.T, serverURL, baseURL, accessToke... function createUserInDB (line 1212) | func createUserInDB(t *testing.T, userID string) string { function createTestInvitation (line 1240) | func createTestInvitation(t *testing.T, serverURL, baseURL, accessToken,... function createTestInvitationWithMessage (line 1245) | func createTestInvitationWithMessage(t *testing.T, serverURL, baseURL, a... function createTestInvitationWithRoleAndMessage (line 1250) | func createTestInvitationWithRoleAndMessage(t *testing.T, serverURL, bas... FILE: openapi/tests/user/login_config_test.go function TestUserLoginConfig (line 16) | func TestUserLoginConfig(t *testing.T) { function TestUserLoginConfigLoad (line 94) | func TestUserLoginConfigLoad(t *testing.T) { function TestUserLoginConfigStructure (line 115) | func TestUserLoginConfigStructure(t *testing.T) { FILE: openapi/tests/user/login_test.go function TestUserLoginValidation (line 14) | func TestUserLoginValidation(t *testing.T) { FILE: openapi/tests/user/member_test.go function TestMemberList (line 21) | func TestMemberList(t *testing.T) { function TestMemberGet (line 425) | func TestMemberGet(t *testing.T) { function TestMemberUpdate (line 547) | func TestMemberUpdate(t *testing.T) { function TestMemberDelete (line 724) | func TestMemberDelete(t *testing.T) { function TestMemberPermissionVerification (line 840) | func TestMemberPermissionVerification(t *testing.T) { function createTestTeam (line 986) | func createTestTeam(t *testing.T, serverURL, baseURL, accessToken, teamN... function createTestMember (line 1023) | func createTestMember(t *testing.T, serverURL, baseURL, teamID, accessTo... function getOwnerMemberID (line 1049) | func getOwnerMemberID(t *testing.T, serverURL, baseURL, teamID, accessTo... function TestMemberCreateRobot (line 1090) | func TestMemberCreateRobot(t *testing.T) { function toString (line 1388) | func toString(v interface{}) string { function TestMemberCheckRobotEmail (line 1404) | func TestMemberCheckRobotEmail(t *testing.T) { function TestMemberUpdateRobot (line 1561) | func TestMemberUpdateRobot(t *testing.T) { function TestMemberProfileGet (line 2042) | func TestMemberProfileGet(t *testing.T) { function TestMemberProfileUpdate (line 2209) | func TestMemberProfileUpdate(t *testing.T) { FILE: openapi/tests/user/oauth_authorize_test.go function TestUserOAuthAuthorizationURL (line 16) | func TestUserOAuthAuthorizationURL(t *testing.T) { function TestUserOAuthAuthorizationURLParameters (line 128) | func TestUserOAuthAuthorizationURLParameters(t *testing.T) { FILE: openapi/tests/user/oauth_callback_test.go function TestUserOAuthCallback (line 17) | func TestUserOAuthCallback(t *testing.T) { function TestUserOAuthCallbackPrepare (line 125) | func TestUserOAuthCallbackPrepare(t *testing.T) { function TestUserOAuthProviderValidation (line 225) | func TestUserOAuthProviderValidation(t *testing.T) { FILE: openapi/tests/user/profile_test.go function TestProfileGet (line 20) | func TestProfileGet(t *testing.T) { function TestProfileUpdate (line 451) | func TestProfileUpdate(t *testing.T) { FILE: openapi/tests/user/team_config_robot_test.go function TestTeamConfigRobotLoad (line 17) | func TestTeamConfigRobotLoad(t *testing.T) { function TestGetTeamConfigPublic (line 89) | func TestGetTeamConfigPublic(t *testing.T) { function TestGetTeamConfigPublicNoMutation (line 163) | func TestGetTeamConfigPublicNoMutation(t *testing.T) { function TestTeamConfigAPIPublic (line 230) | func TestTeamConfigAPIPublic(t *testing.T) { function TestTeamConfigAPILocales (line 309) | func TestTeamConfigAPILocales(t *testing.T) { FILE: openapi/tests/user/team_config_test.go function TestTeamConfigLoad (line 16) | func TestTeamConfigLoad(t *testing.T) { function TestTeamConfigStructure (line 37) | func TestTeamConfigStructure(t *testing.T) { function TestTeamConfigByLocale (line 83) | func TestTeamConfigByLocale(t *testing.T) { function TestTeamConfigAPI (line 106) | func TestTeamConfigAPI(t *testing.T) { FILE: openapi/tests/user/team_test.go function TestTeamList (line 18) | func TestTeamList(t *testing.T) { function TestTeamCreate (line 136) | func TestTeamCreate(t *testing.T) { function TestTeamGet (line 314) | func TestTeamGet(t *testing.T) { function TestTeamUpdate (line 465) | func TestTeamUpdate(t *testing.T) { function TestTeamDelete (line 657) | func TestTeamDelete(t *testing.T) { function TestTeamAuthenticationEdgeCases (line 769) | func TestTeamAuthenticationEdgeCases(t *testing.T) { function TestTeamDeleteMemberCleanup (line 867) | func TestTeamDeleteMemberCleanup(t *testing.T) { function TestTeamCreateMembershipVerification (line 949) | func TestTeamCreateMembershipVerification(t *testing.T) { function createTeamRequest (line 1022) | func createTeamRequest(t *testing.T, url string, body map[string]interfa... function getTeamID (line 1036) | func getTeamID(team map[string]interface{}) string { FILE: openapi/tests/user/utils_test.go function TestMaskEmail (line 11) | func TestMaskEmail(t *testing.T) { FILE: openapi/tests/workspace/workspace_test.go function TestWorkspaceListAuthenticated (line 13) | func TestWorkspaceListAuthenticated(t *testing.T) { function TestWorkspaceListUnauthorized (line 44) | func TestWorkspaceListUnauthorized(t *testing.T) { function TestWorkspaceGetNotFound (line 60) | func TestWorkspaceGetNotFound(t *testing.T) { function TestWorkspaceDeleteNotFound (line 86) | func TestWorkspaceDeleteNotFound(t *testing.T) { FILE: openapi/trace/events.go function GetEvents (line 15) | func GetEvents(c *gin.Context) { function handleStreamMode (line 53) | func handleStreamMode(c *gin.Context, manager types.Manager, info *types... function handleNormalMode (line 97) | func handleNormalMode(c *gin.Context, manager types.Manager, info *types... function sendSSEEvent (line 156) | func sendSSEEvent(w io.Writer, update types.TraceUpdate) error { FILE: openapi/trace/helpers.go function loadTraceManager (line 18) | func loadTraceManager(c *gin.Context, traceID string) (manager types.Man... function respondWithLoadError (line 68) | func respondWithLoadError(c *gin.Context, err error) { function checkTracePermission (line 88) | func checkTracePermission(authInfo *oauthtypes.AuthorizedInfo, info *typ... function getTraceDriver (line 120) | func getTraceDriver() (driverType string, driverOptions []any, err error) { function formatUpdateData (line 139) | func formatUpdateData(update types.TraceUpdate) string { function containsString (line 151) | func containsString(s, substr string) bool { function findSubstring (line 155) | func findSubstring(s, substr string) bool { function AuthFilter (line 166) | func AuthFilter(c *gin.Context, authInfo *oauthtypes.AuthorizedInfo) []m... FILE: openapi/trace/info.go function GetInfo (line 11) | func GetInfo(c *gin.Context) { FILE: openapi/trace/logs.go function GetLogs (line 12) | func GetLogs(c *gin.Context) { FILE: openapi/trace/nodes.go function GetNodes (line 11) | func GetNodes(c *gin.Context) { function GetNode (line 79) | func GetNode(c *gin.Context) { FILE: openapi/trace/spaces.go function GetSpaces (line 11) | func GetSpaces(c *gin.Context) { function GetSpace (line 76) | func GetSpace(c *gin.Context) { FILE: openapi/trace/trace.go function Attach (line 9) | func Attach(group *gin.RouterGroup, oauth oauthtypes.OAuth) { FILE: openapi/types.go type Config (line 9) | type Config struct type Provider (line 19) | type Provider type Providers (line 22) | type Providers struct type OAuth (line 28) | type OAuth struct type TempSigningConfig (line 42) | type TempSigningConfig struct type TempTokenConfig (line 55) | type TempTokenConfig struct type TempSecurityConfig (line 75) | type TempSecurityConfig struct type TempClientConfig (line 99) | type TempClientConfig struct type TempOAuth (line 116) | type TempOAuth struct type TempConfig (line 126) | type TempConfig struct type Model (line 135) | type Model struct type ModelsResponse (line 143) | type ModelsResponse struct FILE: openapi/user/account.go type ChangePasswordRequest (line 15) | type ChangePasswordRequest struct function GinChangePassword (line 22) | func GinChangePassword(c *gin.Context) { FILE: openapi/user/config.go function Load (line 37) | func Load(appConfig config.Config) error { function loadClientConfig (line 74) | func loadClientConfig() error { function validateClientConfig (line 131) | func validateClientConfig(clientConfig *YaoClientConfig) error { function registerClient (line 161) | func registerClient(clientID string) (*YaoClientConfig, error) { function loadProviders (line 188) | func loadProviders(_ string) error { function loadTeamConfigs (line 243) | func loadTeamConfigs(_ string) error { function GetProvider (line 289) | func GetProvider(providerID string) (*Provider, error) { function GetYaoClientConfig (line 302) | func GetYaoClientConfig() *YaoClientConfig { function GetTeamConfig (line 309) | func GetTeamConfig(locale string) *TeamConfig { function GetTeamConfigPublic (line 338) | func GetTeamConfigPublic(locale string) *TeamConfig { function extractEnvVarName (line 385) | func extractEnvVarName(value string) string { function resolveTeamConfigENV (line 409) | func resolveTeamConfigENV(config *TeamConfig) { function replaceENVVar (line 452) | func replaceENVVar(value string) string { function normalizeDuration (line 479) | func normalizeDuration(expiresIn string) (string, error) { function processFormConfigENVVariables (line 522) | func processFormConfigENVVariables(form *FormConfig) []string { function loadEntryConfigs (line 550) | func loadEntryConfigs(_ string) error { function processEntryConfigENVVariables (line 596) | func processEntryConfigENVVariables(config *EntryConfig) { function GetEntryConfig (line 652) | func GetEntryConfig(locale string) *EntryConfig { FILE: openapi/user/entry.go function getEntryConfig (line 21) | func getEntryConfig(c *gin.Context) { function GinEntryVerify (line 57) | func GinEntryVerify(c *gin.Context) { function verifyCaptcha (line 200) | func verifyCaptcha(captchaConfig *CaptchaConfig, captchaID, captcha stri... function determineUsernameType (line 249) | func determineUsernameType(username string) string { function checkUserExists (line 268) | func checkUserExists(ctx context.Context, usernameType, username string)... function generateEntryOTP (line 314) | func generateEntryOTP() (string, string) { function sendVerificationMessage (line 324) | func sendVerificationMessage(ctx context.Context, config *EntryConfig, u... function createPublicEntryConfig (line 394) | func createPublicEntryConfig(config *EntryConfig) *EntryConfig { function validatePassword (line 528) | func validatePassword(password string) error { function GinSendOTP (line 548) | func GinSendOTP(c *gin.Context) { function GinEntryRegister (line 622) | func GinEntryRegister(c *gin.Context) { function GinEntryLogin (line 891) | func GinEntryLogin(c *gin.Context) { function GinVerifyInvite (line 1062) | func GinVerifyInvite(c *gin.Context) { FILE: openapi/user/features.go function GinFeatures (line 15) | func GinFeatures(c *gin.Context) { FILE: openapi/user/login.go function registerUserWithTeam (line 41) | func registerUserWithTeam(ctx context.Context, userData map[string]inter... function getCaptcha (line 95) | func getCaptcha(c *gin.Context) { function LoginThirdParty (line 120) | func LoginThirdParty(providerID string, userinfo *oauthtypes.OIDCUserInf... function LoginByUserID (line 205) | func LoginByUserID(userid string, loginCtx *LoginContext) (*LoginRespons... function LoginByTeamID (line 397) | func LoginByTeamID(userid string, teamID string, loginCtx *LoginContext)... function LoginWithOptions (line 502) | func LoginWithOptions(userid string, teamID string, loginCtx *LoginConte... function issueTokens (line 609) | func issueTokens(ctx context.Context, params *IssueTokensParams) (*Login... function prepareUserKBCollection (line 865) | func prepareUserKBCollection(userID, teamID, locale string) { function generateSessionID (line 957) | func generateSessionID() string { function GinLogout (line 962) | func GinLogout(c *gin.Context) { function SendLoginCookies (line 997) | func SendLoginCookies(c *gin.Context, loginResponse *LoginResponse, sess... FILE: openapi/user/member.go function GinMemberList (line 25) | func GinMemberList(c *gin.Context) { function GinMemberCheckRobotEmail (line 132) | func GinMemberCheckRobotEmail(c *gin.Context) { function GinMemberGet (line 200) | func GinMemberGet(c *gin.Context) { function GinMemberCreateRobot (line 256) | func GinMemberCreateRobot(c *gin.Context) { function GinMemberUpdateRobot (line 369) | func GinMemberUpdateRobot(c *gin.Context) { function GinMemberUpdate (line 508) | func GinMemberUpdate(c *gin.Context) { function GinMemberGetProfile (line 590) | func GinMemberGetProfile(c *gin.Context) { function GinMemberUpdateProfile (line 646) | func GinMemberUpdateProfile(c *gin.Context) { function GinMemberDelete (line 721) | func GinMemberDelete(c *gin.Context) { function ProcessMemberList (line 789) | func ProcessMemberList(process *process.Process) interface{} { function ProcessMemberGet (line 888) | func ProcessMemberGet(process *process.Process) interface{} { function ProcessMemberUpdate (line 921) | func ProcessMemberUpdate(process *process.Process) interface{} { function ProcessMemberGetProfile (line 956) | func ProcessMemberGetProfile(process *process.Process) interface{} { function ProcessMemberUpdateProfile (line 989) | func ProcessMemberUpdateProfile(process *process.Process) interface{} { function ProcessMemberDelete (line 1040) | func ProcessMemberDelete(process *process.Process) interface{} { function memberList (line 1073) | func memberList(ctx context.Context, userID, teamID string, req *MemberL... function memberGet (line 1235) | func memberGet(ctx context.Context, userID, teamID, memberID string) (ma... function memberCheckRobotEmail (line 1263) | func memberCheckRobotEmail(ctx context.Context, userID, teamID, robotEma... function memberCreateRobot (line 1291) | func memberCreateRobot(ctx context.Context, userID, teamID string, robot... function memberUpdateRobot (line 1319) | func memberUpdateRobot(ctx context.Context, userID, teamID, memberID str... function memberUpdate (line 1347) | func memberUpdate(ctx context.Context, userID, teamID, memberID string, ... function memberGetProfile (line 1384) | func memberGetProfile(ctx context.Context, requestUserID, teamID, member... function memberUpdateProfile (line 1422) | func memberUpdateProfile(ctx context.Context, requestUserID, teamID, mem... function memberDelete (line 1480) | func memberDelete(ctx context.Context, userID, teamID, memberID string) ... function checkTeamAccess (line 1517) | func checkTeamAccess(ctx context.Context, teamID, userID string) (bool, ... function mapToMemberResponse (line 1529) | func mapToMemberResponse(data maps.MapStr) MemberResponse { function mapToMemberDetailResponse (line 1587) | func mapToMemberDetailResponse(data maps.MapStr) MemberDetailResponse { FILE: openapi/user/oauth.go function authbackPrepare (line 21) | func authbackPrepare(c *gin.Context) { function authback (line 48) | func authback(c *gin.Context) { function getOAuthAuthorizationURL (line 226) | func getOAuthAuthorizationURL(c *gin.Context) { function generateRandomState (line 374) | func generateRandomState() (string, error) { function isValidUUID (line 380) | func isValidUUID(s string) bool { function getScheme (line 387) | func getScheme(c *gin.Context) string { function reconstructRedirectURI (line 395) | func reconstructRedirectURI(originalRedirectURI, newPath string, c *gin.... function userInfoKey (line 410) | func userInfoKey(providerID, state string) string { function stateKey (line 415) | func stateKey(providerID string) string { function redirectURIKey (line 420) | func redirectURIKey(providerID, state string) string { function saveState (line 425) | func saveState(providerID, sid, state string) error { function saveRedirectURI (line 430) | func saveRedirectURI(providerID, state, redirectURI string) error { function getRedirectURI (line 437) | func getRedirectURI(providerID, state string) (string, error) { function removeRedirectURI (line 447) | func removeRedirectURI(providerID, state string) error { function saveUserInfo (line 454) | func saveUserInfo(providerID, state, userInfo string) error { function getUserInfo (line 461) | func getUserInfo(providerID, state string) (string, error) { function removeUserInfo (line 472) | func removeUserInfo(providerID, state string) error { function removeState (line 479) | func removeState(providerID, sid string) error { function validateState (line 500) | func validateState(providerID, sid, state string) error { FILE: openapi/user/profile.go function GinProfileGet (line 25) | func GinProfileGet(c *gin.Context) { function GinProfileUpdate (line 61) | func GinProfileUpdate(c *gin.Context) { function ProcessProfileGet (line 105) | func ProcessProfileGet(process *process.Process) interface{} { function ProcessProfileUpdate (line 150) | func ProcessProfileUpdate(process *process.Process) interface{} { function profileGet (line 180) | func profileGet(ctx context.Context, userID, teamID string, req ProfileG... function addTeamInfo (line 233) | func addTeamInfo(ctx context.Context, provider *user.DefaultUser, oidcUs... function addTypeInfo (line 271) | func addTypeInfo(ctx context.Context, provider *user.DefaultUser, oidcUs... function profileUpdate (line 308) | func profileUpdate(ctx context.Context, userID string, req ProfileUpdate... function buildProfileUpdateRequest (line 382) | func buildProfileUpdateRequest(data map[string]interface{}) ProfileUpdat... FILE: openapi/user/provider.go method convertToString (line 29) | func (p *Provider) convertToString(value interface{}) string { function getPresetMappings (line 68) | func getPresetMappings() map[string]map[string]string { method getFieldMapping (line 189) | func (p *Provider) getFieldMapping() map[string]string { method GetClientSecret (line 227) | func (p *Provider) GetClientSecret() (string, error) { method GetUserInfo (line 241) | func (p *Provider) GetUserInfo(accessToken string, tokenType string) (*o... method GetUserInfoFromTokenResponse (line 272) | func (p *Provider) GetUserInfoFromTokenResponse(tokenResponse *OAuthToke... method mergeFormPostDataIntoClaims (line 321) | func (p *Provider) mergeFormPostDataIntoClaims(rawClaims map[string]inte... method getUserInfoFromEndpoint (line 338) | func (p *Provider) getUserInfoFromEndpoint(accessToken string, tokenType... method verifyIDTokenAndGetClaims (line 414) | func (p *Provider) verifyIDTokenAndGetClaims(idToken string) (map[string... method getJWKSPublicKey (line 469) | func (p *Provider) getJWKSPublicKey(keyID string) (interface{}, error) { method getUserInfoFromAccessToken (line 558) | func (p *Provider) getUserInfoFromAccessToken(accessToken string) (*oaut... method mapUserInfoResponse (line 572) | func (p *Provider) mapUserInfoResponse(rawData map[string]interface{}) *... method getNestedValue (line 607) | func (p *Provider) getNestedValue(data map[string]interface{}, path stri... method setUserInfoField (line 659) | func (p *Provider) setUserInfoField(userInfo *oauthtypes.OIDCUserInfo, f... method applyFallbackValues (line 810) | func (p *Provider) applyFallbackValues(userInfo *oauthtypes.OIDCUserInfo... method GenerateClientSecret (line 840) | func (p *Provider) GenerateClientSecret() (string, error) { method generateJWTES256 (line 858) | func (p *Provider) generateJWTES256() (string, error) { method loadPrivateKey (line 922) | func (p *Provider) loadPrivateKey(keyPath string) (*ecdsa.PrivateKey, er... method generateBasicConcat (line 966) | func (p *Provider) generateBasicConcat() (string, error) { method generateHMACSignature (line 997) | func (p *Provider) generateHMACSignature() (string, error) { method AccessToken (line 1055) | func (p *Provider) AccessToken(code, redirectURI string) (*OAuthTokenRes... FILE: openapi/user/team.go function GinTeamConfig (line 27) | func GinTeamConfig(c *gin.Context) { function GinTeamList (line 51) | func GinTeamList(c *gin.Context) { function GinTeamGet (line 80) | func GinTeamGet(c *gin.Context) { function GinTeamCreate (line 152) | func GinTeamCreate(c *gin.Context) { function GinTeamUpdate (line 228) | func GinTeamUpdate(c *gin.Context) { function GinTeamCurrent (line 325) | func GinTeamCurrent(c *gin.Context) { function GinTeamSelection (line 377) | func GinTeamSelection(c *gin.Context) { function GinTeamDelete (line 449) | func GinTeamDelete(c *gin.Context) { function ProcessTeamList (line 506) | func ProcessTeamList(process *process.Process) interface{} { function ProcessTeamGet (line 568) | func ProcessTeamGet(process *process.Process) interface{} { function ProcessTeamCreate (line 597) | func ProcessTeamCreate(process *process.Process) interface{} { function ProcessTeamUpdate (line 631) | func ProcessTeamUpdate(process *process.Process) interface{} { function ProcessTeamDelete (line 664) | func ProcessTeamDelete(process *process.Process) interface{} { function teamList (line 695) | func teamList(ctx context.Context, userID string, param model.QueryParam... function getCurrentTeamID (line 727) | func getCurrentTeamID(ctx context.Context, teamID, userID string) (strin... function teamGet (line 753) | func teamGet(ctx context.Context, userID, teamID string) (maps.MapStrAny... function teamCreate (line 780) | func teamCreate(ctx context.Context, userID string, teamData maps.MapStr... function teamUpdate (line 870) | func teamUpdate(ctx context.Context, userID, teamID string, updateData m... function teamDelete (line 902) | func teamDelete(ctx context.Context, userID, teamID string) error { function getUserProvider (line 940) | func getUserProvider() (*user.DefaultUser, error) { function mapToTeamResponse (line 961) | func mapToTeamResponse(data maps.MapStr) TeamResponse { function mapToTeamDetailResponse (line 981) | func mapToTeamDetailResponse(data maps.MapStr) TeamDetailResponse { function getUserTeams (line 1006) | func getUserTeams(ctx context.Context, userID string) ([]maps.MapStr, er... function getOwnerTeams (line 1023) | func getOwnerTeams(ctx context.Context, userID string) ([]maps.MapStr, e... function getUserTeamsCount (line 1041) | func getUserTeamsCount(ctx context.Context, userID string) (int64, error) { FILE: openapi/user/team_invitation.go function GinTeamInvitationList (line 32) | func GinTeamInvitationList(c *gin.Context) { function GinTeamInvitationGetPublic (line 104) | func GinTeamInvitationGetPublic(c *gin.Context) { function GinTeamInvitationGet (line 161) | func GinTeamInvitationGet(c *gin.Context) { function GinTeamInvitationCreate (line 220) | func GinTeamInvitationCreate(c *gin.Context) { function GinTeamInvitationResend (line 346) | func GinTeamInvitationResend(c *gin.Context) { function GinTeamInvitationDelete (line 427) | func GinTeamInvitationDelete(c *gin.Context) { function GinTeamInvitationAccept (line 481) | func GinTeamInvitationAccept(c *gin.Context) { function ProcessTeamInvitationList (line 622) | func ProcessTeamInvitationList(process *process.Process) interface{} { function ProcessTeamInvitationGet (line 670) | func ProcessTeamInvitationGet(process *process.Process) interface{} { function ProcessTeamInvitationCreate (line 702) | func ProcessTeamInvitationCreate(process *process.Process) interface{} { function ProcessTeamInvitationResend (line 744) | func ProcessTeamInvitationResend(process *process.Process) interface{} { function ProcessTeamInvitationDelete (line 784) | func ProcessTeamInvitationDelete(process *process.Process) interface{} { function getAdminRoot (line 818) | func getAdminRoot() string { function getRequestBaseURL (line 830) | func getRequestBaseURL(c *gin.Context) string { function buildTeamInvitationLink (line 858) | func buildTeamInvitationLink(invitationID, token string, teamConfig *Tea... function teamInvitationList (line 886) | func teamInvitationList(ctx context.Context, userID, teamID string, page... function teamInvitationGetPublic (line 937) | func teamInvitationGetPublic(ctx context.Context, invitationID, locale s... function teamInvitationGet (line 1041) | func teamInvitationGet(ctx context.Context, userID, teamID, invitationID... function teamInvitationCreate (line 1082) | func teamInvitationCreate(ctx context.Context, userID, teamID string, in... function teamInvitationResend (line 1249) | func teamInvitationResend(ctx context.Context, userID, teamID, invitatio... function teamInvitationDelete (line 1381) | func teamInvitationDelete(ctx context.Context, userID, teamID, invitatio... function generateTeamInvitationToken (line 1427) | func generateTeamInvitationToken() (string, error) { function getTeamInvitationExpiry (line 1439) | func getTeamInvitationExpiry(invitationData maps.MapStrAny) (time.Durati... function sendTeamInvitationEmail (line 1490) | func sendTeamInvitationEmail(ctx context.Context, email, inviterName, te... function convertToTeamInvitationResponse (line 1571) | func convertToTeamInvitationResponse(data maps.MapStrAny, requestBaseURL... function mapToTeamInvitationResponse (line 1576) | func mapToTeamInvitationResponse(data maps.MapStr, requestBaseURL string... function mapToTeamInvitationDetailResponse (line 1625) | func mapToTeamInvitationDetailResponse(data maps.MapStr, requestBaseURL ... FILE: openapi/user/types.go type LoginStatus (line 8) | type LoginStatus type EntryVerificationStatus (line 11) | type EntryVerificationStatus constant LoginStatusSuccess (line 15) | LoginStatusSuccess LoginStatus = "ok" constant LoginStatusMFA (line 17) | LoginStatusMFA LoginStatus = "mfa_required" constant LoginStatusTeamSelection (line 19) | LoginStatusTeamSelection LoginStatus = "team_selection_required" constant LoginStatusInviteRequired (line 21) | LoginStatusInviteRequired LoginStatus = "invite_required" constant LoginStatusInviteVerification (line 23) | LoginStatusInviteVerification LoginStatus = "invite_verification_required" constant EntryVerificationStatusLogin (line 28) | EntryVerificationStatusLogin EntryVerificationStatus = "login" constant EntryVerificationStatusRegister (line 30) | EntryVerificationStatusRegister EntryVerificationStatus = "register" constant EntryVerificationStatusInviteRequired (line 32) | EntryVerificationStatusInviteRequired EntryVerificationStatus = "invite_... constant ScopeMFAVerification (line 37) | ScopeMFAVerification = "builtin:mfa:verification" constant ScopeTeamSelection (line 39) | ScopeTeamSelection = "builtin:teams:selection" constant ScopeInviteVerification (line 41) | ScopeInviteVerification = "builtin:invite:verification" constant ScopeEntryVerification (line 43) | ScopeEntryVerification = "builtin:entry:verification" type FormConfig (line 47) | type FormConfig struct type UsernameConfig (line 61) | type UsernameConfig struct type PasswordConfig (line 67) | type PasswordConfig struct type CaptchaConfig (line 72) | type CaptchaConfig struct type TokenConfig (line 78) | type TokenConfig struct type ThirdParty (line 85) | type ThirdParty struct type ProviderRegisterConfig (line 90) | type ProviderRegisterConfig struct type EntryConfig (line 96) | type EntryConfig struct type MessengerConfig (line 118) | type MessengerConfig struct type MessengerChannelConfig (line 124) | type MessengerChannelConfig struct type InvitePageConfig (line 130) | type InvitePageConfig struct type YaoClientConfig (line 140) | type YaoClientConfig struct type Provider (line 149) | type Provider struct type SecretGenerator (line 168) | type SecretGenerator struct type Endpoints (line 177) | type Endpoints struct type OAuthAuthorizationURLResponse (line 187) | type OAuthAuthorizationURLResponse struct type OAuthCallbackResponse (line 194) | type OAuthCallbackResponse struct type OAuthAuthbackRequest (line 201) | type OAuthAuthbackRequest struct type OAuthTokenResponse (line 210) | type OAuthTokenResponse struct type OAuthTokenRequest (line 222) | type OAuthTokenRequest struct type LoginResponse (line 237) | type LoginResponse struct type LoginSuccessResponse (line 252) | type LoginSuccessResponse struct type LoginOptions (line 269) | type LoginOptions struct type IssueTokensParams (line 276) | type IssueTokensParams struct type EntryVerifyRequest (line 293) | type EntryVerifyRequest struct type EntryVerifyResponse (line 301) | type EntryVerifyResponse struct type EntryRegisterRequest (line 313) | type EntryRegisterRequest struct type EntryLoginRequest (line 323) | type EntryLoginRequest struct type EntrySendOTPResponse (line 330) | type EntrySendOTPResponse struct constant MappingGoogle (line 337) | MappingGoogle = "google" constant MappingGitHub (line 338) | MappingGitHub = "github" constant MappingMicrosoft (line 339) | MappingMicrosoft = "microsoft" constant MappingApple (line 340) | MappingApple = "apple" constant MappingWeChat (line 341) | MappingWeChat = "wechat" constant MappingGeneric (line 342) | MappingGeneric = "generic" constant UserInfoSourceEndpoint (line 347) | UserInfoSourceEndpoint = "endpoint" constant UserInfoSourceIDToken (line 348) | UserInfoSourceIDToken = "id_token" constant UserInfoSourceAccessToken (line 349) | UserInfoSourceAccessToken = "access_token" type TeamSettings (line 355) | type TeamSettings struct type MemberSettings (line 361) | type MemberSettings struct type InvitationSettings (line 367) | type InvitationSettings struct type TeamResponse (line 375) | type TeamResponse struct type TeamDetailResponse (line 391) | type TeamDetailResponse struct type CreateTeamRequest (line 398) | type CreateTeamRequest struct type UpdateTeamRequest (line 406) | type UpdateTeamRequest struct type TeamSelectionRequest (line 414) | type TeamSelectionRequest struct type MemberResponse (line 421) | type MemberResponse struct type MemberDetailResponse (line 449) | type MemberDetailResponse struct type CreateRobotMemberRequest (line 471) | type CreateRobotMemberRequest struct type UpdateRobotMemberRequest (line 490) | type UpdateRobotMemberRequest struct type MemberListRequest (line 511) | type MemberListRequest struct type UpdateMemberRequest (line 531) | type UpdateMemberRequest struct type UpdateMemberProfileRequest (line 540) | type UpdateMemberProfileRequest struct type ProfileGetRequest (line 550) | type ProfileGetRequest struct type ProfileUpdateResponse (line 557) | type ProfileUpdateResponse struct type ProfileUpdateRequest (line 565) | type ProfileUpdateRequest struct type InvitationResponse (line 587) | type InvitationResponse struct type InvitationDetailResponse (line 607) | type InvitationDetailResponse struct type PublicInvitationResponse (line 616) | type PublicInvitationResponse struct type InviterInfo (line 630) | type InviterInfo struct type CreateInvitationRequest (line 637) | type CreateInvitationRequest struct type RobotConfig (line 652) | type RobotConfig struct type RobotAgents (line 660) | type RobotAgents struct type RobotEmailDomain (line 667) | type RobotEmailDomain struct type EmailDomainWhitelist (line 678) | type EmailDomainWhitelist struct type RobotDefaults (line 685) | type RobotDefaults struct type TeamConfig (line 692) | type TeamConfig struct type TeamRole (line 701) | type TeamRole struct type InviteConfig (line 711) | type InviteConfig struct FILE: openapi/user/user.go function init (line 12) | func init() { function Attach (line 90) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function attachTeam (line 128) | func attachTeam(group *gin.RouterGroup, oauth types.OAuth) { function attachInvitations (line 175) | func attachInvitations(group *gin.RouterGroup, oauth types.OAuth) { function attachPrivacy (line 183) | func attachPrivacy(group *gin.RouterGroup, oauth types.OAuth) { function attachPreferences (line 190) | func attachPreferences(group *gin.RouterGroup, oauth types.OAuth) { function attachBilling (line 197) | func attachBilling(group *gin.RouterGroup, oauth types.OAuth) { function attachReferral (line 205) | func attachReferral(group *gin.RouterGroup, oauth types.OAuth) { function attachCredits (line 216) | func attachCredits(group *gin.RouterGroup, oauth types.OAuth) { function attachUsage (line 228) | func attachUsage(group *gin.RouterGroup, oauth types.OAuth) { function attachAPIKeys (line 236) | func attachAPIKeys(group *gin.RouterGroup, oauth types.OAuth) { function attachSubscription (line 246) | func attachSubscription(group *gin.RouterGroup, oauth types.OAuth) { function attachProfile (line 252) | func attachProfile(group *gin.RouterGroup, oauth types.OAuth) { function attachUsers (line 258) | func attachUsers(group *gin.RouterGroup, oauth types.OAuth) { function attachAccount (line 267) | func attachAccount(group *gin.RouterGroup, oauth types.OAuth) { function attachMFA (line 293) | func attachMFA(group *gin.RouterGroup, oauth types.OAuth) { function attachThirdParty (line 315) | func attachThirdParty(group *gin.RouterGroup, oauth types.OAuth) { function placeholder (line 329) | func placeholder(c *gin.Context) { FILE: openapi/user/utils.go function GetUserIDFromSession (line 17) | func GetUserIDFromSession(process *process.Process) string { function MaskEmail (line 41) | func MaskEmail(email string) string { function parseUserAgent (line 75) | func parseUserAgent(userAgent string) (device string, platform string) { function makeLoginContext (line 114) | func makeLoginContext(c *gin.Context) *LoginContext { function userIPAddress (line 141) | func userIPAddress(c *gin.Context) string { function parseIPList (line 183) | func parseIPList(value string) []string { function extractIPFromAddr (line 215) | func extractIPFromAddr(addr string) string { function isValidPublicIP (line 237) | func isValidPublicIP(ipStr string) bool { function isPrivateIPv4 (line 258) | func isPrivateIPv4(ip net.IP) bool { function isPrivateIPv6 (line 279) | func isPrivateIPv6(ip net.IP) bool { FILE: openapi/utils/convert.go function ToBool (line 17) | func ToBool(v interface{}) bool { function ToString (line 52) | func ToString(v interface{}, timeFormat ...string) string { function ToInt64 (line 92) | func ToInt64(v interface{}) int64 { function ToInt (line 117) | func ToInt(v interface{}) int { function ToFloat64 (line 142) | func ToFloat64(v interface{}) float64 { function ToTimeString (line 169) | func ToTimeString(v interface{}) string { function GetTimeFormat (line 210) | func GetTimeFormat(locale string) string { function FormatTimeWithLocale (line 230) | func FormatTimeWithLocale(v interface{}, targetFormat string) string { FILE: openapi/utils/session.go function SessionGuard (line 8) | func SessionGuard(c *gin.Context) { function GetSessionID (line 17) | func GetSessionID(c *gin.Context) string { function GetAccessToken (line 22) | func GetAccessToken(c *gin.Context) string { function GetRefreshToken (line 27) | func GetRefreshToken(c *gin.Context) string { function getCookieWithPrefixes (line 32) | func getCookieWithPrefixes(c *gin.Context, baseName string) string { function HasValidSession (line 50) | func HasValidSession(c *gin.Context) bool { function GetTokenFromCookie (line 55) | func GetTokenFromCookie(c *gin.Context, tokenName string) string { FILE: openapi/well-known.go method attachWellKnown (line 16) | func (openapi *OpenAPI) attachWellKnown(router *gin.Engine) { type YaoMetadata (line 35) | type YaoMetadata struct method yaoMetadata (line 60) | func (openapi *OpenAPI) yaoMetadata(c *gin.Context) { function resolveServerURL (line 89) | func resolveServerURL(issuerURL string) string { function resolveGRPCAddr (line 112) | func resolveGRPCAddr(c *gin.Context) string { method oauthServerMetadata (line 145) | func (openapi *OpenAPI) oauthServerMetadata(c *gin.Context) { method oauthOpenIDConfiguration (line 159) | func (openapi *OpenAPI) oauthOpenIDConfiguration(c *gin.Context) {} method oauthProtectedResourceMetadata (line 162) | func (openapi *OpenAPI) oauthProtectedResourceMetadata(c *gin.Context) {} FILE: openapi/workspace/workspace.go function Attach (line 33) | func Attach(group *gin.RouterGroup, oauth types.OAuth) { function resolveOwner (line 53) | func resolveOwner(authInfo *types.AuthorizedInfo) string { function checkWSOwner (line 64) | func checkWSOwner(c *gin.Context, w *ws.Workspace, owner string) bool { type createRequest (line 77) | type createRequest struct type updateRequest (line 84) | type updateRequest struct type mkdirRequest (line 89) | type mkdirRequest struct type renameRequest (line 93) | type renameRequest struct type workspaceResponse (line 98) | type workspaceResponse struct function toResponse (line 108) | func toResponse(w *ws.Workspace) workspaceResponse { function mgr (line 120) | func mgr() *ws.Manager { function resolveAndCheckWS (line 125) | func resolveAndCheckWS(c *gin.Context) (*ws.Workspace, bool) { function handleList (line 151) | func handleList(c *gin.Context) { function handleOptions (line 183) | func handleOptions(c *gin.Context) { function handleCreate (line 212) | func handleCreate(c *gin.Context) { function handleGet (line 243) | func handleGet(c *gin.Context) { function handleUpdate (line 251) | func handleUpdate(c *gin.Context) { function handleDelete (line 275) | func handleDelete(c *gin.Context) { function handleRootDir (line 290) | func handleRootDir(c *gin.Context) { function handleListFiles (line 305) | func handleListFiles(c *gin.Context) { function handleReadFile (line 321) | func handleReadFile(c *gin.Context) { function handleWriteFile (line 360) | func handleWriteFile(c *gin.Context) { function handleDeleteFile (line 385) | func handleDeleteFile(c *gin.Context) { function handleMkdir (line 404) | func handleMkdir(c *gin.Context) { function handleRename (line 424) | func handleRename(c *gin.Context) { FILE: pack/pack.go type Pack (line 14) | type Pack struct method Encrypt (line 25) | func (pack *Pack) Encrypt(reader io.Reader, writer io.Writer) error { method Decrypt (line 30) | func (pack *Pack) Decrypt(reader io.Reader, writer io.Writer) error { function SetCipher (line 20) | func SetCipher(license string) { FILE: pipe/context.go method Create (line 15) | func (pipe *Pipe) Create() *Context { function Open (line 39) | func Open(id string) (*Context, error) { function Close (line 48) | func Close(id string) { method Resume (line 53) | func (ctx *Context) Resume(id string, args ...any) any { method resume (line 62) | func (ctx *Context) resume(args ...any) (any, error) { method Run (line 93) | func (ctx *Context) Run(args ...any) any { method Exec (line 102) | func (ctx *Context) Exec(args ...any) (any, error) { method exec (line 116) | func (ctx *Context) exec(node *Node, input Input) (output any, err error) { method next (line 183) | func (ctx *Context) next() (*Node, bool, error) { method parseNodeInput (line 220) | func (ctx *Context) parseNodeInput(node *Node, input Input) (Input, erro... method parseNodeOutput (line 236) | func (ctx *Context) parseNodeOutput(node *Node, output any) (any, error) { method parseInput (line 252) | func (ctx *Context) parseInput(input Input) (Input, error) { method parseOutput (line 267) | func (ctx *Context) parseOutput() (any, error) { method data (line 286) | func (ctx *Context) data(node *Node) Data { method With (line 317) | func (ctx *Context) With(context context.Context) *Context { method WithGlobal (line 323) | func (ctx *Context) WithGlobal(data map[string]interface{}) *Context { method WithSid (line 336) | func (ctx *Context) WithSid(sid string) *Context { method inheritance (line 341) | func (ctx *Context) inheritance(parent *Context) *Context { method Errorf (line 352) | func (ctx *Context) Errorf(format string, a ...any) error { FILE: pipe/expression.go method New (line 20) | func (data Data) New(stmt string) (*vm.Program, error) { method Exec (line 38) | func (data Data) Exec(stmt string) (interface{}, error) { method ExecString (line 54) | func (data Data) ExecString(stmt string) (string, error) { function IsExpression (line 72) | func IsExpression(stmt string) bool { method replace (line 76) | func (data Data) replace(value any) (any, error) { method replacePrompts (line 95) | func (data Data) replacePrompts(prompts []Prompt) ([]Prompt, error) { method replaceAny (line 113) | func (data Data) replaceAny(value string) (any, error) { method replaceString (line 127) | func (data Data) replaceString(value string) (string, error) { method replaceMap (line 140) | func (data Data) replaceMap(value map[string]any) (map[string]any, error) { method replaceArray (line 156) | func (data Data) replaceArray(value []any) ([]any, error) { method replaceInput (line 173) | func (data Data) replaceInput(value Input) (Input, error) { function anyToInput (line 177) | func anyToInput(v any) Input { FILE: pipe/json.go method UnmarshalJSON (line 10) | func (whitelist *Whitelist) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 48) | func (input *Input) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 81) | func (args *Args) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 111) | func (autoFill *AutoFill) UnmarshalJSON(data []byte) error { FILE: pipe/node.go method Case (line 14) | func (node *Node) Case(ctx *Context, input Input) (any, error) { method YaoProcess (line 69) | func (node *Node) YaoProcess(ctx *Context, input Input) (any, error) { method AI (line 103) | func (node *Node) AI(ctx *Context, input Input) (any, error) { method chatCompletions (line 134) | func (node *Node) chatCompletions(ctx *Context, prompts []Prompt, option... method aiMergeHistory (line 183) | func (node *Node) aiMergeHistory(ctx *Context, prompts []Prompt) []Prompt { method Render (line 212) | func (node *Node) Render(ctx *Context, input Input) (any, bool, error) { method renderCli (line 241) | func (node *Node) renderCli(ctx *Context, input Input) (any, error) { method Errorf (line 284) | func (node *Node) Errorf(ctx *Context, format string, a ...any) error { FILE: pipe/pipe.go function Load (line 16) | func Load(cfg config.Config) error { function New (line 53) | func New(source []byte) (*Pipe, error) { function NewFile (line 69) | func NewFile(file string, root string) (*Pipe, error) { function Set (line 91) | func Set(id string, pipe *Pipe) { function Remove (line 96) | func Remove(id string) { function Get (line 103) | func Get(id string) (*Pipe, error) { method build (line 111) | func (pipe *Pipe) build() error { method HasNodes (line 121) | func (pipe *Pipe) HasNodes() bool { method _build (line 125) | func (pipe *Pipe) _build() error { FILE: pipe/pipe_test.go function TestRunCli (line 17) | func TestRunCli(t *testing.T) { function TestRunWeb (line 51) | func TestRunWeb(t *testing.T) { function prepare (line 90) | func prepare(t *testing.T) { FILE: pipe/process.go function init (line 8) | func init() { function processPipes (line 21) | func processPipes(process *process.Process) interface{} { function processCreate (line 33) | func processCreate(process *process.Process) interface{} { function processCreateWith (line 51) | func processCreateWith(process *process.Process) interface{} { function processRun (line 86) | func processRun(process *process.Process) interface{} { function processResume (line 103) | func processResume(process *process.Process) interface{} { function processResumeWith (line 123) | func processResumeWith(process *process.Process) interface{} { function processClose (line 161) | func processClose(process *process.Process) interface{} { FILE: pipe/process_test.go function TestProcessPipes (line 13) | func TestProcessPipes(t *testing.T) { function TestProcessRun (line 38) | func TestProcessRun(t *testing.T) { function TestProcessCreate (line 62) | func TestProcessCreate(t *testing.T) { function TestProcessCreateWith (line 95) | func TestProcessCreateWith(t *testing.T) { function TestProcessResume (line 129) | func TestProcessResume(t *testing.T) { function TestProcessResumeWith (line 157) | func TestProcessResumeWith(t *testing.T) { function TestProcessClose (line 186) | func TestProcessClose(t *testing.T) { FILE: pipe/types.go type Pipe (line 8) | type Pipe struct type Context (line 25) | type Context struct type Hooks (line 44) | type Hooks struct type Node (line 49) | type Node struct type Whitelist (line 69) | type Whitelist type Input (line 72) | type Input type Args (line 75) | type Args type Data (line 78) | type Data type ResumeContext (line 81) | type ResumeContext struct type AutoFill (line 91) | type AutoFill struct type Case (line 97) | type Case struct type Prompt (line 104) | type Prompt struct type Process (line 110) | type Process struct type Request (line 116) | type Request struct type ChatCompletionChunk (line 119) | type ChatCompletionChunk struct type DeltaStruct (line 134) | type DeltaStruct struct FILE: pipe/ui/cli/cli.go type Cli (line 13) | type Cli struct method Render (line 42) | func (cli *Cli) Render(args []any) ([]string, error) { type Option (line 21) | type Option struct function SetReader (line 27) | func SetReader(r io.Reader) { function New (line 32) | func New(option *Option) *Cli { FILE: pipe/utils.go function ref (line 8) | func ref(s string) string { function promptsToMap (line 12) | func promptsToMap(prompts []Prompt) []map[string]interface{} { method finger (line 23) | func (promt Prompt) finger() string { FILE: plugin/plugin.go function Load (line 16) | func Load(cfg config.Config) error { function Root (line 54) | func Root(cfg config.Config) (string, error) { FILE: plugin/plugin_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 21) | func check(t *testing.T) { FILE: query/query.go function Load (line 14) | func Load(cfg config.Config) error { function Unload (line 44) | func Unload() error { function registerDefault (line 52) | func registerDefault() { FILE: query/query_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 22) | func check(t *testing.T) { function loadConnectors (line 32) | func loadConnectors(t *testing.T) { FILE: registry/client.go type Client (line 21) | type Client struct method ensureDiscovered (line 67) | func (c *Client) ensureDiscovered() { method Discover (line 203) | func (c *Client) Discover() (*RegistryInfo, error) { method Info (line 212) | func (c *Client) Info() (*ServerInfo, error) { method List (line 224) | func (c *Client) List(pkgType string, scope string, query string, page... method Search (line 247) | func (c *Client) Search(q string, pkgType string, page, pageSize int) ... method GetPackument (line 269) | func (c *Client) GetPackument(pkgType, scope, name string) (*Packument... method GetVersion (line 280) | func (c *Client) GetVersion(pkgType, scope, name, version string) (*Ve... method GetDependencies (line 293) | func (c *Client) GetDependencies(pkgType, scope, name, version string,... method GetDependents (line 308) | func (c *Client) GetDependents(pkgType, scope, name string) (*Dependen... method Push (line 321) | func (c *Client) Push(pkgType, scope, name, version string, zipData []... method Pull (line 350) | func (c *Client) Pull(pkgType, scope, name, version string) ([]byte, s... method SetTag (line 374) | func (c *Client) SetTag(pkgType, scope, name, tag, version string) (*T... method DeleteTag (line 404) | func (c *Client) DeleteTag(pkgType, scope, name, tag string) (*TagDele... method DeleteVersion (line 433) | func (c *Client) DeleteVersion(pkgType, scope, name, version string) (... method setAuth (line 461) | func (c *Client) setAuth(req *http.Request) { method doGet (line 467) | func (c *Client) doGet(path string, params url.Values, out interface{}... type Option (line 31) | type Option function WithAuth (line 34) | func WithAuth(username, password string) Option { function WithHTTPClient (line 42) | func WithHTTPClient(hc *http.Client) Option { function WithTimeout (line 47) | func WithTimeout(d time.Duration) Option { function New (line 54) | func New(serverURL string, opts ...Option) *Client { type RegistryInfo (line 79) | type RegistryInfo struct type ServerInfo (line 88) | type ServerInfo struct type PushResult (line 94) | type PushResult struct type DeleteResult (line 103) | type DeleteResult struct type TagResult (line 111) | type TagResult struct type TagDeleteResult (line 117) | type TagDeleteResult struct type ListResult (line 122) | type ListResult struct type Packument (line 130) | type Packument struct type VersionDetail (line 150) | type VersionDetail struct type Dependency (line 164) | type Dependency struct type DependencyList (line 172) | type DependencyList struct type DependentList (line 177) | type DependentList struct type Artifact (line 182) | type Artifact struct type APIError (line 191) | type APIError struct method Error (line 196) | func (e *APIError) Error() string { function parseError (line 485) | func parseError(resp *http.Response) error { FILE: registry/client_test.go constant testScope (line 15) | testScope = "@yaoagents" function serverURL (line 18) | func serverURL() string { function newClient (line 25) | func newClient() *registry.Client { function newPublicClient (line 39) | func newPublicClient() *registry.Client { function cleanup (line 44) | func cleanup(c *registry.Client, pkgType, scope, name, version string) { function TestDiscover (line 50) | func TestDiscover(t *testing.T) { function TestInfo (line 67) | func TestInfo(t *testing.T) { function TestAssistantCRUD (line 83) | func TestAssistantCRUD(t *testing.T) { function TestMCPToolCRUD (line 216) | func TestMCPToolCRUD(t *testing.T) { function TestRobotCRUD (line 274) | func TestRobotCRUD(t *testing.T) { function TestDistTags (line 320) | func TestDistTags(t *testing.T) { function TestDependencies (line 393) | func TestDependencies(t *testing.T) { function TestListAndSearch (line 448) | func TestListAndSearch(t *testing.T) { function TestClientOptions (line 514) | func TestClientOptions(t *testing.T) { function TestAPIErrorString (line 528) | func TestAPIErrorString(t *testing.T) { function TestNetworkError (line 536) | func TestNetworkError(t *testing.T) { function TestRecursiveDependencies (line 593) | func TestRecursiveDependencies(t *testing.T) { function TestPushWithoutAuth (line 635) | func TestPushWithoutAuth(t *testing.T) { function TestGetNonExistentPackage (line 654) | func TestGetNonExistentPackage(t *testing.T) { function TestPullNonExistentVersion (line 669) | func TestPullNonExistentVersion(t *testing.T) { function TestInvalidType (line 677) | func TestInvalidType(t *testing.T) { function TestDeleteNonExistentTag (line 692) | func TestDeleteNonExistentTag(t *testing.T) { function TestPushDuplicateVersion (line 719) | func TestPushDuplicateVersion(t *testing.T) { function TestDeleteNonExistentVersion (line 747) | func TestDeleteNonExistentVersion(t *testing.T) { function TestSetTagNonExistentPackage (line 762) | func TestSetTagNonExistentPackage(t *testing.T) { function TestListWithQueryFilter (line 777) | func TestListWithQueryFilter(t *testing.T) { function TestReleaseCRUD (line 801) | func TestReleaseCRUD(t *testing.T) { function TestParseErrorNonJSON (line 856) | func TestParseErrorNonJSON(t *testing.T) { function TestInvalidBaseURL (line 877) | func TestInvalidBaseURL(t *testing.T) { function TestPullNonOKStatus (line 901) | func TestPullNonOKStatus(t *testing.T) { function TestSetTagDeleteTagError (line 922) | func TestSetTagDeleteTagError(t *testing.T) { function TestDeleteVersionError (line 942) | func TestDeleteVersionError(t *testing.T) { function TestMalformedResponseBody (line 956) | func TestMalformedResponseBody(t *testing.T) { function TestPullReadBodyError (line 1000) | func TestPullReadBodyError(t *testing.T) { function TestDoTransportError (line 1019) | func TestDoTransportError(t *testing.T) { FILE: registry/manager/agent/add.go type AddOptions (line 13) | type AddOptions struct method Add (line 27) | func (m *Manager) Add(pkgID string, opts AddOptions) error { method installDependencies (line 124) | func (m *Manager) installDependencies(deps map[string]string, lf *common... FILE: registry/manager/agent/agent.go type Manager (line 11) | type Manager struct function New (line 19) | func New(client *registry.Client, appRoot string, prompter common.Prompt... FILE: registry/manager/agent/agent_test.go function buildTestZip (line 18) | func buildTestZip(scope, name, version string, deps []testdata.ManifestD... function buildMCPTestZip (line 33) | func buildMCPTestZip(scope, name, version string) []byte { function mockRegistryServer (line 49) | func mockRegistryServer(packages map[string][]byte) *httptest.Server { function TestAddBasic (line 102) | func TestAddBasic(t *testing.T) { function TestAddAlreadyInstalled (line 157) | func TestAddAlreadyInstalled(t *testing.T) { function TestAddDirectoryConflict (line 183) | func TestAddDirectoryConflict(t *testing.T) { function TestAddWithDependencies (line 207) | func TestAddWithDependencies(t *testing.T) { function TestUpdateBasic (line 239) | func TestUpdateBasic(t *testing.T) { function TestUpdateLocallyModified (line 291) | func TestUpdateLocallyModified(t *testing.T) { function TestUpdateNotInstalled (line 348) | func TestUpdateNotInstalled(t *testing.T) { function TestUpdateForkedPackage (line 365) | func TestUpdateForkedPackage(t *testing.T) { function TestPushBasic (line 396) | func TestPushBasic(t *testing.T) { function TestPushLocalScope (line 417) | func TestPushLocalScope(t *testing.T) { function TestPushForce (line 435) | func TestPushForce(t *testing.T) { function TestPushNoVersion (line 481) | func TestPushNoVersion(t *testing.T) { function TestForkFromInstalled (line 495) | func TestForkFromInstalled(t *testing.T) { function TestForkFromRegistry (line 553) | func TestForkFromRegistry(t *testing.T) { function TestForkTargetExists (line 579) | func TestForkTargetExists(t *testing.T) { function TestForkCustomScope (line 599) | func TestForkCustomScope(t *testing.T) { function TestScanDependencies (line 630) | func TestScanDependencies(t *testing.T) { function TestScanDependenciesSkipUnscoped (line 658) | func TestScanDependenciesSkipUnscoped(t *testing.T) { FILE: registry/manager/agent/fork.go type ForkOptions (line 13) | type ForkOptions struct method Fork (line 24) | func (m *Manager) Fork(pkgID string, opts ForkOptions) error { function copyDir (line 103) | func copyDir(src, dst string) error { function copyFile (line 123) | func copyFile(src, dst string) error { FILE: registry/manager/agent/push.go type PushOptions (line 12) | type PushOptions struct method Push (line 27) | func (m *Manager) Push(yaoID string, opts PushOptions) error { FILE: registry/manager/agent/scan.go type packageYao (line 15) | type packageYao struct type mcpConfig (line 21) | type mcpConfig struct type mcpServerEntry (line 25) | type mcpServerEntry struct function ScanDependencies (line 32) | func ScanDependencies(assistantDir, appRoot string) (map[string]string, ... function resolveMCPDep (line 68) | func resolveMCPDep(serverID, appRoot string) (string, error) { FILE: registry/manager/agent/update.go type UpdateOptions (line 13) | type UpdateOptions struct method Update (line 24) | func (m *Manager) Update(pkgID string, opts UpdateOptions) error { function writeFile (line 199) | func writeFile(path string, content []byte) error { FILE: registry/manager/agent_e2e_test.go function TestE2EAgent_SingleDepLifecycle (line 18) | func TestE2EAgent_SingleDepLifecycle(t *testing.T) { function TestE2EAgent_MultiDepLifecycle (line 151) | func TestE2EAgent_MultiDepLifecycle(t *testing.T) { function TestE2EAgent_NoDep (line 226) | func TestE2EAgent_NoDep(t *testing.T) { function TestE2EAgent_AddAlreadyInstalled (line 281) | func TestE2EAgent_AddAlreadyInstalled(t *testing.T) { function TestE2EAgent_ForkToCustomScope (line 307) | func TestE2EAgent_ForkToCustomScope(t *testing.T) { function TestE2EAgent_ForkTargetExists (line 336) | func TestE2EAgent_ForkTargetExists(t *testing.T) { function TestE2EAgent_PushLocalRejected (line 366) | func TestE2EAgent_PushLocalRejected(t *testing.T) { function TestE2EAgent_SharedMCPDep (line 388) | func TestE2EAgent_SharedMCPDep(t *testing.T) { function TestE2EAgent_ForkFromRegistry (line 452) | func TestE2EAgent_ForkFromRegistry(t *testing.T) { FILE: registry/manager/common/deps.go type DepStatus (line 9) | type DepStatus constant DepNotInstalled (line 12) | DepNotInstalled DepStatus = iota constant DepSatisfied (line 13) | DepSatisfied constant DepConflict (line 14) | DepConflict type DepCheckResult (line 18) | type DepCheckResult struct function CheckDependencies (line 27) | func CheckDependencies(deps map[string]string, lf *RegistryYao) (missing... function DetectCycle (line 60) | func DetectCycle(installing map[string]bool, pkgID string) bool { function VersionSatisfies (line 70) | func VersionSatisfies(installedVer, constraint string) bool { function caretSatisfies (line 88) | func caretSatisfies(installed, minVer string) bool { function compareVersions (line 110) | func compareVersions(a, b string) int { function parseVersion (line 132) | func parseVersion(v string) (major, minor, patch int, err error) { FILE: registry/manager/common/deps_test.go function TestVersionSatisfies (line 7) | func TestVersionSatisfies(t *testing.T) { function TestCheckDependencies (line 37) | func TestCheckDependencies(t *testing.T) { function TestCheckDependenciesEmptyLockfile (line 77) | func TestCheckDependenciesEmptyLockfile(t *testing.T) { function TestDetectCycle (line 96) | func TestDetectCycle(t *testing.T) { function TestCompareVersions (line 109) | func TestCompareVersions(t *testing.T) { function TestParseVersionInvalid (line 124) | func TestParseVersionInvalid(t *testing.T) { FILE: registry/manager/common/hash.go function HashFile (line 13) | func HashFile(path string) (string, error) { function HashBytes (line 28) | func HashBytes(data []byte) string { function HashDir (line 35) | func HashDir(dir, relPrefix string) (map[string]string, error) { FILE: registry/manager/common/hash_test.go function TestHashFile (line 10) | func TestHashFile(t *testing.T) { function TestHashBytes (line 41) | func TestHashBytes(t *testing.T) { function TestHashDir (line 58) | func TestHashDir(t *testing.T) { FILE: registry/manager/common/lockfile.go constant lockfileName (line 10) | lockfileName = "registry.yao" function LoadLockfile (line 14) | func LoadLockfile(appRoot string) (*RegistryYao, error) { function SaveLockfile (line 41) | func SaveLockfile(appRoot string, lf *RegistryYao) error { method GetPackage (line 52) | func (lf *RegistryYao) GetPackage(pkgID string) (PackageInfo, bool) { method SetPackage (line 58) | func (lf *RegistryYao) SetPackage(pkgID string, info PackageInfo) { method RemovePackage (line 63) | func (lf *RegistryYao) RemovePackage(pkgID string) { method AddRequiredBy (line 81) | func (lf *RegistryYao) AddRequiredBy(depID, requiredByID string) { method DefaultScope (line 97) | func (lf *RegistryYao) DefaultScope() string { function removeFromSlice (line 108) | func removeFromSlice(s []string, item string) []string { FILE: registry/manager/common/lockfile_test.go function TestLoadLockfileNotExist (line 9) | func TestLoadLockfileNotExist(t *testing.T) { function TestLoadAndSaveLockfile (line 23) | func TestLoadAndSaveLockfile(t *testing.T) { function TestLoadLockfileInvalid (line 70) | func TestLoadLockfileInvalid(t *testing.T) { function TestSetAndGetPackage (line 80) | func TestSetAndGetPackage(t *testing.T) { function TestRemovePackage (line 93) | func TestRemovePackage(t *testing.T) { function TestAddRequiredBy (line 124) | func TestAddRequiredBy(t *testing.T) { function TestDefaultScope (line 146) | func TestDefaultScope(t *testing.T) { function TestIsManaged (line 163) | func TestIsManaged(t *testing.T) { FILE: registry/manager/common/packer.go function PackDir (line 40) | func PackDir(dir string, manifest *PkgManifest, extraFiles map[string]st... function UnpackTo (line 107) | func UnpackTo(zipData []byte, destDir string) ([]string, error) { function ReadManifest (line 154) | func ReadManifest(zipData []byte) (*PkgManifest, error) { function ExtractFile (line 180) | func ExtractFile(zipData []byte, relPath string) ([]byte, error) { function ListZipFiles (line 202) | func ListZipFiles(zipData []byte) ([]string, error) { function loadIgnoreRules (line 227) | func loadIgnoreRules(yaoignorePath string) *ignore.GitIgnore { function addFileToZip (line 239) | func addFileToZip(w *zip.Writer, zipPath, srcPath string) error { FILE: registry/manager/common/packer_test.go function TestPackAndUnpack (line 10) | func TestPackAndUnpack(t *testing.T) { function TestPackDirWithExtraFiles (line 66) | func TestPackDirWithExtraFiles(t *testing.T) { function TestReadManifestMissing (line 115) | func TestReadManifestMissing(t *testing.T) { function TestPackDirBuiltinIgnore (line 136) | func TestPackDirBuiltinIgnore(t *testing.T) { function TestPackDirYaoignoreFile (line 181) | func TestPackDirYaoignoreFile(t *testing.T) { function TestPackDirYaoignoreNegation (line 229) | func TestPackDirYaoignoreNegation(t *testing.T) { function TestExtractFile (line 262) | func TestExtractFile(t *testing.T) { FILE: registry/manager/common/path.go function ParsePackageID (line 15) | func ParsePackageID(id string) (scope, name string, err error) { function FormatPackageID (line 28) | func FormatPackageID(scope, name string) string { function PackageDir (line 35) | func PackageDir(pkgType, scope, name, appRoot string) string { function PackageDirRel (line 42) | func PackageDirRel(pkgType, scope, name string) string { function IDFromYaoID (line 51) | func IDFromYaoID(yaoID string) (scope, name string, err error) { function YaoIDFromPackageID (line 60) | func YaoIDFromPackageID(pkgID string) (string, error) { function PackageIDFromYaoID (line 69) | func PackageIDFromYaoID(yaoID string) (string, error) { function ScopeFromPath (line 80) | func ScopeFromPath(relPath string) (string, error) { function IsLocalScope (line 89) | func IsLocalScope(scope string) bool { FILE: registry/manager/common/path_test.go function TestParsePackageID (line 7) | func TestParsePackageID(t *testing.T) { function TestFormatPackageID (line 42) | func TestFormatPackageID(t *testing.T) { function TestPackageDir (line 48) | func TestPackageDir(t *testing.T) { function TestPackageDirRel (line 68) | func TestPackageDirRel(t *testing.T) { function TestIDFromYaoID (line 76) | func TestIDFromYaoID(t *testing.T) { function TestYaoIDFromPackageID (line 108) | func TestYaoIDFromPackageID(t *testing.T) { function TestPackageIDFromYaoID (line 123) | func TestPackageIDFromYaoID(t *testing.T) { function TestScopeFromPath (line 138) | func TestScopeFromPath(t *testing.T) { function TestIsLocalScope (line 153) | func TestIsLocalScope(t *testing.T) { FILE: registry/manager/common/prompt.go type Prompter (line 11) | type Prompter interface type StdinPrompter (line 17) | type StdinPrompter struct method Confirm (line 20) | func (p *StdinPrompter) Confirm(message string) bool { method Choose (line 29) | func (p *StdinPrompter) Choose(message string, options []string) int { type AutoConfirmPrompter (line 47) | type AutoConfirmPrompter struct method Confirm (line 49) | func (p *AutoConfirmPrompter) Confirm(message string) bool {... method Choose (line 50) | func (p *AutoConfirmPrompter) Choose(message string, _ []string) int {... type MockPrompter (line 53) | type MockPrompter struct method Confirm (line 62) | func (p *MockPrompter) Confirm(message string) bool { method Choose (line 72) | func (p *MockPrompter) Choose(message string, options []string) int { FILE: registry/manager/common/prompt_test.go function TestMockPrompter (line 7) | func TestMockPrompter(t *testing.T) { function TestAutoConfirmPrompter (line 42) | func TestAutoConfirmPrompter(t *testing.T) { FILE: registry/manager/common/types.go type RegistryYao (line 7) | type RegistryYao struct type PackageInfo (line 13) | type PackageInfo struct method IsManaged (line 27) | func (p *PackageInfo) IsManaged() bool { type PkgManifest (line 37) | type PkgManifest struct method NormalizeDependencies (line 63) | func (m *PkgManifest) NormalizeDependencies() { method PrepareMarshal (line 93) | func (m *PkgManifest) PrepareMarshal() { type ManifestDep (line 52) | type ManifestDep struct type ManifestAuthor (line 118) | type ManifestAuthor struct constant TypeAssistant (line 125) | TypeAssistant = "assistant" constant TypeMCP (line 126) | TypeMCP = "mcp" constant TypeRobot (line 127) | TypeRobot = "robot" constant TypeDirAssistants (line 129) | TypeDirAssistants = "assistants" constant TypeDirMCPs (line 130) | TypeDirMCPs = "mcps" constant TypeDirRobots (line 131) | TypeDirRobots = "robots" function TypeToDir (line 135) | func TypeToDir(pkgType string) string { function TypeToRegistryType (line 149) | func TypeToRegistryType(pkgType string) string { function BoolPtr (line 163) | func BoolPtr(v bool) *bool { FILE: registry/manager/e2e_helpers_test.go constant testScope (line 15) | testScope = "yaoagents" function registryURL (line 17) | func registryURL() string { function authClient (line 24) | func authClient() *registry.Client { function cleanupPkg (line 28) | func cleanupPkg(c *registry.Client, pkgType, scope, name, version string) { function appRoot (line 39) | func appRoot(t *testing.T) string { function mustMkdir (line 71) | func mustMkdir(t *testing.T, path string) { function mustWriteFile (line 79) | func mustWriteFile(t *testing.T, path, content string) { function requireFileExists (line 90) | func requireFileExists(t *testing.T, path string) { function requireFileNotExists (line 98) | func requireFileNotExists(t *testing.T, path string) { function requireFileContains (line 106) | func requireFileContains(t *testing.T, path, substr string) { function requireFileNotContains (line 118) | func requireFileNotContains(t *testing.T, path, substr string) { function requireLockfileHas (line 130) | func requireLockfileHas(t *testing.T, appRoot, pkgID string) common.Pack... function requireLockfileNotHas (line 144) | func requireLockfileNotHas(t *testing.T, appRoot, pkgID string) { function lockfileKeys (line 156) | func lockfileKeys(lf *common.RegistryYao) []string { function buildV2AgentApp (line 166) | func buildV2AgentApp(t *testing.T) string { function buildV2MCPApp (line 236) | func buildV2MCPApp(t *testing.T) string { function buildV2AnalyticsApp (line 298) | func buildV2AnalyticsApp(t *testing.T) string { function buildAndPushRobotZip (line 332) | func buildAndPushRobotZip(t *testing.T, c *registry.Client, name string,... FILE: registry/manager/mcp/add.go type AddOptions (line 13) | type AddOptions struct method Add (line 28) | func (m *Manager) Add(pkgID string, opts AddOptions) error { function isScriptTracked (line 133) | func isScriptTracked(lf *common.RegistryYao, scriptPath string) bool { function copyFileFromTo (line 142) | func copyFileFromTo(src, dst string) error { FILE: registry/manager/mcp/fork.go type ForkOptions (line 14) | type ForkOptions struct method Fork (line 25) | func (m *Manager) Fork(pkgID string, opts ForkOptions) error { function rewriteScriptPath (line 170) | func rewriteScriptPath(path, oldScope, newScope string) string { function copyDir (line 176) | func copyDir(src, dst string) error { function copyFileTo (line 193) | func copyFileTo(src, dst string) error { FILE: registry/manager/mcp/mcp.go type Manager (line 10) | type Manager struct function New (line 17) | func New(client *registry.Client, appRoot string, prompter common.Prompt... FILE: registry/manager/mcp/mcp_test.go function buildMCPZip (line 17) | func buildMCPZip(scope, name, version string, files map[string]string) [... function mockServer (line 30) | func mockServer(packages map[string][]byte) *httptest.Server { function TestAddMCP (line 69) | func TestAddMCP(t *testing.T) { function TestUpdateMCP (line 129) | func TestUpdateMCP(t *testing.T) { function TestPushMCP (line 172) | func TestPushMCP(t *testing.T) { function TestPushMCPWrongScope (line 200) | func TestPushMCPWrongScope(t *testing.T) { function TestForkMCPLocal (line 228) | func TestForkMCPLocal(t *testing.T) { function TestScriptExtraction (line 304) | func TestScriptExtraction(t *testing.T) { function TestScriptExtractionNonProcess (line 331) | func TestScriptExtractionNonProcess(t *testing.T) { function TestRewriteProcessRefs (line 344) | func TestRewriteProcessRefs(t *testing.T) { function TestExtractScopeFromProcessRef (line 359) | func TestExtractScopeFromProcessRef(t *testing.T) { function TestScriptPathsFromFiles (line 371) | func TestScriptPathsFromFiles(t *testing.T) { FILE: registry/manager/mcp/push.go type PushOptions (line 12) | type PushOptions struct method Push (line 26) | func (m *Manager) Push(yaoID string, opts PushOptions) error { function pushValidateMCPDir (line 100) | func pushValidateMCPDir(mcpDir string) error { function listDirFiles (line 114) | func listDirFiles(dir string) ([]string, error) { FILE: registry/manager/mcp/script.go type ProcessRef (line 14) | type ProcessRef struct type mcpDSL (line 22) | type mcpDSL struct function ExtractProcessRefs (line 28) | func ExtractProcessRefs(mcpYaoPath string) ([]ProcessRef, error) { function ExtractProcessRefsFromBytes (line 38) | func ExtractProcessRefsFromBytes(data []byte) ([]ProcessRef, error) { function parseProcessRef (line 65) | func parseProcessRef(toolName, processPath string) (ProcessRef, error) { function RewriteProcessRefs (line 88) | func RewriteProcessRefs(mcpContent []byte, oldScope, newScope string) []... function ValidateScriptScope (line 96) | func ValidateScriptScope(mcpYaoPath, expectedScope, appRoot string) error { function CollectScripts (line 122) | func CollectScripts(mcpYaoPath, appRoot string) (map[string]string, erro... function FindMCPYaoFiles (line 141) | func FindMCPYaoFiles(mcpDir string) ([]string, error) { function ScriptPathsFromFiles (line 157) | func ScriptPathsFromFiles(files map[string]string) map[string]string { function ExtractScopeFromProcessRef (line 171) | func ExtractScopeFromProcessRef(processPath string) string { FILE: registry/manager/mcp/update.go type UpdateOptions (line 13) | type UpdateOptions struct method Update (line 19) | func (m *Manager) Update(pkgID string, opts UpdateOptions) error { function writeFileTo (line 195) | func writeFileTo(path string, content []byte) error { FILE: registry/manager/mcp_e2e_test.go function TestE2EMCP_ProcessLifecycle (line 17) | func TestE2EMCP_ProcessLifecycle(t *testing.T) { function TestE2EMCP_SSELifecycle (line 129) | func TestE2EMCP_SSELifecycle(t *testing.T) { function TestE2EMCP_MultiScriptPack (line 198) | func TestE2EMCP_MultiScriptPack(t *testing.T) { function TestE2EMCP_MultiScriptUpdate (line 243) | func TestE2EMCP_MultiScriptUpdate(t *testing.T) { function TestE2EMCP_PushPullRoundtrip (line 303) | func TestE2EMCP_PushPullRoundtrip(t *testing.T) { function TestE2EMCP_PushWrongScriptScope (line 337) | func TestE2EMCP_PushWrongScriptScope(t *testing.T) { function TestE2EMCP_PushMissingScript (line 365) | func TestE2EMCP_PushMissingScript(t *testing.T) { function TestE2EMCP_PushNoVersion (line 392) | func TestE2EMCP_PushNoVersion(t *testing.T) { function TestE2EMCP_AddDirectoryConflict (line 410) | func TestE2EMCP_AddDirectoryConflict(t *testing.T) { function TestE2EMCP_AddScriptConflict (line 438) | func TestE2EMCP_AddScriptConflict(t *testing.T) { function TestE2EMCP_AddAlreadyInstalled (line 465) | func TestE2EMCP_AddAlreadyInstalled(t *testing.T) { function TestE2EMCP_AddForceReinstall (line 492) | func TestE2EMCP_AddForceReinstall(t *testing.T) { function TestE2EMCP_UpdateForkedRejected (line 521) | func TestE2EMCP_UpdateForkedRejected(t *testing.T) { function TestE2EMCP_ForkTargetExists (line 548) | func TestE2EMCP_ForkTargetExists(t *testing.T) { function TestE2EMCP_ForkFromRegistry (line 578) | func TestE2EMCP_ForkFromRegistry(t *testing.T) { function TestE2EMCP_ForkToCustomScope (line 617) | func TestE2EMCP_ForkToCustomScope(t *testing.T) { FILE: registry/manager/robot/add.go type AddOptions (line 13) | type AddOptions struct method Add (line 25) | func (m *Manager) Add(pkgID string, opts AddOptions) (*RobotJSON, error) { function depTypeFor (line 150) | func depTypeFor(pkgID string, analyzedDeps []RobotDep) string { FILE: registry/manager/robot/deps.go type RobotJSON (line 9) | type RobotJSON struct type robotConfig (line 20) | type robotConfig struct type RobotDep (line 27) | type RobotDep struct function AnalyzeDeps (line 37) | func AnalyzeDeps(robot *RobotJSON) []RobotDep { function isBuiltIn (line 91) | func isBuiltIn(yaoID string) bool { function yaoIDToPackageID (line 97) | func yaoIDToPackageID(yaoID string) string { function agentYaoIDToPackageID (line 109) | func agentYaoIDToPackageID(yaoID string) string { FILE: registry/manager/robot/robot.go type Manager (line 12) | type Manager struct function New (line 21) | func New(client *registry.Client, appRoot string, prompter common.Prompt... FILE: registry/manager/robot/robot_test.go function buildRobotZip (line 17) | func buildRobotZip(scope, name, version string, robotJSON *RobotJSON, de... function buildAgentZip (line 34) | func buildAgentZip(scope, name, version string) []byte { function buildMCPZip (line 49) | func buildMCPZip(scope, name, version string) []byte { function mockServer (line 64) | func mockServer(packages map[string][]byte) *httptest.Server { function TestAnalyzeDeps (line 93) | func TestAnalyzeDeps(t *testing.T) { function TestAnalyzeDepsEmpty (line 142) | func TestAnalyzeDepsEmpty(t *testing.T) { function TestAnalyzeDepsDedupe (line 150) | func TestAnalyzeDepsDedupe(t *testing.T) { function TestAddRobotNoTeam (line 174) | func TestAddRobotNoTeam(t *testing.T) { function TestAddRobotWithDeps (line 191) | func TestAddRobotWithDeps(t *testing.T) { function TestAddRobotNoDeps (line 257) | func TestAddRobotNoDeps(t *testing.T) { function TestYaoIDToPackageID (line 282) | func TestYaoIDToPackageID(t *testing.T) { function TestAgentYaoIDToPackageID (line 300) | func TestAgentYaoIDToPackageID(t *testing.T) { function TestIsBuiltIn (line 317) | func TestIsBuiltIn(t *testing.T) { FILE: registry/manager/robot_e2e_test.go function TestE2ERobot_AddWithDeps (line 16) | func TestE2ERobot_AddWithDeps(t *testing.T) { function TestE2ERobot_AddNoDeps (line 102) | func TestE2ERobot_AddNoDeps(t *testing.T) { function TestE2ERobot_AddRequiresTeam (line 150) | func TestE2ERobot_AddRequiresTeam(t *testing.T) { function TestE2ERobot_RequiredByChain (line 177) | func TestE2ERobot_RequiredByChain(t *testing.T) { FILE: registry/testdata/build.go type Manifest (line 11) | type Manifest struct type ManifestDep (line 25) | type ManifestDep struct type ManifestAuthor (line 33) | type ManifestAuthor struct function BuildZip (line 40) | func BuildZip(manifest *Manifest, extraFiles map[string]string) ([]byte,... FILE: rss/atom.go type atomFeed (line 10) | type atomFeed struct type atomLink (line 20) | type atomLink struct type atomEntry (line 26) | type atomEntry struct type atomContent (line 38) | type atomContent struct type atomPerson (line 43) | type atomPerson struct type atomCategory (line 48) | type atomCategory struct function parseAtom (line 54) | func parseAtom(data []byte) (*Feed, error) { function convertAtomEntry (line 80) | func convertAtomEntry(entry *atomEntry) FeedItem { function extractAtomLink (line 124) | func extractAtomLink(links []atomLink) string { FILE: rss/atom_test.go constant testAtom (line 10) | testAtom = ` function TestParseAtom_Basic (line 46) | func TestParseAtom_Basic(t *testing.T) { function TestParseAtom_MinimalFeed (line 81) | func TestParseAtom_MinimalFeed(t *testing.T) { function TestParseAtom_InvalidXML (line 95) | func TestParseAtom_InvalidXML(t *testing.T) { function TestExtractAtomLink (line 100) | func TestExtractAtomLink(t *testing.T) { function TestExtractAtomLink_NoAlternate (line 109) | func TestExtractAtomLink_NoAlternate(t *testing.T) { function TestExtractAtomLink_EmptyRel (line 116) | func TestExtractAtomLink_EmptyRel(t *testing.T) { function TestExtractAtomLink_Empty (line 124) | func TestExtractAtomLink_Empty(t *testing.T) { FILE: rss/build.go function Build (line 12) | func Build(feed *Feed, format string) (string, error) { FILE: rss/build_atom.go constant atomNS (line 10) | atomNS = "http://www.w3.org/2005/Atom" function buildAtomXML (line 14) | func buildAtomXML(feed *Feed) (string, error) { type atomBuildFeed (line 112) | type atomBuildFeed struct type atomBuildLink (line 123) | type atomBuildLink struct type atomBuildEntry (line 130) | type atomBuildEntry struct type atomBuildText (line 142) | type atomBuildText struct type atomBuildPerson (line 147) | type atomBuildPerson struct type atomBuildCategory (line 152) | type atomBuildCategory struct FILE: rss/build_rss.go function buildRSSXML (line 11) | func buildRSSXML(feed *Feed) (string, error) { function intToStr (line 136) | func intToStr(n int) string { type rssBuildDoc (line 151) | type rssBuildDoc struct type rssBuildChannel (line 159) | type rssBuildChannel struct type rssBuildItem (line 178) | type rssBuildItem struct type rssBuildCDATA (line 199) | type rssBuildCDATA struct type rssBuildEnclosure (line 203) | type rssBuildEnclosure struct type rssBuildItunesImage (line 210) | type rssBuildItunesImage struct type rssBuildItunesOwner (line 215) | type rssBuildItunesOwner struct type rssBuildItunesCategory (line 221) | type rssBuildItunesCategory struct FILE: rss/build_test.go function newTestFeed (line 12) | func newTestFeed() *Feed { function newTestPodcastFeed (line 44) | func newTestPodcastFeed() *Feed { function TestBuild_RSS_Basic (line 88) | func TestBuild_RSS_Basic(t *testing.T) { function TestBuild_RSS_DefaultFormat (line 111) | func TestBuild_RSS_DefaultFormat(t *testing.T) { function TestBuild_RSS_Podcast (line 118) | func TestBuild_RSS_Podcast(t *testing.T) { function TestBuild_RSS_ContentEncoded (line 144) | func TestBuild_RSS_ContentEncoded(t *testing.T) { function TestBuild_Atom_Basic (line 156) | func TestBuild_Atom_Basic(t *testing.T) { function TestBuild_Atom_PodcastIgnored (line 175) | func TestBuild_Atom_PodcastIgnored(t *testing.T) { function TestBuild_Atom_MultipleAuthors (line 185) | func TestBuild_Atom_MultipleAuthors(t *testing.T) { function TestBuild_RoundTrip_RSS (line 204) | func TestBuild_RoundTrip_RSS(t *testing.T) { function TestBuild_RoundTrip_Podcast (line 222) | func TestBuild_RoundTrip_Podcast(t *testing.T) { function TestBuild_RoundTrip_Atom (line 242) | func TestBuild_RoundTrip_Atom(t *testing.T) { function TestBuild_NilFeed (line 259) | func TestBuild_NilFeed(t *testing.T) { function TestBuild_UnsupportedFormat (line 265) | func TestBuild_UnsupportedFormat(t *testing.T) { function TestBuild_EmptyFeed (line 272) | func TestBuild_EmptyFeed(t *testing.T) { function TestMapToFeed_DirectFeed (line 282) | func TestMapToFeed_DirectFeed(t *testing.T) { function TestMapToFeed_FromMap (line 289) | func TestMapToFeed_FromMap(t *testing.T) { function TestMapToFeed_Nil (line 308) | func TestMapToFeed_Nil(t *testing.T) { function TestIntToStr (line 315) | func TestIntToStr(t *testing.T) { function TestBuild_RSS_WellFormedXML (line 324) | func TestBuild_RSS_WellFormedXML(t *testing.T) { function TestBuild_Atom_WellFormedXML (line 337) | func TestBuild_Atom_WellFormedXML(t *testing.T) { FILE: rss/convert.go function mapToFeed (line 11) | func mapToFeed(v interface{}) (*Feed, error) { function mapToFetchOptions (line 42) | func mapToFetchOptions(v interface{}) (*FetchOptions, error) { FILE: rss/discover.go function Discover (line 51) | func Discover(text string) []FeedLink { function looksLikeFeedURL (line 125) | func looksLikeFeedURL(url string) bool { function guessTypeFromURL (line 145) | func guessTypeFromURL(url string) string { function extractAttr (line 160) | func extractAttr(re *regexp.Regexp, input string) string { FILE: rss/discover_test.go function TestDiscover_HTMLLinkTags (line 10) | func TestDiscover_HTMLLinkTags(t *testing.T) { function TestDiscover_HTMLLinkTags_AttributeOrder (line 33) | func TestDiscover_HTMLLinkTags_AttributeOrder(t *testing.T) { function TestDiscover_MarkdownLinks (line 43) | func TestDiscover_MarkdownLinks(t *testing.T) { function TestDiscover_BareURLs (line 63) | func TestDiscover_BareURLs(t *testing.T) { function TestDiscover_BareURLs_QueryParams (line 78) | func TestDiscover_BareURLs_QueryParams(t *testing.T) { function TestDiscover_Deduplication (line 85) | func TestDiscover_Deduplication(t *testing.T) { function TestDiscover_PartialHTML (line 96) | func TestDiscover_PartialHTML(t *testing.T) { function TestDiscover_Empty (line 107) | func TestDiscover_Empty(t *testing.T) { function TestDiscover_NoFeeds (line 112) | func TestDiscover_NoFeeds(t *testing.T) { function TestDiscover_MixedContent (line 117) | func TestDiscover_MixedContent(t *testing.T) { function TestDiscover_TrailingPunctuation (line 132) | func TestDiscover_TrailingPunctuation(t *testing.T) { function TestLooksLikeFeedURL (line 139) | func TestLooksLikeFeedURL(t *testing.T) { function TestGuessTypeFromURL (line 151) | func TestGuessTypeFromURL(t *testing.T) { FILE: rss/fetch.go constant defaultUserAgent (line 12) | defaultUserAgent = "Yao-Robot/1.0" constant defaultTimeout (line 13) | defaultTimeout = 30 constant acceptHeader (line 14) | acceptHeader = "application/rss+xml, application/atom+xml, applicati... function Fetch (line 20) | func Fetch(url string, opts *FetchOptions) (*FetchResult, error) { FILE: rss/fetch_test.go constant testFeedXML (line 14) | testFeedXML = ` function TestFetchBasic (line 27) | func TestFetchBasic(t *testing.T) { function TestFetchConditional304 (line 52) | func TestFetchConditional304(t *testing.T) { function TestFetchConditionalLastModified (line 72) | func TestFetchConditionalLastModified(t *testing.T) { function TestFetchGzip (line 93) | func TestFetchGzip(t *testing.T) { function TestFetchCustomUserAgent (line 119) | func TestFetchCustomUserAgent(t *testing.T) { function TestFetchDefaultUserAgent (line 134) | func TestFetchDefaultUserAgent(t *testing.T) { function TestFetchAcceptHeader (line 149) | func TestFetchAcceptHeader(t *testing.T) { function TestFetch404 (line 164) | func TestFetch404(t *testing.T) { function TestFetch500 (line 175) | func TestFetch500(t *testing.T) { function TestFetchEmptyURL (line 186) | func TestFetchEmptyURL(t *testing.T) { function TestFetchInvalidURL (line 192) | func TestFetchInvalidURL(t *testing.T) { function TestFetchAtomFeed (line 197) | func TestFetchAtomFeed(t *testing.T) { function TestMapToFetchOptions (line 227) | func TestMapToFetchOptions(t *testing.T) { function TestMapToFetchOptionsNil (line 244) | func TestMapToFetchOptionsNil(t *testing.T) { FILE: rss/parse.go function Parse (line 13) | func Parse(data string) (*Feed, error) { function Validate (line 41) | func Validate(data string) error { function detectFormat (line 101) | func detectFormat(data []byte) (string, error) { FILE: rss/parse_test.go function TestParse_RSS (line 12) | func TestParse_RSS(t *testing.T) { function TestParse_Atom (line 20) | func TestParse_Atom(t *testing.T) { function TestParse_Podcast (line 28) | func TestParse_Podcast(t *testing.T) { function TestParse_Empty (line 36) | func TestParse_Empty(t *testing.T) { function TestParse_Whitespace (line 42) | func TestParse_Whitespace(t *testing.T) { function TestParse_NotXML (line 48) | func TestParse_NotXML(t *testing.T) { function TestParse_HTML (line 53) | func TestParse_HTML(t *testing.T) { function TestParse_UnknownRoot (line 60) | func TestParse_UnknownRoot(t *testing.T) { function TestValidate_ValidRSS (line 68) | func TestValidate_ValidRSS(t *testing.T) { function TestValidate_ValidAtom (line 73) | func TestValidate_ValidAtom(t *testing.T) { function TestValidate_ValidPodcast (line 78) | func TestValidate_ValidPodcast(t *testing.T) { function TestValidate_Empty (line 83) | func TestValidate_Empty(t *testing.T) { function TestValidate_NotXML (line 89) | func TestValidate_NotXML(t *testing.T) { function TestValidate_BrokenXML (line 94) | func TestValidate_BrokenXML(t *testing.T) { function TestValidate_HTML (line 100) | func TestValidate_HTML(t *testing.T) { function TestValidate_MissingTitle_RSS (line 106) | func TestValidate_MissingTitle_RSS(t *testing.T) { function TestValidate_MissingTitle_Atom (line 119) | func TestValidate_MissingTitle_Atom(t *testing.T) { function TestDetectFormat_RSS (line 131) | func TestDetectFormat_RSS(t *testing.T) { function TestDetectFormat_Atom (line 137) | func TestDetectFormat_Atom(t *testing.T) { function TestDetectFormat_RDF (line 143) | func TestDetectFormat_RDF(t *testing.T) { function TestDetectFormat_Unknown (line 149) | func TestDetectFormat_Unknown(t *testing.T) { function TestDetectFormat_EmptyDoc (line 155) | func TestDetectFormat_EmptyDoc(t *testing.T) { FILE: rss/process.go function init (line 8) | func init() { function ProcessParse (line 34) | func ProcessParse(p *process.Process) interface{} { function ProcessValidate (line 61) | func ProcessValidate(p *process.Process) interface{} { function ProcessBuild (line 92) | func ProcessBuild(p *process.Process) interface{} { function ProcessDiscover (line 126) | func ProcessDiscover(p *process.Process) interface{} { function ProcessFetch (line 164) | func ProcessFetch(p *process.Process) interface{} { FILE: rss/rss.go constant itunesNS (line 10) | itunesNS = "http://www.itunes.com/dtds/podcast-1.0.dtd" constant contentNS (line 13) | contentNS = "http://purl.org/rss/1.0/modules/content/" type rssDoc (line 17) | type rssDoc struct type rssChannel (line 22) | type rssChannel struct type rssItem (line 42) | type rssItem struct type rssGUID (line 65) | type rssGUID struct type rssCategory (line 70) | type rssCategory struct type rssEnclosure (line 74) | type rssEnclosure struct type itunesImage (line 80) | type itunesImage struct type itunesOwner (line 84) | type itunesOwner struct type itunesCategory (line 89) | type itunesCategory struct function parseRSS (line 95) | func parseRSS(data []byte) (*Feed, error) { function convertRSSItem (line 123) | func convertRSSItem(item *rssItem) FeedItem { function buildPodcast (line 172) | func buildPodcast(ch *rssChannel) *Podcast { function buildEpisode (line 210) | func buildEpisode(item *rssItem) *Episode { function flattenCategories (line 244) | func flattenCategories(cats []itunesCategory) []string { function isExplicit (line 264) | func isExplicit(val string) bool { function firstNonEmpty (line 270) | func firstNonEmpty(vals ...string) string { FILE: rss/rss_test.go constant testRSS (line 10) | testRSS = ` function TestParseRSS_Basic (line 41) | func TestParseRSS_Basic(t *testing.T) { constant testPodcast (line 79) | testPodcast = ` function TestParseRSS_Podcast (line 128) | func TestParseRSS_Podcast(t *testing.T) { function TestParseRSS_MinimalFeed (line 176) | func TestParseRSS_MinimalFeed(t *testing.T) { function TestParseRSS_InvalidXML (line 193) | func TestParseRSS_InvalidXML(t *testing.T) { function TestIsExplicit (line 198) | func TestIsExplicit(t *testing.T) { function TestFirstNonEmpty (line 209) | func TestFirstNonEmpty(t *testing.T) { function TestFlattenCategories (line 217) | func TestFlattenCategories(t *testing.T) { function TestFlattenCategories_Empty (line 226) | func TestFlattenCategories_Empty(t *testing.T) { FILE: rss/types.go type Feed (line 5) | type Feed struct type Podcast (line 18) | type Podcast struct type Owner (line 29) | type Owner struct type FeedItem (line 35) | type FeedItem struct type Episode (line 51) | type Episode struct type Enclosure (line 62) | type Enclosure struct type FeedLink (line 69) | type FeedLink struct type FetchResult (line 77) | type FetchResult struct type FetchOptions (line 86) | type FetchOptions struct FILE: runtime/runtime.go function Start (line 13) | func Start(cfg config.Config) error { function Stop (line 62) | func Stop() error { FILE: runtime/runtime_test.go function TestStart (line 11) | func TestStart(t *testing.T) { function testPrepare (line 20) | func testPrepare(t *testing.T, rootEnv ...string) { FILE: sandbox/bridge/main.go function main (line 17) | func main() { FILE: sandbox/config.go type Config (line 11) | type Config struct method Init (line 43) | func (c *Config) Init(dataRoot string) { function DefaultConfig (line 30) | func DefaultConfig() *Config { FILE: sandbox/config_test.go function TestDefaultConfig (line 9) | func TestDefaultConfig(t *testing.T) { function TestConfigInit (line 29) | func TestConfigInit(t *testing.T) { function TestConfigInitWithEnv (line 46) | func TestConfigInitWithEnv(t *testing.T) { function TestConfigInitWithWorkspaceEnv (line 81) | func TestConfigInitWithWorkspaceEnv(t *testing.T) { function TestConfigInitWithPresetValues (line 101) | func TestConfigInitWithPresetValues(t *testing.T) { function TestConfigInitInvalidEnvValues (line 137) | func TestConfigInitInvalidEnvValues(t *testing.T) { function TestConfigInitNegativeValues (line 163) | func TestConfigInitNegativeValues(t *testing.T) { function TestConfigInitZeroMax (line 184) | func TestConfigInitZeroMax(t *testing.T) { function TestContainerName (line 198) | func TestContainerName(t *testing.T) { function TestConfigEnvPriority (line 220) | func TestConfigEnvPriority(t *testing.T) { FILE: sandbox/docker/chrome/tests/demo-baidu.py function human_move (line 44) | def human_move(x, y): function human_click (line 51) | def human_click(x, y): function smart_type (line 59) | def smart_type(element, text): function find_element (line 86) | def find_element(page, selectors, min_width=50, timeout=2000): function find_results (line 99) | def find_results(page, selectors, min_count=2, min_width=100): function click_result (line 122) | def click_result(ctx, page, result, label): function screenshot (line 216) | def screenshot(page, name): function main (line 226) | def main(): FILE: sandbox/docker/chrome/tests/demo-duckduckgo.py function human_move (line 45) | def human_move(x, y): function human_click (line 52) | def human_click(x, y): function smart_type (line 60) | def smart_type(element, text): function find_element (line 87) | def find_element(page, selectors, min_width=50, timeout=2000): function find_results (line 100) | def find_results(page, selectors, min_count=2, min_width=80): function screenshot (line 120) | def screenshot(page, name): function main (line 130) | def main(): FILE: sandbox/docker/chrome/tests/demo-llm-vision.py function ask_llm (line 71) | def ask_llm(prompt, timeout=60): function parse_llm_json (line 97) | def parse_llm_json(text): function ask_llm_race (line 116) | def ask_llm_race(prompts, timeout=60, validator=None): function extract_page_dom (line 183) | def extract_page_dom(page): function get_cdp_session (line 267) | def get_cdp_session(page): function cdp_click (line 283) | def cdp_click(page, x, y, ctrl=False): function cdp_move (line 329) | def cdp_move(page, x, y, steps=10): function smart_click (line 350) | def smart_click(page, x, y, label=""): function box_center (line 378) | def box_center(box): function take_screenshot (line 382) | def take_screenshot(page, name): function locate_element (line 388) | def locate_element(page, selector): function locate_elements (line 415) | def locate_elements(page, selector, min_y=0): function click_new_tab (line 433) | def click_new_tab(ctx, page, el, box, label): function main (line 518) | def main(): FILE: sandbox/helpers.go function mapToSlice (line 15) | func mapToSlice(m map[string]string) []string { function parseMemory (line 27) | func parseMemory(s string) int64 { function parseLS (line 64) | func parseLS(output string, hasTimeStyle bool) []FileInfo { function parseLSMode (line 134) | func parseLSMode(s string) os.FileMode { function parseStat (line 175) | func parseStat(output string) *FileInfo { function createTarFromPath (line 199) | func createTarFromPath(hostPath string) (io.ReadCloser, error) { function extractTarToPath (line 280) | func extractTarToPath(reader io.Reader, hostPath string) error { function containerName (line 333) | func containerName(userID, chatID string) string { FILE: sandbox/helpers_test.go function TestParseMemory (line 8) | func TestParseMemory(t *testing.T) { function TestMapToSlice (line 34) | func TestMapToSlice(t *testing.T) { function TestParseLS (line 67) | func TestParseLS(t *testing.T) { function TestParseStat (line 147) | func TestParseStat(t *testing.T) { function TestParseLSMode (line 169) | func TestParseLSMode(t *testing.T) { function TestCreateAndExtractTar (line 190) | func TestCreateAndExtractTar(t *testing.T) { FILE: sandbox/ipc/jsonrpc_test.go function TestJSONRPCRequestParsing (line 8) | func TestJSONRPCRequestParsing(t *testing.T) { function TestJSONRPCResponseSerialization (line 71) | func TestJSONRPCResponseSerialization(t *testing.T) { function TestJSONRPCErrorResponse (line 100) | func TestJSONRPCErrorResponse(t *testing.T) { function TestToolCallParams (line 131) | func TestToolCallParams(t *testing.T) { function TestToolResult (line 150) | func TestToolResult(t *testing.T) { function TestToolsListResult (line 178) | func TestToolsListResult(t *testing.T) { function TestInitializeResult (line 207) | func TestInitializeResult(t *testing.T) { FILE: sandbox/ipc/manager.go type Manager (line 15) | type Manager struct method Create (line 28) | func (m *Manager) Create(ctx context.Context, sessionID string, agentC... method Close (line 80) | func (m *Manager) Close(sessionID string) error { method Get (line 89) | func (m *Manager) Get(sessionID string) (*Session, bool) { method CloseAll (line 97) | func (m *Manager) CloseAll() { method socketPath (line 108) | func (m *Manager) socketPath(sessionID string) string { method GetSocketPath (line 115) | func (m *Manager) GetSocketPath(sessionID string) string { function NewManager (line 21) | func NewManager(sockDir string) *Manager { FILE: sandbox/ipc/manager_test.go function TestNewManager (line 16) | func TestNewManager(t *testing.T) { function TestCreateSession (line 34) | func TestCreateSession(t *testing.T) { function TestGetSession (line 95) | func TestGetSession(t *testing.T) { function TestCloseSession (line 133) | func TestCloseSession(t *testing.T) { function TestCloseNonExistentSession (line 173) | func TestCloseNonExistentSession(t *testing.T) { function TestCloseAllSessions (line 190) | func TestCloseAllSessions(t *testing.T) { function TestSessionReplace (line 229) | func TestSessionReplace(t *testing.T) { function TestConcurrentSessionAccess (line 276) | func TestConcurrentSessionAccess(t *testing.T) { function TestSessionConnection (line 327) | func TestSessionConnection(t *testing.T) { function TestToolsList (line 402) | func TestToolsList(t *testing.T) { function TestMethodNotFound (line 495) | func TestMethodNotFound(t *testing.T) { function TestParseError (line 551) | func TestParseError(t *testing.T) { function TestInitializedNotification (line 601) | func TestInitializedNotification(t *testing.T) { FILE: sandbox/ipc/session.go method SetMCPTools (line 16) | func (s *Session) SetMCPTools(tools map[string]*MCPTool) { method SetContext (line 21) | func (s *Session) SetContext(ctx *AgentContext) { method Close (line 26) | func (s *Session) Close() error { method serve (line 43) | func (s *Session) serve(ctx context.Context) { method handleConnection (line 69) | func (s *Session) handleConnection(ctx context.Context, conn net.Conn) { method handleMessage (line 106) | func (s *Session) handleMessage(line string) string { method handleInitialize (line 131) | func (s *Session) handleInitialize(req JSONRPCRequest) string { method handleListTools (line 147) | func (s *Session) handleListTools(req JSONRPCRequest) string { method handleCallTool (line 161) | func (s *Session) handleCallTool(req JSONRPCRequest) string { method handleListResources (line 190) | func (s *Session) handleListResources(req JSONRPCRequest) string { method handleReadResource (line 198) | func (s *Session) handleReadResource(req JSONRPCRequest) string { method successResponse (line 203) | func (s *Session) successResponse(id interface{}, result interface{}) st... method errorResponse (line 218) | func (s *Session) errorResponse(id interface{}, code int, message string... method toolSuccessResponse (line 236) | func (s *Session) toolSuccessResponse(id interface{}, result interface{}... method toolErrorResponse (line 265) | func (s *Session) toolErrorResponse(id interface{}, toolName string, err... FILE: sandbox/ipc/session_test.go function TestSessionHandleInitialize (line 17) | func TestSessionHandleInitialize(t *testing.T) { function TestSessionHandleResourcesList (line 96) | func TestSessionHandleResourcesList(t *testing.T) { function TestSessionHandleResourcesRead (line 164) | func TestSessionHandleResourcesRead(t *testing.T) { function TestSessionHandleToolsCallInvalidParams (line 223) | func TestSessionHandleToolsCallInvalidParams(t *testing.T) { function TestSessionHandleToolsCallUnauthorized (line 283) | func TestSessionHandleToolsCallUnauthorized(t *testing.T) { function TestSessionToolsCallWithYaoApp (line 354) | func TestSessionToolsCallWithYaoApp(t *testing.T) { function TestSessionToolsCallEcho (line 450) | func TestSessionToolsCallEcho(t *testing.T) { function TestSessionMultipleRequests (line 690) | func TestSessionMultipleRequests(t *testing.T) { function TestSessionClose (line 766) | func TestSessionClose(t *testing.T) { function TestSessionEmptyLines (line 818) | func TestSessionEmptyLines(t *testing.T) { FILE: sandbox/ipc/types.go type Session (line 11) | type Session struct type AgentContext (line 23) | type AgentContext struct type MCPTool (line 30) | type MCPTool struct type JSONRPCRequest (line 38) | type JSONRPCRequest struct type JSONRPCResponse (line 46) | type JSONRPCResponse struct type JSONRPCError (line 54) | type JSONRPCError struct constant ErrCodeParse (line 62) | ErrCodeParse = -32700 constant ErrCodeInvalidRequest (line 63) | ErrCodeInvalidRequest = -32600 constant ErrCodeMethodNotFound (line 64) | ErrCodeMethodNotFound = -32601 constant ErrCodeInvalidParams (line 65) | ErrCodeInvalidParams = -32602 constant ErrCodeInternal (line 66) | ErrCodeInternal = -32603 type ToolCallParams (line 70) | type ToolCallParams struct type ToolResult (line 76) | type ToolResult struct type ToolContent (line 82) | type ToolContent struct type InitializeParams (line 88) | type InitializeParams struct type Capabilities (line 95) | type Capabilities struct type ToolsCapability (line 101) | type ToolsCapability struct type ResourcesCapability (line 106) | type ResourcesCapability struct type ClientInfo (line 112) | type ClientInfo struct type ServerInfo (line 118) | type ServerInfo struct type InitializeResult (line 124) | type InitializeResult struct type Tool (line 131) | type Tool struct type ToolsListResult (line 138) | type ToolsListResult struct FILE: sandbox/manager.go type execReadCloser (line 30) | type execReadCloser struct method Close (line 35) | func (e *execReadCloser) Close() error { type demuxReadCloser (line 44) | type demuxReadCloser struct method Read (line 85) | func (d *demuxReadCloser) Read(p []byte) (int, error) { method Close (line 89) | func (d *demuxReadCloser) Close() error { function newDemuxReadCloser (line 56) | func newDemuxReadCloser(src io.Reader, closer io.Closer) *demuxReadCloser { type Manager (line 126) | type Manager struct method Close (line 186) | func (m *Manager) Close() error { method GetOrCreate (line 192) | func (m *Manager) GetOrCreate(ctx context.Context, userID, chatID stri... method createContainer (line 271) | func (m *Manager) createContainer(ctx context.Context, opts CreateOpti... method ensureImage (line 380) | func (m *Manager) ensureImage(ctx context.Context, imageName string) e... method ensureRunning (line 404) | func (m *Manager) ensureRunning(ctx context.Context, name string) error { method Stream (line 446) | func (m *Manager) Stream(ctx context.Context, name string, cmd []strin... method Exec (line 505) | func (m *Manager) Exec(ctx context.Context, name string, cmd []string,... method Start (line 615) | func (m *Manager) Start(ctx context.Context, name string) error { method Stop (line 620) | func (m *Manager) Stop(ctx context.Context, name string) error { method Remove (line 651) | func (m *Manager) Remove(ctx context.Context, name string) error { method KillProcess (line 676) | func (m *Manager) KillProcess(ctx context.Context, name string, proces... method List (line 708) | func (m *Manager) List(ctx context.Context, userID string) ([]*Contain... method Cleanup (line 724) | func (m *Manager) Cleanup(ctx context.Context) error { method startCleanupLoop (line 745) | func (m *Manager) startCleanupLoop(ctx context.Context) { method WriteFile (line 760) | func (m *Manager) WriteFile(ctx context.Context, name, path string, co... method ReadFile (line 813) | func (m *Manager) ReadFile(ctx context.Context, name, path string) ([]... method ListDir (line 830) | func (m *Manager) ListDir(ctx context.Context, name, path string) ([]F... method Stat (line 850) | func (m *Manager) Stat(ctx context.Context, name, path string) (*FileI... method MkDir (line 859) | func (m *Manager) MkDir(ctx context.Context, name, path string) error { method RemoveFile (line 865) | func (m *Manager) RemoveFile(ctx context.Context, name, path string) e... method CopyToContainer (line 871) | func (m *Manager) CopyToContainer(ctx context.Context, name, hostPath,... method CopyFromContainer (line 889) | func (m *Manager) CopyFromContainer(ctx context.Context, name, contain... method GetIPCManager (line 906) | func (m *Manager) GetIPCManager() *ipc.Manager { method GetConfig (line 911) | func (m *Manager) GetConfig() *Config { method ensureIPCSession (line 918) | func (m *Manager) ensureIPCSession(ctx context.Context, userID, chatID... method containerPathToHost (line 931) | func (m *Manager) containerPathToHost(cont *Container, containerPath s... method fixIPCSocketPermissions (line 948) | func (m *Manager) fixIPCSocketPermissions(ctx context.Context, contain... function NewManager (line 136) | func NewManager(config *Config) (*Manager, error) { function IsVNCImage (line 973) | func IsVNCImage(imageName string) bool { function findAvailablePort (line 984) | func findAvailablePort() (int, error) { FILE: sandbox/manager_test.go function getTestDirs (line 19) | func getTestDirs(prefix string) (string, string, string, error) { function getContainerUser (line 45) | func getContainerUser() string { function skipIfNoDocker (line 50) | func skipIfNoDocker(t *testing.T) *Manager { function TestNewManager (line 94) | func TestNewManager(t *testing.T) { function TestNewManagerWithNilConfig (line 111) | func TestNewManagerWithNilConfig(t *testing.T) { function TestGetOrCreate (line 142) | func TestGetOrCreate(t *testing.T) { function TestContainerStartStopRemove (line 190) | func TestContainerStartStopRemove(t *testing.T) { function TestExec (line 243) | func TestExec(t *testing.T) { function TestExecWithEnv (line 270) | func TestExecWithEnv(t *testing.T) { function TestExecWithTimeout (line 298) | func TestExecWithTimeout(t *testing.T) { function TestFileOperations (line 334) | func TestFileOperations(t *testing.T) { function TestCopyOperations (line 435) | func TestCopyOperations(t *testing.T) { function TestListContainers (line 500) | func TestListContainers(t *testing.T) { function TestConcurrencyLimit (line 538) | func TestConcurrencyLimit(t *testing.T) { function TestConcurrentAccess (line 592) | func TestConcurrentAccess(t *testing.T) { function TestContainerNotFound (line 645) | func TestContainerNotFound(t *testing.T) { function TestCleanup (line 668) | func TestCleanup(t *testing.T) { function TestManagerWithYaoApp (line 733) | func TestManagerWithYaoApp(t *testing.T) { function TestGetAccessors (line 810) | func TestGetAccessors(t *testing.T) { function TestEnsureImageAutoPull (line 831) | func TestEnsureImageAutoPull(t *testing.T) { FILE: sandbox/proxy/cmd/claude-proxy/main.go function main (line 5) | func main() { FILE: sandbox/proxy/convert.go method convertRequest (line 10) | func (s *Server) convertRequest(req *AnthropicRequest) *OpenAIRequest { method convertMessages (line 75) | func (s *Server) convertMessages(msgs []AnthropicMsg, system interface{}... method convertMessage (line 99) | func (s *Server) convertMessage(msg AnthropicMsg) []OpenAIMsg { method convertContentBlocks (line 178) | func (s *Server) convertContentBlocks(blocks []interface{}) []OpenAICont... function convertImageSource (line 210) | func convertImageSource(source *ImageSource) *OpenAIImageURL { method convertTools (line 235) | func (s *Server) convertTools(tools []AnthropicTool) []OpenAITool { method convertToolChoice (line 253) | func (s *Server) convertToolChoice(choice *AnthropicToolChoice) interfac... method convertResponse (line 278) | func (s *Server) convertResponse(resp *OpenAIResponse) *AnthropicResponse { function extractSystemText (line 331) | func extractSystemText(system interface{}) string { function parseContentBlock (line 356) | func parseContentBlock(item interface{}) ContentBlock { function parseImageSource (line 393) | func parseImageSource(source map[string]interface{}) *ImageSource { function extractToolUseBlocks (line 415) | func extractToolUseBlocks(content []interface{}) []OpenAIToolCall { function extractToolResultContent (line 436) | func extractToolResultContent(content interface{}) string { function mapRole (line 454) | func mapRole(role string) string { FILE: sandbox/proxy/main.go type Config (line 21) | type Config struct method Validate (line 141) | func (c *Config) Validate() error { type Server (line 33) | type Server struct method handleHealth (line 165) | func (s *Server) handleHealth(w http.ResponseWriter, r *http.Request) { method handleMessages (line 172) | func (s *Server) handleMessages(w http.ResponseWriter, r *http.Request) { method handleNonStreamingRequest (line 209) | func (s *Server) handleNonStreamingRequest(w http.ResponseWriter, open... method handleStreamingRequest (line 251) | func (s *Server) handleStreamingRequest(w http.ResponseWriter, openaiR... method processStream (line 303) | func (s *Server) processStream(w http.ResponseWriter, flusher http.Flu... method writeSSE (line 475) | func (s *Server) writeSSE(w http.ResponseWriter, flusher http.Flusher,... method forwardRequest (line 498) | func (s *Server) forwardRequest(openaiReq *OpenAIRequest) (*http.Respo... method errorResponse (line 520) | func (s *Server) errorResponse(w http.ResponseWriter, status int, errT... function Main (line 39) | func Main() { function parseFlags (line 75) | func parseFlags() *Config { function NewServer (line 155) | func NewServer(config *Config) *Server { function generateID (line 533) | func generateID(prefix string) string { function mapFinishReason (line 538) | func mapFinishReason(reason string) string { FILE: sandbox/proxy/types.go type AnthropicRequest (line 10) | type AnthropicRequest struct type AnthropicMsg (line 26) | type AnthropicMsg struct type ContentBlock (line 32) | type ContentBlock struct type ImageSource (line 53) | type ImageSource struct type SystemBlock (line 61) | type SystemBlock struct type AnthropicTool (line 67) | type AnthropicTool struct type AnthropicToolChoice (line 74) | type AnthropicToolChoice struct type AnthropicResponse (line 80) | type AnthropicResponse struct type Usage (line 92) | type Usage struct type AnthropicStreamEvent (line 98) | type AnthropicStreamEvent struct type DeltaContent (line 108) | type DeltaContent struct type OpenAIRequest (line 120) | type OpenAIRequest struct method MarshalJSON (line 138) | func (r OpenAIRequest) MarshalJSON() ([]byte, error) { type StreamOptions (line 182) | type StreamOptions struct type OpenAIMsg (line 187) | type OpenAIMsg struct type OpenAIContent (line 196) | type OpenAIContent struct type OpenAIImageURL (line 203) | type OpenAIImageURL struct type OpenAITool (line 209) | type OpenAITool struct type OpenAIFunction (line 215) | type OpenAIFunction struct type OpenAIToolCall (line 222) | type OpenAIToolCall struct type OpenAIFunctionCall (line 230) | type OpenAIFunctionCall struct type OpenAIResponse (line 236) | type OpenAIResponse struct type OpenAIChoice (line 246) | type OpenAIChoice struct type OpenAIUsage (line 253) | type OpenAIUsage struct type OpenAIStreamChunk (line 260) | type OpenAIStreamChunk struct type OpenAIStreamChoice (line 270) | type OpenAIStreamChoice struct type OpenAIStreamDelta (line 277) | type OpenAIStreamDelta struct type ToolCallAccumulator (line 288) | type ToolCallAccumulator struct FILE: sandbox/types.go type Container (line 12) | type Container struct type ExecOptions (line 24) | type ExecOptions struct type ExecResult (line 32) | type ExecResult struct type FileInfo (line 39) | type FileInfo struct method GetName (line 49) | func (f FileInfo) GetName() string { method GetSize (line 54) | func (f FileInfo) GetSize() int64 { method GetIsDir (line 59) | func (f FileInfo) GetIsDir() bool { constant StatusCreated (line 65) | StatusCreated = "created" constant StatusRunning (line 66) | StatusRunning = "running" constant StatusStopped (line 67) | StatusStopped = "stopped" type CreateOptions (line 71) | type CreateOptions struct FILE: sandbox/v2/bench_test.go function BenchmarkContainerLifecycle (line 14) | func BenchmarkContainerLifecycle(b *testing.B) { function BenchmarkCreate (line 45) | func BenchmarkCreate(b *testing.B) { function BenchmarkExec (line 74) | func BenchmarkExec(b *testing.B) { function BenchmarkExecHeavy (line 96) | func BenchmarkExecHeavy(b *testing.B) { function BenchmarkRemove (line 119) | func BenchmarkRemove(b *testing.B) { function BenchmarkInfo (line 149) | func BenchmarkInfo(b *testing.B) { function BenchmarkStopStart (line 168) | func BenchmarkStopStart(b *testing.B) { function BenchmarkWorkspaceReadWrite (line 192) | func BenchmarkWorkspaceReadWrite(b *testing.B) { function setupManagerForBench (line 225) | func setupManagerForBench(b *testing.B, pc *nodeConfig) *sandbox.Manager { function ensureTestImageBench (line 239) | func ensureTestImageBench(b *testing.B, m *sandbox.Manager, nodeID strin... function createBoxForBench (line 248) | func createBoxForBench(b *testing.B, m *sandbox.Manager) *sandbox.Box { FILE: sandbox/v2/box.go type Box (line 15) | type Box struct method ID (line 43) | func (b *Box) ID() string { return b.id } method Owner (line 44) | func (b *Box) Owner() string { return b.owner } method ContainerID (line 45) | func (b *Box) ContainerID() string { return b.containerID } method NodeID (line 46) | func (b *Box) NodeID() string { return b.nodeID } method ComputerInfo (line 49) | func (b *Box) ComputerInfo() ComputerInfo { method BindWorkplace (line 68) | func (b *Box) BindWorkplace(workspaceID string) { method Workplace (line 76) | func (b *Box) Workplace() taiworkspace.FS { method Exec (line 81) | func (b *Box) Exec(ctx context.Context, cmd []string, opts ...ExecOpti... method Stream (line 111) | func (b *Box) Stream(ctx context.Context, cmd []string, opts ...ExecOp... method Attach (line 141) | func (b *Box) Attach(ctx context.Context, port int, opts ...AttachOpti... method Workspace (line 185) | func (b *Box) Workspace() taiworkspace.FS { method GetWorkDir (line 203) | func (b *Box) GetWorkDir() string { method WorkspaceID (line 211) | func (b *Box) WorkspaceID() string { return b.workspaceID } method Snapshot (line 215) | func (b *Box) Snapshot() BoxInfo { method VNC (line 237) | func (b *Box) VNC(ctx context.Context) (string, error) { method Proxy (line 247) | func (b *Box) Proxy(ctx context.Context, port int, path string) (strin... method Start (line 257) | func (b *Box) Start(ctx context.Context) error { method Stop (line 266) | func (b *Box) Stop(ctx context.Context) error { method Remove (line 275) | func (b *Box) Remove(ctx context.Context) error { method Info (line 280) | func (b *Box) Info(ctx context.Context) (*BoxInfo, error) { method touch (line 307) | func (b *Box) touch() { method lastActiveTime (line 311) | func (b *Box) lastActiveTime() time.Time { method idleSince (line 323) | func (b *Box) idleSince() time.Time { method idleTimeout (line 327) | func (b *Box) idleTimeout() time.Duration { method maxLifetime (line 331) | func (b *Box) maxLifetime() time.Duration { method stopTimeout (line 335) | func (b *Box) stopTimeout() time.Duration { method IsStopped (line 343) | func (b *Box) IsStopped() bool { method inspectStatus (line 349) | func (b *Box) inspectStatus(ctx context.Context) string { FILE: sandbox/v2/box_attach_test.go function waitForPort (line 16) | func waitForPort(t *testing.T, box *sandbox.Box, port int, timeout time.... function TestAttachWS (line 60) | func TestAttachWS(t *testing.T) { function TestAttachSSE (line 109) | func TestAttachSSE(t *testing.T) { function TestVNCURL (line 159) | func TestVNCURL(t *testing.T) { function TestVNCConnect (line 190) | func TestVNCConnect(t *testing.T) { function waitForWSEndpoint (line 251) | func waitForWSEndpoint(t *testing.T, wsURL string, timeout time.Duration) { FILE: sandbox/v2/box_image_test.go function TestImageExists (line 13) | func TestImageExists(t *testing.T) { function TestImagePull (line 48) | func TestImagePull(t *testing.T) { function TestEnsureImage (line 86) | func TestEnsureImage(t *testing.T) { function TestEnsureImage_BadRef (line 106) | func TestEnsureImage_BadRef(t *testing.T) { FILE: sandbox/v2/box_test.go function TestBoxExec (line 13) | func TestBoxExec(t *testing.T) { function TestBoxExecWithOptions (line 36) | func TestBoxExecWithOptions(t *testing.T) { function TestBoxStream (line 59) | func TestBoxStream(t *testing.T) { function TestBoxWorkspace (line 93) | func TestBoxWorkspace(t *testing.T) { function TestBoxInfo (line 135) | func TestBoxInfo(t *testing.T) { function TestBoxStopStart (line 162) | func TestBoxStopStart(t *testing.T) { function TestBoxGetOrCreate (line 191) | func TestBoxGetOrCreate(t *testing.T) { FILE: sandbox/v2/box_workspace_test.go function TestWorkspaceID_Set (line 15) | func TestWorkspaceID_Set(t *testing.T) { function TestWorkspaceID_Empty (line 41) | func TestWorkspaceID_Empty(t *testing.T) { function TestWorkspace_NodeRouting (line 54) | func TestWorkspace_NodeRouting(t *testing.T) { function TestWorkspace_InvalidID (line 80) | func TestWorkspace_InvalidID(t *testing.T) { function TestWorkspace_BindMountLocal (line 111) | func TestWorkspace_BindMountLocal(t *testing.T) { function TestWorkspace_ContainerWriteBack (line 137) | func TestWorkspace_ContainerWriteBack(t *testing.T) { function TestWorkspace_ReadOnlyMount (line 164) | func TestWorkspace_ReadOnlyMount(t *testing.T) { function TestWorkspace_CustomMountPath (line 197) | func TestWorkspace_CustomMountPath(t *testing.T) { function TestWorkspace_BoxWorkspaceFS (line 224) | func TestWorkspace_BoxWorkspaceFS(t *testing.T) { function TestWorkspace_LabelPersistence (line 262) | func TestWorkspace_LabelPersistence(t *testing.T) { FILE: sandbox/v2/export_test.go function ResetForTest (line 4) | func ResetForTest() { FILE: sandbox/v2/grpc.go constant taiHost (line 9) | taiHost = "host.tai.internal" function BuildGRPCEnv (line 20) | func BuildGRPCEnv(mode string, taiGRPCPort int, sandboxID string) map[st... FILE: sandbox/v2/grpc_test.go function TestBuildGRPCEnvLocal (line 10) | func TestBuildGRPCEnvLocal(t *testing.T) { function TestBuildGRPCEnvDirect (line 26) | func TestBuildGRPCEnvDirect(t *testing.T) { function TestBuildGRPCEnvDirectDefaultPort (line 36) | func TestBuildGRPCEnvDirectDefaultPort(t *testing.T) { function TestBuildGRPCEnvTunnel (line 46) | func TestBuildGRPCEnvTunnel(t *testing.T) { function TestBuildGRPCEnvUnknownMode (line 56) | func TestBuildGRPCEnvUnknownMode(t *testing.T) { FILE: sandbox/v2/host.go type Host (line 18) | type Host struct method ComputerInfo (line 31) | func (h *Host) ComputerInfo() ComputerInfo { method Exec (line 42) | func (h *Host) Exec(ctx context.Context, cmd []string, opts ...ExecOpt... method Stream (line 98) | func (h *Host) Stream(ctx context.Context, cmd []string, opts ...ExecO... method VNC (line 191) | func (h *Host) VNC(ctx context.Context) (string, error) { method Proxy (line 204) | func (h *Host) Proxy(ctx context.Context, port int, path string) (stri... method BindWorkplace (line 217) | func (h *Host) BindWorkplace(workspaceID string) { method Workplace (line 222) | func (h *Host) Workplace() taiworkspace.FS { method GetWorkDir (line 239) | func (h *Host) GetWorkDir() string { method NodeID (line 252) | func (h *Host) NodeID() string { return h.nodeID } type nopWriteCloser (line 255) | type nopWriteCloser struct method Close (line 257) | func (nopWriteCloser) Close() error { return nil } FILE: sandbox/v2/host_test.go function setupHostManager (line 14) | func setupHostManager(t *testing.T, tgt *hostExecTarget) *sandbox.Manager { function TestHost_Exec_Echo (line 22) | func TestHost_Exec_Echo(t *testing.T) { function TestHost_Exec_Env (line 60) | func TestHost_Exec_Env(t *testing.T) { function TestHost_Workplace (line 101) | func TestHost_Workplace(t *testing.T) { function TestHost_Stream_Incremental (line 156) | func TestHost_Stream_Incremental(t *testing.T) { function TestHost_Stream_MultiLine (line 219) | func TestHost_Stream_MultiLine(t *testing.T) { function TestHost_Stream_Stderr (line 265) | func TestHost_Stream_Stderr(t *testing.T) { function TestHost_Stream_Cancel (line 315) | func TestHost_Stream_Cancel(t *testing.T) { function TestHost_ComputerInfo (line 369) | func TestHost_ComputerInfo(t *testing.T) { function TestHost_ComputerInterface (line 393) | func TestHost_ComputerInterface(t *testing.T) { function TestHost_CreateRejectsNoContainerNode (line 416) | func TestHost_CreateRejectsNoContainerNode(t *testing.T) { function TestHost_NodeNotFound (line 440) | func TestHost_NodeNotFound(t *testing.T) { function findHostExecOnly (line 451) | func findHostExecOnly(t *testing.T) *hostExecTarget { function hostCmd (line 471) | func hostCmd(tgt hostExecTarget, prog string, args ...string) []string { FILE: sandbox/v2/jsapi/computer.go function throwError (line 18) | func throwError(info *v8go.FunctionCallbackInfo, msg string) *v8go.Value { function parseStringArray (line 25) | func parseStringArray(val *v8go.Value) []string { function parseStringMap (line 46) | func parseStringMap(v8ctx *v8go.Context, val *v8go.Value) map[string]str... function parseExecOptions (line 59) | func parseExecOptions(v8ctx *v8go.Context, args []*v8go.Value) ([]string... function execResultToJS (line 103) | func execResultToJS(v8ctx *v8go.Context, r *sandbox.ExecResult) *v8go.Va... function boxInfoToJS (line 116) | func boxInfoToJS(v8ctx *v8go.Context, b *sandbox.BoxInfo) *v8go.Value { function computerInfoToJS (line 135) | func computerInfoToJS(v8ctx *v8go.Context, c sandbox.ComputerInfo) *v8go... function getComputer (line 165) | func getComputer(ctx context.Context, kind, identifier string) (sandbox.... function sbHost (line 177) | func sbHost(info *v8go.FunctionCallbackInfo) *v8go.Value { function NewComputerObject (line 204) | func NewComputerObject(v8ctx *v8go.Context, kind string, identifier stri... FILE: sandbox/v2/jsapi/jsapi.go function init (line 44) | func init() { function ExportObject (line 49) | func ExportObject(iso *v8go.Isolate) *v8go.ObjectTemplate { function sbCreate (line 63) | func sbCreate(info *v8go.FunctionCallbackInfo) *v8go.Value { function sbGet (line 188) | func sbGet(info *v8go.FunctionCallbackInfo) *v8go.Value { function sbList (line 211) | func sbList(info *v8go.FunctionCallbackInfo) *v8go.Value { function sbDelete (line 272) | func sbDelete(info *v8go.FunctionCallbackInfo) *v8go.Value { FILE: sandbox/v2/jsapi/jsapi_test.go type testMode (line 21) | type testMode struct function testModes (line 27) | func testModes() []testMode { function testImage (line 35) | func testImage() string { function setupSandbox (line 42) | func setupSandbox(t *testing.T, m *testMode) { function registerForTest (line 60) | func registerForTest(t testing.TB, addr string, dialOps ...tai.DialOptio... function dialForTest (line 77) | func dialForTest(addr string, dialOps ...tai.DialOption) (*tai.ConnResou... function taiIDFromAddr (line 86) | func taiIDFromAddr(addr string) string { function modeForAddr (line 95) | func modeForAddr(addr string) string { function parseHostPort (line 102) | func parseHostPort(addr string) (string, int) { function runJS (line 114) | func runJS(t *testing.T, source string) interface{} { function runJSExpectError (line 126) | func runJSExpectError(t *testing.T, source string) string { function skipIfNoDocker (line 138) | func skipIfNoDocker(t *testing.T) { function TestCreate (line 151) | func TestCreate(t *testing.T) { function TestGet (line 172) | func TestGet(t *testing.T) { function TestGetNotFound (line 194) | func TestGetNotFound(t *testing.T) { function TestDelete (line 209) | func TestDelete(t *testing.T) { function TestList (line 233) | func TestList(t *testing.T) { function TestExec (line 260) | func TestExec(t *testing.T) { function TestExecWithOptions (line 280) | func TestExecWithOptions(t *testing.T) { function TestStream (line 304) | func TestStream(t *testing.T) { function TestComputerInfo (line 333) | func TestComputerInfo(t *testing.T) { function TestBoxInfo (line 356) | func TestBoxInfo(t *testing.T) { function TestHostBoxMethodsThrow (line 379) | func TestHostBoxMethodsThrow(t *testing.T) { function TestComputerKind (line 404) | func TestComputerKind(t *testing.T) { function TestNodes (line 427) | func TestNodes(t *testing.T) { function TestGetNodeNotFound (line 439) | func TestGetNodeNotFound(t *testing.T) { function toInt (line 455) | func toInt(v interface{}) int { FILE: sandbox/v2/jsapi/node.go function sbGetNode (line 13) | func sbGetNode(info *v8go.FunctionCallbackInfo) *v8go.Value { function sbNodes (line 38) | func sbNodes(info *v8go.FunctionCallbackInfo) *v8go.Value { function sbNodesByTeam (line 51) | func sbNodesByTeam(info *v8go.FunctionCallbackInfo) *v8go.Value { function snapshotToJS (line 69) | func snapshotToJS(v8ctx *v8go.Context, snap *taitypes.NodeMeta) (*v8go.V... function snapshotsToJSArray (line 107) | func snapshotsToJSArray(v8ctx *v8go.Context, snaps []taitypes.NodeMeta) ... FILE: sandbox/v2/manager.go type Manager (line 21) | type Manager struct method Start (line 32) | func (m *Manager) Start(ctx context.Context) error { method Nodes (line 50) | func (m *Manager) Nodes() []taitypes.NodeMeta { method Heartbeat (line 59) | func (m *Manager) Heartbeat(sandboxID string, active bool, processCoun... method Host (line 73) | func (m *Manager) Host(_ context.Context, nodeID string) (*Host, error) { method Create (line 101) | func (m *Manager) Create(ctx context.Context, opts CreateOptions) (*Bo... method Get (line 216) | func (m *Manager) Get(_ context.Context, id string) (*Box, error) { method GetOrCreate (line 225) | func (m *Manager) GetOrCreate(ctx context.Context, opts CreateOptions)... method List (line 235) | func (m *Manager) List(_ context.Context, opts ListOptions) ([]*Box, e... method StartBox (line 259) | func (m *Manager) StartBox(ctx context.Context, id string) error { method Remove (line 284) | func (m *Manager) Remove(ctx context.Context, id string) error { method Close (line 301) | func (m *Manager) Close() error { method getNode (line 305) | func (m *Manager) getNode(name string) (*tai.ConnResources, error) { method buildTaiCreateOptions (line 313) | func (m *Manager) buildTaiCreateOptions(opts CreateOptions, nodeID, sa... method recoverBoxes (line 419) | func (m *Manager) recoverBoxes(ctx context.Context, nodeID string, res... method ImageExists (line 531) | func (m *Manager) ImageExists(ctx context.Context, nodeID, ref string)... method PullImage (line 544) | func (m *Manager) PullImage(ctx context.Context, nodeID, ref string, o... method EnsureImage (line 565) | func (m *Manager) EnsureImage(ctx context.Context, nodeID, ref string,... function newManager (line 25) | func newManager() *Manager { function inferSystemInfo (line 488) | func inferSystemInfo(ctx context.Context, res *tai.ConnResources, imageR... function systemInfoFromLabels (line 517) | func systemInfoFromLabels(labels map[string]string) SystemInfo { FILE: sandbox/v2/manager_lifecycle_test.go function TestHeartbeatUpdates (line 11) | func TestHeartbeatUpdates(t *testing.T) { function TestHeartbeatUnknownBox (line 36) | func TestHeartbeatUnknownBox(t *testing.T) { function TestStartRecovery (line 49) | func TestStartRecovery(t *testing.T) { function TestStartBox (line 81) | func TestStartBox(t *testing.T) { function TestSnapshotReadsStatus (line 113) | func TestSnapshotReadsStatus(t *testing.T) { FILE: sandbox/v2/manager_test.go function TestCreateAndExec (line 11) | func TestCreateAndExec(t *testing.T) { function TestCreateWithLabels (line 37) | func TestCreateWithLabels(t *testing.T) { function TestGet (line 60) | func TestGet(t *testing.T) { function TestGetNotFound (line 80) | func TestGetNotFound(t *testing.T) { function TestList (line 93) | func TestList(t *testing.T) { function TestRemove (line 129) | func TestRemove(t *testing.T) { function TestCreateNoImage (line 159) | func TestCreateNoImage(t *testing.T) { function TestCreateNoNodeID (line 171) | func TestCreateNoNodeID(t *testing.T) { function TestMultiNode (line 182) | func TestMultiNode(t *testing.T) { FILE: sandbox/v2/sandbox.go function Init (line 7) | func Init() { function M (line 12) | func M() *Manager { FILE: sandbox/v2/sandbox_test.go function TestInit (line 9) | func TestInit(t *testing.T) { function TestMPanicWithoutInit (line 18) | func TestMPanicWithoutInit(t *testing.T) { FILE: sandbox/v2/testutils_containerized_test.go function init (line 10) | func init() { function containerizedNodes (line 15) | func containerizedNodes() []nodeConfig { function containerizedPurge (line 27) | func containerizedPurge() []purgeTarget { FILE: sandbox/v2/testutils_k8s_test.go function init (line 13) | func init() { function k8sNodes (line 19) | func k8sNodes() []nodeConfig { function k8sHostExec (line 40) | func k8sHostExec() []hostExecTarget { function k8sPurge (line 49) | func k8sPurge() []purgeTarget { FILE: sandbox/v2/testutils_remote_test.go function init (line 10) | func init() { function remoteNodes (line 16) | func remoteNodes() []nodeConfig { function remoteHostExec (line 24) | func remoteHostExec() []hostExecTarget { function remotePurge (line 33) | func remotePurge() []purgeTarget { FILE: sandbox/v2/testutils_test.go function TestMain (line 45) | func TestMain(m *testing.M) { type purgeTarget (line 54) | type purgeTarget struct function purgeStaleContainers (line 60) | func purgeStaleContainers() { type nodeConfig (line 113) | type nodeConfig struct type hostExecTarget (line 120) | type hostExecTarget struct function testNodes (line 129) | func testNodes() []nodeConfig { function hostExecTargets (line 141) | func hostExecTargets() []hostExecTarget { function skipIfNoDocker (line 153) | func skipIfNoDocker(t *testing.T) { function skipIfNoTai (line 160) | func skipIfNoTai(t *testing.T) { function skipIfNoHostExec (line 167) | func skipIfNoHostExec(t *testing.T) { function linuxCmd (line 178) | func linuxCmd(tgt hostExecTarget, cmd string, args ...string) (string, [... function testLocalAddr (line 207) | func testLocalAddr() string { function testImage (line 214) | func testImage() string { function envPort (line 221) | func envPort(key string, fallback int) int { function dialForTest (line 235) | func dialForTest(addr string, dialOps ...tai.DialOption) (*tai.ConnResou... function registerForTest (line 246) | func registerForTest(t testing.TB, addr string, dialOps ...tai.DialOptio... function taiIDFromAddr (line 262) | func taiIDFromAddr(addr string) string { function modeForAddr (line 271) | func modeForAddr(addr string) string { function parseHostPort (line 278) | func parseHostPort(addr string) (string, int) { function registerNode (line 294) | func registerNode(t *testing.T, pc *nodeConfig) { function setupManager (line 301) | func setupManager(t *testing.T, nodes ...nodeConfig) (*sandbox.Manager, ... function setupManagerForNode (line 320) | func setupManagerForNode(t *testing.T, pc *nodeConfig) *sandbox.Manager { function setupManagerWithWorkspace (line 327) | func setupManagerWithWorkspace(t *testing.T, pc *nodeConfig) (*sandbox.M... function ensureTestImage (line 333) | func ensureTestImage(t *testing.T, m *sandbox.Manager, nodeID string) { function createTestBox (line 342) | func createTestBox(t *testing.T, m *sandbox.Manager, pc nodeConfig, opts... FILE: sandbox/v2/testutils_wintest_test.go function init (line 7) | func init() { function winHostExec (line 11) | func winHostExec() []hostExecTarget { FILE: sandbox/v2/types.go type Computer (line 17) | type Computer interface type ComputerInfo (line 29) | type ComputerInfo struct type SystemInfo (line 51) | type SystemInfo struct type LifecyclePolicy (line 65) | type LifecyclePolicy constant OneShot (line 68) | OneShot LifecyclePolicy = "oneshot" constant Session (line 69) | Session LifecyclePolicy = "session" constant LongRunning (line 70) | LongRunning LifecyclePolicy = "longrunning" constant Persistent (line 71) | Persistent LifecyclePolicy = "persistent" constant DefaultStopTimeout (line 75) | DefaultStopTimeout = 2 * time.Second constant DefaultSessionIdleTimeout (line 76) | DefaultSessionIdleTimeout = 30 * time.Minute constant DefaultLongRunningIdleTimeout (line 77) | DefaultLongRunningIdleTimeout = 2 * time.Hour type PortMapping (line 84) | type PortMapping struct type CreateOptions (line 91) | type CreateOptions struct type ListOptions (line 115) | type ListOptions struct type execConfig (line 125) | type execConfig struct type ExecOption (line 134) | type ExecOption function WithWorkDir (line 136) | func WithWorkDir(dir string) ExecOption { function WithEnv (line 140) | func WithEnv(env map[string]string) ExecOption { function WithTimeout (line 144) | func WithTimeout(timeout time.Duration) ExecOption { function WithStdin (line 148) | func WithStdin(data []byte) ExecOption { function WithMaxOutput (line 152) | func WithMaxOutput(bytes int64) ExecOption { type ExecResult (line 157) | type ExecResult struct type ExecStream (line 167) | type ExecStream struct type attachConfig (line 179) | type attachConfig struct type AttachOption (line 185) | type AttachOption function WithProtocol (line 187) | func WithProtocol(protocol string) AttachOption { function WithPath (line 191) | func WithPath(path string) AttachOption { function WithHeaders (line 195) | func WithHeaders(headers map[string]string) AttachOption { type ImagePullOptions (line 200) | type ImagePullOptions struct type RegistryAuth (line 205) | type RegistryAuth struct type ServiceConn (line 211) | type ServiceConn struct type BoxInfo (line 220) | type BoxInfo struct FILE: sandbox/v2/watcher.go function init (line 11) | func init() { type sandboxWatcher (line 15) | type sandboxWatcher struct method Name (line 17) | func (w *sandboxWatcher) Name() string { return "sandbox" } method Interval (line 18) | func (w *sandboxWatcher) Interval() time.Duration { return 30 * time.S... method Check (line 20) | func (w *sandboxWatcher) Check(ctx context.Context) []monitor.Alert { FILE: sandbox/vncproxy/config.go type Config (line 10) | type Config struct method Init (line 37) | func (c *Config) Init() { function DefaultConfig (line 25) | func DefaultConfig() *Config { FILE: sandbox/vncproxy/proxy.go type ipCacheEntry (line 21) | type ipCacheEntry struct type Proxy (line 27) | type Proxy struct method Close (line 67) | func (p *Proxy) Close() error { method HandleVNCStatus (line 86) | func (p *Proxy) HandleVNCStatus(w http.ResponseWriter, r *http.Request) { method HandleVNCClient (line 138) | func (p *Proxy) HandleVNCClient(w http.ResponseWriter, r *http.Request) { method HandleVNCWebSocket (line 164) | func (p *Proxy) HandleVNCWebSocket(w http.ResponseWriter, r *http.Requ... method getContainerIP (line 233) | func (p *Proxy) getContainerIP(ctx context.Context, containerName stri... method getVNCEndpoint (line 285) | func (p *Proxy) getVNCEndpoint(ctx context.Context, containerName stri... method checkVNCEnabled (line 320) | func (p *Proxy) checkVNCEnabled(ctx context.Context, containerName str... method checkVNCReady (line 344) | func (p *Proxy) checkVNCReady(ctx context.Context, containerName strin... method serveNoVNCPage (line 379) | func (p *Proxy) serveNoVNCPage(w http.ResponseWriter, sandboxID, wsPat... method RegisterRoutes (line 537) | func (p *Proxy) RegisterRoutes(mux *http.ServeMux) { method isVNCRequest (line 564) | func (p *Proxy) isVNCRequest(r *http.Request) bool { function NewProxy (line 35) | func NewProxy(config *Config) (*Proxy, error) { function extractSandboxID (line 73) | func extractSandboxID(r *http.Request) string { FILE: sandbox/vncproxy/proxy_test.go function TestExtractSandboxID (line 9) | func TestExtractSandboxID(t *testing.T) { function TestConfigDefaults (line 48) | func TestConfigDefaults(t *testing.T) { function TestConfigInit (line 65) | func TestConfigInit(t *testing.T) { function TestProxyCreation (line 79) | func TestProxyCreation(t *testing.T) { FILE: schedule/schedule.go function Load (line 15) | func Load(cfg config.Config) error { function Start (line 46) | func Start() { function Stop (line 54) | func Stop() { FILE: schedule/schedule_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function TestStartStop (line 24) | func TestStartStop(t *testing.T) { function check (line 33) | func check(t *testing.T) { FILE: script/script.go function Load (line 13) | func Load(cfg config.Config) error { FILE: script/script_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function check (line 20) | func check(t *testing.T) { FILE: seed/process.go function init (line 11) | func init() { function processSeedImport (line 17) | func processSeedImport(process *process.Process) interface{} { function getOptions (line 56) | func getOptions(v interface{}) (ImportOption, error) { function toInt (line 114) | func toInt(v interface{}) int { function toString (line 154) | func toString(v interface{}) string { function parseIntString (line 169) | func parseIntString(s string) (int, error) { FILE: seed/process_test.go function TestProcessSeedImportCSV (line 13) | func TestProcessSeedImportCSV(t *testing.T) { function TestProcessSeedImportJSON (line 50) | func TestProcessSeedImportJSON(t *testing.T) { function TestProcessSeedImportXLSX (line 98) | func TestProcessSeedImportXLSX(t *testing.T) { function TestProcessSeedImportYao (line 146) | func TestProcessSeedImportYao(t *testing.T) { function TestProcessSeedImportWithBatchMode (line 183) | func TestProcessSeedImportWithBatchMode(t *testing.T) { function TestProcessSeedImportWithEachMode (line 225) | func TestProcessSeedImportWithEachMode(t *testing.T) { function TestProcessSeedImportDuplicateStrategies (line 266) | func TestProcessSeedImportDuplicateStrategies(t *testing.T) { function TestProcessSeedImportInvalidArguments (line 331) | func TestProcessSeedImportInvalidArguments(t *testing.T) { function TestProcessSeedImportOptions (line 368) | func TestProcessSeedImportOptions(t *testing.T) { function TestProcessSeedImportResultStructure (line 442) | func TestProcessSeedImportResultStructure(t *testing.T) { function TestProcessSeedImportMultipleFiles (line 482) | func TestProcessSeedImportMultipleFiles(t *testing.T) { FILE: seed/seed.go function Import (line 21) | func Import(filename string, modelName string, options ImportOption) (*I... function importDataFromCSV (line 52) | func importDataFromCSV(filename string, mod *model.Model, options Import... function importDataFromXLSX (line 129) | func importDataFromXLSX(filename string, mod *model.Model, options Impor... function importDataFromJSON (line 230) | func importDataFromJSON(filename string, mod *model.Model, options Impor... function importDataFromYao (line 290) | func importDataFromYao(filename string, mod *model.Model, options Import... function createImportHandler (line 350) | func createImportHandler(mod *model.Model, columns []string, options Imp... function createJSONImportHandler (line 362) | func createJSONImportHandler(mod *model.Model, columns []string, options... function importBatch (line 391) | func importBatch(mod *model.Model, columns []string, data [][]interface{... function importEach (line 447) | func importEach(mod *model.Model, columns []string, data [][]interface{}... function importEachJSON (line 468) | func importEachJSON(mod *model.Model, data []map[string]interface{}, sta... function handleDuplicate (line 481) | func handleDuplicate(mod *model.Model, row maps.MapStrAny, line int, dup... function buildColumnTypeMap (line 563) | func buildColumnTypeMap(mod *model.Model, header []string) []string { function parseJSONField (line 579) | func parseJSONField(value interface{}, columnType string) interface{} { function sortColumns (line 619) | func sortColumns(columns []string) { function isAutoGeneratedField (line 632) | func isAutoGeneratedField(fieldName string, mod *model.Model) bool { FILE: seed/seed_reset_test.go function TestSeedImportDuplicateUpdateAfterClear (line 18) | func TestSeedImportDuplicateUpdateAfterClear(t *testing.T) { function TestSeedImportDuplicateUpdateMixedScenario (line 91) | func TestSeedImportDuplicateUpdateMixedScenario(t *testing.T) { FILE: seed/seed_test.go function TestSeedImportCSV (line 14) | func TestSeedImportCSV(t *testing.T) { function TestSeedImportJSON (line 58) | func TestSeedImportJSON(t *testing.T) { function TestSeedImportXLSX (line 100) | func TestSeedImportXLSX(t *testing.T) { function TestSeedImportYao (line 142) | func TestSeedImportYao(t *testing.T) { function TestSeedImportWithOptions (line 173) | func TestSeedImportWithOptions(t *testing.T) { function TestSeedImportEachMode (line 213) | func TestSeedImportEachMode(t *testing.T) { function TestSeedImportDuplicateIgnore (line 246) | func TestSeedImportDuplicateIgnore(t *testing.T) { function TestSeedImportChunkSize (line 294) | func TestSeedImportChunkSize(t *testing.T) { function TestSeedImportJSONFields (line 327) | func TestSeedImportJSONFields(t *testing.T) { function TestSeedImportXLSXJSONFields (line 387) | func TestSeedImportXLSXJSONFields(t *testing.T) { FILE: seed/types.go type DuplicateMode (line 4) | type DuplicateMode type ImportMode (line 7) | type ImportMode constant ImportModeBatch (line 12) | ImportModeBatch ImportMode = "batch" constant ImportModeEach (line 14) | ImportModeEach ImportMode = "each" constant DuplicateIgnore (line 17) | DuplicateIgnore DuplicateMode = "ignore" constant DuplicateUpdate (line 19) | DuplicateUpdate DuplicateMode = "update" constant DuplicateError (line 21) | DuplicateError DuplicateMode = "error" constant DuplicateAbort (line 23) | DuplicateAbort DuplicateMode = "abort" constant ChunkSizeDefault (line 28) | ChunkSizeDefault = 500 type ImportOption (line 32) | type ImportOption struct type ImportHandler (line 39) | type ImportHandler type ImportResult (line 42) | type ImportResult struct type ImportError (line 51) | type ImportError struct FILE: service/dynamic.go function DynamicAPIHandler (line 14) | func DynamicAPIHandler(c *gin.Context) { function applyGuard (line 53) | func applyGuard(c *gin.Context, guardName string) error { function ReloadAPIs (line 81) | func ReloadAPIs() error { FILE: service/dynamic_test.go function TestDynamicAPIHandler (line 17) | func TestDynamicAPIHandler(t *testing.T) { function TestReloadAPIs (line 56) | func TestReloadAPIs(t *testing.T) { function TestGuardSelection (line 74) | func TestGuardSelection(t *testing.T) { FILE: service/fs/default.go type Dir (line 16) | type Dir method Open (line 20) | func (d Dir) Open(name string) (http.File, error) { FILE: service/fs/utils.go function mapOpenError (line 12) | func mapOpenError(originalErr error, name string, sep rune, stat func(st... FILE: service/guards.go function OpenAPIGuards (line 35) | func OpenAPIGuards() map[string]gin.HandlerFunc { function guardCookieTrace (line 51) | func guardCookieTrace(c *gin.Context) { function guardCookieJWT (line 64) | func guardCookieJWT(c *gin.Context) { function guardBearerJWT (line 83) | func guardBearerJWT(c *gin.Context) { function guardQueryJWT (line 97) | func guardQueryJWT(c *gin.Context) { function guardCrossOrigin (line 110) | func guardCrossOrigin(c *gin.Context) { FILE: service/gzip.go function gzipHandler (line 10) | func gzipHandler(h http.Handler) http.HandlerFunc { type gzipResponseWriter (line 26) | type gzipResponseWriter struct method WriteHeader (line 31) | func (w gzipResponseWriter) WriteHeader(code int) { method Write (line 36) | func (w gzipResponseWriter) Write(b []byte) (int, error) { method Flush (line 40) | func (w gzipResponseWriter) Flush() { method Header (line 44) | func (w gzipResponseWriter) Header() http.Header { FILE: service/log/access.go function InitAccessLog (line 20) | func InitAccessLog(root string) { function AccessLog (line 44) | func AccessLog() gin.HandlerFunc { function remoteUser (line 80) | func remoteUser(c *gin.Context) string { function dash (line 91) | func dash(s string) string { FILE: service/log/access_test.go function init (line 15) | func init() { function setupTestLog (line 19) | func setupTestLog(t *testing.T) (string, func()) { function TestAccessLog_NginxFormat (line 40) | func TestAccessLog_NginxFormat(t *testing.T) { function TestAccessLog_ErrorDoubleWrite (line 90) | func TestAccessLog_ErrorDoubleWrite(t *testing.T) { function TestAccessLog_RemoteUser (line 138) | func TestAccessLog_RemoteUser(t *testing.T) { function TestAccessLog_DashForEmpty (line 181) | func TestAccessLog_DashForEmpty(t *testing.T) { function nonEmptyLines (line 206) | func nonEmptyLines(s string) []string { FILE: service/middleware.go function withStaticFileServer (line 26) | func withStaticFileServer(c *gin.Context) { FILE: service/service.go type ServerHooks (line 22) | type ServerHooks struct type Service (line 29) | type Service struct method Event (line 104) | func (s *Service) Event() chan uint8 { method Stop (line 109) | func (s *Service) Stop() { method HookAddrs (line 117) | func (s *Service) HookAddrs() []string { method Watch (line 125) | func (s *Service) Watch(done chan uint8) { function Start (line 36) | func Start(cfg config.Config, hooks ...ServerHooks) (*Service, error) { function Restart (line 130) | func Restart(svc *Service, cfg config.Config) error { function prepare (line 151) | func prepare() error { FILE: service/service_test.go function TestStartStop (line 14) | func TestStartStop(t *testing.T) { FILE: service/static.go type RewriteRule (line 31) | type RewriteRule struct function GetRewriteRules (line 37) | func GetRewriteRules() []RewriteRule { function ResolveRoute (line 43) | func ResolveRoute(route string) (string, []string) { function SetupStatic (line 55) | func SetupStatic() error { function setupRewrite (line 69) | func setupRewrite() { function setupAdminRoot (line 99) | func setupAdminRoot() (string, int) { FILE: service/watch.go function watch (line 15) | func watch(svc *Service, interrupt chan uint8) error { FILE: service/watch_test.go function TestWatch (line 11) | func TestWatch(t *testing.T) { FILE: setup/check.go function InYaoApp (line 12) | func InYaoApp(root string) bool { function IsYaoApp (line 24) | func IsYaoApp(root string) bool { function IsEmptyDir (line 38) | func IsEmptyDir(dir string) bool { function appRoot (line 53) | func appRoot() string { function getConfig (line 72) | func getConfig() (config.Config, error) { FILE: setup/check_test.go function TestValidate (line 7) | func TestValidate(t *testing.T) { FILE: setup/install.go function Install (line 17) | func Install(root string) error { function Initialize (line 29) | func Initialize(root string, cfg config.Config) error { function makeInit (line 46) | func makeInit(root string) error { function makeMigrate (line 79) | func makeMigrate() error { function makeSetup (line 102) | func makeSetup(cfg config.Config) error { FILE: setup/install_test.go function TestInstall (line 8) | func TestInstall(t *testing.T) { function TestMakeInit (line 15) | func TestMakeInit(t *testing.T) { function prepare (line 23) | func prepare(t *testing.T) string { FILE: setup/setup.go function Endpoints (line 13) | func Endpoints(cfg config.Config) ([]Endpoint, error) { function printError (line 35) | func printError(message string, args ...interface{}) { function printInfo (line 40) | func printInfo(message string, args ...interface{}) { function getNetworks (line 44) | func getNetworks() ([]Network, error) { type Network (line 80) | type Network struct type Endpoint (line 86) | type Endpoint struct FILE: share/api.go method ValidateLoop (line 17) | func (api API) ValidateLoop(name string) API { method ProcessIs (line 25) | func (api API) ProcessIs(name string) bool { method DefaultInt (line 30) | func (api API) DefaultInt(i int, defaults ...int) int { method DefaultString (line 50) | func (api API) DefaultString(i int, defaults ...string) string { method MergeDefaultQueryParam (line 69) | func (api API) MergeDefaultQueryParam(param types.QueryParam, i int, sid... function GetQueryParam (line 98) | func GetQueryParam(v interface{}, sid string) types.QueryParam { FILE: share/api_test.go function TestGetQueryParam (line 11) | func TestGetQueryParam(t *testing.T) { FILE: share/app.go method Public (line 7) | func (app AppInfo) Public() AppInfo { method GetPrefix (line 15) | func (app AppInfo) GetPrefix() string { FILE: share/columns.go function GetDefaultColumns (line 56) | func GetDefaultColumns(name string) map[string]Column { FILE: share/const.go constant VERSION (line 4) | VERSION = "1.0.0" constant PRVERSION (line 7) | PRVERSION = "DEV" constant CUI (line 10) | CUI = "1.0.0" constant PRCUI (line 13) | PRCUI = "DEV" constant BUILDOPTIONS (line 16) | BUILDOPTIONS = "" constant BUILDIN (line 19) | BUILDIN = false constant BUILDNAME (line 22) | BUILDNAME = "yao" FILE: share/db.go function DBConnect (line 14) | func DBConnect(dbconfig config.Database) (err error) { function DBClose (line 51) | func DBClose() error { FILE: share/filters.go function GetDefaultFilters (line 10) | func GetDefaultFilters(name string) map[string]Filter { FILE: share/importable.go function Load (line 19) | func Load(cfg config.Config) error { function LoadBuildIn (line 27) | func LoadBuildIn(dir string) error { function LoadFrom (line 32) | func LoadFrom(dir string) error { method UnmarshalJSON (line 75) | func (col *Column) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 93) | func (filter *Filter) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 111) | func (render *Render) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 129) | func (page *Page) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 147) | func (api *API) UnmarshalJSON(data []byte) error { function ImportJSON (line 165) | func ImportJSON(name string, in []interface{}, v interface{}) error { FILE: share/importable_test.go function init (line 12) | func init() { function TestColumn (line 17) | func TestColumn(t *testing.T) { function TestColumnInIsNil (line 29) | func TestColumnInIsNil(t *testing.T) { function TestFilter (line 37) | func TestFilter(t *testing.T) { function TestRender (line 44) | func TestRender(t *testing.T) { function TestPage (line 53) | func TestPage(t *testing.T) { function TestAPI (line 60) | func TestAPI(t *testing.T) { FILE: share/session.go function SessionStart (line 16) | func SessionStart() error { function SessionStop (line 26) | func SessionStop() { function SessionRedis (line 33) | func SessionRedis() error { function SessionFile (line 56) | func SessionFile() error { FILE: share/types.go type Importable (line 6) | type Importable struct type APIImp (line 12) | type APIImp type API (line 15) | type API struct type ColumnImp (line 26) | type ColumnImp type Column (line 29) | type Column struct type FilterImp (line 39) | type FilterImp type Filter (line 42) | type Filter struct type RenderImp (line 50) | type RenderImp type Render (line 53) | type Render struct type PageImp (line 61) | type PageImp type Page (line 64) | type Page struct type AppInfo (line 73) | type AppInfo struct type Developer (line 94) | type Developer struct type Moapi (line 103) | type Moapi struct type Static (line 111) | type Static struct type AppStorage (line 118) | type AppStorage struct type AppStorageOSS (line 127) | type AppStorageOSS struct type Script (line 136) | type Script struct type AppRoot (line 144) | type AppRoot struct type ExtToolInfo (line 156) | type ExtToolInfo struct type DockerInfo (line 166) | type DockerInfo struct type ExtTools (line 178) | type ExtTools struct FILE: share/utils.go function Walk (line 17) | func Walk(root string, typeName string, cb func(root, filename string)) ... function ID (line 35) | func ID(root string, file string) string { function File (line 40) | func File(id string, ext string) string { function SpecName (line 47) | func SpecName(root string, file string) string { function ScriptName (line 69) | func ScriptName(filename string) string { function ReadFile (line 79) | func ReadFile(filename string) []byte { function DirNotExists (line 93) | func DirNotExists(dir string) bool { function DirAbs (line 103) | func DirAbs(dir string) string { function GetAppPlugins (line 118) | func GetAppPlugins(root string, typ string) []Script { function GetAppPluginFile (line 135) | func GetAppPluginFile(root string, file string) Script { function GetAppPluginFileName (line 145) | func GetAppPluginFileName(root string, file string) string { function GetAppFilesFS (line 154) | func GetAppFilesFS(root string, typ string) []Script { function GetAppFile (line 172) | func GetAppFile(root string, filepath string) Script { function GetAppFileName (line 192) | func GetAppFileName(root string, file string) string { function GetAppFileBaseName (line 201) | func GetAppFileBaseName(root string, file string) string { function GetFilesFS (line 208) | func GetFilesFS(root string, typ string) []Script { function GetFile (line 225) | func GetFile(root string, path string) Script { function GetFileName (line 246) | func GetFileName(root string, file string) string { function GetFileBaseName (line 253) | func GetFileBaseName(root string, file string) string { function GetFilesBin (line 260) | func GetFilesBin(root string, typ string) []Script { function GetTypeName (line 282) | func GetTypeName(path string) (name string, typ string) { FILE: share/watch.go function Watch (line 26) | func Watch(root string, cb func(op string, file string)) { FILE: share/watch_test.go function TestWatch (line 12) | func TestWatch(t *testing.T) { FILE: sitemap/build.go function BuildOpen (line 15) | func BuildOpen(opts *BuildOptions) (string, error) { function BuildWrite (line 49) | func BuildWrite(handle string, urls []URL) error { function BuildClose (line 78) | func BuildClose(handle string) (*BuildResult, error) { method rotateFile (line 112) | func (w *sitemapWriter) rotateFile() error { method closeCurrentFile (line 162) | func (w *sitemapWriter) closeCurrentFile() error { method generateIndex (line 188) | func (w *sitemapWriter) generateIndex() (string, error) { FILE: sitemap/build_test.go function TestBuildBasic (line 10) | func TestBuildBasic(t *testing.T) { function TestBuildMultipleWrites (line 81) | func TestBuildMultipleWrites(t *testing.T) { function TestBuildAutoSplit (line 116) | func TestBuildAutoSplit(t *testing.T) { function TestBuildWithImages (line 153) | func TestBuildWithImages(t *testing.T) { function TestBuildIndexGeneration (line 206) | func TestBuildIndexGeneration(t *testing.T) { function TestBuildInvalidHandle (line 245) | func TestBuildInvalidHandle(t *testing.T) { function TestBuildNilOptions (line 252) | func TestBuildNilOptions(t *testing.T) { function TestBuildEmptyDir (line 259) | func TestBuildEmptyDir(t *testing.T) { FILE: sitemap/convert.go function mapToURLs (line 11) | func mapToURLs(v interface{}) ([]URL, error) { function mapToBuildOptions (line 37) | func mapToBuildOptions(v interface{}) (*BuildOptions, error) { function mapToDiscoverOptions (line 63) | func mapToDiscoverOptions(v interface{}) (*DiscoverOptions, error) { function mapToFetchOptions (line 89) | func mapToFetchOptions(v interface{}) (*FetchOptions, error) { FILE: sitemap/convert_test.go function TestMapToURLs (line 7) | func TestMapToURLs(t *testing.T) { function TestMapToURLsWithImages (line 37) | func TestMapToURLsWithImages(t *testing.T) { function TestMapToURLsNil (line 66) | func TestMapToURLsNil(t *testing.T) { function TestMapToURLsAlreadyTyped (line 73) | func TestMapToURLsAlreadyTyped(t *testing.T) { function TestMapToBuildOptions (line 86) | func TestMapToBuildOptions(t *testing.T) { function TestMapToBuildOptionsNil (line 104) | func TestMapToBuildOptionsNil(t *testing.T) { function TestMapToDiscoverOptions (line 111) | func TestMapToDiscoverOptions(t *testing.T) { function TestMapToDiscoverOptionsNil (line 129) | func TestMapToDiscoverOptionsNil(t *testing.T) { function TestMapToFetchOptions (line 139) | func TestMapToFetchOptions(t *testing.T) { function TestMapToFetchOptionsNil (line 157) | func TestMapToFetchOptionsNil(t *testing.T) { FILE: sitemap/discover.go function Discover (line 14) | func Discover(domain string, opts *DiscoverOptions) (*DiscoverResult, er... function classifyAndExpand (line 71) | func classifyAndExpand(client *http.Client, userAgent, url, source strin... function detectRootElement (line 177) | func detectRootElement(decoder *xml.Decoder) (string, error) { function fillMetadataFromHeaders (line 190) | func fillMetadataFromHeaders(link *SitemapLink, resp *http.Response) { function fillMetadataFromHEAD (line 198) | func fillMetadataFromHEAD(client *http.Client, userAgent string, link *S... function estimateURLCount (line 219) | func estimateURLCount(contentSize int64, encoding string) int { function httpGetBody (line 240) | func httpGetBody(client *http.Client, url, userAgent string) (string, er... FILE: sitemap/fetch.go function Fetch (line 15) | func Fetch(domain string, opts *FetchOptions) (*FetchResult, error) { function streamParseURLs (line 117) | func streamParseURLs(client *http.Client, userAgent string, link Sitemap... FILE: sitemap/fetch_test.go constant testSitemapXML (line 13) | testSitemapXML = ` function buildSitemapIndex (line 23) | func buildSitemapIndex(urls ...string) string { function TestStreamParseURLs_Basic (line 36) | func TestStreamParseURLs_Basic(t *testing.T) { function TestStreamParseURLs_WithSkip (line 62) | func TestStreamParseURLs_WithSkip(t *testing.T) { function TestStreamParseURLs_WithLimit (line 88) | func TestStreamParseURLs_WithLimit(t *testing.T) { function TestStreamParseURLs_SkipAndLimit (line 114) | func TestStreamParseURLs_SkipAndLimit(t *testing.T) { function TestStreamParseURLs_SkipAll (line 140) | func TestStreamParseURLs_SkipAll(t *testing.T) { function TestStreamParseURLs_Gzip (line 163) | func TestStreamParseURLs_Gzip(t *testing.T) { function TestStreamParseURLs_HTTP404 (line 193) | func TestStreamParseURLs_HTTP404(t *testing.T) { function TestDiscover_SingleURLSet (line 210) | func TestDiscover_SingleURLSet(t *testing.T) { function TestDiscover_SitemapIndex (line 241) | func TestDiscover_SitemapIndex(t *testing.T) { function TestDiscover_UnreachableSitemap (line 283) | func TestDiscover_UnreachableSitemap(t *testing.T) { function TestEstimateURLCount (line 298) | func TestEstimateURLCount(t *testing.T) { function TestHTTPGetBody (line 324) | func TestHTTPGetBody(t *testing.T) { function TestHTTPGetBody_404 (line 341) | func TestHTTPGetBody_404(t *testing.T) { function TestFetchEndToEnd_Pagination (line 356) | func TestFetchEndToEnd_Pagination(t *testing.T) { function TestFillMetadataFromHeaders (line 418) | func TestFillMetadataFromHeaders(t *testing.T) { FILE: sitemap/parse.go function Parse (line 12) | func Parse(data string) (*ParseResult, error) { function Validate (line 35) | func Validate(data string) error { function detectFormat (line 93) | func detectFormat(data []byte) (string, error) { function parseURLSet (line 107) | func parseURLSet(data []byte) (*ParseResult, error) { function parseSitemapIndex (line 119) | func parseSitemapIndex(data []byte) (*ParseResult, error) { FILE: sitemap/parse_test.go constant testURLSetXML (line 7) | testURLSetXML = ` constant testSitemapIndexXML (line 35) | testSitemapIndexXML = ` function TestParseURLSet (line 47) | func TestParseURLSet(t *testing.T) { function TestParseSitemapIndex (line 94) | func TestParseSitemapIndex(t *testing.T) { function TestParseEmpty (line 121) | func TestParseEmpty(t *testing.T) { function TestParseInvalidXML (line 128) | func TestParseInvalidXML(t *testing.T) { function TestValidateURLSet (line 135) | func TestValidateURLSet(t *testing.T) { function TestValidateSitemapIndex (line 142) | func TestValidateSitemapIndex(t *testing.T) { function TestValidateEmpty (line 149) | func TestValidateEmpty(t *testing.T) { function TestValidateMissingLoc (line 156) | func TestValidateMissingLoc(t *testing.T) { function TestValidateInvalidXML (line 169) | func TestValidateInvalidXML(t *testing.T) { FILE: sitemap/process.go function init (line 8) | func init() { function processParse (line 36) | func processParse(p *process.Process) interface{} { function processValidate (line 63) | func processValidate(p *process.Process) interface{} { function processParseRobots (line 86) | func processParseRobots(p *process.Process) interface{} { function processDiscover (line 112) | func processDiscover(p *process.Process) interface{} { function processFetch (line 151) | func processFetch(p *process.Process) interface{} { function processBuildOpen (line 185) | func processBuildOpen(p *process.Process) interface{} { function processBuildWrite (line 216) | func processBuildWrite(p *process.Process) interface{} { function processBuildClose (line 245) | func processBuildClose(p *process.Process) interface{} { FILE: sitemap/robots.go function ParseRobots (line 14) | func ParseRobots(text string) []string { FILE: sitemap/robots_test.go function TestParseRobotsBasic (line 7) | func TestParseRobotsBasic(t *testing.T) { function TestParseRobotsCaseInsensitive (line 26) | func TestParseRobotsCaseInsensitive(t *testing.T) { function TestParseRobotsDuplicate (line 37) | func TestParseRobotsDuplicate(t *testing.T) { function TestParseRobotsEmpty (line 48) | func TestParseRobotsEmpty(t *testing.T) { function TestParseRobotsNoSitemapDirective (line 55) | func TestParseRobotsNoSitemapDirective(t *testing.T) { function TestParseRobotsWithWhitespace (line 65) | func TestParseRobotsWithWhitespace(t *testing.T) { FILE: sitemap/types.go type URL (line 12) | type URL struct type Image (line 25) | type Image struct type Video (line 35) | type Video struct type News (line 48) | type News struct type Publication (line 57) | type Publication struct type xmlURLSet (line 65) | type xmlURLSet struct type xmlSitemapIndex (line 71) | type xmlSitemapIndex struct type SitemapEntry (line 77) | type SitemapEntry struct type ParseResult (line 86) | type ParseResult struct type DiscoverResult (line 95) | type DiscoverResult struct type SitemapLink (line 101) | type SitemapLink struct type DiscoverOptions (line 112) | type DiscoverOptions struct type FetchResult (line 120) | type FetchResult struct type FetchOptions (line 126) | type FetchOptions struct type sitemapWriter (line 138) | type sitemapWriter struct type BuildResult (line 156) | type BuildResult struct type BuildOptions (line 163) | type BuildOptions struct constant MaxURLsPerFile (line 172) | MaxURLsPerFile = 50000 constant DefaultUserAgent (line 175) | DefaultUserAgent = "Yao-Robot/1.0" constant DefaultTimeout (line 178) | DefaultTimeout = 30 constant MaxDiscoverDepth (line 181) | MaxDiscoverDepth = 3 constant NSSitemap (line 184) | NSSitemap = "http://www.sitemaps.org/schemas/sitemap/0.9" constant NSImage (line 185) | NSImage = "http://www.google.com/schemas/sitemap-image/1.1" constant NSVideo (line 186) | NSVideo = "http://www.google.com/schemas/sitemap-video/1.1" constant NSNews (line 187) | NSNews = "http://www.google.com/schemas/sitemap-news/0.9" FILE: store/store.go function replaceVars (line 33) | func replaceVars(jsonStr string, vars map[string]string) string { function Load (line 49) | func Load(cfg config.Config) error { function loadSystemStores (line 86) | func loadSystemStores(cfg config.Config) error { FILE: store/store_test.go function TestLoad (line 15) | func TestLoad(t *testing.T) { function check (line 31) | func check(t *testing.T) { function loadConnectors (line 53) | func loadConnectors(t *testing.T) { FILE: sui/api/api.go function registerAPI (line 267) | func registerAPI() error { FILE: sui/api/build_test.go function TestCompile (line 10) | func TestCompile(t *testing.T) { function TestTrans (line 23) | func TestTrans(t *testing.T) { function testTmpl (line 41) | func testTmpl(t *testing.T) core.ITemplate { function testPage (line 55) | func testPage(t *testing.T) *core.Page { FILE: sui/api/guards.go function guardBearerJWT (line 34) | func guardBearerJWT(r *Request) error { function guardCookieJWT (line 54) | func guardCookieJWT(r *Request) error { function guardCookieTrace (line 79) | func guardCookieTrace(r *Request) error { function guardOAuth (line 103) | func guardOAuth(r *Request) error { function guardQueryJWT (line 153) | func guardQueryJWT(r *Request) error { method processGuard (line 173) | func (r *Request) processGuard(name string) error { method scriptGuardExec (line 211) | func (r *Request) scriptGuardExec(c *gin.Context, name string, args []in... method processGuardExec (line 482) | func (r *Request) processGuardExec(c *gin.Context, name string, args []i... FILE: sui/api/process.go function init (line 19) | func init() { function TypesQueryParam (line 78) | func TypesQueryParam(process *process.Process) interface{} { function Setting (line 114) | func Setting(process *process.Process) interface{} { function TemplateGet (line 124) | func TemplateGet(process *process.Process) interface{} { function TemplateFind (line 136) | func TemplateFind(process *process.Process) interface{} { function TemplateAsset (line 149) | func TemplateAsset(process *process.Process) interface{} { function TemplateAssetUpload (line 171) | func TemplateAssetUpload(process *process.Process) interface{} { function MediaSearch (line 226) | func MediaSearch(process *process.Process) interface{} { function LocaleGet (line 303) | func LocaleGet(process *process.Process) interface{} { function ThemeGet (line 320) | func ThemeGet(process *process.Process) interface{} { function BlockGet (line 333) | func BlockGet(process *process.Process) interface{} { function BlockExport (line 352) | func BlockExport(process *process.Process) interface{} { function BlockMedia (line 371) | func BlockMedia(process *process.Process) interface{} { function BlockFind (line 395) | func BlockFind(process *process.Process) interface{} { function ComponentGet (line 416) | func ComponentGet(process *process.Process) interface{} { function ComponentFind (line 435) | func ComponentFind(process *process.Process) interface{} { function PageTree (line 455) | func PageTree(process *process.Process) interface{} { function PageGet (line 475) | func PageGet(process *process.Process) interface{} { function PageSave (line 494) | func PageSave(process *process.Process) interface{} { function PageSaveTemp (line 536) | func PageSaveTemp(process *process.Process) interface{} { function PageCreate (line 581) | func PageCreate(process *process.Process) interface{} { function PageRename (line 631) | func PageRename(process *process.Process) interface{} { function PageDuplicate (line 671) | func PageDuplicate(process *process.Process) interface{} { function PageRemove (line 711) | func PageRemove(process *process.Process) interface{} { function PageExist (line 736) | func PageExist(process *process.Process) interface{} { function PageAsset (line 751) | func PageAsset(process *process.Process) interface{} { function EditorRender (line 796) | func EditorRender(process *process.Process) interface{} { function EditorRenderAfterSaveTemp (line 822) | func EditorRenderAfterSaveTemp(process *process.Process) interface{} { function EditorSource (line 832) | func EditorSource(process *process.Process) interface{} { function EditorSourceAfterSaveTemp (line 871) | func EditorSourceAfterSaveTemp(process *process.Process) interface{} { function PreviewRender (line 882) | func PreviewRender(process *process.Process) interface{} { function SyncAssetFile (line 910) | func SyncAssetFile(process *process.Process) interface{} { function BuildAll (line 947) | func BuildAll(process *process.Process) interface{} { function BuildPage (line 986) | func BuildPage(process *process.Process) interface{} { function TransAll (line 1030) | func TransAll(process *process.Process) interface{} { function TransPage (line 1069) | func TransPage(process *process.Process) interface{} { function get (line 1113) | func get(process *process.Process) core.SUI { function route (line 1122) | func route(process *process.Process, i int) string { function getSource (line 1134) | func getSource(process *process.Process) (*core.RequestSource, error) { FILE: sui/api/process_test.go function TestTemplateGet (line 16) | func TestTemplateGet(t *testing.T) { function TestTemplateFind (line 35) | func TestTemplateFind(t *testing.T) { function TestTemplateAsset (line 54) | func TestTemplateAsset(t *testing.T) { function TestTemplateLocaleGet (line 74) | func TestTemplateLocaleGet(t *testing.T) { function TestTemplateThemeGet (line 99) | func TestTemplateThemeGet(t *testing.T) { function TestBlockGet (line 120) | func TestBlockGet(t *testing.T) { function TestBlockFind (line 139) | func TestBlockFind(t *testing.T) { function TestBlockExport (line 153) | func TestBlockExport(t *testing.T) { function TestBlockMedia (line 167) | func TestBlockMedia(t *testing.T) { function TestTemplateComponentGet (line 185) | func TestTemplateComponentGet(t *testing.T) { function TestTemplateComponentFind (line 204) | func TestTemplateComponentFind(t *testing.T) { function TestPageTree (line 218) | func TestPageTree(t *testing.T) { function TestPageGet (line 237) | func TestPageGet(t *testing.T) { function TestPageExist (line 260) | func TestPageExist(t *testing.T) { function TestPageCreate (line 291) | func TestPageCreate(t *testing.T) { function TestPageRename (line 314) | func TestPageRename(t *testing.T) { function TestPageDuplicate (line 351) | func TestPageDuplicate(t *testing.T) { function TestPageCreateSaveThenRemove (line 375) | func TestPageCreateSaveThenRemove(t *testing.T) { function TestPageSaveThenRemove (line 405) | func TestPageSaveThenRemove(t *testing.T) { function TestGetSource (line 459) | func TestGetSource(t *testing.T) { function TestPageAssetJS (line 553) | func TestPageAssetJS(t *testing.T) { function TestPageAssetTS (line 573) | func TestPageAssetTS(t *testing.T) { function TestPageAssetCSS (line 592) | func TestPageAssetCSS(t *testing.T) { function TestEditorRender (line 611) | func TestEditorRender(t *testing.T) { function TestEditorPageSource (line 631) | func TestEditorPageSource(t *testing.T) { function TestEditorRenderWithQuery (line 653) | func TestEditorRenderWithQuery(t *testing.T) { function TestPreviewRender (line 674) | func TestPreviewRender(t *testing.T) { function TestBuildAll (line 693) | func TestBuildAll(t *testing.T) { function TestBuildPage (line 711) | func TestBuildPage(t *testing.T) { function TestTransAll (line 729) | func TestTransAll(t *testing.T) { function TestTransPage (line 747) | func TestTransPage(t *testing.T) { function TestSyncAssetFile (line 765) | func TestSyncAssetFile(t *testing.T) { FILE: sui/api/render.go function Render (line 15) | func Render(process *process.Process) interface{} { method renderHTML (line 92) | func (r *Request) renderHTML(c *core.Cache, name string, comp string, ht... function TemplateRender (line 144) | func TemplateRender(process *process.Process) interface{} { FILE: sui/api/render_test.go function TestTemplateRender (line 10) | func TestTemplateRender(t *testing.T) { function TestTemplateRenderWithComponent (line 27) | func TestTemplateRenderWithComponent(t *testing.T) { FILE: sui/api/request.go type Request (line 21) | type Request struct method Render (line 86) | func (r *Request) Render() (string, int, error) { method MakeCache (line 198) | func (r *Request) MakeCache() (*core.Cache, int, error) { method Guard (line 311) | func (r *Request) Guard(c *core.Cache) (int, error) { function NewRequestContext (line 30) | func NewRequestContext(c *gin.Context) (*Request, int, error) { function parserPath (line 364) | func parserPath(c *gin.Context) (string, map[string]string, error) { function payload (line 401) | func payload(c *gin.Context) (map[string]interface{}, interface{}, error) { FILE: sui/api/request_test.go function TestMakeCache (line 13) | func TestMakeCache(t *testing.T) { function TestRender (line 26) | func TestRender(t *testing.T) { function makeParser (line 44) | func makeParser(route string, t *testing.T) (*core.TemplateParser, strin... function makeRequest (line 81) | func makeRequest(path string, t *testing.T) *Request { FILE: sui/api/run.go function init (line 21) | func init() { function Run (line 26) | func Run(process *process.Process) interface{} { function getPageConfig (line 156) | func getPageConfig(file string, disableCache ...bool) (*core.PageConfig,... method apiGuard (line 187) | func (r *Request) apiGuard(method string, api *core.PageAPI) (int, error) { method enforceACL (line 230) | func (r *Request) enforceACL() error { function configWriter (line 254) | func configWriter() { FILE: sui/api/sui.go function New (line 19) | func New(dsl *core.DSL) (core.SUI, error) { function Load (line 42) | func Load(cfg config.Config) error { function loadAgentSUI (line 72) | func loadAgentSUI() error { function loadFile (line 111) | func loadFile(file string, id string) (core.SUI, error) { function Reload (line 128) | func Reload() { function buildRouteMatchers (line 132) | func buildRouteMatchers() (map[*regexp.Regexp][][]*core.Matcher, map[str... FILE: sui/api/sui_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function check (line 18) | func check(t *testing.T) { function prepare (line 28) | func prepare(t *testing.T) { function clean (line 47) | func clean() { FILE: sui/core/block.go method Compile (line 12) | func (block *Block) Compile() (string, error) { method Source (line 60) | func (block *Block) Source() string { method Get (line 65) | func (block *Block) Get() *Block { FILE: sui/core/build.go method Build (line 21) | func (page *Page) Build(ctx *BuildContext, option *BuildOption) (*goquer... method BuildAsComponent (line 141) | func (page *Page) BuildAsComponent(sel *goquery.Selection, ctx *BuildCon... method parseDynamics (line 276) | func (page *Page) parseDynamics(ctx *BuildContext, sel *goquery.Selectio... method parseImports (line 298) | func (page *Page) parseImports(doc *goquery.Document) { method copySlots (line 388) | func (page *Page) copySlots(from *goquery.Selection, to *goquery.Selecti... method copyChildren (line 413) | func (page *Page) copyChildren(from *goquery.Selection, to *goquery.Sele... method parseProps (line 437) | func (page *Page) parseProps(from *goquery.Selection, to *goquery.Select... method replaceProps (line 503) | func (page *Page) replaceProps(sel *goquery.Selection) error { method replacePropsText (line 516) | func (page *Page) replacePropsText(text string, data Data) (string, []st... method replacePropsNode (line 546) | func (page *Page) replacePropsNode(data Data, node *html.Node) error { method buildComponents (line 601) | func (page *Page) buildComponents(doc *goquery.Document, ctx *BuildConte... method BuildStyles (line 667) | func (page *Page) BuildStyles(ctx *BuildContext, option *BuildOption, co... method BuildScripts (line 726) | func (page *Page) BuildScripts(ctx *BuildContext, option *BuildOption, c... method BuildHTML (line 822) | func (page *Page) BuildHTML(option *BuildOption) (string, error) { function setError (line 849) | func setError(sel *goquery.Selection, err error) { function addTabToEachLine (line 864) | func addTabToEachLine(input string, prefix ...string) string { FILE: sui/core/cache.go type Cache (line 12) | type Cache struct method GetHTML (line 85) | func (c *Cache) GetHTML(hash string) (string, bool) { method GetData (line 102) | func (c *Cache) GetData(hash string) (Data, bool) { method SetData (line 125) | func (c *Cache) SetData(hash string, data Data, ttl time.Duration) { method SetHTML (line 142) | func (c *Cache) SetHTML(hash, html string, ttl time.Duration) { method DelHTML (line 152) | func (c *Cache) DelHTML(hash string) { constant saveCache (line 28) | saveCache uint8 = iota constant removeCache (line 29) | removeCache type cacheData (line 32) | type cacheData struct function init (line 42) | func init() { function cacheWriter (line 46) | func cacheWriter() { function SetCache (line 61) | func SetCache(file string, cache *Cache) { function GetCache (line 66) | func GetCache(file string) *Cache { function RemoveCache (line 74) | func RemoveCache(file string) { function CleanCache (line 80) | func CleanCache() { FILE: sui/core/compile.go method Compile (line 23) | func (page *Page) Compile(ctx *BuildContext, option *BuildOption) (strin... method CompileAsComponent (line 127) | func (page *Page) CompileAsComponent(ctx *BuildContext, option *BuildOpt... method CompileJS (line 183) | func (page *Page) CompileJS(source []byte, minify bool) ([]byte, []strin... method CompileTS (line 203) | func (page *Page) CompileTS(source []byte, minify bool) ([]byte, []strin... method CompileCSS (line 230) | func (page *Page) CompileCSS(source []byte, minify bool) ([]byte, error) { method CompileHTML (line 239) | func (page *Page) CompileHTML(source []byte, minify bool) ([]byte, error) { method Hash (line 244) | func (script ScriptNode) Hash() string { method HTML (line 252) | func (script ScriptNode) HTML() string { method ComponentHTML (line 272) | func (script ScriptNode) ComponentHTML(ns string) string { method AttrOr (line 301) | func (script ScriptNode) AttrOr(key string, or string) string { method AttrOr (line 311) | func (style StyleNode) AttrOr(key string, or string) string { method HTML (line 321) | func (style StyleNode) HTML() string { FILE: sui/core/component.go method Compile (line 12) | func (component *Component) Compile() (string, error) { method Source (line 61) | func (component *Component) Source() string { FILE: sui/core/context.go function NewBuildContext (line 4) | func NewBuildContext(global *GlobalBuildContext) *BuildContext { function NewTranslateContext (line 21) | func NewTranslateContext() *TranslateContext { function NewGlobalBuildContext (line 29) | func NewGlobalBuildContext(tmpl ITemplate) *GlobalBuildContext { method GetJitComponents (line 37) | func (ctx *BuildContext) GetJitComponents() []string { method GetComponents (line 49) | func (ctx *BuildContext) GetComponents() []string { method GetTranslations (line 61) | func (ctx *BuildContext) GetTranslations() []Translation { method GetJitComponents (line 69) | func (globalCtx *GlobalBuildContext) GetJitComponents() []string { method addJitComponent (line 81) | func (ctx *BuildContext) addJitComponent(name string) { method isJitComponent (line 90) | func (ctx *BuildContext) isJitComponent(name string) bool { FILE: sui/core/core.go function Load (line 8) | func Load(file string, id string) (*DSL, error) { FILE: sui/core/data.go type Data (line 25) | type Data method Hash (line 75) | func (data Data) Hash() string { method New (line 82) | func (data Data) New(stmt string) (*vm.Program, error) { method Exec (line 108) | func (data Data) Exec(stmt string) (interface{}, []Identifier, error) { method Identifiers (line 127) | func (data Data) Identifiers(stmt string) ([]Identifier, error) { method ExecString (line 139) | func (data Data) ExecString(stmt string) StringValue { method Replace (line 178) | func (data Data) Replace(value string) (string, []StringValue) { method ReplaceUse (line 183) | func (data Data) ReplaceUse(tokens Tokens, value string) (string, []St... method ReplaceSelection (line 195) | func (data Data) ReplaceSelection(sel *goquery.Selection) []StringValue { method ReplaceSelectionUse (line 200) | func (data Data) ReplaceSelectionUse(tokens Tokens, sel *goquery.Selec... method replaceNodeUse (line 211) | func (data Data) replaceNodeUse(tokens Tokens, node *html.Node) []Stri... type Identifier (line 28) | type Identifier struct type Visitor (line 34) | type Visitor struct method Visit (line 57) | func (v *Visitor) Visit(node *ast.Node) { type StringValue (line 39) | type StringValue struct function _false (line 248) | func _false(args ...any) (interface{}, error) { function _true (line 256) | func _true(args ...any) (interface{}, error) { function _empty (line 278) | func _empty(args ...any) (interface{}, error) { function _process (line 327) | func _process(args ...any) (interface{}, error) { function PropFindAllStringSubmatch (line 353) | func PropFindAllStringSubmatch(value string) [][]string { function PropGetVarNames (line 359) | func PropGetVarNames(value string) []string { FILE: sui/core/editor.go method EditorRender (line 8) | func (page *Page) EditorRender() (*ResponseEditorRender, error) { method Render (line 104) | func (res *ResponseEditorRender) Render(data map[string]interface{}) err... method EditorPageSource (line 131) | func (page *Page) EditorPageSource() SourceData { method EditorScriptSource (line 139) | func (page *Page) EditorScriptSource() SourceData { method EditorStyleSource (line 154) | func (page *Page) EditorStyleSource() SourceData { method EditorDataSource (line 162) | func (page *Page) EditorDataSource() SourceData { method GlobalScripts (line 170) | func (page *Page) GlobalScripts() ([]string, error) { method GlobalStyles (line 193) | func (page *Page) GlobalStyles() ([]string, error) { method document (line 216) | func (page *Page) document() []byte { FILE: sui/core/event.go method BindEvent (line 15) | func (page *Page) BindEvent(ctx *BuildContext, sel *goquery.Selection, c... method BindEvent (line 35) | func (parser *TemplateParser) BindEvent(sel *goquery.Selection, ns strin... function GetEventScript (line 62) | func GetEventScript(sequence int, sel *goquery.Selection, ns string, cn ... function ReplaceEventData (line 135) | func ReplaceEventData(sel *goquery.Selection) { FILE: sui/core/fs.go type SuiFile (line 17) | type SuiFile struct method Close (line 42) | func (file *SuiFile) Close() error { method Read (line 48) | func (file *SuiFile) Read(b []byte) (n int, err error) { method Seek (line 54) | func (file *SuiFile) Seek(offset int64, whence int) (int64, error) { method Readdir (line 60) | func (file *SuiFile) Readdir(n int) ([]os.FileInfo, error) { method Stat (line 66) | func (file *SuiFile) Stat() (os.FileInfo, error) { type SuiFileInfo (line 24) | type SuiFileInfo struct method Size (line 71) | func (info *SuiFileInfo) Size() int64 { method Name (line 76) | func (info *SuiFileInfo) Name() string { method Mode (line 81) | func (info *SuiFileInfo) Mode() os.FileMode { method ModTime (line 86) | func (info *SuiFileInfo) ModTime() time.Time { method IsDir (line 91) | func (info *SuiFileInfo) IsDir() bool { method Sys (line 96) | func (info *SuiFileInfo) Sys() interface{} { function Open (line 30) | func Open(c *gin.Context, path string, name string) (http.File, error) { FILE: sui/core/injections.go function LibSUI (line 14) | func LibSUI() ([]byte, []byte, error) { constant initScriptTmpl (line 53) | initScriptTmpl = ` constant i118nScriptTmpl (line 76) | i118nScriptTmpl = ` constant pageEventScriptTmpl (line 92) | pageEventScriptTmpl = ` constant compEventScriptTmpl (line 106) | compEventScriptTmpl = ` constant componentInitScriptTmpl (line 121) | componentInitScriptTmpl = ` constant backendScriptTmpl (line 169) | backendScriptTmpl = ` function bodyInjectionScript (line 183) | func bodyInjectionScript(jsonRaw string, debug bool) string { function headInjectionScript (line 191) | func headInjectionScript(jsonRaw string) string { function pageEventInjectScript (line 195) | func pageEventInjectScript(eventID, eventName, dataKeys, jsonKeys, handl... function compEventInjectScript (line 199) | func compEventInjectScript(eventID, eventName, component, dataKeys, json... function componentInitScript (line 203) | func componentInitScript(root string, source string) string { function BackendScript (line 208) | func BackendScript(route string) string { FILE: sui/core/interfaces.go type SUI (line 33) | type SUI interface type ITemplate (line 47) | type ITemplate interface type IPage (line 88) | type IPage interface type IBlock (line 119) | type IBlock interface type IComponent (line 127) | type IComponent interface type IWatchDirs (line 134) | type IWatchDirs interface FILE: sui/core/jit.go type JitComponent (line 17) | type JitComponent struct constant saveComponent (line 28) | saveComponent uint8 = iota constant removeComponent (line 29) | removeComponent type componentData (line 32) | type componentData struct function init (line 46) | func init() { method parseJitComponent (line 51) | func (parser *TemplateParser) parseJitComponent(sel *goquery.Selection) { method newJitComponentSel (line 107) | func (parser *TemplateParser) newJitComponentSel(sel *goquery.Selection,... method getJitComponent (line 209) | func (parser *TemplateParser) getJitComponent(sel *goquery.Selection) (*... method getImports (line 277) | func (parser *TemplateParser) getImports(source []byte) ([]byte, map[str... method getBuildOption (line 290) | func (parser *TemplateParser) getBuildOption(source []byte) ([]byte, *Bu... method getStyleNodes (line 307) | func (parser *TemplateParser) getStyleNodes(source []byte) ([]byte, []St... method getScriptNodes (line 324) | func (parser *TemplateParser) getScriptNodes(source []byte) ([]byte, []S... method filterScripts (line 343) | func (parser *TemplateParser) filterScripts(parent string, scripts []Scr... method addScripts (line 357) | func (parser *TemplateParser) addScripts(sel *goquery.Selection, scripts... method addStyles (line 378) | func (parser *TemplateParser) addStyles(sel *goquery.Selection, styles [... method isJitComponent (line 392) | func (parser *TemplateParser) isJitComponent(sel *goquery.Selection) bool { function componentWriter (line 398) | func componentWriter() { FILE: sui/core/json.go method UnmarshalJSON (line 8) | func (mock *PageMock) UnmarshalJSON(data []byte) error { function convertRecordToMap (line 40) | func convertRecordToMap(record map[string]interface{}) map[string][]stri... FILE: sui/core/json_test.go function TestRequestSourceUnmarshalJSON (line 10) | func TestRequestSourceUnmarshalJSON(t *testing.T) { function TestPageConfigUnmarshalJSON (line 117) | func TestPageConfigUnmarshalJSON(t *testing.T) { FILE: sui/core/locale.go type localeData (line 19) | type localeData struct constant saveLocale (line 29) | saveLocale uint8 = iota constant removeLocale (line 30) | removeLocale function init (line 33) | func init() { function localeWriter (line 37) | func localeWriter() { method Locale (line 58) | func (parser *TemplateParser) Locale() *Locale { method MergeTranslations (line 137) | func (locale *Locale) MergeTranslations(translations []Translation, pref... method Merge (line 183) | func (locale *Locale) Merge(locale2 Locale) { method ParseKeys (line 211) | func (locale *Locale) ParseKeys() { method Fmt (line 229) | func (locale *Locale) Fmt(name string, value string) string { function GetSystemTimezone (line 260) | func GetSystemTimezone() string { FILE: sui/core/locale_test.go function TestLocaleMergeTranslations (line 7) | func TestLocaleMergeTranslations(t *testing.T) { function TestLocaleMerge (line 118) | func TestLocaleMerge(t *testing.T) { function testCompareMaps (line 199) | func testCompareMaps(a, b map[string]string) bool { FILE: sui/core/matcher.go type AttrMatcher (line 11) | type AttrMatcher struct method Match (line 27) | func (m *AttrMatcher) Match(n *html.Node) bool { method regexpMatch (line 34) | func (m *AttrMatcher) regexpMatch(n *html.Node) bool { method prefixMatch (line 43) | func (m *AttrMatcher) prefixMatch(n *html.Node) bool { method MatchAll (line 53) | func (m *AttrMatcher) MatchAll(n *html.Node) []*html.Node { method Filter (line 66) | func (m *AttrMatcher) Filter(ns []*html.Node) []*html.Node { function NewAttrPrefixMatcher (line 17) | func NewAttrPrefixMatcher(prefix string) *AttrMatcher { function NewAttrRegexpMatcher (line 22) | func NewAttrRegexpMatcher(re *regexp.Regexp) *AttrMatcher { FILE: sui/core/page.go method Get (line 14) | func (page *Page) Get() *Page { method SUI (line 19) | func (page *Page) SUI() (SUI, error) { method Sid (line 28) | func (page *Page) Sid() (string, error) { method GetConfig (line 37) | func (page *Page) GetConfig() *PageConfig { method ExportConfig (line 62) | func (page *Page) ExportConfig() string { method Data (line 85) | func (page *Page) Data(request *Request) (Data, map[string]interface{}, ... method Exec (line 101) | func (page *Page) Exec(request *Request) (Data, error) { method RenderTitle (line 129) | func (page *Page) RenderTitle(data Data) string { method Link (line 144) | func (page *Page) Link(r *Request) string { method ReplaceDocument (line 203) | func (page *Page) ReplaceDocument(doc *goquery.Document) { FILE: sui/core/page_test.go function TestPageExec (line 10) | func TestPageExec(t *testing.T) { FILE: sui/core/parser.go type TemplateParser (line 19) | type TemplateParser struct method Render (line 121) | func (parser *TemplateParser) Render(html string) (string, error) { method RenderSelection (line 214) | func (parser *TemplateParser) RenderSelection(section *goquery.Selecti... method Fmt (line 232) | func (parser *TemplateParser) Fmt(doc *goquery.Selection) { method parseNode (line 243) | func (parser *TemplateParser) parseNode(node *html.Node) { method parseElementNode (line 270) | func (parser *TemplateParser) parseElementNode(sel *goquery.Selection) { method parseElementComponent (line 303) | func (parser *TemplateParser) parseElementComponent(sel *goquery.Selec... method clone (line 381) | func (parser *TemplateParser) clone(script *Script) *TemplateParser { method isElementComponent (line 391) | func (parser *TemplateParser) isElementComponent(sel *goquery.Selectio... method transTextNode (line 398) | func (parser *TemplateParser) transTextNode(node *html.Node) { method transElementNode (line 425) | func (parser *TemplateParser) transElementNode(sel *goquery.Selection) { method escapeText (line 442) | func (parser *TemplateParser) escapeText(content string) string { method escape (line 452) | func (parser *TemplateParser) escape(value string) string { method transNode (line 472) | func (parser *TemplateParser) transNode(key string, message string) st... method transText (line 489) | func (parser *TemplateParser) transText(content string, keys []string)... method removeWrapper (line 536) | func (parser *TemplateParser) removeWrapper(sel *goquery.Selection) { method setStatementNode (line 545) | func (parser *TemplateParser) setStatementNode(sel *goquery.Selection) { method parseElementAttrs (line 569) | func (parser *TemplateParser) parseElementAttrs(sel *goquery.Selection... method parseTextNode (line 662) | func (parser *TemplateParser) parseTextNode(node *html.Node) { method hasForStatement (line 682) | func (parser *TemplateParser) hasForStatement(sel *goquery.Selection) ... method forStatementNode (line 689) | func (parser *TemplateParser) forStatementNode(sel *goquery.Selection) { method ifStatementNode (line 777) | func (parser *TemplateParser) ifStatementNode(sel *goquery.Selection) { method elseStatementNode (line 837) | func (parser *TemplateParser) elseStatementNode(sel *goquery.Selection... method setSuiAttr (line 861) | func (parser *TemplateParser) setSuiAttr(sel *goquery.Selection, key, ... method removeSuiAttr (line 866) | func (parser *TemplateParser) removeSuiAttr(sel *goquery.Selection, ke... method hide (line 871) | func (parser *TemplateParser) hide(sel *goquery.Selection) { method show (line 893) | func (parser *TemplateParser) show(sel *goquery.Selection) { method Tidy (line 917) | func (parser *TemplateParser) Tidy(s *goquery.Selection) { method key (line 957) | func (parser *TemplateParser) key(prefix string, sel *goquery.Selectio... method setKey (line 962) | func (parser *TemplateParser) setKey(prefix string, sel *goquery.Selec... method parsed (line 968) | func (parser *TemplateParser) parsed(sel *goquery.Selection) { method removeParsed (line 972) | func (parser *TemplateParser) removeParsed(sel *goquery.Selection) { method hasParsed (line 976) | func (parser *TemplateParser) hasParsed(sel *goquery.Selection) bool { method debug (line 983) | func (parser *TemplateParser) debug() bool { method disableCache (line 987) | func (parser *TemplateParser) disableCache() bool { method toArray (line 991) | func (parser *TemplateParser) toArray(value interface{}) ([]interface{... type ParserContext (line 33) | type ParserContext struct type Mapping (line 41) | type Mapping struct type ParserOption (line 48) | type ParserOption struct function NewTemplateParser (line 103) | func NewTemplateParser(data Data, option *ParserOption) *TemplateParser { function checkIsRawElement (line 652) | func checkIsRawElement(node *html.Node) bool { FILE: sui/core/parser_test.go function TestRender (line 10) | func TestRender(t *testing.T) { FILE: sui/core/preview.go method PreviewRender (line 8) | func (page *Page) PreviewRender(referer string) (string, error) { FILE: sui/core/request.go function NewRequestMock (line 15) | func NewRequestMock(mock *PageMock) *Request { method Cookies (line 32) | func (r *Request) Cookies() map[string]string { method DebugMode (line 46) | func (r *Request) DebugMode() bool { method DisableCache (line 55) | func (r *Request) DisableCache() bool { method NewData (line 64) | func (r *Request) NewData() Data { function GetLocale (line 91) | func GetLocale(cookies map[string]string) interface{} { function GetTheme (line 99) | func GetTheme(cookies map[string]string) interface{} { method Hash (line 107) | func (r *Request) Hash() string { method ExecStringMerge (line 114) | func (r *Request) ExecStringMerge(data Data, raw string) error { method ExecString (line 129) | func (r *Request) ExecString(data string) (Data, error) { method Exec (line 144) | func (r *Request) Exec(m map[string]interface{}) error { method execValue (line 172) | func (r *Request) execValue(value interface{}) (interface{}, error) { method call (line 276) | func (r *Request) call(p interface{}) (interface{}, error) { method parseArgs (line 329) | func (r *Request) parseArgs(args []interface{}) ([]interface{}, error) { method Map (line 396) | func (url ReqeustURL) Map() Data { FILE: sui/core/script.go constant saveScript (line 21) | saveScript uint8 = iota constant removeScript (line 22) | removeScript type Script (line 26) | type Script struct method Call (line 94) | func (script *Script) Call(r *Request, method string, args ...any) (in... method BeforeRender (line 121) | func (script *Script) BeforeRender(r *Request, props map[string]interf... method ConstantsToString (line 154) | func (script *Script) ConstantsToString() (string, error) { method Constants (line 168) | func (script *Script) Constants() (map[string]interface{}, error) { method Helpers (line 205) | func (script *Script) Helpers() ([]string, error) { type scriptData (line 30) | type scriptData struct function init (line 38) | func init() { function scriptWriter (line 42) | func scriptWriter() { function LoadScript (line 57) | func LoadScript(file string, disableCache ...bool) (*Script, error) { function getSourceRootReplaceFunc (line 244) | func getSourceRootReplaceFunc() interface{} { FILE: sui/core/sui.go method Setting (line 16) | func (sui *DSL) Setting() (*Setting, error) { method WithSid (line 27) | func (sui *DSL) WithSid(sid string) { method GetSid (line 32) | func (sui *DSL) GetSid() string { method PublicRootMatcher (line 37) | func (sui *DSL) PublicRootMatcher() *Matcher { method PublicRootWithSid (line 54) | func (sui *DSL) PublicRootWithSid(sid string) (string, error) { method PublicRoot (line 76) | func (sui *DSL) PublicRoot(data map[string]interface{}) (string, error) { method GetTemplate (line 121) | func (sui *DSL) GetTemplate(name string) (ITemplate, error) { method GetTemplates (line 126) | func (sui *DSL) GetTemplates() ([]ITemplate, error) { method UploadTemplate (line 131) | func (sui *DSL) UploadTemplate(src string, dst string) (ITemplate, error) { method GetPublic (line 136) | func (sui *DSL) GetPublic() *Public { FILE: sui/core/sui_test.go function testDataPage (line 12) | func testDataPage(t *testing.T) *Page { function prepare (line 42) | func prepare(t *testing.T) { function clean (line 46) | func clean() { FILE: sui/core/token.go type Token (line 17) | type Token struct type Tokens (line 23) | type Tokens method FindStringSubmatch (line 30) | func (tokens Tokens) FindStringSubmatch(s string) []string { method FindAllStringSubmatch (line 66) | func (tokens Tokens) FindAllStringSubmatch(s string, n int) [][]string { method MatchString (line 100) | func (tokens Tokens) MatchString(s string) bool { method ReplaceAllStringFunc (line 130) | func (tokens Tokens) ReplaceAllStringFunc(src string, repl func(string... method ReplaceAllString (line 163) | func (tokens Tokens) ReplaceAllString(src, repl string) string { FILE: sui/core/token_test.go function TestTokensFindStringSubmatch (line 7) | func TestTokensFindStringSubmatch(t *testing.T) { function TestTokensFindAllStringSubmatch (line 89) | func TestTokensFindAllStringSubmatch(t *testing.T) { function TestTokensMatchString (line 181) | func TestTokensMatchString(t *testing.T) { function TestTokensReplaceAllStringFunc (line 263) | func TestTokensReplaceAllStringFunc(t *testing.T) { function TestTokensReplaceAllString (line 356) | func TestTokensReplaceAllString(t *testing.T) { function string2dEqual (line 437) | func string2dEqual(a, b [][]string) bool { function stringsEqual (line 460) | func stringsEqual(a, b []string) bool { FILE: sui/core/translate.go method TranslateDocument (line 12) | func (page *Page) TranslateDocument(doc *goquery.Document) error { method TranslateSelection (line 31) | func (page *Page) TranslateSelection(sel *goquery.Selection) error { method translateNode (line 58) | func (page *Page) translateNode(node *html.Node) ([]Translation, error) { method translateText (line 161) | func (page *Page) translateText(text string, transType string) ([]Transl... method translateScript (line 186) | func (page *Page) translateScript(code string) ([]Translation, []string,... FILE: sui/core/types.go type DSL (line 12) | type DSL struct type Setting (line 24) | type Setting struct type Page (line 31) | type Page struct type PageProp (line 53) | type PageProp struct type BuildContext (line 61) | type BuildContext struct type PageImport (line 78) | type PageImport struct type TranslateContext (line 85) | type TranslateContext struct type ScriptNode (line 91) | type ScriptNode struct type StyleNode (line 100) | type StyleNode struct type GlobalBuildContext (line 109) | type GlobalBuildContext struct type Translation (line 115) | type Translation struct type Locale (line 123) | type Locale struct type PageTreeNode (line 134) | type PageTreeNode struct type Component (line 144) | type Component struct type Block (line 152) | type Block struct type BlockLayoutItems (line 160) | type BlockLayoutItems struct type LayoutItem (line 166) | type LayoutItem struct type Template (line 176) | type Template struct type TemplateScirpts (line 194) | type TemplateScirpts struct type TemplateScript (line 201) | type TemplateScript struct type TemplateScirptResult (line 207) | type TemplateScirptResult struct type Theme (line 215) | type Theme struct type SelectOption (line 221) | type SelectOption struct type Asset (line 228) | type Asset struct type Media (line 235) | type Media struct type MediaSearchResult (line 248) | type MediaSearchResult struct type BuildOption (line 259) | type BuildOption struct type Request (line 281) | type Request struct type RequestSource (line 299) | type RequestSource struct type ReqeustSourceNeedToSave (line 313) | type ReqeustSourceNeedToSave struct type ResponseEditorRender (line 325) | type ResponseEditorRender struct type SourceData (line 336) | type SourceData struct type BoardSourceData (line 342) | type BoardSourceData struct type PageMock (line 348) | type PageMock struct type ReqeustURL (line 361) | type ReqeustURL struct type PageConfig (line 370) | type PageConfig struct type PageSetting (line 377) | type PageSetting struct type PageConfigRendered (line 390) | type PageConfigRendered struct type PageAPI (line 396) | type PageAPI struct type PageSEO (line 403) | type PageSEO struct type SourceCodes (line 412) | type SourceCodes struct type Source (line 423) | type Source struct type Public (line 429) | type Public struct type Storage (line 437) | type Storage struct type Matcher (line 443) | type Matcher struct FILE: sui/core/utils.go function NewDocument (line 15) | func NewDocument(htmlContent []byte) (*goquery.Document, error) { function NewDocumentString (line 24) | func NewDocumentString(htmlContent string) (*goquery.Document, error) { function NewDocumentStringWithWrapper (line 33) | func NewDocumentStringWithWrapper(htmlContent string) (*goquery.Document... function Namespace (line 55) | func Namespace(name string, idx int, hash ...bool) string { function ComponentName (line 69) | func ComponentName(name string, hash ...bool) string { function TranslationKey (line 86) | func TranslationKey(name string, sequence int) string { function TranslationKeyPrefix (line 92) | func TranslationKeyPrefix(name string) string { function ToCamelCase (line 100) | func ToCamelCase(s string, split ...string) string { function ValueJSON (line 119) | func ValueJSON(value string) interface{} { function HasJSON (line 129) | func HasJSON(values []StringValue) bool { FILE: sui/libsui/index.ts function $$ (line 1) | function $$(selector) { function __sui_component_root (line 21) | function __sui_component_root(elm: Element, name: string) { function __sui_state (line 25) | function __sui_state(component) { function __sui_props (line 59) | function __sui_props(elm) { function __sui_component (line 104) | function __sui_component(elm, component) { function __sui_event_handler (line 140) | function __sui_event_handler(event, dataKeys, jsonKeys, target, root, ha... function __sui_event_init (line 168) | function __sui_event_init(elm: Element) { function __sui_store (line 236) | function __sui_store(elm) { function __sui_backend_call (line 271) | async function __sui_backend_call( function __sui_render (line 316) | async function __sui_render( type Component (line 433) | type Component = { type RenderOption (line 443) | type RenderOption = { type ComponentState (line 452) | type ComponentState = { type ComponentStore (line 456) | type ComponentStore = { type State (line 464) | type State = { FILE: sui/libsui/openapi.ts type OpenAPIConfig (line 28) | interface OpenAPIConfig { type ErrorResponse (line 34) | interface ErrorResponse { type ApiResponse (line 41) | interface ApiResponse { type FileUploadOptions (line 48) | interface FileUploadOptions { type FileListOptions (line 62) | interface FileListOptions { type FileInfo (line 73) | interface FileInfo { type FileListResponse (line 90) | interface FileListResponse { type FileExistsResponse (line 98) | interface FileExistsResponse { type FileDeleteResponse (line 103) | interface FileDeleteResponse { type UploadProgressCallback (line 108) | type UploadProgressCallback = (progress: { class OpenAPI (line 118) | class OpenAPI { method constructor (line 121) | constructor(config: OpenAPIConfig) { method handleResponse (line 125) | private async handleResponse(response: Response): Promise( method Post (line 193) | async Post( method Put (line 211) | async Put( method Delete (line 229) | async Delete( method Upload (line 255) | async Upload( method IsError (line 278) | IsError( method GetData (line 284) | GetData(response: ApiResponse): T | null { method SetCSRFToken (line 288) | SetCSRFToken(token: string): void { method ClearTokens (line 294) | ClearTokens(): void { method IsCrossOrigin (line 301) | IsCrossOrigin(): boolean { method getBaseURL (line 314) | getBaseURL(): string { method addCSRFToken (line 322) | private addCSRFToken(headers: Record): void { method getSecureCookie (line 361) | private getSecureCookie(name: string): string | null { class FileAPI (line 382) | class FileAPI { method constructor (line 386) | constructor(api: OpenAPI, defaultUploader?: string) { method Upload (line 391) | async Upload( method UploadMultiple (line 432) | async UploadMultiple( method List (line 451) | async List( method Retrieve (line 468) | async Retrieve( method Delete (line 479) | async Delete( method Download (line 490) | async Download( method Exists (line 522) | async Exists( method FormatSize (line 534) | static FormatSize(bytes: number): string { method GetExtension (line 542) | static GetExtension(filename: string): string { method IsImage (line 546) | static IsImage(contentType: string): boolean { method IsDocument (line 550) | static IsDocument(contentType: string): boolean { method uploadChunked (line 566) | private async uploadChunked( method uploadChunk (line 631) | private uploadChunk( method uploadWithProgress (line 698) | private uploadWithProgress( method getCSRFToken (line 766) | private getCSRFToken(): string | null { method generateUID (line 791) | private generateUID(): string { FILE: sui/libsui/utils.ts function $Store (line 1) | function $Store(elm) { function $Query (line 17) | function $Query(selector: string | Element): __Query { class __Query (line 21) | class __Query { method constructor (line 25) | constructor(selector: string | Element | NodeListOf) { method elm (line 44) | elm(): Element | null { method elms (line 48) | elms(): NodeListOf | null { method find (line 52) | find(selector: string): __Query | null { method findAll (line 60) | findAll(selector: string): __Query | null { method closest (line 68) | closest(selector: string): __Query | null { method on (line 76) | on(event: string, callback: (event: Event) => void): __Query { method $$ (line 84) | $$() { method each (line 97) | each(callback: (element: __Query, index: number) => void) { method store (line 107) | store() { method attr (line 116) | attr(key) { method data (line 123) | data(key) { method json (line 130) | json(key) { method prop (line 146) | prop(key) { method hasClass (line 164) | hasClass(className) { method toggleClass (line 168) | toggleClass(className) { method removeClass (line 180) | removeClass(className) { method addClass (line 192) | addClass(className) { method html (line 204) | html(html?: string): __Query | string { function $Render (line 215) | function $Render(comp, option): __Render { class __Render (line 220) | class __Render { method constructor (line 223) | constructor(comp, option) { method Exec (line 227) | async Exec(name, data): Promise { function $Backend (line 233) | function $Backend( class __Backend (line 244) | class __Backend { method constructor (line 247) | constructor( method Call (line 255) | async Call(method: string, ...args: any): Promise { FILE: sui/libsui/yao.ts function Yao (line 11) | function Yao(host) { FILE: sui/storages/agent/agent.go function New (line 15) | func New(dsl *core.DSL) (*Agent, error) { method GetTemplates (line 48) | func (agent *Agent) GetTemplates() ([]core.ITemplate, error) { method GetTemplate (line 57) | func (agent *Agent) GetTemplate(id string) (core.ITemplate, error) { method UploadTemplate (line 129) | func (agent *Agent) UploadTemplate(src string, dst string) (core.ITempla... method PublicRootMatcher (line 134) | func (agent *Agent) PublicRootMatcher() *core.Matcher { method Setting (line 139) | func (agent *Agent) Setting() (*core.Setting, error) { method PublicRoot (line 150) | func (agent *Agent) PublicRoot(data map[string]interface{}) (string, err... method WithSid (line 155) | func (agent *Agent) WithSid(sid string) { method getAssistants (line 162) | func (agent *Agent) getAssistants() ([]string, error) { method scanAssistantsRecursive (line 178) | func (agent *Agent) scanAssistantsRecursive(dir string, prefix string, a... method getAssistantPagesRoot (line 240) | func (agent *Agent) getAssistantPagesRoot(assistantID string) string { function Exists (line 248) | func Exists() bool { function HasAssistantPages (line 257) | func HasAssistantPages() bool { function hasAssistantPagesRecursive (line 271) | func hasAssistantPagesRecursive(appFS fs.FileSystem, dir string) bool { function init (line 304) | func init() { FILE: sui/storages/agent/agent_test.go function TestAgentExists (line 13) | func TestAgentExists(t *testing.T) { function TestHasAssistantPages (line 21) | func TestHasAssistantPages(t *testing.T) { function TestGetAssistants (line 29) | func TestGetAssistants(t *testing.T) { function TestGetAssistantPagesRoot (line 53) | func TestGetAssistantPagesRoot(t *testing.T) { function TestGetTemplate (line 68) | func TestGetTemplate(t *testing.T) { function TestTemplatePages (line 79) | func TestTemplatePages(t *testing.T) { function TestTemplatePage (line 106) | func TestTemplatePage(t *testing.T) { function TestPageLoad (line 140) | func TestPageLoad(t *testing.T) { function TestPageBuild (line 161) | func TestPageBuild(t *testing.T) { function prepare (line 189) | func prepare(t *testing.T) { function clean (line 193) | func clean() { function createAgent (line 197) | func createAgent(t *testing.T) *Agent { FILE: sui/storages/agent/page.go type Page (line 19) | type Page struct method Load (line 27) | func (page *Page) Load() error { method loadScript (line 110) | func (page *Page) loadScript() error { method Get (line 144) | func (page *Page) Get() *core.Page { method GetConfig (line 149) | func (page *Page) GetConfig() *core.PageConfig { method mergeTemplateConfig (line 176) | func (page *Page) mergeTemplateConfig(cfg *core.PageConfig) *core.Page... method SaveTemp (line 210) | func (page *Page) SaveTemp(request *core.RequestSource) error { method Save (line 215) | func (page *Page) Save(request *core.RequestSource) error { method SaveAs (line 220) | func (page *Page) SaveAs(route string, setting *core.PageSetting) (cor... method Remove (line 225) | func (page *Page) Remove() error { method SUI (line 230) | func (page *Page) SUI() (core.SUI, error) { method Sid (line 235) | func (page *Page) Sid() (string, error) { method Template (line 240) | func (page *Page) Template() core.ITemplate { method AssetScript (line 245) | func (page *Page) AssetScript() (*core.Asset, error) { method AssetStyle (line 289) | func (page *Page) AssetStyle() (*core.Asset, error) { method Build (line 313) | func (page *Page) Build(globalCtx *core.GlobalBuildContext, option *co... method publicFile (line 369) | func (page *Page) publicFile(data map[string]interface{}) string { method writeHTML (line 379) | func (page *Page) writeHTML(html []byte, data map[string]interface{}) ... method writeConfig (line 396) | func (page *Page) writeConfig(config []byte, data map[string]interface... method backendScriptSource (line 411) | func (page *Page) backendScriptSource() (string, []byte, error) { method writeBackendScript (line 432) | func (page *Page) writeBackendScript(data map[string]interface{}) error { method BuildAsComponent (line 459) | func (page *Page) BuildAsComponent(globalCtx *core.GlobalBuildContext,... method Trans (line 482) | func (page *Page) Trans(globalCtx *core.GlobalBuildContext, option *co... method AssetRoot (line 501) | func (page *Page) AssetRoot() string { method AssistantID (line 515) | func (page *Page) AssistantID() string { method writeLocaleFiles (line 521) | func (page *Page) writeLocaleFiles(ctx *core.BuildContext, data map[st... FILE: sui/storages/agent/template.go type Template (line 20) | type Template struct method Pages (line 29) | func (tmpl *Template) Pages() ([]core.IPage, error) { method getPagesFromDir (line 63) | func (tmpl *Template) getPagesFromDir(dir string, routePrefix string) ... method getPageFrom (line 94) | func (tmpl *Template) getPageFrom(file, pagesRoot, assistantID string)... method getPageRoute (line 100) | func (tmpl *Template) getPageRoute(file, pagesRoot, assistantID string... method getPage (line 113) | func (tmpl *Template) getPage(route, file, pagesRoot, assistantID stri... method getPageBase (line 140) | func (tmpl *Template) getPageBase(route string) string { method Page (line 150) | func (tmpl *Template) Page(route string) (core.IPage, error) { method getPagePath (line 193) | func (tmpl *Template) getPagePath(route, pagesRoot string) string { method PageExist (line 199) | func (tmpl *Template) PageExist(route string) bool { method RemovePage (line 205) | func (tmpl *Template) RemovePage(route string) error { method GetPageFromAsset (line 210) | func (tmpl *Template) GetPageFromAsset(file string) (core.IPage, error) { method CreateEmptyPage (line 216) | func (tmpl *Template) CreateEmptyPage(route string, setting *core.Page... method CreatePage (line 221) | func (tmpl *Template) CreatePage(source string) core.IPage { method GetRoot (line 232) | func (tmpl *Template) GetRoot() string { method GetWatchDirs (line 238) | func (tmpl *Template) GetWatchDirs() []string { method GetWatchRoot (line 259) | func (tmpl *Template) GetWatchRoot() string { method Asset (line 264) | func (tmpl *Template) Asset(file string, width, height uint) (*core.As... method readAsset (line 295) | func (tmpl *Template) readAsset(file string, width, height uint) (*cor... method Locales (line 310) | func (tmpl *Template) Locales() []core.SelectOption { method Themes (line 347) | func (tmpl *Template) Themes() []core.SelectOption { method Assets (line 352) | func (tmpl *Template) Assets() []string { method Glob (line 357) | func (tmpl *Template) Glob(pattern string) ([]string, error) { method GlobRoutes (line 372) | func (tmpl *Template) GlobRoutes(patterns []string, unique ...bool) ([... method Reload (line 404) | func (tmpl *Template) Reload() error { method PageTree (line 409) | func (tmpl *Template) PageTree(route string) ([]*core.PageTreeNode, er... method MediaSearch (line 414) | func (tmpl *Template) MediaSearch(query url.Values, page int, pageSize... method AssetUpload (line 419) | func (tmpl *Template) AssetUpload(reader io.Reader, name string) (stri... method Block (line 424) | func (tmpl *Template) Block(name string) (core.IBlock, error) { method Blocks (line 429) | func (tmpl *Template) Blocks() ([]core.IBlock, error) { method BlockLayoutItems (line 434) | func (tmpl *Template) BlockLayoutItems() (*core.BlockLayoutItems, erro... method BlockMedia (line 439) | func (tmpl *Template) BlockMedia(id string) (*core.Asset, error) { method Component (line 444) | func (tmpl *Template) Component(name string) (core.IComponent, error) { method Components (line 449) | func (tmpl *Template) Components() ([]core.IComponent, error) { method SupportLocales (line 454) | func (tmpl *Template) SupportLocales() []string { method ExecBeforeBuildScripts (line 464) | func (tmpl *Template) ExecBeforeBuildScripts() []core.TemplateScirptRe... method ExecAfterBuildScripts (line 469) | func (tmpl *Template) ExecAfterBuildScripts() []core.TemplateScirptRes... method ExecBuildCompleteScripts (line 474) | func (tmpl *Template) ExecBuildCompleteScripts() []core.TemplateScirpt... method Build (line 479) | func (tmpl *Template) Build(option *core.BuildOption) ([]string, error) { method SyncAssets (line 540) | func (tmpl *Template) SyncAssets(option *core.BuildOption) error { method copyDir (line 564) | func (tmpl *Template) copyDir(src string, dst string) error { method SyncAssetFile (line 592) | func (tmpl *Template) SyncAssetFile(file string, option *core.BuildOpt... method UpdateJSSDK (line 624) | func (tmpl *Template) UpdateJSSDK(option *core.BuildOption) error { method Trans (line 660) | func (tmpl *Template) Trans(option *core.BuildOption) ([]string, error) { method loadBuildScript (line 691) | func (tmpl *Template) loadBuildScript() error { method backendScriptSource (line 709) | func (tmpl *Template) backendScriptSource(name string) (string, []byte... FILE: sui/storages/agent/types.go type Agent (line 10) | type Agent struct FILE: sui/storages/azure/azure.go type Azure (line 11) | type Azure struct method GetTemplates (line 46) | func (azure *Azure) GetTemplates() ([]core.ITemplate, error) { method GetTemplate (line 51) | func (azure *Azure) GetTemplate(name string) (core.ITemplate, error) { method UploadTemplate (line 56) | func (azure *Azure) UploadTemplate(src string, dst string) (core.ITemp... function new (line 17) | func new() (*Azure, error) { function New (line 22) | func New(dsl *core.DSL) (*Azure, error) { FILE: sui/storages/local/block.go method Blocks (line 13) | func (tmpl *Template) Blocks() ([]core.IBlock, error) { method Block (line 44) | func (tmpl *Template) Block(id string) (core.IBlock, error) { method BlockMedia (line 69) | func (tmpl *Template) BlockMedia(id string) (*core.Asset, error) { method BlockLayoutItems (line 101) | func (tmpl *Template) BlockLayoutItems() (*core.BlockLayoutItems, error) { method Load (line 149) | func (block *Block) Load() error { method getBlockFrom (line 183) | func (tmpl *Template) getBlockFrom(path string) (core.IBlock, error) { method getBlock (line 188) | func (tmpl *Template) getBlock(id string) (core.IBlock, error) { method getBlockID (line 213) | func (tmpl *Template) getBlockID(path string) string { FILE: sui/storages/local/build.go method Build (line 21) | func (tmpl *Template) Build(option *core.BuildOption) ([]string, error) { method Trans (line 148) | func (tmpl *Template) Trans(option *core.BuildOption) ([]string, error) { method SyncAssetFile (line 179) | func (tmpl *Template) SyncAssetFile(file string, option *core.BuildOptio... method UpdateJSSDK (line 207) | func (tmpl *Template) UpdateJSSDK(option *core.BuildOption) error { method writeGlobalScript (line 244) | func (tmpl *Template) writeGlobalScript(data map[string]interface{}) err... method SyncAssets (line 270) | func (tmpl *Template) SyncAssets(option *core.BuildOption) error { method getLocaleGlobal (line 294) | func (tmpl *Template) getLocaleGlobal(name string) core.Locale { method getLocale (line 325) | func (tmpl *Template) getLocale(name string, route string, pageOnly ...b... method Build (line 381) | func (page *Page) Build(globalCtx *core.GlobalBuildContext, option *core... method BuildAsComponent (line 463) | func (page *Page) BuildAsComponent(globalCtx *core.GlobalBuildContext, o... method Trans (line 530) | func (page *Page) Trans(globalCtx *core.GlobalBuildContext, option *core... method publicFile (line 548) | func (page *Page) publicFile(data map[string]interface{}) string { method localeFiles (line 557) | func (page *Page) localeFiles(data map[string]interface{}) map[string]st... method writeLocaleSource (line 576) | func (page *Page) writeLocaleSource(ctx *core.BuildContext, option *core... method writeLocaleFiles (line 644) | func (page *Page) writeLocaleFiles(ctx *core.BuildContext, data map[stri... method backendScriptSource (line 692) | func (page *Page) backendScriptSource() (string, []byte, error) { method loadBackendScript (line 711) | func (page *Page) loadBackendScript() error { method writeBackendScript (line 730) | func (page *Page) writeBackendScript(data map[string]interface{}) error { method writeHTML (line 758) | func (page *Page) writeHTML(html []byte, data map[string]interface{}) er... method writeConfig (line 775) | func (page *Page) writeConfig(config []byte, data map[string]interface{}... method writeJitHTML (line 790) | func (page *Page) writeJitHTML(html []byte, data map[string]interface{})... FILE: sui/storages/local/build_test.go function TestTemplateBuild (line 13) | func TestTemplateBuild(t *testing.T) { function TestTemplateBuildAsComponent (line 55) | func TestTemplateBuildAsComponent(t *testing.T) { function TestPageBuild (line 103) | func TestPageBuild(t *testing.T) { function TestPageBuildAsComponent (line 149) | func TestPageBuildAsComponent(t *testing.T) { function TestPageTrans (line 202) | func TestPageTrans(t *testing.T) { function TestTemplateTrans (line 240) | func TestTemplateTrans(t *testing.T) { FILE: sui/storages/local/component.go method Components (line 12) | func (tmpl *Template) Components() ([]core.IComponent, error) { method Component (line 43) | func (tmpl *Template) Component(id string) (core.IComponent, error) { method Load (line 69) | func (component *Component) Load() error { method getComponentFrom (line 103) | func (tmpl *Template) getComponentFrom(path string) (core.IComponent, er... method getComponent (line 108) | func (tmpl *Template) getComponent(id string) (core.IComponent, error) { method getComponentID (line 132) | func (tmpl *Template) getComponentID(path string) string { FILE: sui/storages/local/copy.go function copyDirectory (line 13) | func copyDirectory(scrDir, dest string) error { function copy (line 78) | func copy(srcFile, dstFile string) error { function exists (line 101) | func exists(filePath string) bool { function createIfNotexists (line 109) | func createIfNotexists(dir string, perm os.FileMode) error { function copySymLink (line 121) | func copySymLink(source, dest string) error { FILE: sui/storages/local/local.go function New (line 18) | func New(dsl *sui.DSL) (*Local, error) { method GetTemplates (line 67) | func (local *Local) GetTemplates() ([]sui.ITemplate, error) { method GetTemplate (line 92) | func (local *Local) GetTemplate(id string) (sui.ITemplate, error) { method UploadTemplate (line 98) | func (local *Local) UploadTemplate(src string, dst string) (sui.ITemplat... method getTemplateFrom (line 103) | func (local *Local) getTemplateFrom(path string) (*Template, error) { method getTemplate (line 109) | func (local *Local) getTemplate(id string, path string) (*Template, erro... method getTemplateID (line 170) | func (local *Local) getTemplateID(path string) string { method AppRoot (line 175) | func (local *Local) AppRoot() string { FILE: sui/storages/local/local_test.go type TestCase (line 12) | type TestCase struct function TestGetTemplates (line 17) | func TestGetTemplates(t *testing.T) { function TestGetTemplate (line 65) | func TestGetTemplate(t *testing.T) { function prepare (line 89) | func prepare(t *testing.T) TestCase { function clean (line 119) | func clean() { FILE: sui/storages/local/page.go method Pages (line 15) | func (tmpl *Template) Pages() ([]core.IPage, error) { method PageTree (line 46) | func (tmpl *Template) PageTree(route string) ([]*core.PageTreeNode, erro... method Page (line 146) | func (tmpl *Template) Page(route string) (core.IPage, error) { method PageExist (line 170) | func (tmpl *Template) PageExist(route string) bool { method RemovePage (line 183) | func (tmpl *Template) RemovePage(route string) error { method removeEmptyPath (line 215) | func (tmpl *Template) removeEmptyPath(path string) error { method SaveAs (line 236) | func (page *Page) SaveAs(route string, setting *core.PageSetting) (core.... method CreatePage (line 273) | func (tmpl *Template) CreatePage(source string) core.IPage { method CreateEmptyPage (line 297) | func (tmpl *Template) CreateEmptyPage(route string, setting *core.PageSe... method Remove (line 340) | func (page *Page) Remove() error { method GetPageFromAsset (line 345) | func (tmpl *Template) GetPageFromAsset(file string) (core.IPage, error) { method getPageFrom (line 366) | func (tmpl *Template) getPageFrom(file string) (core.IPage, error) { method getPage (line 371) | func (tmpl *Template) getPage(route, file string) (core.IPage, error) { method getPageRoute (line 395) | func (tmpl *Template) getPageRoute(file string) string { method getPagePath (line 399) | func (tmpl *Template) getPagePath(route string) string { method getPageBase (line 404) | func (tmpl *Template) getPageBase(route string) string { method Load (line 409) | func (page *Page) Load() error { method SaveTemp (line 492) | func (page *Page) SaveTemp(request *core.RequestSource) error { method Save (line 499) | func (page *Page) Save(request *core.RequestSource) error { method save (line 527) | func (page *Page) save(path string, request *core.RequestSource) error { method saveBoard (line 574) | func (page *Page) saveBoard(path string, board *core.BoardSourceData) er... method savePage (line 587) | func (page *Page) savePage(path string, src *core.SourceData) error { method saveStyle (line 597) | func (page *Page) saveStyle(path string, src *core.SourceData) error { method saveScript (line 607) | func (page *Page) saveScript(path string, src *core.SourceData) error { method saveData (line 624) | func (page *Page) saveData(path string, src *core.SourceData) error { method saveSetting (line 634) | func (page *Page) saveSetting(path string, setting *core.PageSetting, mo... method AssetScript (line 656) | func (page *Page) AssetScript() (*core.Asset, error) { method AssetStyle (line 700) | func (page *Page) AssetStyle() (*core.Asset, error) { FILE: sui/storages/local/page_render_test.go function TestPageEditorRender (line 9) | func TestPageEditorRender(t *testing.T) { function TestPagePreviewRender (line 38) | func TestPagePreviewRender(t *testing.T) { FILE: sui/storages/local/page_test.go function TestTemplatePages (line 12) | func TestTemplatePages(t *testing.T) { function TestTemplatePageTree (line 49) | func TestTemplatePageTree(t *testing.T) { function TestTemplatePageTS (line 79) | func TestTemplatePageTS(t *testing.T) { function TestTemplatePageJS (line 115) | func TestTemplatePageJS(t *testing.T) { function TestPageSaveTempBoard (line 150) | func TestPageSaveTempBoard(t *testing.T) { function TestPageSaveTempPage (line 191) | func TestPageSaveTempPage(t *testing.T) { function TestPageSaveTempStyle (line 234) | func TestPageSaveTempStyle(t *testing.T) { function TestPageSaveTempScriptJS (line 277) | func TestPageSaveTempScriptJS(t *testing.T) { function TestPageSaveTempScriptTS (line 320) | func TestPageSaveTempScriptTS(t *testing.T) { function TestPageSaveTempData (line 363) | func TestPageSaveTempData(t *testing.T) { function TestPageSaveTempSetting (line 406) | func TestPageSaveTempSetting(t *testing.T) { function TestPageSave (line 444) | func TestPageSave(t *testing.T) { function TestPageGetPageFromAsset (line 491) | func TestPageGetPageFromAsset(t *testing.T) { function TestPageAssetScriptJS (line 522) | func TestPageAssetScriptJS(t *testing.T) { function TestPageAssetScriptTS (line 546) | func TestPageAssetScriptTS(t *testing.T) { function TestPageAssetStyle (line 570) | func TestPageAssetStyle(t *testing.T) { function TestCreatePage (line 594) | func TestCreatePage(t *testing.T) { FILE: sui/storages/local/template.go method Assets (line 21) | func (tmpl *Template) Assets() []string { method GetRoot (line 26) | func (tmpl *Template) GetRoot() string { method Glob (line 31) | func (tmpl *Template) Glob(pattern string) ([]string, error) { method GlobRoutes (line 46) | func (tmpl *Template) GlobRoutes(patterns []string, unique ...bool) ([]s... method Reload (line 80) | func (tmpl *Template) Reload() error { method loadBuildScript (line 90) | func (tmpl *Template) loadBuildScript() error { method backendScriptSource (line 110) | func (tmpl *Template) backendScriptSource(name string) (string, []byte, ... method ExecBuildCompleteScripts (line 128) | func (tmpl *Template) ExecBuildCompleteScripts() []core.TemplateScirptRe... method ExecBeforeBuildScripts (line 136) | func (tmpl *Template) ExecBeforeBuildScripts() []core.TemplateScirptResu... method ExecAfterBuildScripts (line 144) | func (tmpl *Template) ExecAfterBuildScripts() []core.TemplateScirptResult { method ExecScripts (line 152) | func (tmpl *Template) ExecScripts(scripts []*core.TemplateScript) []core... method execProcess (line 170) | func (tmpl *Template) execProcess(script *core.TemplateScript) core.Temp... method execCommand (line 185) | func (tmpl *Template) execCommand(script *core.TemplateScript) core.Temp... method Locales (line 205) | func (tmpl *Template) Locales() []core.SelectOption { method Themes (line 251) | func (tmpl *Template) Themes() []core.SelectOption { method MediaSearch (line 256) | func (tmpl *Template) MediaSearch(query url.Values, page int, pageSize i... method mediaExts (line 305) | func (tmpl *Template) mediaExts(types []string) []string { method mediaType (line 327) | func (tmpl *Template) mediaType(file string) string { method AssetUpload (line 357) | func (tmpl *Template) AssetUpload(reader io.Reader, name string) (string... method Asset (line 371) | func (tmpl *Template) Asset(file string, width, height uint) (*core.Asse... method assetThumb (line 420) | func (tmpl *Template) assetThumb(file string, width, height uint) (*core... FILE: sui/storages/local/template_test.go function TestTemplateThemes (line 10) | func TestTemplateThemes(t *testing.T) { function TestTemplateLocales (line 30) | func TestTemplateLocales(t *testing.T) { function TestTemplateAsset (line 57) | func TestTemplateAsset(t *testing.T) { FILE: sui/storages/local/types.go type Local (line 9) | type Local struct type Template (line 16) | type Template struct type Page (line 25) | type Page struct type Block (line 31) | type Block struct type Component (line 37) | type Component struct FILE: tai/api/register.go function authenticateBearerDefault (line 21) | func authenticateBearerDefault(token string) (types.AuthInfo, error) { function extractBearer (line 80) | func extractBearer(r *http.Request) string { type registerRequest (line 89) | type registerRequest struct type heartbeatRequest (line 102) | type heartbeatRequest struct function HandleRegister (line 108) | func HandleRegister(c *gin.Context) { function HandleHeartbeat (line 196) | func HandleHeartbeat(c *gin.Context) { function HandleUnregister (line 241) | func HandleUnregister(c *gin.Context) { function portsFromMap (line 282) | func portsFromMap(m map[string]int) types.Ports { function capsFromMap (line 292) | func capsFromMap(m map[string]bool) types.Capabilities { function connectRegisteredNode (line 303) | func connectRegisteredNode(taiID, addr string, ports types.Ports, reg *r... function extractHost (line 323) | func extractHost(addr string) string { FILE: tai/api/register_test.go function init (line 15) | func init() { function setupTest (line 19) | func setupTest() func() { function jsonBody (line 40) | func jsonBody(v interface{}) *bytes.Buffer { function TestHandleRegister_Success (line 45) | func TestHandleRegister_Success(t *testing.T) { function TestHandleRegister_ServerGeneratedTaiID (line 105) | func TestHandleRegister_ServerGeneratedTaiID(t *testing.T) { function TestHandleRegister_MissingAuth (line 170) | func TestHandleRegister_MissingAuth(t *testing.T) { function TestHandleRegister_MissingTaiIDAndClientID (line 186) | func TestHandleRegister_MissingTaiIDAndClientID(t *testing.T) { function TestHandleHeartbeat_Success (line 203) | func TestHandleHeartbeat_Success(t *testing.T) { function TestHandleHeartbeat_WrongOwner (line 228) | func TestHandleHeartbeat_WrongOwner(t *testing.T) { function TestHandleHeartbeat_NotFound (line 253) | func TestHandleHeartbeat_NotFound(t *testing.T) { function TestHandleUnregister_Success (line 271) | func TestHandleUnregister_Success(t *testing.T) { function TestHandleUnregister_WrongOwner (line 299) | func TestHandleUnregister_WrongOwner(t *testing.T) { function TestHandleUnregister_NotFound (line 323) | func TestHandleUnregister_NotFound(t *testing.T) { FILE: tai/conn.go type ConnResources (line 19) | type ConnResources struct method Close (line 38) | func (r *ConnResources) Close() error { FILE: tai/dial.go function DialRemote (line 27) | func DialRemote(host string, ports types.Ports, opts ...DialOption) (*Co... function DialTunnel (line 45) | func DialTunnel(taiID string, reg *registry.Registry, opts ...DialOption... function DialLocal (line 97) | func DialLocal(addr string, dataDir string, vol volume.Volume) (*ConnRes... type dialEnv (line 140) | type dialEnv interface function buildResources (line 152) | func buildResources(conn *grpc.ClientConn, cfg *dialConfig, env dialEnv)... type remoteEnv (line 215) | type remoteEnv struct method fallbackCaps (line 220) | func (e *remoteEnv) fallbackCaps() map[string]bool { method mergeCaps (line 224) | func (e *remoteEnv) mergeCaps(discovered map[string]bool) types.Capabi... method listenAddr (line 232) | func (e *remoteEnv) listenAddr(port int) (string, error) { method newProxy (line 236) | func (e *remoteEnv) newProxy(ports types.Ports) proxy.Proxy { method newVNC (line 240) | func (e *remoteEnv) newVNC(ports types.Ports) vnc.VNC { type tunnelEnv (line 248) | type tunnelEnv struct method fallbackCaps (line 256) | func (e *tunnelEnv) fallbackCaps() map[string]bool { method mergeCaps (line 260) | func (e *tunnelEnv) mergeCaps(discovered map[string]bool) types.Capabi... method listenAddr (line 268) | func (e *tunnelEnv) listenAddr(port int) (string, error) { method newProxy (line 277) | func (e *tunnelEnv) newProxy(_ types.Ports) proxy.Proxy { method newVNC (line 281) | func (e *tunnelEnv) newVNC(_ types.Ports) vnc.VNC { type DialOption (line 290) | type DialOption interface type dialOptionFunc (line 294) | type dialOptionFunc method applyDial (line 296) | func (f dialOptionFunc) applyDial(c *dialConfig) { f(c) } function WithDialRuntime (line 299) | func WithDialRuntime(rt types.Runtime) DialOption { function WithDialKubeConfig (line 304) | func WithDialKubeConfig(path string) DialOption { function WithDialNamespace (line 309) | func WithDialNamespace(ns string) DialOption { function WithDialHTTPClient (line 314) | func WithDialHTTPClient(hc *http.Client) DialOption { type dialConfig (line 318) | type dialConfig struct function dialGRPC (line 331) | func dialGRPC(target string) (*grpc.ClientConn, error) { type discoveredInfo (line 346) | type discoveredInfo struct function discoverInfo (line 352) | func discoverInfo(conn *grpc.ClientConn, cfg *dialConfig) (*discoveredIn... FILE: tai/heartbeat.go constant defaultHeartbeatInterval (line 14) | defaultHeartbeatInterval = 10 * time.Second function HeartbeatLoop (line 18) | func HeartbeatLoop(ctx context.Context, client *YaoClient, sandboxID str... function countUserProcesses (line 50) | func countUserProcesses() int32 { function sampleResources (line 62) | func sampleResources() (cpuPercent int32, memBytes int64) { FILE: tai/hostexec/local.go constant defaultMaxOutputBytes (line 19) | defaultMaxOutputBytes = 10 * 1024 * 1024 type Policy (line 22) | type Policy struct type LocalClient (line 35) | type LocalClient struct method Exec (line 49) | func (c *LocalClient) Exec(ctx context.Context, req *pb.ExecRequest, _... method ExecStream (line 108) | func (c *LocalClient) ExecStream(ctx context.Context, req *pb.ExecRequ... method checkCommand (line 178) | func (c *LocalClient) checkCommand(command string) error { method checkWorkingDir (line 194) | func (c *LocalClient) checkWorkingDir(dir string) error { method resolveDir (line 234) | func (c *LocalClient) resolveDir(dir string) string { method buildEnv (line 244) | func (c *LocalClient) buildEnv(userEnv map[string]string) []string { function NewLocalClient (line 44) | func NewLocalClient(defaultDir string, policy Policy) *LocalClient { function matchDir (line 222) | func matchDir(resolved, dir string) bool { function streamPipe (line 256) | func streamPipe(ch chan<- *pb.ExecOutput, pipe io.ReadCloser, st pb.Exec... type limitWriter (line 271) | type limitWriter struct method Write (line 276) | func (w *limitWriter) Write(p []byte) (int, error) { type localStream (line 291) | type localStream struct method Recv (line 298) | func (s *localStream) Recv() (*pb.ExecOutput, error) { method Header (line 310) | func (s *localStream) Header() (metadata.MD, error) { return nil, nil } method Trailer (line 311) | func (s *localStream) Trailer() metadata.MD { return nil } method CloseSend (line 312) | func (s *localStream) CloseSend() error { return nil } method Context (line 313) | func (s *localStream) Context() context.Context { return s.ctx } method SendMsg (line 314) | func (s *localStream) SendMsg(any) error { return nil } method RecvMsg (line 315) | func (s *localStream) RecvMsg(any) error { return nil } function newErrorStream (line 319) | func newErrorStream(ctx context.Context, errMsg string) grpc.ServerStrea... FILE: tai/hostexec/pb/hostexec.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type ExecOutput_Stream (line 24) | type ExecOutput_Stream method Enum (line 43) | func (x ExecOutput_Stream) Enum() *ExecOutput_Stream { method String (line 49) | func (x ExecOutput_Stream) String() string { method Descriptor (line 53) | func (ExecOutput_Stream) Descriptor() protoreflect.EnumDescriptor { method Type (line 57) | func (ExecOutput_Stream) Type() protoreflect.EnumType { method Number (line 61) | func (x ExecOutput_Stream) Number() protoreflect.EnumNumber { method EnumDescriptor (line 66) | func (ExecOutput_Stream) EnumDescriptor() ([]byte, []int) { constant ExecOutput_STDOUT (line 27) | ExecOutput_STDOUT ExecOutput_Stream = 0 constant ExecOutput_STDERR (line 28) | ExecOutput_STDERR ExecOutput_Stream = 1 type ExecRequest (line 70) | type ExecRequest struct method Reset (line 83) | func (x *ExecRequest) Reset() { method String (line 90) | func (x *ExecRequest) String() string { method ProtoMessage (line 94) | func (*ExecRequest) ProtoMessage() {} method ProtoReflect (line 96) | func (x *ExecRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 109) | func (*ExecRequest) Descriptor() ([]byte, []int) { method GetCommand (line 113) | func (x *ExecRequest) GetCommand() string { method GetArgs (line 120) | func (x *ExecRequest) GetArgs() []string { method GetWorkingDir (line 127) | func (x *ExecRequest) GetWorkingDir() string { method GetEnv (line 134) | func (x *ExecRequest) GetEnv() map[string]string { method GetStdin (line 141) | func (x *ExecRequest) GetStdin() []byte { method GetTimeoutMs (line 148) | func (x *ExecRequest) GetTimeoutMs() int64 { method GetMaxOutputBytes (line 155) | func (x *ExecRequest) GetMaxOutputBytes() int64 { type ExecResponse (line 162) | type ExecResponse struct method Reset (line 174) | func (x *ExecResponse) Reset() { method String (line 181) | func (x *ExecResponse) String() string { method ProtoMessage (line 185) | func (*ExecResponse) ProtoMessage() {} method ProtoReflect (line 187) | func (x *ExecResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 200) | func (*ExecResponse) Descriptor() ([]byte, []int) { method GetExitCode (line 204) | func (x *ExecResponse) GetExitCode() int32 { method GetStdout (line 211) | func (x *ExecResponse) GetStdout() []byte { method GetStderr (line 218) | func (x *ExecResponse) GetStderr() []byte { method GetDurationMs (line 225) | func (x *ExecResponse) GetDurationMs() int64 { method GetError (line 232) | func (x *ExecResponse) GetError() string { method GetTruncated (line 239) | func (x *ExecResponse) GetTruncated() bool { type ExecOutput (line 246) | type ExecOutput struct method Reset (line 258) | func (x *ExecOutput) Reset() { method String (line 265) | func (x *ExecOutput) String() string { method ProtoMessage (line 269) | func (*ExecOutput) ProtoMessage() {} method ProtoReflect (line 271) | func (x *ExecOutput) ProtoReflect() protoreflect.Message { method Descriptor (line 284) | func (*ExecOutput) Descriptor() ([]byte, []int) { method GetStream (line 288) | func (x *ExecOutput) GetStream() ExecOutput_Stream { method GetData (line 295) | func (x *ExecOutput) GetData() []byte { method GetDone (line 302) | func (x *ExecOutput) GetDone() bool { method GetExitCode (line 309) | func (x *ExecOutput) GetExitCode() int32 { method GetError (line 316) | func (x *ExecOutput) GetError() string { constant file_hostexec_pb_hostexec_proto_rawDesc (line 325) | file_hostexec_pb_hostexec_proto_rawDesc = "" + function file_hostexec_pb_hostexec_proto_rawDescGZIP (line 371) | func file_hostexec_pb_hostexec_proto_rawDescGZIP() []byte { function init (line 401) | func init() { file_hostexec_pb_hostexec_proto_init() } function file_hostexec_pb_hostexec_proto_init (line 402) | func file_hostexec_pb_hostexec_proto_init() { FILE: tai/hostexec/pb/hostexec_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion9 constant HostExec_Exec_FullMethodName (line 22) | HostExec_Exec_FullMethodName = "/hostexec.HostExec/Exec" constant HostExec_ExecStream_FullMethodName (line 23) | HostExec_ExecStream_FullMethodName = "/hostexec.HostExec/ExecStream" type HostExecClient (line 32) | type HostExecClient interface type hostExecClient (line 39) | type hostExecClient struct method Exec (line 47) | func (c *hostExecClient) Exec(ctx context.Context, in *ExecRequest, op... method ExecStream (line 57) | func (c *hostExecClient) ExecStream(ctx context.Context, in *ExecReque... function NewHostExecClient (line 43) | func NewHostExecClient(cc grpc.ClientConnInterface) HostExecClient { type HostExecServer (line 82) | type HostExecServer interface type UnimplementedHostExecServer (line 95) | type UnimplementedHostExecServer struct method Exec (line 97) | func (UnimplementedHostExecServer) Exec(context.Context, *ExecRequest)... method ExecStream (line 100) | func (UnimplementedHostExecServer) ExecStream(*ExecRequest, grpc.Serve... method mustEmbedUnimplementedHostExecServer (line 103) | func (UnimplementedHostExecServer) mustEmbedUnimplementedHostExecServe... method testEmbeddedByValue (line 104) | func (UnimplementedHostExecServer) testEmbeddedByValue() ... type UnsafeHostExecServer (line 109) | type UnsafeHostExecServer interface function RegisterHostExecServer (line 113) | func RegisterHostExecServer(s grpc.ServiceRegistrar, srv HostExecServer) { function _HostExec_Exec_Handler (line 124) | func _HostExec_Exec_Handler(srv interface{}, ctx context.Context, dec fu... function _HostExec_ExecStream_Handler (line 142) | func _HostExec_ExecStream_Handler(srv interface{}, stream grpc.ServerStr... FILE: tai/proxy/connect.go method Connect (line 16) | func (r *remoteProxy) Connect(ctx context.Context, containerID string, o... method Connect (line 26) | func (t *tunnelProxy) Connect(ctx context.Context, containerID string, o... method Connect (line 36) | func (l *localProxy) Connect(ctx context.Context, containerID string, op... function connect (line 44) | func connect(ctx context.Context, url string, protocol string, hc *http.... function connectWS (line 55) | func connectWS(ctx context.Context, rawURL string) (*Connection, error) { function connectSSE (line 87) | func connectSSE(ctx context.Context, url string, hc *http.Client) (*Conn... FILE: tai/proxy/proxy.go type Proxy (line 14) | type Proxy interface type ConnectOptions (line 21) | type ConnectOptions struct type Connection (line 28) | type Connection struct type remoteProxy (line 39) | type remoteProxy struct method URL (line 55) | func (r *remoteProxy) URL(_ context.Context, containerID string, port ... method Healthz (line 60) | func (r *remoteProxy) Healthz(ctx context.Context) error { function NewRemote (line 45) | func NewRemote(host string, port int, hc *http.Client) Proxy { type tunnelProxy (line 78) | type tunnelProxy struct method URL (line 89) | func (t *tunnelProxy) URL(_ context.Context, containerID string, port ... method Healthz (line 94) | func (t *tunnelProxy) Healthz(_ context.Context) error { function NewTunnel (line 85) | func NewTunnel(taiID, yaoBase string) Proxy { type localProxy (line 100) | type localProxy struct method URL (line 109) | func (l *localProxy) URL(ctx context.Context, containerID string, port... method Healthz (line 123) | func (l *localProxy) Healthz(_ context.Context) error { function NewLocal (line 105) | func NewLocal(sb runtime.Runtime) Proxy { function hostIP (line 127) | func hostIP(ip string) string { FILE: tai/proxy/proxy_test.go function TestRemoteURL (line 16) | func TestRemoteURL(t *testing.T) { function TestRemoteURLNoLeadingSlash (line 30) | func TestRemoteURLNoLeadingSlash(t *testing.T) { function TestRemoteHealthz (line 41) | func TestRemoteHealthz(t *testing.T) { function TestRemoteHealthzFail (line 61) | func TestRemoteHealthzFail(t *testing.T) { function TestLocalURL (line 73) | func TestLocalURL(t *testing.T) { function TestLocalURLPortNotFound (line 99) | func TestLocalURLPortNotFound(t *testing.T) { function TestLocalURLInspectError (line 113) | func TestLocalURLInspectError(t *testing.T) { function TestLocalHealthz (line 127) | func TestLocalHealthz(t *testing.T) { function TestHostIP (line 134) | func TestHostIP(t *testing.T) { function TestConnect_UnsupportedProtocol (line 145) | func TestConnect_UnsupportedProtocol(t *testing.T) { function TestConnectWS_EchoRoundtrip (line 155) | func TestConnectWS_EchoRoundtrip(t *testing.T) { function TestConnectSSE_ReceiveEvents (line 193) | func TestConnectSSE_ReceiveEvents(t *testing.T) { function TestConnectSSE_SendNotSupported (line 229) | func TestConnectSSE_SendNotSupported(t *testing.T) { function TestConnectSSE_Non200 (line 248) | func TestConnectSSE_Non200(t *testing.T) { type mockSandbox (line 264) | type mockSandbox struct method Create (line 268) | func (m *mockSandbox) Create(ctx context.Context, opts runtime.CreateO... method Start (line 271) | func (m *mockSandbox) Start(ctx context.Context, id string) error { re... method Stop (line 272) | func (m *mockSandbox) Stop(ctx context.Context, id string, timeout tim... method Remove (line 275) | func (m *mockSandbox) Remove(ctx context.Context, id string, force boo... method Exec (line 276) | func (m *mockSandbox) Exec(ctx context.Context, id string, cmd []strin... method ExecStream (line 279) | func (m *mockSandbox) ExecStream(ctx context.Context, id string, cmd [... method Inspect (line 282) | func (m *mockSandbox) Inspect(ctx context.Context, id string) (*runtim... method List (line 288) | func (m *mockSandbox) List(ctx context.Context, opts runtime.ListOptio... method Close (line 291) | func (m *mockSandbox) Close() error { return nil } FILE: tai/registry/registry.go type TaiNode (line 20) | type TaiNode struct method meta (line 44) | func (n *TaiNode) meta() types.NodeMeta { type tunnelListener (line 57) | type tunnelListener struct type BridgeFunc (line 71) | type BridgeFunc type Registry (line 74) | type Registry struct method Register (line 118) | func (r *Registry) Register(node *TaiNode) { method Unregister (line 136) | func (r *Registry) Unregister(taiID string) { method Get (line 159) | func (r *Registry) Get(taiID string) (*types.NodeMeta, bool) { method List (line 171) | func (r *Registry) List() []types.NodeMeta { method UpdatePing (line 182) | func (r *Registry) UpdatePing(taiID string) { method SetResources (line 199) | func (r *Registry) SetResources(taiID string, res any) { method GetResources (line 217) | func (r *Registry) GetResources(taiID string) (any, bool) { method SetBridgeFunc (line 229) | func (r *Registry) SetBridgeFunc(fn BridgeFunc) { method SetRegisterStream (line 236) | func (r *Registry) SetRegisterStream(taiID string, stream any) { method GetRegisterStream (line 245) | func (r *Registry) GetRegisterStream(taiID string) any { method FindTaiIDByAuthClient (line 261) | func (r *Registry) FindTaiIDByAuthClient(clientID string) string { method ListByTeam (line 273) | func (r *Registry) ListByTeam(teamID string) []types.NodeMeta { method ListByUser (line 287) | func (r *Registry) ListByUser(userID string) []types.NodeMeta { method StartHealthCheck (line 304) | func (r *Registry) StartHealthCheck(done <-chan struct{}, interval, ti... method checkHealth (line 319) | func (r *Registry) checkHealth(timeout, cleanupAfter time.Duration) { method OpenLocalListener (line 349) | func (r *Registry) OpenLocalListener(taiID string, targetPort int) (ne... method bridgeTunnelConn (line 390) | func (r *Registry) bridgeTunnelConn(taiID string, targetPort int, loca... function Init (line 83) | func Init(logger *slog.Logger) { function InitWithWriter (line 98) | func InitWithWriter(w io.Writer, logMode string) { function Global (line 113) | func Global() *Registry { type ResourceCloser (line 192) | type ResourceCloser interface function GenerateChannelID (line 255) | func GenerateChannelID() (string, error) { constant ChannelIDBytes (line 406) | ChannelIDBytes = 32 constant ChannelIDShortLen (line 409) | ChannelIDShortLen = 16 function generateChannelID (line 411) | func generateChannelID() (string, error) { function ShortChannelID (line 420) | func ShortChannelID(id string) string { type contextCancel (line 427) | type contextCancel struct method Done (line 436) | func (c *contextCancel) Done() <-chan struct{} { function newContext (line 431) | func newContext() (*contextCancel, func()) { FILE: tai/registry/registry_test.go function newTestRegistry (line 13) | func newTestRegistry() *Registry { function TestRegister_SetsFieldsAndOnline (line 20) | func TestRegister_SetsFieldsAndOnline(t *testing.T) { function TestRegister_Overwrite (line 46) | func TestRegister_Overwrite(t *testing.T) { function TestUnregister_RemovesNode (line 60) | func TestUnregister_RemovesNode(t *testing.T) { function TestUnregister_Nonexistent (line 70) | func TestUnregister_Nonexistent(t *testing.T) { function TestGet_NotFound (line 75) | func TestGet_NotFound(t *testing.T) { function TestList_Empty (line 82) | func TestList_Empty(t *testing.T) { function TestList_MultipleNodes (line 89) | func TestList_MultipleNodes(t *testing.T) { function TestSnapshot_DeepCopy (line 111) | func TestSnapshot_DeepCopy(t *testing.T) { function TestUpdatePing (line 127) | func TestUpdatePing(t *testing.T) { function TestUpdatePing_NonexistentNode (line 139) | func TestUpdatePing_NonexistentNode(t *testing.T) { function TestGenerateChannelID_Unique (line 144) | func TestGenerateChannelID_Unique(t *testing.T) { function TestConcurrentRegisterGet (line 161) | func TestConcurrentRegisterGet(t *testing.T) { function TestOpenLocalListener_NodeNotFound (line 184) | func TestOpenLocalListener_NodeNotFound(t *testing.T) { function TestRegister_SystemInfo (line 192) | func TestRegister_SystemInfo(t *testing.T) { function TestListByTeam (line 222) | func TestListByTeam(t *testing.T) { function TestStartHealthCheck_MarkOffline (line 244) | func TestStartHealthCheck_MarkOffline(t *testing.T) { function TestStartHealthCheck_AutoCleanup (line 278) | func TestStartHealthCheck_AutoCleanup(t *testing.T) { function TestStartHealthCheck_PingKeepsAlive (line 298) | func TestStartHealthCheck_PingKeepsAlive(t *testing.T) { function TestNodeMeta_AuthInfo (line 321) | func TestNodeMeta_AuthInfo(t *testing.T) { FILE: tai/registry/testing.go function NewForTest (line 9) | func NewForTest() *Registry { function SetGlobalForTest (line 18) | func SetGlobalForTest(r *Registry) { FILE: tai/runtime/client_accessor.go type dockerCliAccessor (line 6) | type dockerCliAccessor interface method dockerClient (line 10) | func (l *local) dockerClient() *client.Client { return l.core.cli } method dockerClient (line 11) | func (d *dockerSandbox) dockerClient() *client.Client { return d.core.cli } function DockerCli (line 15) | func DockerCli(rt Runtime) *client.Client { FILE: tai/runtime/docker.go type dockerSandbox (line 11) | type dockerSandbox struct method Create (line 34) | func (d *dockerSandbox) Create(ctx context.Context, opts CreateOptions... method Start (line 38) | func (d *dockerSandbox) Start(ctx context.Context, id string) error { method Stop (line 42) | func (d *dockerSandbox) Stop(ctx context.Context, id string, timeout t... method Remove (line 46) | func (d *dockerSandbox) Remove(ctx context.Context, id string, force b... method Exec (line 50) | func (d *dockerSandbox) Exec(ctx context.Context, id string, cmd []str... method ExecStream (line 54) | func (d *dockerSandbox) ExecStream(ctx context.Context, id string, cmd... method Inspect (line 58) | func (d *dockerSandbox) Inspect(ctx context.Context, id string) (*Cont... method List (line 62) | func (d *dockerSandbox) List(ctx context.Context, opts ListOptions) ([... method Close (line 66) | func (d *dockerSandbox) Close() error { function NewDocker (line 17) | func NewDocker(addr string) (Runtime, error) { FILE: tai/runtime/docker_core.go type dockerCore (line 19) | type dockerCore struct method create (line 23) | func (d *dockerCore) create(ctx context.Context, opts CreateOptions, a... method start (line 92) | func (d *dockerCore) start(ctx context.Context, id string) error { method stop (line 96) | func (d *dockerCore) stop(ctx context.Context, id string, timeoutSec i... method remove (line 100) | func (d *dockerCore) remove(ctx context.Context, id string, force bool... method exec (line 104) | func (d *dockerCore) exec(ctx context.Context, id string, cmd []string... method execStream (line 141) | func (d *dockerCore) execStream(ctx context.Context, id string, cmd []... method inspect (line 203) | func (d *dockerCore) inspect(ctx context.Context, id string) (*Contain... method list (line 245) | func (d *dockerCore) list(ctx context.Context, opts ListOptions) ([]Co... function normalizeBinds (line 293) | func normalizeBinds(binds []string) []string { function normalizeWindowsBind (line 315) | func normalizeWindowsBind(bind string) string { FILE: tai/runtime/image.go type Image (line 9) | type Image interface type ImageMeta (line 18) | type ImageMeta struct type PullOptions (line 26) | type PullOptions struct type RegistryAuth (line 31) | type RegistryAuth struct type PullProgress (line 38) | type PullProgress struct type ImageInfo (line 47) | type ImageInfo struct FILE: tai/runtime/image_docker.go type dockerImage (line 19) | type dockerImage struct method Exists (line 28) | func (d *dockerImage) Exists(ctx context.Context, ref string) (bool, e... method Inspect (line 39) | func (d *dockerImage) Inspect(ctx context.Context, ref string) (*Image... method Pull (line 77) | func (d *dockerImage) Pull(ctx context.Context, ref string, opts PullO... method Remove (line 101) | func (d *dockerImage) Remove(ctx context.Context, ref string, force bo... method List (line 109) | func (d *dockerImage) List(ctx context.Context) ([]ImageInfo, error) { function NewDockerImage (line 24) | func NewDockerImage(cli *client.Client) Image { type dockerPullEvent (line 127) | type dockerPullEvent struct function decodePullStream (line 137) | func decodePullStream(r io.Reader, ch chan<- PullProgress) { function encodeAuth (line 160) | func encodeAuth(auth *RegistryAuth) (string, error) { FILE: tai/runtime/image_k8s.go type k8sImage (line 7) | type k8sImage struct method Exists (line 11) | func (k *k8sImage) Exists(_ context.Context, _ string) (bool, error) { method Inspect (line 15) | func (k *k8sImage) Inspect(_ context.Context, _ string) (*ImageMeta, e... method Pull (line 19) | func (k *k8sImage) Pull(_ context.Context, _ string, _ PullOptions) (<... method Remove (line 23) | func (k *k8sImage) Remove(_ context.Context, _ string, _ bool) error { method List (line 27) | func (k *k8sImage) List(_ context.Context) ([]ImageInfo, error) { function NewK8sImage (line 9) | func NewK8sImage() Image { return &k8sImage{} } FILE: tai/runtime/k8s.go type K8sOption (line 24) | type K8sOption struct type k8sSandbox (line 29) | type k8sSandbox struct method Create (line 99) | func (s *k8sSandbox) Create(ctx context.Context, opts CreateOptions) (... method Start (line 162) | func (s *k8sSandbox) Start(ctx context.Context, id string) error { method Stop (line 189) | func (s *k8sSandbox) Stop(ctx context.Context, id string, timeout time... method Remove (line 196) | func (s *k8sSandbox) Remove(ctx context.Context, id string, force bool... method Exec (line 209) | func (s *k8sSandbox) Exec(ctx context.Context, id string, cmd []string... method ExecStream (line 263) | func (s *k8sSandbox) ExecStream(ctx context.Context, id string, cmd []... method Inspect (line 335) | func (s *k8sSandbox) Inspect(ctx context.Context, id string) (*Contain... method List (line 351) | func (s *k8sSandbox) List(ctx context.Context, opts ListOptions) ([]Co... method Close (line 389) | func (s *k8sSandbox) Close() error { function NewK8s (line 39) | func NewK8s(addr string, opts ...K8sOption) (Runtime, error) { function parseUID (line 394) | func parseUID(user string) (int64, error) { function buildResources (line 401) | func buildResources(memory int64, cpus float64) corev1.ResourceRequireme... FILE: tai/runtime/local.go type local (line 11) | type local struct method Create (line 37) | func (l *local) Create(ctx context.Context, opts CreateOptions) (strin... method Start (line 41) | func (l *local) Start(ctx context.Context, id string) error { method Stop (line 45) | func (l *local) Stop(ctx context.Context, id string, timeout time.Dura... method Remove (line 49) | func (l *local) Remove(ctx context.Context, id string, force bool) err... method Exec (line 53) | func (l *local) Exec(ctx context.Context, id string, cmd []string, opt... method ExecStream (line 57) | func (l *local) ExecStream(ctx context.Context, id string, cmd []strin... method Inspect (line 61) | func (l *local) Inspect(ctx context.Context, id string) (*ContainerInf... method List (line 65) | func (l *local) List(ctx context.Context, opts ListOptions) ([]Contain... method Close (line 69) | func (l *local) Close() error { function NewLocal (line 17) | func NewLocal(addr string) (Runtime, error) { function portStr (line 73) | func portStr(p int) string { FILE: tai/runtime/runtime_test.go function taiTestDocker (line 14) | func taiTestDocker() string { function taiTestK8sHost (line 21) | func taiTestK8sHost() string { return os.Getenv("TAI_TEST_K8S_HOST") } function taiTestK8sPort (line 22) | func taiTestK8sPort() string { return os.Getenv("TAI_TEST_K8S_PORT") } function taiTestKubeConfig (line 24) | func taiTestKubeConfig() string { return os.Getenv("TAI_TEST_KUBECONFIG") } function TestHelpers (line 26) | func TestHelpers(t *testing.T) { function TestLocalRuntime (line 56) | func TestLocalRuntime(t *testing.T) { function TestLocalCreateWithPorts (line 161) | func TestLocalCreateWithPorts(t *testing.T) { function TestLocalCreateWithVNC (line 207) | func TestLocalCreateWithVNC(t *testing.T) { function TestLocalCreateWithEnvAndWorkDir (line 228) | func TestLocalCreateWithEnvAndWorkDir(t *testing.T) { function TestDockerRuntimeViaTai (line 261) | func TestDockerRuntimeViaTai(t *testing.T) { function TestListWithLabels (line 320) | func TestListWithLabels(t *testing.T) { function TestNewLocalInvalidAddr (line 339) | func TestNewLocalInvalidAddr(t *testing.T) { function TestPortStr (line 346) | func TestPortStr(t *testing.T) { function TestK8sRuntime (line 355) | func TestK8sRuntime(t *testing.T) { function TestNewK8sMissingKubeConfig (line 462) | func TestNewK8sMissingKubeConfig(t *testing.T) { function TestNewK8sBadKubeConfig (line 469) | func TestNewK8sBadKubeConfig(t *testing.T) { function TestK8sBuildResources (line 476) | func TestK8sBuildResources(t *testing.T) { function TestK8sBuildResourcesPartial (line 488) | func TestK8sBuildResourcesPartial(t *testing.T) { function TestK8sRuntimeStopAndRemove (line 499) | func TestK8sRuntimeStopAndRemove(t *testing.T) { function TestK8sCreateWithResources (line 542) | func TestK8sCreateWithResources(t *testing.T) { function TestK8sRemoveNonExistent (line 591) | func TestK8sRemoveNonExistent(t *testing.T) { function TestNewK8sRelativeKubeConfig (line 616) | func TestNewK8sRelativeKubeConfig(t *testing.T) { function TestCreateWithLabels (line 631) | func TestCreateWithLabels(t *testing.T) { function TestCreateWithUser (line 689) | func TestCreateWithUser(t *testing.T) { function TestExecStream_ShortCommand (line 721) | func TestExecStream_ShortCommand(t *testing.T) { function TestExecStream_Stdin (line 765) | func TestExecStream_Stdin(t *testing.T) { function TestExecStream_ExitCode (line 815) | func TestExecStream_ExitCode(t *testing.T) { function TestExecStream_Stderr (line 852) | func TestExecStream_Stderr(t *testing.T) { function TestExecStream_Cancel (line 893) | func TestExecStream_Cancel(t *testing.T) { function TestParseUID (line 935) | func TestParseUID(t *testing.T) { FILE: tai/runtime/sandbox.go type Runtime (line 11) | type Runtime interface type StreamHandle (line 24) | type StreamHandle struct type CreateOptions (line 35) | type CreateOptions struct type PortMapping (line 51) | type PortMapping struct type ContainerInfo (line 59) | type ContainerInfo struct type ExecOptions (line 70) | type ExecOptions struct type ExecResult (line 76) | type ExecResult struct type ListOptions (line 83) | type ListOptions struct function envSlice (line 88) | func envSlice(m map[string]string) []string { function proto (line 99) | func proto(p string) string { function hostIP (line 106) | func hostIP(ip string) string { FILE: tai/serverinfo/pb/serverinfo.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type GetInfoRequest (line 24) | type GetInfoRequest struct method Reset (line 30) | func (x *GetInfoRequest) Reset() { method String (line 37) | func (x *GetInfoRequest) String() string { method ProtoMessage (line 41) | func (*GetInfoRequest) ProtoMessage() {} method ProtoReflect (line 43) | func (x *GetInfoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 56) | func (*GetInfoRequest) Descriptor() ([]byte, []int) { type SystemInfo (line 60) | type SystemInfo struct method Reset (line 73) | func (x *SystemInfo) Reset() { method String (line 80) | func (x *SystemInfo) String() string { method ProtoMessage (line 84) | func (*SystemInfo) ProtoMessage() {} method ProtoReflect (line 86) | func (x *SystemInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 99) | func (*SystemInfo) Descriptor() ([]byte, []int) { method GetOs (line 103) | func (x *SystemInfo) GetOs() string { method GetArch (line 110) | func (x *SystemInfo) GetArch() string { method GetHostname (line 117) | func (x *SystemInfo) GetHostname() string { method GetNumCpu (line 124) | func (x *SystemInfo) GetNumCpu() int32 { method GetTotalMem (line 131) | func (x *SystemInfo) GetTotalMem() int64 { method GetShell (line 138) | func (x *SystemInfo) GetShell() string { method GetTempDir (line 145) | func (x *SystemInfo) GetTempDir() string { type GetInfoResponse (line 152) | type GetInfoResponse struct method Reset (line 162) | func (x *GetInfoResponse) Reset() { method String (line 169) | func (x *GetInfoResponse) String() string { method ProtoMessage (line 173) | func (*GetInfoResponse) ProtoMessage() {} method ProtoReflect (line 175) | func (x *GetInfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 188) | func (*GetInfoResponse) Descriptor() ([]byte, []int) { method GetVersion (line 192) | func (x *GetInfoResponse) GetVersion() string { method GetPorts (line 199) | func (x *GetInfoResponse) GetPorts() map[string]int32 { method GetCapabilities (line 206) | func (x *GetInfoResponse) GetCapabilities() map[string]bool { method GetSystem (line 213) | func (x *GetInfoResponse) GetSystem() *SystemInfo { constant file_serverinfo_proto_rawDesc (line 222) | file_serverinfo_proto_rawDesc = "" + function file_serverinfo_proto_rawDescGZIP (line 257) | func file_serverinfo_proto_rawDescGZIP() []byte { function init (line 285) | func init() { file_serverinfo_proto_init() } function file_serverinfo_proto_init (line 286) | func file_serverinfo_proto_init() { FILE: tai/serverinfo/pb/serverinfo_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion9 constant ServerInfo_GetInfo_FullMethodName (line 22) | ServerInfo_GetInfo_FullMethodName = "/serverinfo.ServerInfo/GetInfo" type ServerInfoClient (line 28) | type ServerInfoClient interface type serverInfoClient (line 32) | type serverInfoClient struct method GetInfo (line 40) | func (c *serverInfoClient) GetInfo(ctx context.Context, in *GetInfoReq... function NewServerInfoClient (line 36) | func NewServerInfoClient(cc grpc.ClientConnInterface) ServerInfoClient { type ServerInfoServer (line 53) | type ServerInfoServer interface type UnimplementedServerInfoServer (line 63) | type UnimplementedServerInfoServer struct method GetInfo (line 65) | func (UnimplementedServerInfoServer) GetInfo(context.Context, *GetInfo... method mustEmbedUnimplementedServerInfoServer (line 68) | func (UnimplementedServerInfoServer) mustEmbedUnimplementedServerInfoS... method testEmbeddedByValue (line 69) | func (UnimplementedServerInfoServer) testEmbeddedByValue() ... type UnsafeServerInfoServer (line 74) | type UnsafeServerInfoServer interface function RegisterServerInfoServer (line 78) | func RegisterServerInfoServer(s grpc.ServiceRegistrar, srv ServerInfoSer... function _ServerInfo_GetInfo_Handler (line 89) | func _ServerInfo_GetInfo_Handler(srv interface{}, ctx context.Context, d... FILE: tai/sysinfo.go function CollectSystemInfo (line 14) | func CollectSystemInfo() types.SystemInfo { function detectShell (line 26) | func detectShell() string { FILE: tai/tai.go type Option (line 16) | type Option interface type optionFunc (line 20) | type optionFunc method apply (line 22) | func (f optionFunc) apply(c *config) { f(c) } function WithDataDir (line 25) | func WithDataDir(dir string) Option { function WithVolume (line 30) | func WithVolume(vol volume.Volume) Option { type config (line 34) | type config struct function defaultPorts (line 39) | func defaultPorts() Ports { function mergedPorts (line 47) | func mergedPorts(p Ports) Ports { function intOr (line 67) | func intOr(v, fallback int) int { function RegisterLocal (line 79) | func RegisterLocal(opts ...Option) bool { function InitLocal (line 119) | func InitLocal(w io.Writer, logMode string, dataDir string) types.Capabi... function GetResources (line 129) | func GetResources(taiID string) (*ConnResources, bool) { function GetNodeMeta (line 143) | func GetNodeMeta(taiID string) (*types.NodeMeta, bool) { FILE: tai/tai_test.go function taiTestHost (line 13) | func taiTestHost() string { function taiTestPorts (line 20) | func taiTestPorts() Ports { function envPort (line 28) | func envPort(key string, fallback int) int { function TestMergedPorts (line 37) | func TestMergedPorts(t *testing.T) { function TestMergedPortsAll (line 56) | func TestMergedPortsAll(t *testing.T) { function TestDialLocalSuccess (line 63) | func TestDialLocalSuccess(t *testing.T) { function TestDialLocalWithVolume (line 78) | func TestDialLocalWithVolume(t *testing.T) { function TestDialLocalExplicitSocket (line 95) | func TestDialLocalExplicitSocket(t *testing.T) { function TestDialRemoteDocker (line 107) | func TestDialRemoteDocker(t *testing.T) { function TestDialRemoteK8s (line 129) | func TestDialRemoteK8s(t *testing.T) { function TestDialRemoteK8sMissingKubeConfig (line 159) | func TestDialRemoteK8sMissingKubeConfig(t *testing.T) { function TestRegisterLocal (line 169) | func TestRegisterLocal(t *testing.T) { function TestRegisterLocal_NoRegistry (line 209) | func TestRegisterLocal_NoRegistry(t *testing.T) { function TestRegisterLocal_NoDocker (line 221) | func TestRegisterLocal_NoDocker(t *testing.T) { function TestConnResourcesCloseNil (line 234) | func TestConnResourcesCloseNil(t *testing.T) { FILE: tai/taiid/taiid.go constant base62Chars (line 9) | base62Chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstu... function Generate (line 14) | func Generate(machineID, nodeID string) (string, error) { function base62Encode (line 22) | func base62Encode(data []byte) string { FILE: tai/taiid/taiid_test.go function TestGenerate_Deterministic (line 7) | func TestGenerate_Deterministic(t *testing.T) { function TestGenerate_DifferentInputs (line 24) | func TestGenerate_DifferentInputs(t *testing.T) { function TestGenerate_EmptyInputs (line 37) | func TestGenerate_EmptyInputs(t *testing.T) { FILE: tai/token.go function NewTokenManagerFromEnv (line 10) | func NewTokenManagerFromEnv() (*TokenManager, error) { function NewTokenManager (line 15) | func NewTokenManager(accessToken, refreshToken, sandboxID string) *Token... FILE: tai/tunnel/forward.go constant defaultVNCPort (line 16) | defaultVNCPort = 5900 type forwardRoute (line 22) | type forwardRoute struct method HandleForward (line 35) | func (h *TunnelHandler) HandleForward(c *gin.Context) { function HandleForwardLazy (line 104) | func HandleForwardLazy(c *gin.Context) { function resolveRoute (line 122) | func resolveRoute(c *gin.Context, node *types.NodeMeta) (*forwardRoute, ... function rewriteRequest (line 195) | func rewriteRequest(orig *http.Request, taiID string, route *forwardRout... type netConnAdapter (line 203) | type netConnAdapter struct FILE: tai/tunnel/forward_test.go function init (line 15) | func init() { function TestResolveRoute_Proxy (line 19) | func TestResolveRoute_Proxy(t *testing.T) { function TestResolveRoute_VNC (line 71) | func TestResolveRoute_VNC(t *testing.T) { function TestResolveRoute_Unknown (line 105) | func TestResolveRoute_Unknown(t *testing.T) { function TestRewriteRequest_Proxy (line 117) | func TestRewriteRequest_Proxy(t *testing.T) { function TestRewriteRequest_VNC (line 142) | func TestRewriteRequest_VNC(t *testing.T) { function TestHandleForwardLazy_NilHandler (line 170) | func TestHandleForwardLazy_NilHandler(t *testing.T) { function TestHandleForward_NodeNotFound (line 186) | func TestHandleForward_NodeNotFound(t *testing.T) { function TestHandleForward_UnknownRoute (line 202) | func TestHandleForward_UnknownRoute(t *testing.T) { function TestHandleForwardLazy_WithHandler (line 223) | func TestHandleForwardLazy_WithHandler(t *testing.T) { function TestHandleForward_ViaRealHTTP (line 241) | func TestHandleForward_ViaRealHTTP(t *testing.T) { FILE: tai/tunnel/grpc_handler.go function GlobalHandler (line 25) | func GlobalHandler() *TunnelHandler { return globalHandler } type TunnelHandler (line 28) | type TunnelHandler struct method Register (line 51) | func (h *TunnelHandler) Register(stream taipb.TaiTunnel_RegisterServer... method Forward (line 167) | func (h *TunnelHandler) Forward(stream taipb.TaiTunnel_ForwardServer) ... method RequestForward (line 196) | func (h *TunnelHandler) RequestForward(taiID string, route *forwardRou... method connectTunnelNode (line 260) | func (h *TunnelHandler) connectTunnelNode(taiID string) { method bridgeConn (line 274) | func (h *TunnelHandler) bridgeConn(taiID string, targetPort int, local... method requestForwardRaw (line 289) | func (h *TunnelHandler) requestForwardRaw(taiID string, targetPort int... function NewTunnelHandler (line 40) | func NewTunnelHandler(reg *registry.Registry) *TunnelHandler { type forwardConn (line 341) | type forwardConn struct method Read (line 350) | func (c *forwardConn) Read(p []byte) (int, error) { method Write (line 367) | func (c *forwardConn) Write(p []byte) (int, error) { method Close (line 374) | func (c *forwardConn) Close() error { function newForwardConn (line 346) | func newForwardConn(stream taipb.TaiTunnel_ForwardServer) *forwardConn { function bridgeTCP (line 379) | func bridgeTCP(a, b io.ReadWriteCloser) { function authInfoFromStream (line 394) | func authInfoFromStream(stream taipb.TaiTunnel_RegisterServer) types.Aut... function portsFromProto (line 409) | func portsFromProto(p *taipb.Ports) types.Ports { function capsFromProto (line 422) | func capsFromProto(c *taipb.Capabilities) types.Capabilities { function systemFromProto (line 434) | func systemFromProto(s *taipb.SystemInfo) types.SystemInfo { FILE: tai/tunnel/grpc_handler_test.go constant bufSize (line 24) | bufSize = 1024 * 1024 function startTestServer (line 26) | func startTestServer(t *testing.T) (taipb.TaiTunnelClient, *TunnelHandle... function TestRegister_HappyPath (line 54) | func TestRegister_HappyPath(t *testing.T) { function TestRegister_MissingNodeID (line 113) | func TestRegister_MissingNodeID(t *testing.T) { function TestRegister_WrongType (line 135) | func TestRegister_WrongType(t *testing.T) { function TestRegister_Ping (line 158) | func TestRegister_Ping(t *testing.T) { function TestForward_MissingMetadata (line 199) | func TestForward_MissingMetadata(t *testing.T) { function TestForward_NoPendingChannel (line 221) | func TestForward_NoPendingChannel(t *testing.T) { function TestRequestForward_NoRegisterStream (line 242) | func TestRequestForward_NoRegisterStream(t *testing.T) { function TestRequestForward_TypeMismatch (line 254) | func TestRequestForward_TypeMismatch(t *testing.T) { function TestRegisterAndForward_FullRoundTrip (line 277) | func TestRegisterAndForward_FullRoundTrip(t *testing.T) { function TestRegister_Unregister_OnStreamClose (line 394) | func TestRegister_Unregister_OnStreamClose(t *testing.T) { function TestNewTunnelHandler_SetsBridgeFunc (line 433) | func TestNewTunnelHandler_SetsBridgeFunc(t *testing.T) { function TestBridgeConn_NoRegisterStream (line 444) | func TestBridgeConn_NoRegisterStream(t *testing.T) { type mockForwardStream (line 463) | type mockForwardStream struct method Recv (line 471) | func (m *mockForwardStream) Recv() (*taipb.ForwardData, error) { method Send (line 480) | func (m *mockForwardStream) Send(msg *taipb.ForwardData) error { function TestForwardConn_Write (line 489) | func TestForwardConn_Write(t *testing.T) { function TestForwardConn_Read (line 505) | func TestForwardConn_Read(t *testing.T) { function TestForwardConn_Read_Buffered (line 521) | func TestForwardConn_Read_Buffered(t *testing.T) { function TestForwardConn_Read_EOF (line 553) | func TestForwardConn_Read_EOF(t *testing.T) { function TestForwardConn_Close (line 564) | func TestForwardConn_Close(t *testing.T) { function TestBridgeTCP (line 573) | func TestBridgeTCP(t *testing.T) { type rwcBuffer (line 587) | type rwcBuffer struct method Close (line 593) | func (r *rwcBuffer) Close() error { function TestBridgeTCP_OneSideClosed (line 598) | func TestBridgeTCP_OneSideClosed(t *testing.T) { type errorForwardStream (line 614) | type errorForwardStream struct method Send (line 618) | func (e *errorForwardStream) Send(_ *taipb.ForwardData) error { method Recv (line 622) | func (e *errorForwardStream) Recv() (*taipb.ForwardData, error) { function TestForwardConn_Write_Error (line 626) | func TestForwardConn_Write_Error(t *testing.T) { function TestForwardConn_Read_Error (line 634) | func TestForwardConn_Read_Error(t *testing.T) { function startTestServerWithAuth (line 645) | func startTestServerWithAuth(t *testing.T) (taipb.TaiTunnelClient, *Tunn... type wrappedStreamCtx (line 687) | type wrappedStreamCtx struct method Context (line 692) | func (w *wrappedStreamCtx) Context() context.Context { return w.ctx } function TestRequestForward_Timeout (line 696) | func TestRequestForward_Timeout(t *testing.T) { function TestConcurrentForward (line 771) | func TestConcurrentForward(t *testing.T) { function TestDisconnect_ForwardTerminatesOnRegisterClose (line 880) | func TestDisconnect_ForwardTerminatesOnRegisterClose(t *testing.T) { function TestHTTPProxy_EndToEnd (line 983) | func TestHTTPProxy_EndToEnd(t *testing.T) { function TestVNCProxy_WSUpgrade (line 1141) | func TestVNCProxy_WSUpgrade(t *testing.T) { function TestRegister_WithAuthInfo (line 1321) | func TestRegister_WithAuthInfo(t *testing.T) { FILE: tai/tunnel/server.go function extractBearer (line 13) | func extractBearer(r *http.Request) string { function authenticateBearerDefault (line 23) | func authenticateBearerDefault(token string) (types.AuthInfo, error) { function portsFromMap (line 79) | func portsFromMap(m map[string]int) types.Ports { function capsFromMap (line 89) | func capsFromMap(m map[string]bool) types.Capabilities { FILE: tai/tunnel/server_test.go function TestExtractBearer (line 11) | func TestExtractBearer(t *testing.T) { function TestPortsFromMap (line 37) | func TestPortsFromMap(t *testing.T) { function TestPortsFromMap_Empty (line 45) | func TestPortsFromMap_Empty(t *testing.T) { function TestCapsFromMap (line 52) | func TestCapsFromMap(t *testing.T) { function TestCapsFromMap_Empty (line 60) | func TestCapsFromMap_Empty(t *testing.T) { function TestPortsFromProto (line 67) | func TestPortsFromProto(t *testing.T) { function TestPortsFromProto_Nil (line 75) | func TestPortsFromProto_Nil(t *testing.T) { function TestCapsFromProto (line 82) | func TestCapsFromProto(t *testing.T) { function TestCapsFromProto_Nil (line 90) | func TestCapsFromProto_Nil(t *testing.T) { function TestSystemFromProto (line 97) | func TestSystemFromProto(t *testing.T) { function TestSystemFromProto_Nil (line 105) | func TestSystemFromProto_Nil(t *testing.T) { function TestAuthenticateBearerDefault_NoOAuth (line 112) | func TestAuthenticateBearerDefault_NoOAuth(t *testing.T) { function TestAuthenticateBearerFunc_IsDefault (line 119) | func TestAuthenticateBearerFunc_IsDefault(t *testing.T) { FILE: tai/tunnel/taipb/tunnel.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type TunnelControl (line 24) | type TunnelControl struct method Reset (line 47) | func (x *TunnelControl) Reset() { method String (line 54) | func (x *TunnelControl) String() string { method ProtoMessage (line 58) | func (*TunnelControl) ProtoMessage() {} method ProtoReflect (line 60) | func (x *TunnelControl) ProtoReflect() protoreflect.Message { method Descriptor (line 73) | func (*TunnelControl) Descriptor() ([]byte, []int) { method GetType (line 77) | func (x *TunnelControl) GetType() string { method GetNodeId (line 84) | func (x *TunnelControl) GetNodeId() string { method GetMachineId (line 91) | func (x *TunnelControl) GetMachineId() string { method GetDisplayName (line 98) | func (x *TunnelControl) GetDisplayName() string { method GetVersion (line 105) | func (x *TunnelControl) GetVersion() string { method GetPorts (line 112) | func (x *TunnelControl) GetPorts() *Ports { method GetCaps (line 119) | func (x *TunnelControl) GetCaps() *Capabilities { method GetSystem (line 126) | func (x *TunnelControl) GetSystem() *SystemInfo { method GetChannelId (line 133) | func (x *TunnelControl) GetChannelId() string { method GetTargetPort (line 140) | func (x *TunnelControl) GetTargetPort() int32 { method GetChannelType (line 147) | func (x *TunnelControl) GetChannelType() string { method GetContainerId (line 154) | func (x *TunnelControl) GetContainerId() string { method GetContainerPort (line 161) | func (x *TunnelControl) GetContainerPort() int32 { method GetTaiId (line 168) | func (x *TunnelControl) GetTaiId() string { type ForwardData (line 175) | type ForwardData struct method Reset (line 182) | func (x *ForwardData) Reset() { method String (line 189) | func (x *ForwardData) String() string { method ProtoMessage (line 193) | func (*ForwardData) ProtoMessage() {} method ProtoReflect (line 195) | func (x *ForwardData) ProtoReflect() protoreflect.Message { method Descriptor (line 208) | func (*ForwardData) Descriptor() ([]byte, []int) { method GetData (line 212) | func (x *ForwardData) GetData() []byte { type Ports (line 219) | type Ports struct method Reset (line 230) | func (x *Ports) Reset() { method String (line 237) | func (x *Ports) String() string { method ProtoMessage (line 241) | func (*Ports) ProtoMessage() {} method ProtoReflect (line 243) | func (x *Ports) ProtoReflect() protoreflect.Message { method Descriptor (line 256) | func (*Ports) Descriptor() ([]byte, []int) { method GetGrpc (line 260) | func (x *Ports) GetGrpc() int32 { method GetHttp (line 267) | func (x *Ports) GetHttp() int32 { method GetVnc (line 274) | func (x *Ports) GetVnc() int32 { method GetDocker (line 281) | func (x *Ports) GetDocker() int32 { method GetK8S (line 288) | func (x *Ports) GetK8S() int32 { type Capabilities (line 295) | type Capabilities struct method Reset (line 305) | func (x *Capabilities) Reset() { method String (line 312) | func (x *Capabilities) String() string { method ProtoMessage (line 316) | func (*Capabilities) ProtoMessage() {} method ProtoReflect (line 318) | func (x *Capabilities) ProtoReflect() protoreflect.Message { method Descriptor (line 331) | func (*Capabilities) Descriptor() ([]byte, []int) { method GetDocker (line 335) | func (x *Capabilities) GetDocker() bool { method GetK8S (line 342) | func (x *Capabilities) GetK8S() bool { method GetHostExec (line 349) | func (x *Capabilities) GetHostExec() bool { method GetVnc (line 356) | func (x *Capabilities) GetVnc() bool { type SystemInfo (line 363) | type SystemInfo struct method Reset (line 373) | func (x *SystemInfo) Reset() { method String (line 380) | func (x *SystemInfo) String() string { method ProtoMessage (line 384) | func (*SystemInfo) ProtoMessage() {} method ProtoReflect (line 386) | func (x *SystemInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 399) | func (*SystemInfo) Descriptor() ([]byte, []int) { method GetOs (line 403) | func (x *SystemInfo) GetOs() string { method GetArch (line 410) | func (x *SystemInfo) GetArch() string { method GetHostname (line 417) | func (x *SystemInfo) GetHostname() string { method GetShell (line 424) | func (x *SystemInfo) GetShell() string { constant file_tunnel_proto_tunnel_proto_rawDesc (line 433) | file_tunnel_proto_tunnel_proto_rawDesc = "" + function file_tunnel_proto_tunnel_proto_rawDescGZIP (line 484) | func file_tunnel_proto_tunnel_proto_rawDescGZIP() []byte { function init (line 514) | func init() { file_tunnel_proto_tunnel_proto_init() } function file_tunnel_proto_tunnel_proto_init (line 515) | func file_tunnel_proto_tunnel_proto_init() { FILE: tai/tunnel/taipb/tunnel_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion9 constant TaiTunnel_Register_FullMethodName (line 22) | TaiTunnel_Register_FullMethodName = "/tai.tunnel.TaiTunnel/Register" constant TaiTunnel_Forward_FullMethodName (line 23) | TaiTunnel_Forward_FullMethodName = "/tai.tunnel.TaiTunnel/Forward" type TaiTunnelClient (line 29) | type TaiTunnelClient interface type taiTunnelClient (line 36) | type taiTunnelClient struct method Register (line 44) | func (c *taiTunnelClient) Register(ctx context.Context, opts ...grpc.C... method Forward (line 57) | func (c *taiTunnelClient) Forward(ctx context.Context, opts ...grpc.Ca... function NewTaiTunnelClient (line 40) | func NewTaiTunnelClient(cc grpc.ClientConnInterface) TaiTunnelClient { type TaiTunnelServer (line 73) | type TaiTunnelServer interface type UnimplementedTaiTunnelServer (line 86) | type UnimplementedTaiTunnelServer struct method Register (line 88) | func (UnimplementedTaiTunnelServer) Register(grpc.BidiStreamingServer[... method Forward (line 91) | func (UnimplementedTaiTunnelServer) Forward(grpc.BidiStreamingServer[F... method mustEmbedUnimplementedTaiTunnelServer (line 94) | func (UnimplementedTaiTunnelServer) mustEmbedUnimplementedTaiTunnelSer... method testEmbeddedByValue (line 95) | func (UnimplementedTaiTunnelServer) testEmbeddedByValue() ... type UnsafeTaiTunnelServer (line 100) | type UnsafeTaiTunnelServer interface function RegisterTaiTunnelServer (line 104) | func RegisterTaiTunnelServer(s grpc.ServiceRegistrar, srv TaiTunnelServe... function _TaiTunnel_Register_Handler (line 115) | func _TaiTunnel_Register_Handler(srv interface{}, stream grpc.ServerStre... function _TaiTunnel_Forward_Handler (line 122) | func _TaiTunnel_Forward_Handler(srv interface{}, stream grpc.ServerStrea... FILE: tai/types/types.go type Runtime (line 6) | type Runtime constant Docker (line 9) | Docker Runtime = iota constant K8s (line 10) | K8s type Ports (line 14) | type Ports struct type Capabilities (line 23) | type Capabilities struct type SystemInfo (line 31) | type SystemInfo struct type AuthInfo (line 42) | type AuthInfo struct type NodeMeta (line 53) | type NodeMeta struct FILE: tai/vnc/vnc.go constant defaultVNCContainerPort (line 12) | defaultVNCContainerPort = 6080 type VNC (line 16) | type VNC interface type remoteVNC (line 23) | type remoteVNC struct method URL (line 37) | func (r *remoteVNC) URL(_ context.Context, containerID string) (string... method Ping (line 41) | func (r *remoteVNC) Ping(ctx context.Context, containerID string) error { function NewRemote (line 30) | func NewRemote(host string, port int, hc *http.Client) VNC { type tunnelVNC (line 57) | type tunnelVNC struct method URL (line 68) | func (t *tunnelVNC) URL(_ context.Context, containerID string) (string... method Ping (line 74) | func (t *tunnelVNC) Ping(_ context.Context, _ string) error { function NewTunnel (line 64) | func NewTunnel(taiID, yaoBase string) VNC { type localVNC (line 80) | type localVNC struct method URL (line 89) | func (l *localVNC) URL(ctx context.Context, containerID string) (strin... method Ping (line 106) | func (l *localVNC) Ping(ctx context.Context, containerID string) error { function NewLocal (line 85) | func NewLocal(sb runtime.Runtime) VNC { FILE: tai/vnc/vnc_test.go function TestRemoteURL (line 14) | func TestRemoteURL(t *testing.T) { function TestRemotePing (line 28) | func TestRemotePing(t *testing.T) { function TestRemotePingError (line 57) | func TestRemotePingError(t *testing.T) { function TestLocalURL (line 64) | func TestLocalURL(t *testing.T) { function TestLocalURLEmptyHostIP (line 87) | func TestLocalURLEmptyHostIP(t *testing.T) { function TestLocalURLPortNotFound (line 110) | func TestLocalURLPortNotFound(t *testing.T) { function TestLocalURLInspectError (line 124) | func TestLocalURLInspectError(t *testing.T) { function TestLocalPingSuccess (line 138) | func TestLocalPingSuccess(t *testing.T) { function TestLocalPingError (line 176) | func TestLocalPingError(t *testing.T) { type mockSandbox (line 190) | type mockSandbox struct method Create (line 194) | func (m *mockSandbox) Create(ctx context.Context, opts runtime.CreateO... method Start (line 197) | func (m *mockSandbox) Start(ctx context.Context, id string) error { re... method Stop (line 198) | func (m *mockSandbox) Stop(ctx context.Context, id string, timeout tim... method Remove (line 201) | func (m *mockSandbox) Remove(ctx context.Context, id string, force boo... method Exec (line 202) | func (m *mockSandbox) Exec(ctx context.Context, id string, cmd []strin... method ExecStream (line 205) | func (m *mockSandbox) ExecStream(ctx context.Context, id string, cmd [... method Inspect (line 208) | func (m *mockSandbox) Inspect(ctx context.Context, id string) (*runtim... method List (line 214) | func (m *mockSandbox) List(ctx context.Context, opts runtime.ListOptio... method Close (line 217) | func (m *mockSandbox) Close() error { return nil } FILE: tai/volume/local.go type localStorage (line 17) | type localStorage struct method root (line 26) | func (l *localStorage) root(sessionID string) string { method abs (line 30) | func (l *localStorage) abs(sessionID, path string) (string, error) { method ReadFile (line 39) | func (l *localStorage) ReadFile(_ context.Context, sessionID, path str... method WriteFile (line 55) | func (l *localStorage) WriteFile(_ context.Context, sessionID, path st... method Stat (line 66) | func (l *localStorage) Stat(_ context.Context, sessionID, path string)... method ListDir (line 84) | func (l *localStorage) ListDir(_ context.Context, sessionID, path stri... method Remove (line 110) | func (l *localStorage) Remove(_ context.Context, sessionID, path strin... method Rename (line 121) | func (l *localStorage) Rename(_ context.Context, sessionID, oldPath, n... method MkdirAll (line 133) | func (l *localStorage) MkdirAll(_ context.Context, sessionID, path str... method Abs (line 141) | func (l *localStorage) Abs(_ context.Context, sessionID, path string) ... method Copy (line 148) | func (l *localStorage) Copy(_ context.Context, sessionID, src, dst str... method copyFile (line 230) | func (l *localStorage) copyFile(srcAbs, dstAbs string, srcInfo os.File... method SyncPush (line 258) | func (l *localStorage) SyncPush(_ context.Context, sessionID, localDir... method SyncPull (line 338) | func (l *localStorage) SyncPull(_ context.Context, sessionID, localDir... method Zip (line 416) | func (l *localStorage) Zip(_ context.Context, sessionID, src, dst stri... method Unzip (line 488) | func (l *localStorage) Unzip(_ context.Context, sessionID, src, dst st... method Gzip (line 540) | func (l *localStorage) Gzip(_ context.Context, sessionID, src, dst str... method Gunzip (line 581) | func (l *localStorage) Gunzip(_ context.Context, sessionID, src, dst s... method Tar (line 615) | func (l *localStorage) Tar(_ context.Context, sessionID, src, dst stri... method Tgz (line 619) | func (l *localStorage) Tgz(_ context.Context, sessionID, src, dst stri... method tarImpl (line 623) | func (l *localStorage) tarImpl(sessionID, src, dst string, excludes []... method Untar (line 703) | func (l *localStorage) Untar(_ context.Context, sessionID, src, dst st... method Untgz (line 707) | func (l *localStorage) Untgz(_ context.Context, sessionID, src, dst st... method untarImpl (line 711) | func (l *localStorage) untarImpl(sessionID, src, dst string, useGzip b... method Close (line 775) | func (l *localStorage) Close() error { return nil } function NewLocal (line 22) | func NewLocal(dataDir string) Volume { function isExcluded (line 777) | func isExcluded(rel string, isDir bool, patterns []string) bool { FILE: tai/volume/mock_test.go type mockVolumeServer (line 16) | type mockVolumeServer struct method Stat (line 27) | func (m *mockVolumeServer) Stat(_ context.Context, req *pb.FSRequest) ... method Remove (line 34) | func (m *mockVolumeServer) Remove(_ context.Context, req *pb.FSRemoveR... method Rename (line 38) | func (m *mockVolumeServer) Rename(_ context.Context, req *pb.FSRenameR... method MkdirAll (line 42) | func (m *mockVolumeServer) MkdirAll(_ context.Context, req *pb.FSReque... method ReadFile (line 46) | func (m *mockVolumeServer) ReadFile(req *pb.FSReadRequest, stream grpc... method WriteFile (line 50) | func (m *mockVolumeServer) WriteFile(stream grpc.ClientStreamingServer... method SyncPush (line 62) | func (m *mockVolumeServer) SyncPush(stream grpc.BidiStreamingServer[pb... method SyncPull (line 119) | func (m *mockVolumeServer) SyncPull(req *pb.SyncManifest, stream grpc.... method Abs (line 193) | func (m *mockVolumeServer) Abs(_ context.Context, req *pb.FSRequest) (... method ListDir (line 197) | func (m *mockVolumeServer) ListDir(_ context.Context, req *pb.FSReques... method Copy (line 204) | func (m *mockVolumeServer) Copy(_ context.Context, req *pb.FSCopyReque... function startMockServer (line 211) | func startMockServer(t *testing.T, mock *mockVolumeServer) (*grpc.Client... function TestMockRemoteStat (line 236) | func TestMockRemoteStat(t *testing.T) { function TestMockRemoteStatError (line 250) | func TestMockRemoteStatError(t *testing.T) { function TestMockRemoteRemoveFail (line 261) | func TestMockRemoteRemoveFail(t *testing.T) { function TestMockRemoteRemoveOK (line 272) | func TestMockRemoteRemoveOK(t *testing.T) { function TestMockRemoteRenameFail (line 283) | func TestMockRemoteRenameFail(t *testing.T) { function TestMockRemoteRenameOK (line 294) | func TestMockRemoteRenameOK(t *testing.T) { function TestMockRemoteMkdirFail (line 305) | func TestMockRemoteMkdirFail(t *testing.T) { function TestMockRemoteMkdirOK (line 316) | func TestMockRemoteMkdirOK(t *testing.T) { function TestMockRemoteReadFileError (line 327) | func TestMockRemoteReadFileError(t *testing.T) { function TestMockRemoteWriteFile (line 338) | func TestMockRemoteWriteFile(t *testing.T) { function TestMockRemoteWriteFileLarge (line 349) | func TestMockRemoteWriteFileLarge(t *testing.T) { function TestMockRemoteWriteFileEmpty (line 364) | func TestMockRemoteWriteFileEmpty(t *testing.T) { function TestMockRemoteListDir (line 375) | func TestMockRemoteListDir(t *testing.T) { function TestMockRemoteClose (line 389) | func TestMockRemoteClose(t *testing.T) { function TestMockRemoteSyncPush (line 399) | func TestMockRemoteSyncPush(t *testing.T) { function TestMockRemoteSyncPushWithExcludes (line 418) | func TestMockRemoteSyncPushWithExcludes(t *testing.T) { function TestMockRemoteSyncPushForceFull (line 436) | func TestMockRemoteSyncPushForceFull(t *testing.T) { function TestMockRemoteSyncPull (line 453) | func TestMockRemoteSyncPull(t *testing.T) { function TestMockRemoteSyncPullWithLocalFiles (line 504) | func TestMockRemoteSyncPullWithLocalFiles(t *testing.T) { type errMockVolumeServer (line 522) | type errMockVolumeServer struct method SyncPush (line 526) | func (m *errMockVolumeServer) SyncPush(stream grpc.BidiStreamingServer... method SyncPull (line 531) | func (m *errMockVolumeServer) SyncPull(_ *pb.SyncManifest, stream grpc... method ReadFile (line 535) | func (m *errMockVolumeServer) ReadFile(_ *pb.FSReadRequest, _ grpc.Ser... method WriteFile (line 539) | func (m *errMockVolumeServer) WriteFile(stream grpc.ClientStreamingSer... method Stat (line 543) | func (m *errMockVolumeServer) Stat(_ context.Context, _ *pb.FSRequest)... method ListDir (line 547) | func (m *errMockVolumeServer) ListDir(_ context.Context, _ *pb.FSReque... method Remove (line 551) | func (m *errMockVolumeServer) Remove(_ context.Context, _ *pb.FSRemove... method Rename (line 555) | func (m *errMockVolumeServer) Rename(_ context.Context, _ *pb.FSRename... method MkdirAll (line 559) | func (m *errMockVolumeServer) MkdirAll(_ context.Context, _ *pb.FSRequ... method Copy (line 563) | func (m *errMockVolumeServer) Copy(_ context.Context, _ *pb.FSCopyRequ... method Abs (line 567) | func (m *errMockVolumeServer) Abs(_ context.Context, _ *pb.FSRequest) ... function startErrMockServer (line 571) | func startErrMockServer(t *testing.T) (*grpc.ClientConn, func()) { function TestErrRemoteSyncPush (line 591) | func TestErrRemoteSyncPush(t *testing.T) { function TestErrRemoteSyncPull (line 605) | func TestErrRemoteSyncPull(t *testing.T) { function TestErrRemoteWriteFile (line 618) | func TestErrRemoteWriteFile(t *testing.T) { function TestErrRemoteReadFile (line 629) | func TestErrRemoteReadFile(t *testing.T) { function TestErrRemoteStat (line 640) | func TestErrRemoteStat(t *testing.T) { function TestErrRemoteListDir (line 651) | func TestErrRemoteListDir(t *testing.T) { function TestErrRemoteRemove (line 662) | func TestErrRemoteRemove(t *testing.T) { function TestErrRemoteRename (line 673) | func TestErrRemoteRename(t *testing.T) { function TestErrRemoteMkdirAll (line 684) | func TestErrRemoteMkdirAll(t *testing.T) { function TestPbToFileInfo (line 695) | func TestPbToFileInfo(t *testing.T) { function TestMockRemoteCopy (line 717) | func TestMockRemoteCopy(t *testing.T) { function TestMockRemoteCopyWithOpts (line 734) | func TestMockRemoteCopyWithOpts(t *testing.T) { function TestErrRemoteCopy (line 749) | func TestErrRemoteCopy(t *testing.T) { function TestMockRemoteAbs (line 760) | func TestMockRemoteAbs(t *testing.T) { function TestMockRemoteAbsRelative (line 774) | func TestMockRemoteAbsRelative(t *testing.T) { function TestErrRemoteAbs (line 788) | func TestErrRemoteAbs(t *testing.T) { FILE: tai/volume/pb/volume.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type FileChunk_ChunkType (line 24) | type FileChunk_ChunkType method Enum (line 49) | func (x FileChunk_ChunkType) Enum() *FileChunk_ChunkType { method String (line 55) | func (x FileChunk_ChunkType) String() string { method Descriptor (line 59) | func (FileChunk_ChunkType) Descriptor() protoreflect.EnumDescriptor { method Type (line 63) | func (FileChunk_ChunkType) Type() protoreflect.EnumType { method Number (line 67) | func (x FileChunk_ChunkType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 72) | func (FileChunk_ChunkType) EnumDescriptor() ([]byte, []int) { constant FileChunk_FULL (line 27) | FileChunk_FULL FileChunk_ChunkType = 0 constant FileChunk_DELTA (line 28) | FileChunk_DELTA FileChunk_ChunkType = 1 constant FileChunk_DELETE (line 29) | FileChunk_DELETE FileChunk_ChunkType = 2 constant FileChunk_MKDIR (line 30) | FileChunk_MKDIR FileChunk_ChunkType = 3 type FileInfo (line 76) | type FileInfo struct method Reset (line 87) | func (x *FileInfo) Reset() { method String (line 94) | func (x *FileInfo) String() string { method ProtoMessage (line 98) | func (*FileInfo) ProtoMessage() {} method ProtoReflect (line 100) | func (x *FileInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 113) | func (*FileInfo) Descriptor() ([]byte, []int) { method GetPath (line 117) | func (x *FileInfo) GetPath() string { method GetSize (line 124) | func (x *FileInfo) GetSize() int64 { method GetMtime (line 131) | func (x *FileInfo) GetMtime() int64 { method GetMode (line 138) | func (x *FileInfo) GetMode() uint32 { method GetIsDir (line 145) | func (x *FileInfo) GetIsDir() bool { type SyncManifest (line 152) | type SyncManifest struct method Reset (line 162) | func (x *SyncManifest) Reset() { method String (line 169) | func (x *SyncManifest) String() string { method ProtoMessage (line 173) | func (*SyncManifest) ProtoMessage() {} method ProtoReflect (line 175) | func (x *SyncManifest) ProtoReflect() protoreflect.Message { method Descriptor (line 188) | func (*SyncManifest) Descriptor() ([]byte, []int) { method GetSessionId (line 192) | func (x *SyncManifest) GetSessionId() string { method GetFiles (line 199) | func (x *SyncManifest) GetFiles() []*FileInfo { method GetForceFull (line 206) | func (x *SyncManifest) GetForceFull() bool { method GetRemotePath (line 213) | func (x *SyncManifest) GetRemotePath() string { type SyncMessage (line 220) | type SyncMessage struct method Reset (line 233) | func (x *SyncMessage) Reset() { method String (line 240) | func (x *SyncMessage) String() string { method ProtoMessage (line 244) | func (*SyncMessage) ProtoMessage() {} method ProtoReflect (line 246) | func (x *SyncMessage) ProtoReflect() protoreflect.Message { method Descriptor (line 259) | func (*SyncMessage) Descriptor() ([]byte, []int) { method GetPayload (line 263) | func (x *SyncMessage) GetPayload() isSyncMessage_Payload { method GetManifest (line 270) | func (x *SyncMessage) GetManifest() *SyncManifest { method GetDiff (line 279) | func (x *SyncMessage) GetDiff() *SyncDiff { method GetChunk (line 288) | func (x *SyncMessage) GetChunk() *FileChunk { method GetResult (line 297) | func (x *SyncMessage) GetResult() *SyncResult { type isSyncMessage_Payload (line 306) | type isSyncMessage_Payload interface type SyncMessage_Manifest (line 310) | type SyncMessage_Manifest struct method isSyncMessage_Payload (line 326) | func (*SyncMessage_Manifest) isSyncMessage_Payload() {} type SyncMessage_Diff (line 314) | type SyncMessage_Diff struct method isSyncMessage_Payload (line 328) | func (*SyncMessage_Diff) isSyncMessage_Payload() {} type SyncMessage_Chunk (line 318) | type SyncMessage_Chunk struct method isSyncMessage_Payload (line 330) | func (*SyncMessage_Chunk) isSyncMessage_Payload() {} type SyncMessage_Result (line 322) | type SyncMessage_Result struct method isSyncMessage_Payload (line 332) | func (*SyncMessage_Result) isSyncMessage_Payload() {} type SyncDiff (line 334) | type SyncDiff struct method Reset (line 342) | func (x *SyncDiff) Reset() { method String (line 349) | func (x *SyncDiff) String() string { method ProtoMessage (line 353) | func (*SyncDiff) ProtoMessage() {} method ProtoReflect (line 355) | func (x *SyncDiff) ProtoReflect() protoreflect.Message { method Descriptor (line 368) | func (*SyncDiff) Descriptor() ([]byte, []int) { method GetNeedFiles (line 372) | func (x *SyncDiff) GetNeedFiles() []string { method GetDeleteFiles (line 379) | func (x *SyncDiff) GetDeleteFiles() []string { type FileChunk (line 386) | type FileChunk struct method Reset (line 398) | func (x *FileChunk) Reset() { method String (line 405) | func (x *FileChunk) String() string { method ProtoMessage (line 409) | func (*FileChunk) ProtoMessage() {} method ProtoReflect (line 411) | func (x *FileChunk) ProtoReflect() protoreflect.Message { method Descriptor (line 424) | func (*FileChunk) Descriptor() ([]byte, []int) { method GetPath (line 428) | func (x *FileChunk) GetPath() string { method GetType (line 435) | func (x *FileChunk) GetType() FileChunk_ChunkType { method GetData (line 442) | func (x *FileChunk) GetData() []byte { method GetMode (line 449) | func (x *FileChunk) GetMode() uint32 { method GetMtime (line 456) | func (x *FileChunk) GetMtime() int64 { method GetEof (line 463) | func (x *FileChunk) GetEof() bool { type SyncResult (line 470) | type SyncResult struct method Reset (line 479) | func (x *SyncResult) Reset() { method String (line 486) | func (x *SyncResult) String() string { method ProtoMessage (line 490) | func (*SyncResult) ProtoMessage() {} method ProtoReflect (line 492) | func (x *SyncResult) ProtoReflect() protoreflect.Message { method Descriptor (line 505) | func (*SyncResult) Descriptor() ([]byte, []int) { method GetFilesSynced (line 509) | func (x *SyncResult) GetFilesSynced() int32 { method GetBytesTransferred (line 516) | func (x *SyncResult) GetBytesTransferred() int64 { method GetDurationMs (line 523) | func (x *SyncResult) GetDurationMs() int64 { type FSRequest (line 530) | type FSRequest struct method Reset (line 538) | func (x *FSRequest) Reset() { method String (line 545) | func (x *FSRequest) String() string { method ProtoMessage (line 549) | func (*FSRequest) ProtoMessage() {} method ProtoReflect (line 551) | func (x *FSRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 564) | func (*FSRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 568) | func (x *FSRequest) GetSessionId() string { method GetPath (line 575) | func (x *FSRequest) GetPath() string { type FSOpResponse (line 582) | type FSOpResponse struct method Reset (line 590) | func (x *FSOpResponse) Reset() { method String (line 597) | func (x *FSOpResponse) String() string { method ProtoMessage (line 601) | func (*FSOpResponse) ProtoMessage() {} method ProtoReflect (line 603) | func (x *FSOpResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 616) | func (*FSOpResponse) Descriptor() ([]byte, []int) { method GetOk (line 620) | func (x *FSOpResponse) GetOk() bool { method GetError (line 627) | func (x *FSOpResponse) GetError() string { type FSAbsResponse (line 634) | type FSAbsResponse struct method Reset (line 641) | func (x *FSAbsResponse) Reset() { method String (line 648) | func (x *FSAbsResponse) String() string { method ProtoMessage (line 652) | func (*FSAbsResponse) ProtoMessage() {} method ProtoReflect (line 654) | func (x *FSAbsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 667) | func (*FSAbsResponse) Descriptor() ([]byte, []int) { method GetPath (line 671) | func (x *FSAbsResponse) GetPath() string { type FSReadRequest (line 678) | type FSReadRequest struct method Reset (line 686) | func (x *FSReadRequest) Reset() { method String (line 693) | func (x *FSReadRequest) String() string { method ProtoMessage (line 697) | func (*FSReadRequest) ProtoMessage() {} method ProtoReflect (line 699) | func (x *FSReadRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 712) | func (*FSReadRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 716) | func (x *FSReadRequest) GetSessionId() string { method GetPath (line 723) | func (x *FSReadRequest) GetPath() string { type FSDataChunk (line 730) | type FSDataChunk struct method Reset (line 740) | func (x *FSDataChunk) Reset() { method String (line 747) | func (x *FSDataChunk) String() string { method ProtoMessage (line 751) | func (*FSDataChunk) ProtoMessage() {} method ProtoReflect (line 753) | func (x *FSDataChunk) ProtoReflect() protoreflect.Message { method Descriptor (line 766) | func (*FSDataChunk) Descriptor() ([]byte, []int) { method GetData (line 770) | func (x *FSDataChunk) GetData() []byte { method GetMode (line 777) | func (x *FSDataChunk) GetMode() uint32 { method GetSize (line 784) | func (x *FSDataChunk) GetSize() int64 { method GetMtime (line 791) | func (x *FSDataChunk) GetMtime() int64 { type FSWriteChunk (line 798) | type FSWriteChunk struct method Reset (line 809) | func (x *FSWriteChunk) Reset() { method String (line 816) | func (x *FSWriteChunk) String() string { method ProtoMessage (line 820) | func (*FSWriteChunk) ProtoMessage() {} method ProtoReflect (line 822) | func (x *FSWriteChunk) ProtoReflect() protoreflect.Message { method Descriptor (line 835) | func (*FSWriteChunk) Descriptor() ([]byte, []int) { method GetSessionId (line 839) | func (x *FSWriteChunk) GetSessionId() string { method GetPath (line 846) | func (x *FSWriteChunk) GetPath() string { method GetData (line 853) | func (x *FSWriteChunk) GetData() []byte { method GetMode (line 860) | func (x *FSWriteChunk) GetMode() uint32 { method GetCreateDirs (line 867) | func (x *FSWriteChunk) GetCreateDirs() bool { type FSWriteResponse (line 874) | type FSWriteResponse struct method Reset (line 881) | func (x *FSWriteResponse) Reset() { method String (line 888) | func (x *FSWriteResponse) String() string { method ProtoMessage (line 892) | func (*FSWriteResponse) ProtoMessage() {} method ProtoReflect (line 894) | func (x *FSWriteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 907) | func (*FSWriteResponse) Descriptor() ([]byte, []int) { method GetSize (line 911) | func (x *FSWriteResponse) GetSize() int64 { type FSListResponse (line 918) | type FSListResponse struct method Reset (line 925) | func (x *FSListResponse) Reset() { method String (line 932) | func (x *FSListResponse) String() string { method ProtoMessage (line 936) | func (*FSListResponse) ProtoMessage() {} method ProtoReflect (line 938) | func (x *FSListResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 951) | func (*FSListResponse) Descriptor() ([]byte, []int) { method GetEntries (line 955) | func (x *FSListResponse) GetEntries() []*FileInfo { type FSRemoveRequest (line 962) | type FSRemoveRequest struct method Reset (line 971) | func (x *FSRemoveRequest) Reset() { method String (line 978) | func (x *FSRemoveRequest) String() string { method ProtoMessage (line 982) | func (*FSRemoveRequest) ProtoMessage() {} method ProtoReflect (line 984) | func (x *FSRemoveRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 997) | func (*FSRemoveRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 1001) | func (x *FSRemoveRequest) GetSessionId() string { method GetPath (line 1008) | func (x *FSRemoveRequest) GetPath() string { method GetRecursive (line 1015) | func (x *FSRemoveRequest) GetRecursive() bool { type FSRenameRequest (line 1022) | type FSRenameRequest struct method Reset (line 1031) | func (x *FSRenameRequest) Reset() { method String (line 1038) | func (x *FSRenameRequest) String() string { method ProtoMessage (line 1042) | func (*FSRenameRequest) ProtoMessage() {} method ProtoReflect (line 1044) | func (x *FSRenameRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1057) | func (*FSRenameRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 1061) | func (x *FSRenameRequest) GetSessionId() string { method GetOldPath (line 1068) | func (x *FSRenameRequest) GetOldPath() string { method GetNewPath (line 1075) | func (x *FSRenameRequest) GetNewPath() string { type FSCopyRequest (line 1082) | type FSCopyRequest struct method Reset (line 1093) | func (x *FSCopyRequest) Reset() { method String (line 1100) | func (x *FSCopyRequest) String() string { method ProtoMessage (line 1104) | func (*FSCopyRequest) ProtoMessage() {} method ProtoReflect (line 1106) | func (x *FSCopyRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1119) | func (*FSCopyRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 1123) | func (x *FSCopyRequest) GetSessionId() string { method GetSrcPath (line 1130) | func (x *FSCopyRequest) GetSrcPath() string { method GetDstPath (line 1137) | func (x *FSCopyRequest) GetDstPath() string { method GetExcludes (line 1144) | func (x *FSCopyRequest) GetExcludes() []string { method GetForce (line 1151) | func (x *FSCopyRequest) GetForce() bool { type ArchiveRequest (line 1158) | type ArchiveRequest struct method Reset (line 1168) | func (x *ArchiveRequest) Reset() { method String (line 1175) | func (x *ArchiveRequest) String() string { method ProtoMessage (line 1179) | func (*ArchiveRequest) ProtoMessage() {} method ProtoReflect (line 1181) | func (x *ArchiveRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1194) | func (*ArchiveRequest) Descriptor() ([]byte, []int) { method GetSessionId (line 1198) | func (x *ArchiveRequest) GetSessionId() string { method GetSrcPath (line 1205) | func (x *ArchiveRequest) GetSrcPath() string { method GetDstPath (line 1212) | func (x *ArchiveRequest) GetDstPath() string { method GetExcludes (line 1219) | func (x *ArchiveRequest) GetExcludes() []string { type ArchiveResponse (line 1226) | type ArchiveResponse struct method Reset (line 1234) | func (x *ArchiveResponse) Reset() { method String (line 1241) | func (x *ArchiveResponse) String() string { method ProtoMessage (line 1245) | func (*ArchiveResponse) ProtoMessage() {} method ProtoReflect (line 1247) | func (x *ArchiveResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1260) | func (*ArchiveResponse) Descriptor() ([]byte, []int) { method GetSizeBytes (line 1264) | func (x *ArchiveResponse) GetSizeBytes() int64 { method GetFilesCount (line 1271) | func (x *ArchiveResponse) GetFilesCount() int32 { constant file_tai_volume_pb_volume_proto_rawDesc (line 1280) | file_tai_volume_pb_volume_proto_rawDesc = "" + function file_tai_volume_pb_volume_proto_rawDescGZIP (line 1410) | func file_tai_volume_pb_volume_proto_rawDescGZIP() []byte { function init (line 1494) | func init() { file_tai_volume_pb_volume_proto_init() } function file_tai_volume_pb_volume_proto_init (line 1495) | func file_tai_volume_pb_volume_proto_init() { FILE: tai/volume/pb/volume_grpc.pb.go constant _ (line 19) | _ = grpc.SupportPackageIsVersion9 constant Volume_SyncPush_FullMethodName (line 22) | Volume_SyncPush_FullMethodName = "/volume.Volume/SyncPush" constant Volume_SyncPull_FullMethodName (line 23) | Volume_SyncPull_FullMethodName = "/volume.Volume/SyncPull" constant Volume_ReadFile_FullMethodName (line 24) | Volume_ReadFile_FullMethodName = "/volume.Volume/ReadFile" constant Volume_WriteFile_FullMethodName (line 25) | Volume_WriteFile_FullMethodName = "/volume.Volume/WriteFile" constant Volume_Stat_FullMethodName (line 26) | Volume_Stat_FullMethodName = "/volume.Volume/Stat" constant Volume_ListDir_FullMethodName (line 27) | Volume_ListDir_FullMethodName = "/volume.Volume/ListDir" constant Volume_Remove_FullMethodName (line 28) | Volume_Remove_FullMethodName = "/volume.Volume/Remove" constant Volume_Rename_FullMethodName (line 29) | Volume_Rename_FullMethodName = "/volume.Volume/Rename" constant Volume_MkdirAll_FullMethodName (line 30) | Volume_MkdirAll_FullMethodName = "/volume.Volume/MkdirAll" constant Volume_Abs_FullMethodName (line 31) | Volume_Abs_FullMethodName = "/volume.Volume/Abs" constant Volume_Copy_FullMethodName (line 32) | Volume_Copy_FullMethodName = "/volume.Volume/Copy" constant Volume_Zip_FullMethodName (line 33) | Volume_Zip_FullMethodName = "/volume.Volume/Zip" constant Volume_Unzip_FullMethodName (line 34) | Volume_Unzip_FullMethodName = "/volume.Volume/Unzip" constant Volume_Gzip_FullMethodName (line 35) | Volume_Gzip_FullMethodName = "/volume.Volume/Gzip" constant Volume_Gunzip_FullMethodName (line 36) | Volume_Gunzip_FullMethodName = "/volume.Volume/Gunzip" constant Volume_Tar_FullMethodName (line 37) | Volume_Tar_FullMethodName = "/volume.Volume/Tar" constant Volume_Untar_FullMethodName (line 38) | Volume_Untar_FullMethodName = "/volume.Volume/Untar" constant Volume_Tgz_FullMethodName (line 39) | Volume_Tgz_FullMethodName = "/volume.Volume/Tgz" constant Volume_Untgz_FullMethodName (line 40) | Volume_Untgz_FullMethodName = "/volume.Volume/Untgz" type VolumeClient (line 50) | type VolumeClient interface type volumeClient (line 82) | type volumeClient struct method SyncPush (line 90) | func (c *volumeClient) SyncPush(ctx context.Context, opts ...grpc.Call... method SyncPull (line 103) | func (c *volumeClient) SyncPull(ctx context.Context, in *SyncManifest,... method ReadFile (line 122) | func (c *volumeClient) ReadFile(ctx context.Context, in *FSReadRequest... method WriteFile (line 141) | func (c *volumeClient) WriteFile(ctx context.Context, opts ...grpc.Cal... method Stat (line 154) | func (c *volumeClient) Stat(ctx context.Context, in *FSRequest, opts .... method ListDir (line 164) | func (c *volumeClient) ListDir(ctx context.Context, in *FSRequest, opt... method Remove (line 174) | func (c *volumeClient) Remove(ctx context.Context, in *FSRemoveRequest... method Rename (line 184) | func (c *volumeClient) Rename(ctx context.Context, in *FSRenameRequest... method MkdirAll (line 194) | func (c *volumeClient) MkdirAll(ctx context.Context, in *FSRequest, op... method Abs (line 204) | func (c *volumeClient) Abs(ctx context.Context, in *FSRequest, opts ..... method Copy (line 214) | func (c *volumeClient) Copy(ctx context.Context, in *FSCopyRequest, op... method Zip (line 224) | func (c *volumeClient) Zip(ctx context.Context, in *ArchiveRequest, op... method Unzip (line 234) | func (c *volumeClient) Unzip(ctx context.Context, in *ArchiveRequest, ... method Gzip (line 244) | func (c *volumeClient) Gzip(ctx context.Context, in *ArchiveRequest, o... method Gunzip (line 254) | func (c *volumeClient) Gunzip(ctx context.Context, in *ArchiveRequest,... method Tar (line 264) | func (c *volumeClient) Tar(ctx context.Context, in *ArchiveRequest, op... method Untar (line 274) | func (c *volumeClient) Untar(ctx context.Context, in *ArchiveRequest, ... method Tgz (line 284) | func (c *volumeClient) Tgz(ctx context.Context, in *ArchiveRequest, op... method Untgz (line 294) | func (c *volumeClient) Untgz(ctx context.Context, in *ArchiveRequest, ... function NewVolumeClient (line 86) | func NewVolumeClient(cc grpc.ClientConnInterface) VolumeClient { type VolumeServer (line 311) | type VolumeServer interface type UnimplementedVolumeServer (line 349) | type UnimplementedVolumeServer struct method SyncPush (line 351) | func (UnimplementedVolumeServer) SyncPush(grpc.BidiStreamingServer[Syn... method SyncPull (line 354) | func (UnimplementedVolumeServer) SyncPull(*SyncManifest, grpc.ServerSt... method ReadFile (line 357) | func (UnimplementedVolumeServer) ReadFile(*FSReadRequest, grpc.ServerS... method WriteFile (line 360) | func (UnimplementedVolumeServer) WriteFile(grpc.ClientStreamingServer[... method Stat (line 363) | func (UnimplementedVolumeServer) Stat(context.Context, *FSRequest) (*F... method ListDir (line 366) | func (UnimplementedVolumeServer) ListDir(context.Context, *FSRequest) ... method Remove (line 369) | func (UnimplementedVolumeServer) Remove(context.Context, *FSRemoveRequ... method Rename (line 372) | func (UnimplementedVolumeServer) Rename(context.Context, *FSRenameRequ... method MkdirAll (line 375) | func (UnimplementedVolumeServer) MkdirAll(context.Context, *FSRequest)... method Abs (line 378) | func (UnimplementedVolumeServer) Abs(context.Context, *FSRequest) (*FS... method Copy (line 381) | func (UnimplementedVolumeServer) Copy(context.Context, *FSCopyRequest)... method Zip (line 384) | func (UnimplementedVolumeServer) Zip(context.Context, *ArchiveRequest)... method Unzip (line 387) | func (UnimplementedVolumeServer) Unzip(context.Context, *ArchiveReques... method Gzip (line 390) | func (UnimplementedVolumeServer) Gzip(context.Context, *ArchiveRequest... method Gunzip (line 393) | func (UnimplementedVolumeServer) Gunzip(context.Context, *ArchiveReque... method Tar (line 396) | func (UnimplementedVolumeServer) Tar(context.Context, *ArchiveRequest)... method Untar (line 399) | func (UnimplementedVolumeServer) Untar(context.Context, *ArchiveReques... method Tgz (line 402) | func (UnimplementedVolumeServer) Tgz(context.Context, *ArchiveRequest)... method Untgz (line 405) | func (UnimplementedVolumeServer) Untgz(context.Context, *ArchiveReques... method mustEmbedUnimplementedVolumeServer (line 408) | func (UnimplementedVolumeServer) mustEmbedUnimplementedVolumeServer() {} method testEmbeddedByValue (line 409) | func (UnimplementedVolumeServer) testEmbeddedByValue() {} type UnsafeVolumeServer (line 414) | type UnsafeVolumeServer interface function RegisterVolumeServer (line 418) | func RegisterVolumeServer(s grpc.ServiceRegistrar, srv VolumeServer) { function _Volume_SyncPush_Handler (line 429) | func _Volume_SyncPush_Handler(srv interface{}, stream grpc.ServerStream)... function _Volume_SyncPull_Handler (line 436) | func _Volume_SyncPull_Handler(srv interface{}, stream grpc.ServerStream)... function _Volume_ReadFile_Handler (line 447) | func _Volume_ReadFile_Handler(srv interface{}, stream grpc.ServerStream)... function _Volume_WriteFile_Handler (line 458) | func _Volume_WriteFile_Handler(srv interface{}, stream grpc.ServerStream... function _Volume_Stat_Handler (line 465) | func _Volume_Stat_Handler(srv interface{}, ctx context.Context, dec func... function _Volume_ListDir_Handler (line 483) | func _Volume_ListDir_Handler(srv interface{}, ctx context.Context, dec f... function _Volume_Remove_Handler (line 501) | func _Volume_Remove_Handler(srv interface{}, ctx context.Context, dec fu... function _Volume_Rename_Handler (line 519) | func _Volume_Rename_Handler(srv interface{}, ctx context.Context, dec fu... function _Volume_MkdirAll_Handler (line 537) | func _Volume_MkdirAll_Handler(srv interface{}, ctx context.Context, dec ... function _Volume_Abs_Handler (line 555) | func _Volume_Abs_Handler(srv interface{}, ctx context.Context, dec func(... function _Volume_Copy_Handler (line 573) | func _Volume_Copy_Handler(srv interface{}, ctx context.Context, dec func... function _Volume_Zip_Handler (line 591) | func _Volume_Zip_Handler(srv interface{}, ctx context.Context, dec func(... function _Volume_Unzip_Handler (line 609) | func _Volume_Unzip_Handler(srv interface{}, ctx context.Context, dec fun... function _Volume_Gzip_Handler (line 627) | func _Volume_Gzip_Handler(srv interface{}, ctx context.Context, dec func... function _Volume_Gunzip_Handler (line 645) | func _Volume_Gunzip_Handler(srv interface{}, ctx context.Context, dec fu... function _Volume_Tar_Handler (line 663) | func _Volume_Tar_Handler(srv interface{}, ctx context.Context, dec func(... function _Volume_Untar_Handler (line 681) | func _Volume_Untar_Handler(srv interface{}, ctx context.Context, dec fun... function _Volume_Tgz_Handler (line 699) | func _Volume_Tgz_Handler(srv interface{}, ctx context.Context, dec func(... function _Volume_Untgz_Handler (line 717) | func _Volume_Untgz_Handler(srv interface{}, ctx context.Context, dec fun... FILE: tai/volume/remote.go constant grpcReadChunk (line 19) | grpcReadChunk = 64 * 1024 constant grpcSyncChunk (line 20) | grpcSyncChunk = 256 * 1024 type remoteStorage (line 23) | type remoteStorage struct method ReadFile (line 36) | func (r *remoteStorage) ReadFile(ctx context.Context, sessionID, path ... method WriteFile (line 65) | func (r *remoteStorage) WriteFile(ctx context.Context, sessionID, path... method Stat (line 100) | func (r *remoteStorage) Stat(ctx context.Context, sessionID, path stri... method ListDir (line 111) | func (r *remoteStorage) ListDir(ctx context.Context, sessionID, path s... method Remove (line 126) | func (r *remoteStorage) Remove(ctx context.Context, sessionID, path st... method Rename (line 141) | func (r *remoteStorage) Rename(ctx context.Context, sessionID, oldPath... method MkdirAll (line 156) | func (r *remoteStorage) MkdirAll(ctx context.Context, sessionID, path ... method Abs (line 170) | func (r *remoteStorage) Abs(ctx context.Context, sessionID, path strin... method SyncPush (line 182) | func (r *remoteStorage) SyncPush(ctx context.Context, sessionID, local... method SyncPull (line 322) | func (r *remoteStorage) SyncPull(ctx context.Context, sessionID, local... method Zip (line 448) | func (r *remoteStorage) Zip(ctx context.Context, sessionID, src, dst s... method Unzip (line 458) | func (r *remoteStorage) Unzip(ctx context.Context, sessionID, src, dst... method Gzip (line 468) | func (r *remoteStorage) Gzip(ctx context.Context, sessionID, src, dst ... method Gunzip (line 478) | func (r *remoteStorage) Gunzip(ctx context.Context, sessionID, src, ds... method Tar (line 488) | func (r *remoteStorage) Tar(ctx context.Context, sessionID, src, dst s... method Untar (line 498) | func (r *remoteStorage) Untar(ctx context.Context, sessionID, src, dst... method Tgz (line 508) | func (r *remoteStorage) Tgz(ctx context.Context, sessionID, src, dst s... method Untgz (line 518) | func (r *remoteStorage) Untgz(ctx context.Context, sessionID, src, dst... method Copy (line 528) | func (r *remoteStorage) Copy(ctx context.Context, sessionID, src, dst ... method Close (line 549) | func (r *remoteStorage) Close() error { function NewRemote (line 29) | func NewRemote(conn *grpc.ClientConn) Volume { function pbToFileInfo (line 553) | func pbToFileInfo(p *pb.FileInfo) *FileInfo { function compress (line 563) | func compress(src []byte) ([]byte, error) { function decompress (line 576) | func decompress(src []byte) ([]byte, error) { FILE: tai/volume/volume.go type Volume (line 12) | type Volume interface type FileInfo (line 39) | type FileInfo struct type SyncResult (line 48) | type SyncResult struct type ArchiveResult (line 55) | type ArchiveResult struct type SyncOption (line 61) | type SyncOption type SyncConfig (line 64) | type SyncConfig struct function WithForceFull (line 71) | func WithForceFull() SyncOption { function WithExcludes (line 76) | func WithExcludes(patterns ...string) SyncOption { function WithRemotePath (line 81) | func WithRemotePath(path string) SyncOption { function ApplySyncOpts (line 86) | func ApplySyncOpts(opts []SyncOption) SyncConfig { FILE: tai/volume/volume_test.go function taiTestGRPC (line 13) | func taiTestGRPC() string { function TestLocalVolume (line 28) | func TestLocalVolume(t *testing.T) { function TestLocalSyncPush (line 117) | func TestLocalSyncPush(t *testing.T) { function TestLocalSyncPull (line 147) | func TestLocalSyncPull(t *testing.T) { function TestLocalSyncPushSkipsUnchanged (line 177) | func TestLocalSyncPushSkipsUnchanged(t *testing.T) { function TestRemoteVolume (line 200) | func TestRemoteVolume(t *testing.T) { function TestLocalAbs_Dot (line 597) | func TestLocalAbs_Dot(t *testing.T) { function TestLocalAbs_RelativePath (line 613) | func TestLocalAbs_RelativePath(t *testing.T) { function TestLocalAbs_PathTraversal (line 629) | func TestLocalAbs_PathTraversal(t *testing.T) { function TestLocalPathTraversal (line 640) | func TestLocalPathTraversal(t *testing.T) { function TestLocalReadFileNotExist (line 675) | func TestLocalReadFileNotExist(t *testing.T) { function TestLocalStatNotExist (line 686) | func TestLocalStatNotExist(t *testing.T) { function TestLocalListDirNotExist (line 697) | func TestLocalListDirNotExist(t *testing.T) { function TestLocalRemoveNotExist (line 708) | func TestLocalRemoveNotExist(t *testing.T) { function TestLocalSyncPullNoSource (line 720) | func TestLocalSyncPullNoSource(t *testing.T) { function TestLocalSyncPushWithDirs (line 735) | func TestLocalSyncPushWithDirs(t *testing.T) { function TestCompressDecompress (line 754) | func TestCompressDecompress(t *testing.T) { function TestCompressLargeData (line 769) | func TestCompressLargeData(t *testing.T) { function TestDecompressInvalid (line 787) | func TestDecompressInvalid(t *testing.T) { function TestCompressEmpty (line 794) | func TestCompressEmpty(t *testing.T) { function TestRemoteRemoveError (line 808) | func TestRemoteRemoveError(t *testing.T) { function TestRemoteRenameError (line 824) | func TestRemoteRenameError(t *testing.T) { function TestRemoteMkdirAllAndStatError (line 840) | func TestRemoteMkdirAllAndStatError(t *testing.T) { function TestRemoteReadFileNotFound (line 856) | func TestRemoteReadFileNotFound(t *testing.T) { function TestRemoteListDirNotFound (line 872) | func TestRemoteListDirNotFound(t *testing.T) { function TestLocalSyncPullIncrementalSkip (line 888) | func TestLocalSyncPullIncrementalSkip(t *testing.T) { function TestLocalSyncPullWithExcludes (line 926) | func TestLocalSyncPullWithExcludes(t *testing.T) { function TestLocalSyncPushIncremental (line 947) | func TestLocalSyncPushIncremental(t *testing.T) { function TestLocalWriteFileNested (line 975) | func TestLocalWriteFileNested(t *testing.T) { function TestLocalSyncPushExcludeDir (line 994) | func TestLocalSyncPushExcludeDir(t *testing.T) { function TestLocalSyncPullForceFull (line 1013) | func TestLocalSyncPullForceFull(t *testing.T) { function TestLocalSyncPushWithRemotePath (line 1034) | func TestLocalSyncPushWithRemotePath(t *testing.T) { function TestLocalSyncPullWithRemotePath (line 1071) | func TestLocalSyncPullWithRemotePath(t *testing.T) { function TestLocalZipUnzip (line 1100) | func TestLocalZipUnzip(t *testing.T) { function TestLocalZipExcludes (line 1139) | func TestLocalZipExcludes(t *testing.T) { function TestLocalGzipGunzip (line 1176) | func TestLocalGzipGunzip(t *testing.T) { function TestLocalGzipRejectsDir (line 1213) | func TestLocalGzipRejectsDir(t *testing.T) { function TestLocalTarUntar (line 1227) | func TestLocalTarUntar(t *testing.T) { function TestLocalTarExcludes (line 1263) | func TestLocalTarExcludes(t *testing.T) { function TestLocalTgzUntgz (line 1283) | func TestLocalTgzUntgz(t *testing.T) { function TestLocalSyncPushForceFull (line 1318) | func TestLocalSyncPushForceFull(t *testing.T) { function TestLocalSyncExcludes (line 1339) | func TestLocalSyncExcludes(t *testing.T) { function TestLocalCopyFile (line 1363) | func TestLocalCopyFile(t *testing.T) { function TestLocalCopyDir (line 1392) | func TestLocalCopyDir(t *testing.T) { function TestLocalCopyExcludes (line 1428) | func TestLocalCopyExcludes(t *testing.T) { function TestLocalCopySkipsUnchanged (line 1457) | func TestLocalCopySkipsUnchanged(t *testing.T) { function TestLocalCopyForceFull (line 1483) | func TestLocalCopyForceFull(t *testing.T) { function TestLocalCopyNotExist (line 1503) | func TestLocalCopyNotExist(t *testing.T) { function TestLocalCopyPathTraversal (line 1514) | func TestLocalCopyPathTraversal(t *testing.T) { function TestRemoteCopy (line 1530) | func TestRemoteCopy(t *testing.T) { function TestRemoteCopyDir (line 1566) | func TestRemoteCopyDir(t *testing.T) { FILE: tai/workspace/copy.go method Copy (line 18) | func (w *workspaceFS) Copy(src, dst string, opts ...volume.SyncOption) (... method pushSingleFile (line 72) | func (w *workspaceFS) pushSingleFile(ctx context.Context, hostPath, dstP... method pullSingleFile (line 91) | func (w *workspaceFS) pullSingleFile(ctx context.Context, srcPath, hostP... function copyLocalToLocal (line 105) | func copyLocalToLocal(src, dst string, excludes []string) error { function sliceClone (line 154) | func sliceClone(opts []volume.SyncOption) []volume.SyncOption { FILE: tai/workspace/uri.go type hostURI (line 11) | type hostURI struct function parseHostURI (line 22) | func parseHostURI(raw string) hostURI { function resolveAbsHostPath (line 36) | func resolveAbsHostPath(u hostURI) (string, error) { FILE: tai/workspace/workspace.go type FS (line 16) | type FS interface function New (line 40) | func New(vol volume.Volume, sessionID string) FS { type workspaceFS (line 44) | type workspaceFS struct method Open (line 49) | func (w *workspaceFS) Open(name string) (fs.File, error) { method Stat (line 68) | func (w *workspaceFS) Stat(name string) (fs.FileInfo, error) { method ReadFile (line 79) | func (w *workspaceFS) ReadFile(name string) ([]byte, error) { method ReadDir (line 90) | func (w *workspaceFS) ReadDir(name string) ([]fs.DirEntry, error) { method WriteFile (line 105) | func (w *workspaceFS) WriteFile(name string, data []byte, perm os.File... method Remove (line 109) | func (w *workspaceFS) Remove(name string) error { method RemoveAll (line 113) | func (w *workspaceFS) RemoveAll(name string) error { method Rename (line 117) | func (w *workspaceFS) Rename(oldname, newname string) error { method MkdirAll (line 121) | func (w *workspaceFS) MkdirAll(name string, _ os.FileMode) error { method GetRoot (line 125) | func (w *workspaceFS) GetRoot() (string, error) { method Close (line 129) | func (w *workspaceFS) Close() error { return nil } type fileInfoAdapter (line 133) | type fileInfoAdapter struct method Name (line 158) | func (f *fileInfoAdapter) Name() string { return f.name } method Size (line 159) | func (f *fileInfoAdapter) Size() int64 { return f.size } method Mode (line 160) | func (f *fileInfoAdapter) Mode() fs.FileMode { return f.mode } method ModTime (line 161) | func (f *fileInfoAdapter) ModTime() time.Time { return f.mtime } method IsDir (line 162) | func (f *fileInfoAdapter) IsDir() bool { return f.isDir } method Sys (line 163) | func (f *fileInfoAdapter) Sys() any { return nil } function toFSInfo (line 141) | func toFSInfo(name string, vi *volume.FileInfo) *fileInfoAdapter { type dirEntry (line 167) | type dirEntry struct method Name (line 171) | func (d *dirEntry) Name() string { return d.info.Path } method IsDir (line 172) | func (d *dirEntry) IsDir() bool { return d.info.IsDir } method Type (line 173) | func (d *dirEntry) Type() fs.FileMode { return d.info.Mode.Ty... method Info (line 174) | func (d *dirEntry) Info() (fs.FileInfo, error) { return toFSInfo(d.inf... type memFile (line 178) | type memFile struct method Stat (line 185) | func (f *memFile) Stat() (fs.FileInfo, error) { return toFSInfo(f.name... method Read (line 186) | func (f *memFile) Read(b []byte) (int, error) { method Close (line 194) | func (f *memFile) Close() error { return nil } type dirFile (line 198) | type dirFile struct method Stat (line 204) | func (d *dirFile) Stat() (fs.FileInfo, error) { return toFSInfo(d.name... method Read (line 205) | func (d *dirFile) Read([]byte) (int, error) { method Close (line 208) | func (d *dirFile) Close() error { return nil } FILE: tai/workspace/workspace_test.go function TestWorkspaceFS (line 11) | func TestWorkspaceFS(t *testing.T) { function TestGetRoot (line 213) | func TestGetRoot(t *testing.T) { FILE: tai/yao.go function NewYaoClientFromEnv (line 16) | func NewYaoClientFromEnv() (*YaoClient, error) { function DialYao (line 21) | func DialYao(addr string, tm *TokenManager) (*YaoClient, error) { function Run (line 28) | func Run(ctx context.Context, c *YaoClient, process string, args []byte,... function Shell (line 33) | func Shell(ctx context.Context, c *YaoClient, command string, args []str... FILE: task/task.go function Load (line 15) | func Load(cfg config.Config) error { function Start (line 46) | func Start() { function Stop (line 54) | func Stop() { FILE: task/task_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function TestStartStop (line 20) | func TestStartStop(t *testing.T) { function check (line 29) | func check(t *testing.T) { FILE: test/request.go type Request (line 19) | type Request struct method Token (line 47) | func (r *Request) Token(token string) *Request { method Header (line 53) | func (r *Request) Header(key string, value string) *Request { method Param (line 59) | func (r *Request) Param(key string, value string) *Request { method Data (line 65) | func (r *Request) Data(data map[string]interface{}) *Request { method Route (line 71) | func (r *Request) Route(route string) *Request { method Get (line 77) | func (r *Request) Get() (*Response, error) { method Post (line 83) | func (r *Request) Post() (*Response, error) { method Send (line 89) | func (r *Request) Send() (*Response, error) { type Response (line 30) | type Response struct method Map (line 152) | func (p *Response) Map() (map[string]interface{}, error) { method Int (line 162) | func (p *Response) Int() (int, error) { method Status (line 172) | func (p *Response) Status() int { method Body (line 177) | func (p *Response) Body() string { method To (line 182) | func (p *Response) To(v interface{}) error { function NewRequest (line 36) | func NewRequest(port int) *Request { function AutoLogin (line 191) | func AutoLogin(id int) (map[string]interface{}, error) { FILE: test/utils.go function loadSystemStores (line 244) | func loadSystemStores(t *testing.T, cfg config.Config) error { function replaceVars (line 278) | func replaceVars(jsonStr string, vars map[string]string) string { function loadSystemModels (line 294) | func loadSystemModels(t *testing.T, cfg config.Config) error { type PrepareOption (line 344) | type PrepareOption struct function Prepare (line 357) | func Prepare(t *testing.T, cfg config.Config, opts ...interface{}) { function Clean (line 504) | func Clean() { function Start (line 515) | func Start(t *testing.T, guards map[string]gin.HandlerFunc, cfg config.C... function Stop (line 535) | func Stop() { function Port (line 546) | func Port(t *testing.T) int { function dbclose (line 557) | func dbclose() { function dbconnect (line 568) | func dbconnect(t *testing.T, cfg config.Config) { function startRuntime (line 580) | func startRuntime(t *testing.T, cfg config.Config) { function load (line 587) | func load(t *testing.T, cfg config.Config) { function loadFS (line 598) | func loadFS(t *testing.T, cfg config.Config) { function loadConnector (line 605) | func loadConnector(t *testing.T, cfg config.Config) { function loadMCP (line 616) | func loadMCP(t *testing.T, cfg config.Config) { function loadScript (line 637) | func loadScript(t *testing.T, cfg config.Config) { function loadModel (line 652) | func loadModel(t *testing.T, cfg config.Config) { function loadStore (line 677) | func loadStore(t *testing.T, cfg config.Config) { function loadMessenger (line 725) | func loadMessenger(t *testing.T, cfg config.Config) { function loadQuery (line 785) | func loadQuery(t *testing.T, cfg config.Config) { function GuardBearerJWT (line 802) | func GuardBearerJWT(c *gin.Context) { function LoadAgentTestScripts (line 831) | func LoadAgentTestScripts(t *testing.T, agentRelPath string) []string { FILE: trace/event_listener.go type traceUpdateListener (line 13) | type traceUpdateListener struct method OnEvent (line 15) | func (l *traceUpdateListener) OnEvent(ev *eventTypes.Event) {} method Shutdown (line 17) | func (l *traceUpdateListener) Shutdown(ctx context.Context) error { function init (line 21) | func init() { FILE: trace/handler.go type traceHandler (line 12) | type traceHandler struct method Handle (line 14) | func (h *traceHandler) Handle(ctx context.Context, ev *eventTypes.Even... method Shutdown (line 18) | func (h *traceHandler) Shutdown(ctx context.Context) error { function init (line 22) | func init() { FILE: trace/jsapi/jsapi.go function init (line 11) | func init() { function ExportFunction (line 29) | func ExportFunction(iso *v8go.Isolate) *v8go.FunctionTemplate { function traceConstructor (line 35) | func traceConstructor(info *v8go.FunctionCallbackInfo) *v8go.Value { function ExportLoadFunction (line 62) | func ExportLoadFunction(iso *v8go.Isolate) *v8go.FunctionTemplate { function traceLoadFunction (line 68) | func traceLoadFunction(info *v8go.FunctionCallbackInfo) *v8go.Value { FILE: trace/jsapi/jsapi_test.go function TestTraceNew (line 18) | func TestTraceNew(t *testing.T) { function testTraceNewEmbed (line 45) | func testTraceNewEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testTraceNewFunction (line 49) | func testTraceNewFunction(info *v8go.FunctionCallbackInfo) *v8go.Value { function TestTraceAddNode (line 85) | func TestTraceAddNode(t *testing.T) { function testTraceAddNodeEmbed (line 111) | func testTraceAddNodeEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testTraceAddNodeFunction (line 115) | func testTraceAddNodeFunction(info *v8go.FunctionCallbackInfo) *v8go.Val... function TestTraceNodeComplete (line 153) | func TestTraceNodeComplete(t *testing.T) { function TestTraceSpace (line 186) | func TestTraceSpace(t *testing.T) { function testTraceSpaceEmbed (line 221) | func testTraceSpaceEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testTraceSpaceFunction (line 225) | func testTraceSpaceFunction(info *v8go.FunctionCallbackInfo) *v8go.Value { function TestTraceConcurrent (line 279) | func TestTraceConcurrent(t *testing.T) { function TestTraceParallel (line 349) | func TestTraceParallel(t *testing.T) { function testTraceParallelEmbed (line 388) | func testTraceParallelEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function testTraceParallelFunction (line 392) | func testTraceParallelFunction(info *v8go.FunctionCallbackInfo) *v8go.Va... function TestTraceMarkComplete (line 419) | func TestTraceMarkComplete(t *testing.T) { function TestTracePassAsParameter (line 452) | func TestTracePassAsParameter(t *testing.T) { function processTraceEmbed (line 497) | func processTraceEmbed(iso *v8go.Isolate) *v8go.FunctionTemplate { function processTraceFunction (line 501) | func processTraceFunction(info *v8go.FunctionCallbackInfo) *v8go.Value { function getMapKeys (line 538) | func getMapKeys(m map[string]interface{}) []string { FILE: trace/jsapi/node.go function parseTraceInput (line 13) | func parseTraceInput(obj *v8go.Object, ctx *v8go.Context) (types.TraceIn... function parseTraceNodeOption (line 21) | func parseTraceNodeOption(obj *v8go.Object) types.TraceNodeOption { function NewNodeObject (line 43) | func NewNodeObject(v8ctx *v8go.Context, node types.Node) (*v8go.Value, e... function nodeInfoMethod (line 72) | func nodeInfoMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionTe... function nodeDebugMethod (line 82) | func nodeDebugMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionT... function nodeErrorMethod (line 92) | func nodeErrorMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionT... function nodeWarnMethod (line 102) | func nodeWarnMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionTe... function nodeAddMethod (line 112) | func nodeAddMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionTem... function nodeParallelMethod (line 151) | func nodeParallelMethod(iso *v8go.Isolate, node types.Node) *v8go.Functi... function nodeSetOutputMethod (line 230) | func nodeSetOutputMethod(iso *v8go.Isolate, node types.Node) *v8go.Funct... function nodeSetMetadataMethod (line 252) | func nodeSetMetadataMethod(iso *v8go.Isolate, node types.Node) *v8go.Fun... function nodeCompleteMethod (line 275) | func nodeCompleteMethod(iso *v8go.Isolate, node types.Node) *v8go.Functi... function nodeFailMethod (line 299) | func nodeFailMethod(iso *v8go.Isolate, node types.Node) *v8go.FunctionTe... function NewNoOpNodeObject (line 319) | func NewNoOpNodeObject(v8ctx *v8go.Context) (*v8go.Value, error) { FILE: trace/jsapi/space.go function NewSpaceObject (line 11) | func NewSpaceObject(v8ctx *v8go.Context, manager types.Manager, space *t... function spaceSetMethod (line 36) | func spaceSetMethod(iso *v8go.Isolate, manager types.Manager, spaceID st... function spaceGetMethod (line 59) | func spaceGetMethod(iso *v8go.Isolate, manager types.Manager, spaceID st... function spaceHasMethod (line 83) | func spaceHasMethod(iso *v8go.Isolate, manager types.Manager, spaceID st... function spaceDeleteMethod (line 100) | func spaceDeleteMethod(iso *v8go.Isolate, manager types.Manager, spaceID... function spaceClearMethod (line 118) | func spaceClearMethod(iso *v8go.Isolate, manager types.Manager, spaceID ... function spaceKeysMethod (line 130) | func spaceKeysMethod(iso *v8go.Isolate, manager types.Manager, spaceID s... FILE: trace/jsapi/trace.go function init (line 15) | func init() { function NewTraceObject (line 21) | func NewTraceObject(v8ctx *v8go.Context, traceID string, manager types.M... function TraceNew (line 86) | func TraceNew(v8ctx *v8go.Context, options map[string]interface{}) (*v8g... function TraceLoad (line 142) | func TraceLoad(v8ctx *v8go.Context, traceID string) (*v8go.Value, error) { function traceGoRelease (line 154) | func traceGoRelease(iso *v8go.Isolate, traceID string) *v8go.FunctionTem... function traceAddMethod (line 177) | func traceAddMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Func... function traceParallelMethod (line 225) | func traceParallelMethod(iso *v8go.Isolate, manager types.Manager) *v8go... function traceInfoMethod (line 297) | func traceInfoMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Fun... function traceDebugMethod (line 307) | func traceDebugMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Fu... function traceErrorMethod (line 317) | func traceErrorMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Fu... function traceWarnMethod (line 327) | func traceWarnMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Fun... function traceSetOutputMethod (line 337) | func traceSetOutputMethod(iso *v8go.Isolate, manager types.Manager) *v8g... function traceSetMetadataMethod (line 359) | func traceSetMetadataMethod(iso *v8go.Isolate, manager types.Manager) *v... function traceCompleteMethod (line 382) | func traceCompleteMethod(iso *v8go.Isolate, manager types.Manager) *v8go... function traceFailMethod (line 406) | func traceFailMethod(iso *v8go.Isolate, manager types.Manager) *v8go.Fun... function traceMarkCompleteMethod (line 424) | func traceMarkCompleteMethod(iso *v8go.Isolate, manager types.Manager) *... function traceCreateSpaceMethod (line 436) | func traceCreateSpaceMethod(iso *v8go.Isolate, manager types.Manager) *v... function traceGetSpaceMethod (line 477) | func traceGetSpaceMethod(iso *v8go.Isolate, manager types.Manager) *v8go... function traceIsCompleteMethod (line 506) | func traceIsCompleteMethod(iso *v8go.Isolate, manager types.Manager) *v8... function NewNoOpTraceObject (line 516) | func NewNoOpTraceObject(v8ctx *v8go.Context) (*v8go.Value, error) { FILE: trace/local/driver.go type persistNode (line 21) | type persistNode struct function toPersistNode (line 40) | func toPersistNode(node *types.TraceNode) *persistNode { function fromPersistNode (line 73) | func fromPersistNode(pn *persistNode) *types.TraceNode { type Driver (line 100) | type Driver struct method getTracePath (line 129) | func (d *Driver) getTracePath(traceID string) string { method ensureTraceDir (line 140) | func (d *Driver) ensureTraceDir(traceID string) error { method SaveNode (line 146) | func (d *Driver) SaveNode(ctx context.Context, traceID string, node *t... method LoadNode (line 184) | func (d *Driver) LoadNode(ctx context.Context, traceID string, nodeID ... method LoadTrace (line 234) | func (d *Driver) LoadTrace(ctx context.Context, traceID string) (*type... method SaveSpace (line 294) | func (d *Driver) SaveSpace(ctx context.Context, traceID string, space ... method LoadSpace (line 329) | func (d *Driver) LoadSpace(ctx context.Context, traceID string, spaceI... method DeleteSpace (line 360) | func (d *Driver) DeleteSpace(ctx context.Context, traceID string, spac... method ListSpaces (line 377) | func (d *Driver) ListSpaces(ctx context.Context, traceID string) ([]st... method getSpaceDataPath (line 401) | func (d *Driver) getSpaceDataPath(traceID, spaceID string) string { method loadSpaceData (line 406) | func (d *Driver) loadSpaceData(traceID, spaceID string) (map[string]an... method saveSpaceData (line 426) | func (d *Driver) saveSpaceData(traceID, spaceID string, kvData map[str... method SetSpaceKey (line 449) | func (d *Driver) SetSpaceKey(ctx context.Context, traceID, spaceID, ke... method GetSpaceKey (line 464) | func (d *Driver) GetSpaceKey(ctx context.Context, traceID, spaceID, ke... method HasSpaceKey (line 479) | func (d *Driver) HasSpaceKey(ctx context.Context, traceID, spaceID, ke... method DeleteSpaceKey (line 490) | func (d *Driver) DeleteSpaceKey(ctx context.Context, traceID, spaceID,... method ClearSpaceKeys (line 502) | func (d *Driver) ClearSpaceKeys(ctx context.Context, traceID, spaceID ... method ListSpaceKeys (line 507) | func (d *Driver) ListSpaceKeys(ctx context.Context, traceID, spaceID s... method SaveLog (line 522) | func (d *Driver) SaveLog(ctx context.Context, traceID string, log *typ... method LoadLogs (line 566) | func (d *Driver) LoadLogs(ctx context.Context, traceID string, nodeID ... method loadLogFile (line 616) | func (d *Driver) loadLogFile(filePath string) ([]*types.TraceLog, erro... method SaveTraceInfo (line 646) | func (d *Driver) SaveTraceInfo(ctx context.Context, info *types.TraceI... method loadTraceInfoDirect (line 676) | func (d *Driver) loadTraceInfoDirect(traceID string) (*types.TraceInfo... method LoadTraceInfo (line 696) | func (d *Driver) LoadTraceInfo(ctx context.Context, traceID string) (*... method DeleteTrace (line 712) | func (d *Driver) DeleteTrace(ctx context.Context, traceID string) error { method SaveUpdate (line 723) | func (d *Driver) SaveUpdate(ctx context.Context, traceID string, updat... method LoadUpdates (line 760) | func (d *Driver) LoadUpdates(ctx context.Context, traceID string, sinc... method Archive (line 797) | func (d *Driver) Archive(ctx context.Context, traceID string) error { method IsArchived (line 907) | func (d *Driver) IsArchived(ctx context.Context, traceID string) (bool... method unarchive (line 926) | func (d *Driver) unarchive(ctx context.Context, traceID string) error { method Close (line 996) | func (d *Driver) Close() error { function New (line 105) | func New(basePath string) (*Driver, error) { FILE: trace/manager.go type manager (line 18) | type manager struct method addUpdateAndBroadcast (line 85) | func (m *manager) addUpdateAndBroadcast(update *types.TraceUpdate) { method checkContext (line 100) | func (m *manager) checkContext() error { method Add (line 105) | func (m *manager) Add(input types.TraceInput, option types.TraceNodeOp... method Parallel (line 220) | func (m *manager) Parallel(parallelInputs []types.TraceParallelInput) ... method Info (line 323) | func (m *manager) Info(message string, args ...any) types.Manager { method Debug (line 329) | func (m *manager) Debug(message string, args ...any) types.Manager { method Error (line 335) | func (m *manager) Error(message string, args ...any) types.Manager { method Warn (line 341) | func (m *manager) Warn(message string, args ...any) types.Manager { method log (line 347) | func (m *manager) log(level string, message string, args ...any) { method SetOutput (line 377) | func (m *manager) SetOutput(output types.TraceOutput) error { method SetMetadata (line 404) | func (m *manager) SetMetadata(key string, value any) error { method Complete (line 435) | func (m *manager) Complete(output ...types.TraceOutput) error { method Fail (line 485) | func (m *manager) Fail(err error) error { method GetRootNode (line 522) | func (m *manager) GetRootNode() (*types.TraceNode, error) { method GetNode (line 527) | func (m *manager) GetNode(id string) (*types.TraceNode, error) { method GetCurrentNodes (line 532) | func (m *manager) GetCurrentNodes() ([]*types.TraceNode, error) { method MarkComplete (line 537) | func (m *manager) MarkComplete() error { method CreateSpace (line 577) | func (m *manager) CreateSpace(option types.TraceSpaceOption) (*types.T... method GetSpace (line 613) | func (m *manager) GetSpace(id string) (*types.TraceSpace, error) { method HasSpace (line 634) | func (m *manager) HasSpace(id string) bool { method DeleteSpace (line 646) | func (m *manager) DeleteSpace(id string) error { method ListSpaces (line 674) | func (m *manager) ListSpaces() []*types.TraceSpace { method SetSpaceValue (line 695) | func (m *manager) SetSpaceValue(spaceID, key string, value any) error { method GetSpaceValue (line 740) | func (m *manager) GetSpaceValue(spaceID, key string) (any, error) { method HasSpaceValue (line 751) | func (m *manager) HasSpaceValue(spaceID, key string) bool { method DeleteSpaceValue (line 761) | func (m *manager) DeleteSpaceValue(spaceID, key string) error { method ClearSpaceValues (line 790) | func (m *manager) ClearSpaceValues(spaceID string) error { method ListSpaceKeys (line 819) | func (m *manager) ListSpaceKeys(spaceID string) []string { method IsComplete (line 830) | func (m *manager) IsComplete() bool { method GetEvents (line 836) | func (m *manager) GetEvents(since int64) ([]*types.TraceUpdate, error) { method GetTraceInfo (line 844) | func (m *manager) GetTraceInfo() (*types.TraceInfo, error) { method GetAllNodes (line 852) | func (m *manager) GetAllNodes() ([]*types.TraceNode, error) { method GetNodeByID (line 885) | func (m *manager) GetNodeByID(nodeID string) (*types.TraceNode, error) { method GetAllLogs (line 893) | func (m *manager) GetAllLogs() ([]*types.TraceLog, error) { method GetLogsByNode (line 901) | func (m *manager) GetLogsByNode(nodeID string) ([]*types.TraceLog, err... method GetAllSpaces (line 909) | func (m *manager) GetAllSpaces() ([]*types.TraceSpace, error) { method GetSpaceByID (line 936) | func (m *manager) GetSpaceByID(spaceID string) (*types.TraceSpaceData,... function NewManager (line 27) | func NewManager(ctx context.Context, traceID string, driver types.Driver... function genNodeID (line 79) | func genNodeID() string { FILE: trace/node.go type node (line 11) | type node struct method Info (line 17) | func (n *node) Info(message string, args ...any) types.Node { method Debug (line 23) | func (n *node) Debug(message string, args ...any) types.Node { method Error (line 29) | func (n *node) Error(message string, args ...any) types.Node { method Warn (line 35) | func (n *node) Warn(message string, args ...any) types.Node { method logWithBroadcast (line 41) | func (n *node) logWithBroadcast(level string, message string, args ...... method log (line 55) | func (n *node) log(level string, message string, args ...any) *types.T... method Add (line 69) | func (n *node) Add(input types.TraceInput, option types.TraceNodeOptio... method Parallel (line 104) | func (n *node) Parallel(parallelInputs []types.TraceParallelInput) ([]... method Join (line 144) | func (n *node) Join(nodes []*types.TraceNode, input types.TraceInput, ... method ID (line 181) | func (n *node) ID() string { method SetOutput (line 186) | func (n *node) SetOutput(output types.TraceOutput) error { method SetMetadata (line 193) | func (n *node) SetMetadata(key string, value any) error { method SetStatus (line 203) | func (n *node) SetStatus(status string) error { method Complete (line 211) | func (n *node) Complete(output ...types.TraceOutput) error { method complete (line 229) | func (n *node) complete(output ...types.TraceOutput) error { method Fail (line 244) | func (n *node) Fail(err error) error { method fail (line 265) | func (n *node) fail(err error) error { FILE: trace/space.go type space (line 12) | type space struct method ID (line 28) | func (s *space) ID() string { method Set (line 33) | func (s *space) Set(key string, value any) error { method Get (line 38) | func (s *space) Get(key string) (any, error) { method Has (line 43) | func (s *space) Has(key string) bool { method Delete (line 48) | func (s *space) Delete(key string) error { method Clear (line 53) | func (s *space) Clear() error { method Keys (line 58) | func (s *space) Keys() []string { function NewSpace (line 19) | func NewSpace(traceID string, data *types.TraceSpace, driver types.Drive... FILE: trace/state.go type managerState (line 12) | type managerState struct method stateSetRoot (line 21) | func (m *manager) stateSetRoot(node *types.TraceNode) { method stateGetRoot (line 27) | func (m *manager) stateGetRoot() *types.TraceNode { method stateSetCurrentNodes (line 33) | func (m *manager) stateSetCurrentNodes(nodes []*types.TraceNode) { method stateGetCurrentNodes (line 39) | func (m *manager) stateGetCurrentNodes() []*types.TraceNode { method stateUpdateRootAndCurrent (line 50) | func (m *manager) stateUpdateRootAndCurrent(root *types.TraceNode, curre... method stateGetSpace (line 57) | func (m *manager) stateGetSpace(id string) (*types.TraceSpace, bool) { method stateSetSpace (line 64) | func (m *manager) stateSetSpace(id string, space *types.TraceSpace) { method stateDeleteSpace (line 70) | func (m *manager) stateDeleteSpace(id string) { method stateGetAllSpaces (line 76) | func (m *manager) stateGetAllSpaces() []*types.TraceSpace { method stateSetTraceStatus (line 86) | func (m *manager) stateSetTraceStatus(status types.TraceStatus) { method stateGetTraceStatus (line 92) | func (m *manager) stateGetTraceStatus() types.TraceStatus { method stateMarkCompleted (line 98) | func (m *manager) stateMarkCompleted() bool { method stateIsCompleted (line 108) | func (m *manager) stateIsCompleted() bool { method stateAddUpdate (line 114) | func (m *manager) stateAddUpdate(update *types.TraceUpdate) { method stateGetUpdates (line 120) | func (m *manager) stateGetUpdates(since int64) []*types.TraceUpdate { method stateSetUpdates (line 132) | func (m *manager) stateSetUpdates(updates []*types.TraceUpdate) { method stateExecuteSpaceOp (line 140) | func (m *manager) stateExecuteSpaceOp(spaceID string, fn func() error) e... FILE: trace/store/driver.go type persistNode (line 20) | type persistNode struct function toPersistNode (line 39) | func toPersistNode(node *types.TraceNode) *persistNode { function fromPersistNode (line 72) | func fromPersistNode(pn *persistNode) *types.TraceNode { type Driver (line 99) | type Driver struct method getKey (line 132) | func (d *Driver) getKey(traceID string, parts ...string) string { method getKeyPrefix (line 138) | func (d *Driver) getKeyPrefix(traceID string) string { method getNodeKeyPrefix (line 142) | func (d *Driver) getNodeKeyPrefix(traceID string) string { method getTraceInfoKey (line 147) | func (d *Driver) getTraceInfoKey(traceID string) string { method getUpdatesKey (line 152) | func (d *Driver) getUpdatesKey(traceID string) string { method SaveNode (line 157) | func (d *Driver) SaveNode(ctx context.Context, traceID string, node *t... method LoadNode (line 185) | func (d *Driver) LoadNode(ctx context.Context, traceID string, nodeID ... method LoadTrace (line 236) | func (d *Driver) LoadTrace(ctx context.Context, traceID string) (*type... method SaveSpace (line 300) | func (d *Driver) SaveSpace(ctx context.Context, traceID string, space ... method LoadSpace (line 325) | func (d *Driver) LoadSpace(ctx context.Context, traceID string, spaceI... method DeleteSpace (line 358) | func (d *Driver) DeleteSpace(ctx context.Context, traceID string, spac... method ListSpaces (line 373) | func (d *Driver) ListSpaces(ctx context.Context, traceID string) ([]st... method getSpaceDataKey (line 400) | func (d *Driver) getSpaceDataKey(traceID, spaceID string) string { method loadSpaceData (line 405) | func (d *Driver) loadSpaceData(traceID, spaceID string) (map[string]an... method saveSpaceData (line 427) | func (d *Driver) saveSpaceData(traceID, spaceID string, kvData map[str... method SetSpaceKey (line 443) | func (d *Driver) SetSpaceKey(ctx context.Context, traceID, spaceID, ke... method GetSpaceKey (line 458) | func (d *Driver) GetSpaceKey(ctx context.Context, traceID, spaceID, ke... method HasSpaceKey (line 473) | func (d *Driver) HasSpaceKey(ctx context.Context, traceID, spaceID, ke... method DeleteSpaceKey (line 484) | func (d *Driver) DeleteSpaceKey(ctx context.Context, traceID, spaceID,... method ClearSpaceKeys (line 496) | func (d *Driver) ClearSpaceKeys(ctx context.Context, traceID, spaceID ... method ListSpaceKeys (line 501) | func (d *Driver) ListSpaceKeys(ctx context.Context, traceID, spaceID s... method SaveLog (line 516) | func (d *Driver) SaveLog(ctx context.Context, traceID string, log *typ... method LoadLogs (line 544) | func (d *Driver) LoadLogs(ctx context.Context, traceID string, nodeID ... method loadLogsFromKey (line 587) | func (d *Driver) loadLogsFromKey(key string) ([]*types.TraceLog, error) { method SaveTraceInfo (line 613) | func (d *Driver) SaveTraceInfo(ctx context.Context, info *types.TraceI... method loadTraceInfoDirect (line 638) | func (d *Driver) loadTraceInfoDirect(traceID string) (*types.TraceInfo... method LoadTraceInfo (line 660) | func (d *Driver) LoadTraceInfo(ctx context.Context, traceID string) (*... method DeleteTrace (line 676) | func (d *Driver) DeleteTrace(ctx context.Context, traceID string) error { method SaveUpdate (line 692) | func (d *Driver) SaveUpdate(ctx context.Context, traceID string, updat... method LoadUpdates (line 729) | func (d *Driver) LoadUpdates(ctx context.Context, traceID string, sinc... method Archive (line 762) | func (d *Driver) Archive(ctx context.Context, traceID string) error { method IsArchived (line 872) | func (d *Driver) IsArchived(ctx context.Context, traceID string) (bool... method unarchive (line 879) | func (d *Driver) unarchive(ctx context.Context, traceID string) error { method listKeysByPrefix (line 923) | func (d *Driver) listKeysByPrefix(ctx context.Context, prefix string) ... method getArchiveKey (line 936) | func (d *Driver) getArchiveKey(traceID string) string { method Close (line 940) | func (d *Driver) Close() error { function New (line 109) | func New(storeName string, prefix ...string) (*Driver, error) { FILE: trace/subscription.go function dedupKey (line 12) | func dedupKey(u *types.TraceUpdate) string { method Subscribe (line 19) | func (m *manager) Subscribe() (<-chan *types.TraceUpdate, func(), error) { method SubscribeFrom (line 25) | func (m *manager) SubscribeFrom(since int64) (<-chan *types.TraceUpdate,... method subscribe (line 36) | func (m *manager) subscribe(since int64) (<-chan *types.TraceUpdate, fun... FILE: trace/test_helpers.go type TestDriver (line 4) | type TestDriver struct function GetTestDrivers (line 11) | func GetTestDrivers() []TestDriver { FILE: trace/trace.go constant Local (line 18) | Local = "local" constant Store (line 19) | Store = "store" function getDriver (line 29) | func getDriver(driver string, options ...any) (types.Driver, error) { function GenTraceID (line 77) | func GenTraceID(safe ...bool) string { function New (line 107) | func New(ctx context.Context, driver string, option *types.TraceOption, ... function Load (line 184) | func Load(traceID string) (types.Manager, error) { function LoadFromStorage (line 203) | func LoadFromStorage(ctx context.Context, driver string, traceID string,... function GetInfo (line 253) | func GetInfo(ctx context.Context, driver string, traceID string, options... function MarkCancelled (line 292) | func MarkCancelled(traceID string, reason string) error { function Release (line 413) | func Release(traceID string) error { function IsLoaded (line 435) | func IsLoaded(traceID string) bool { function Exists (line 447) | func Exists(ctx context.Context, driver string, traceID string, options ... function List (line 471) | func List() []string { function Remove (line 488) | func Remove(ctx context.Context, driver string, traceID string, options ... FILE: trace/trace_archive_test.go function TestArchive (line 13) | func TestArchive(t *testing.T) { function TestAutoArchive (line 54) | func TestAutoArchive(t *testing.T) { FILE: trace/trace_autocomplete_test.go function TestAutoCompleteParentDefault (line 15) | func TestAutoCompleteParentDefault(t *testing.T) { function TestAutoCompleteParentDisabled (line 61) | func TestAutoCompleteParentDisabled(t *testing.T) { function TestAutoCompleteParentParallel (line 101) | func TestAutoCompleteParentParallel(t *testing.T) { function TestAutoCompleteParentConcurrent (line 162) | func TestAutoCompleteParentConcurrent(t *testing.T) { function TestAutoCompleteParentWithFailedNode (line 225) | func TestAutoCompleteParentWithFailedNode(t *testing.T) { function TestAutoCompleteParentWithCompletedNode (line 272) | func TestAutoCompleteParentWithCompletedNode(t *testing.T) { function TestAutoCompleteParentEvents (line 321) | func TestAutoCompleteParentEvents(t *testing.T) { function TestAutoCompleteParentSequentialChain (line 418) | func TestAutoCompleteParentSequentialChain(t *testing.T) { FILE: trace/trace_basic_test.go function TestMain (line 15) | func TestMain(m *testing.M) { function TestTraceNew (line 21) | func TestTraceNew(t *testing.T) { function TestTraceWithCustomID (line 66) | func TestTraceWithCustomID(t *testing.T) { function TestTraceLoadFromStorage (line 102) | func TestTraceLoadFromStorage(t *testing.T) { function TestTraceExistsAndRemove (line 155) | func TestTraceExistsAndRemove(t *testing.T) { function TestTraceList (line 186) | func TestTraceList(t *testing.T) { function TestContextCancellation (line 222) | func TestContextCancellation(t *testing.T) { FILE: trace/trace_bench_test.go function BenchmarkSimpleTraceLocal (line 20) | func BenchmarkSimpleTraceLocal(b *testing.B) { function BenchmarkSimpleTraceStore (line 47) | func BenchmarkSimpleTraceStore(b *testing.B) { function BenchmarkComplexTraceLocal (line 78) | func BenchmarkComplexTraceLocal(b *testing.B) { function BenchmarkComplexTraceStore (line 104) | func BenchmarkComplexTraceStore(b *testing.B) { function BenchmarkConcurrentSimpleLocal (line 134) | func BenchmarkConcurrentSimpleLocal(b *testing.B) { function BenchmarkConcurrentSimpleStore (line 164) | func BenchmarkConcurrentSimpleStore(b *testing.B) { function BenchmarkConcurrentComplexLocal (line 194) | func BenchmarkConcurrentComplexLocal(b *testing.B) { function BenchmarkConcurrentComplexStore (line 224) | func BenchmarkConcurrentComplexStore(b *testing.B) { function BenchmarkSubscription (line 258) | func BenchmarkSubscription(b *testing.B) { function BenchmarkSpaceOperations (line 316) | func BenchmarkSpaceOperations(b *testing.B) { type traceScenario (line 357) | type traceScenario struct function getTraceScenarios (line 362) | func getTraceScenarios() []traceScenario { FILE: trace/trace_concurrent_test.go function TestConcurrentNodeOperations (line 14) | func TestConcurrentNodeOperations(t *testing.T) { function TestConcurrentSpaceOperations (line 66) | func TestConcurrentSpaceOperations(t *testing.T) { function TestConcurrentSpaceCreation (line 124) | func TestConcurrentSpaceCreation(t *testing.T) { function TestConcurrentSubscribers (line 166) | func TestConcurrentSubscribers(t *testing.T) { function TestConcurrentTraceCreation (line 220) | func TestConcurrentTraceCreation(t *testing.T) { function TestConcurrentLogging (line 266) | func TestConcurrentLogging(t *testing.T) { FILE: trace/trace_lifecycle_test.go function TestReleaseWhileWriting (line 18) | func TestReleaseWhileWriting(t *testing.T) { function TestReleaseDuringSpaceOp (line 67) | func TestReleaseDuringSpaceOp(t *testing.T) { function TestReleaseAfterMarkComplete (line 115) | func TestReleaseAfterMarkComplete(t *testing.T) { function TestConcurrentReleaseAndMarkCancelled (line 146) | func TestConcurrentReleaseAndMarkCancelled(t *testing.T) { function TestOperationsAfterRelease (line 192) | func TestOperationsAfterRelease(t *testing.T) { function TestRapidCreateReleaseLoop (line 222) | func TestRapidCreateReleaseLoop(t *testing.T) { function TestConcurrentAllPattern (line 271) | func TestConcurrentAllPattern(t *testing.T) { FILE: trace/trace_mem_test.go function TestMemoryLeakLocal (line 21) | func TestMemoryLeakLocal(t *testing.T) { function TestMemoryLeakStore (line 104) | func TestMemoryLeakStore(t *testing.T) { function TestMemoryLeakComplexScenarios (line 186) | func TestMemoryLeakComplexScenarios(t *testing.T) { function TestMemoryLeakConcurrent (line 372) | func TestMemoryLeakConcurrent(t *testing.T) { function TestMemoryLeakSpaceOperations (line 457) | func TestMemoryLeakSpaceOperations(t *testing.T) { function TestGoroutineLeak (line 551) | func TestGoroutineLeak(t *testing.T) { FILE: trace/trace_node_test.go function TestNodeOperations (line 15) | func TestNodeOperations(t *testing.T) { function TestParallelOperations (line 69) | func TestParallelOperations(t *testing.T) { function TestNodeFailOperation (line 132) | func TestNodeFailOperation(t *testing.T) { function TestNodeChaining (line 162) | func TestNodeChaining(t *testing.T) { function TestCompleteWithOutput (line 189) | func TestCompleteWithOutput(t *testing.T) { FILE: trace/trace_resource_test.go function TestManagerGetTraceInfo (line 14) | func TestManagerGetTraceInfo(t *testing.T) { function TestManagerGetAllNodes (line 50) | func TestManagerGetAllNodes(t *testing.T) { function TestManagerGetNodeByID (line 115) | func TestManagerGetNodeByID(t *testing.T) { function TestManagerGetAllLogs (line 161) | func TestManagerGetAllLogs(t *testing.T) { function TestManagerGetLogsByNode (line 218) | func TestManagerGetLogsByNode(t *testing.T) { function TestManagerResourceAccessAfterLoadFromStorage (line 274) | func TestManagerResourceAccessAfterLoadFromStorage(t *testing.T) { function TestManagerGetEventsWithResourceAccess (line 395) | func TestManagerGetEventsWithResourceAccess(t *testing.T) { function TestManagerGetAllSpaces (line 445) | func TestManagerGetAllSpaces(t *testing.T) { function TestManagerGetSpaceByID (line 512) | func TestManagerGetSpaceByID(t *testing.T) { FILE: trace/trace_space_test.go function TestSpaceOperations (line 12) | func TestSpaceOperations(t *testing.T) { function TestMultipleSpaces (line 93) | func TestMultipleSpaces(t *testing.T) { function TestSpaceGetSpace (line 150) | func TestSpaceGetSpace(t *testing.T) { FILE: trace/trace_subscription_leak_test.go function stableGoroutines (line 16) | func stableGoroutines() int { function TestLeak_SubscriptionClientDisconnect (line 37) | func TestLeak_SubscriptionClientDisconnect(t *testing.T) { function TestLeak_SubscriptionEventServiceStop (line 106) | func TestLeak_SubscriptionEventServiceStop(t *testing.T) { FILE: trace/trace_subscription_test.go function TestSubscription (line 14) | func TestSubscription(t *testing.T) { function TestSubscribeFrom (line 105) | func TestSubscribeFrom(t *testing.T) { function TestIsComplete (line 200) | func TestIsComplete(t *testing.T) { function TestMultipleSubscribers (line 225) | func TestMultipleSubscribers(t *testing.T) { FILE: trace/types/driver.go type TraceLog (line 6) | type TraceLog struct type Driver (line 16) | type Driver interface FILE: trace/types/events.go method ToStartData (line 6) | func (n *TraceNode) ToStartData() *NodeStartData { function NodesToStartData (line 11) | func NodesToStartData(nodes []*TraceNode) *NodeStartData { method ToCompleteData (line 16) | func (n *TraceNode) ToCompleteData() *NodeCompleteData { method ToFailedData (line 27) | func (n *TraceNode) ToFailedData(err error) *NodeFailedData { method ToMemoryAddData (line 38) | func (s *TraceSpace) ToMemoryAddData(key string, value any, timestamp in... function NewTraceInitData (line 56) | func NewTraceInitData(traceID string, rootNode *TraceNode, agentName ...... function NewTraceCompleteData (line 68) | func NewTraceCompleteData(traceID string, totalDuration int64) *TraceCom... function NewSpaceDeletedData (line 77) | func NewSpaceDeletedData(spaceID string) *SpaceDeletedData { function NewMemoryDeleteData (line 84) | func NewMemoryDeleteData(spaceID, key string) *MemoryDeleteData { function NewMemoryDeleteAllData (line 92) | func NewMemoryDeleteAllData(spaceID string) *MemoryDeleteData { FILE: trace/types/interfaces.go type Manager (line 6) | type Manager interface type Node (line 84) | type Node interface type Space (line 108) | type Space interface FILE: trace/types/types.go type NodeStatus (line 4) | type NodeStatus constant StatusPending (line 8) | StatusPending NodeStatus = "pending" constant StatusRunning (line 9) | StatusRunning NodeStatus = "running" constant StatusCompleted (line 10) | StatusCompleted NodeStatus = "completed" constant StatusFailed (line 11) | StatusFailed NodeStatus = "failed" constant StatusSkipped (line 12) | StatusSkipped NodeStatus = "skipped" constant StatusCancelled (line 13) | StatusCancelled NodeStatus = "cancelled" type TraceStatus (line 17) | type TraceStatus constant TraceStatusPending (line 21) | TraceStatusPending TraceStatus = "pending" constant TraceStatusRunning (line 22) | TraceStatusRunning TraceStatus = "running" constant TraceStatusCompleted (line 23) | TraceStatusCompleted TraceStatus = "completed" constant TraceStatusFailed (line 24) | TraceStatusFailed TraceStatus = "failed" constant TraceStatusCancelled (line 25) | TraceStatusCancelled TraceStatus = "cancelled" type CompleteStatus (line 29) | type CompleteStatus constant CompleteStatusSuccess (line 33) | CompleteStatusSuccess CompleteStatus = "success" constant CompleteStatusFailed (line 34) | CompleteStatusFailed CompleteStatus = "failed" constant CompleteStatusCancelled (line 35) | CompleteStatusCancelled CompleteStatus = "cancelled" type TraceNodeOption (line 39) | type TraceNodeOption struct type TraceSpaceOption (line 49) | type TraceSpaceOption struct type TraceNode (line 59) | type TraceNode struct type TraceSpace (line 75) | type TraceSpace struct type TraceSpaceData (line 84) | type TraceSpaceData struct type TraceParallelInput (line 90) | type TraceParallelInput struct constant UpdateTypeInit (line 104) | UpdateTypeInit = "init" constant UpdateTypeComplete (line 105) | UpdateTypeComplete = "complete" constant UpdateTypeNodeStart (line 108) | UpdateTypeNodeStart = "node_start" constant UpdateTypeNodeComplete (line 109) | UpdateTypeNodeComplete = "node_complete" constant UpdateTypeNodeFailed (line 110) | UpdateTypeNodeFailed = "node_failed" constant UpdateTypeNodeUpdated (line 111) | UpdateTypeNodeUpdated = "node_updated" constant UpdateTypeLogAdded (line 114) | UpdateTypeLogAdded = "log_added" constant UpdateTypeMemoryAdd (line 117) | UpdateTypeMemoryAdd = "memory_add" constant UpdateTypeMemoryUpdate (line 118) | UpdateTypeMemoryUpdate = "memory_update" constant UpdateTypeMemoryDelete (line 119) | UpdateTypeMemoryDelete = "memory_delete" constant UpdateTypeSpaceCreated (line 120) | UpdateTypeSpaceCreated = "space_created" constant UpdateTypeSpaceDeleted (line 121) | UpdateTypeSpaceDeleted = "space_deleted" type TraceUpdate (line 125) | type TraceUpdate struct type TraceInitData (line 137) | type TraceInitData struct type NodeStartData (line 145) | type NodeStartData struct type NodeCompleteData (line 151) | type NodeCompleteData struct type NodeFailedData (line 160) | type NodeFailedData struct type MemoryAddData (line 169) | type MemoryAddData struct type MemoryItem (line 175) | type MemoryItem struct type TraceCompleteData (line 185) | type TraceCompleteData struct type SpaceDeletedData (line 192) | type SpaceDeletedData struct type MemoryDeleteData (line 197) | type MemoryDeleteData struct type TraceInfo (line 204) | type TraceInfo struct type TraceOption (line 222) | type TraceOption struct FILE: utils/captcha/captcha.go function init (line 16) | func init() { type Option (line 21) | type Option struct function NewOption (line 31) | func NewOption() Option { function Generate (line 42) | func Generate(option Option) (string, string) { function Validate (line 88) | func Validate(id string, code string) bool { function Get (line 94) | func Get(id string) string { function ValidateCloudflare (line 107) | func ValidateCloudflare(token, secret string) bool { function toString (line 154) | func toString(digits []byte) string { FILE: utils/captcha/captcha_test.go function TestGenerate (line 9) | func TestGenerate(t *testing.T) { function TestValidate (line 39) | func TestValidate(t *testing.T) { function TestGet (line 66) | func TestGet(t *testing.T) { function TestValidateCloudflare (line 87) | func TestValidateCloudflare(t *testing.T) { function TestNewOption (line 101) | func TestNewOption(t *testing.T) { function TestCaptchaExpiration (line 110) | func TestCaptchaExpiration(t *testing.T) { function TestCaptchaConcurrency (line 127) | func TestCaptchaConcurrency(t *testing.T) { function BenchmarkGenerate (line 154) | func BenchmarkGenerate(b *testing.B) { function BenchmarkValidate (line 161) | func BenchmarkValidate(b *testing.B) { FILE: utils/captcha/process.go function ProcessGenerate (line 10) | func ProcessGenerate(process *process.Process) interface{} { function ProcessValidate (line 45) | func ProcessValidate(process *process.Process) interface{} { function ProcessGet (line 64) | func ProcessGet(process *process.Process) interface{} { FILE: utils/datetime/now.go function ProcessTimestamp (line 10) | func ProcessTimestamp(process *process.Process) interface{} { function ProcessTimestampms (line 15) | func ProcessTimestampms(process *process.Process) interface{} { function ProcessDate (line 20) | func ProcessDate(process *process.Process) interface{} { function ProcessTime (line 25) | func ProcessTime(process *process.Process) interface{} { function ProcessDateTime (line 30) | func ProcessDateTime(process *process.Process) interface{} { FILE: utils/datetime_test.go function TestProcessNow (line 15) | func TestProcessNow(t *testing.T) { function testPrepare (line 24) | func testPrepare() { FILE: utils/fmt/fmt.go function ProcessPrintf (line 12) | func ProcessPrintf(process *process.Process) interface{} { function ProcessColorPrintf (line 25) | func ProcessColorPrintf(process *process.Process) interface{} { FILE: utils/json/json.go function ProcessValidate (line 9) | func ProcessValidate(process *process.Process) interface{} { FILE: utils/jsonschema/jsonschema.go type Validator (line 12) | type Validator struct method Validate (line 81) | func (v *Validator) Validate(data interface{}) error { function New (line 39) | func New(schema interface{}) (*Validator, error) { function ValidateSchema (line 100) | func ValidateSchema(schema interface{}) error { function ValidateData (line 114) | func ValidateData(schema interface{}, data interface{}) error { function ProcessValidateSchema (line 130) | func ProcessValidateSchema(process *process.Process) interface{} { function ProcessValidate (line 160) | func ProcessValidate(process *process.Process) interface{} { FILE: utils/jsonschema/jsonschema_test.go function TestNew (line 11) | func TestNew(t *testing.T) { function TestValidator_Validate (line 163) | func TestValidator_Validate(t *testing.T) { function TestValidateSchema (line 231) | func TestValidateSchema(t *testing.T) { function TestValidateData (line 264) | func TestValidateData(t *testing.T) { function TestArraySchema (line 320) | func TestArraySchema(t *testing.T) { function TestNestedSchema (line 383) | func TestNestedSchema(t *testing.T) { function TestProcessValidateSchema (line 446) | func TestProcessValidateSchema(t *testing.T) { function TestProcessValidate (line 513) | func TestProcessValidate(t *testing.T) { FILE: utils/otp/otp.go type Option (line 17) | type Option struct function NewOption (line 24) | func NewOption() Option { function Generate (line 34) | func Generate(option Option) (string, string) { function Validate (line 64) | func Validate(id string, code string, clear bool) bool { function Get (line 81) | func Get(id string) string { function Delete (line 90) | func Delete(id string) { function generateNumericCode (line 95) | func generateNumericCode(length int) string { function generateAlphanumericCode (line 101) | func generateAlphanumericCode(length int) string { function generateRandomString (line 107) | func generateRandomString(length int, charset string) string { FILE: utils/otp/otp_test.go function TestGenerate (line 9) | func TestGenerate(t *testing.T) { function TestValidate (line 43) | func TestValidate(t *testing.T) { function TestGet (line 80) | func TestGet(t *testing.T) { function TestDelete (line 95) | func TestDelete(t *testing.T) { function TestNewOption (line 113) | func TestNewOption(t *testing.T) { function TestOTPExpiration (line 120) | func TestOTPExpiration(t *testing.T) { function TestOTPConcurrency (line 126) | func TestOTPConcurrency(t *testing.T) { function TestOTPMultipleValidations (line 151) | func TestOTPMultipleValidations(t *testing.T) { function TestOTPZeroValues (line 174) | func TestOTPZeroValues(t *testing.T) { function TestOTPInvalidType (line 189) | func TestOTPInvalidType(t *testing.T) { function BenchmarkGenerate (line 203) | func BenchmarkGenerate(b *testing.B) { function BenchmarkValidate (line 210) | func BenchmarkValidate(b *testing.B) { function BenchmarkGenerateAlphanumeric (line 220) | func BenchmarkGenerateAlphanumeric(b *testing.B) { FILE: utils/otp/process.go function ProcessGenerate (line 10) | func ProcessGenerate(process *process.Process) interface{} { function ProcessValidate (line 38) | func ProcessValidate(process *process.Process) interface{} { function ProcessGet (line 64) | func ProcessGet(process *process.Process) interface{} { function ProcessDelete (line 71) | func ProcessDelete(process *process.Process) interface{} { FILE: utils/process.go function Init (line 18) | func Init() { FILE: utils/str/str.go function ProcessJoin (line 15) | func ProcessJoin(process *process.Process) interface{} { function ProcessJoinPath (line 27) | func ProcessJoinPath(process *process.Process) interface{} { function ProcessUUID (line 37) | func ProcessUUID(process *process.Process) interface{} { function ProcessPinyin (line 51) | func ProcessPinyin(process *process.Process) interface{} { function fixToneNumberPosition (line 134) | func fixToneNumberPosition(s string) string { FILE: utils/str_test.go function TestProcessStrJoin (line 14) | func TestProcessStrJoin(t *testing.T) { function TestProcessStrJoinPath (line 20) | func TestProcessStrJoinPath(t *testing.T) { function TestProcessUUID (line 27) | func TestProcessUUID(t *testing.T) { function TestProcessStrHex (line 38) | func TestProcessStrHex(t *testing.T) { function TestProcessPinyin (line 53) | func TestProcessPinyin(t *testing.T) { FILE: utils/throw/throw.go function Unauthorized (line 9) | func Unauthorized(process *process.Process) interface{} { function Forbidden (line 16) | func Forbidden(process *process.Process) interface{} { function NotFound (line 23) | func NotFound(process *process.Process) interface{} { function BadRequest (line 30) | func BadRequest(process *process.Process) interface{} { function InternalError (line 37) | func InternalError(process *process.Process) interface{} { function Exception (line 44) | func Exception(process *process.Process) interface{} { FILE: utils/throw_test.go function TestProcessUnauthorized (line 11) | func TestProcessUnauthorized(t *testing.T) { function TestProcessForbidden (line 19) | func TestProcessForbidden(t *testing.T) { function TestProcessNotFound (line 27) | func TestProcessNotFound(t *testing.T) { function TestProcessBadRequest (line 35) | func TestProcessBadRequest(t *testing.T) { function TestProcessInternalError (line 43) | func TestProcessInternalError(t *testing.T) { function TestProcessException (line 51) | func TestProcessException(t *testing.T) { FILE: utils/tree/tree.go function ProcessFlatten (line 10) | func ProcessFlatten(process *process.Process) interface{} { function flatten (line 29) | func flatten(array []interface{}, option map[string]interface{}, id inte... FILE: utils/tree_test.go function TestProcessTreeFlatten (line 11) | func TestProcessTreeFlatten(t *testing.T) { FILE: utils/url/url.go function ProcessParseQuery (line 13) | func ProcessParseQuery(process *process.Process) interface{} { function ProcessParseURL (line 24) | func ProcessParseURL(process *process.Process) interface{} { function ProcessQueryParam (line 43) | func ProcessQueryParam(process *process.Process) interface{} { FILE: utils/url_test.go function TestProcessParseQuery (line 13) | func TestProcessParseQuery(t *testing.T) { function TestProcessParseURL (line 26) | func TestProcessParseURL(t *testing.T) { function TestProcessQueryParam (line 43) | func TestProcessQueryParam(t *testing.T) { FILE: wework/process.go function init (line 8) | func init() { function processDecrypt (line 14) | func processDecrypt(process *process.Process) interface{} { FILE: wework/wework.go function Decrypt (line 13) | func Decrypt(encodingAESKey string, msgEncrypt string, parse bool) (map[... function parseXML (line 53) | func parseXML(data string) (map[string]interface{}, error) { function aesDecrypt (line 63) | func aesDecrypt(crypted, key []byte) ([]byte, error) { function pckS5UnPadding (line 77) | func pckS5UnPadding(origData []byte) []byte { FILE: wework/wework_test.go function TestWework (line 11) | func TestWework(t *testing.T) { function TestWeworkProcess (line 25) | func TestWeworkProcess(t *testing.T) { function TestWeworkParseXML (line 37) | func TestWeworkParseXML(t *testing.T) { FILE: wework/xml.go constant attrPrefix (line 13) | attrPrefix = "@" constant textPrefix (line 14) | textPrefix = "#text" type node (line 25) | type node struct type Decoder (line 36) | type Decoder struct method Decode (line 53) | func (d *Decoder) Decode() (map[string]interface{}, error) { function NewDecoder (line 43) | func NewDecoder(reader io.Reader) *Decoder { function NewDecoderWithPrefix (line 48) | func NewDecoderWithPrefix(reader io.Reader, attrPrefix, textPrefix strin... function setAttrs (line 126) | func setAttrs(n *node, tok *xml.StartElement, attrPrefix string) { function setNodeValue (line 140) | func setNodeValue(n *node) { function getMap (line 169) | func getMap(node *node) map[string]interface{} { FILE: widget/driver/connector.go type Connector (line 18) | type Connector struct method Walk (line 73) | func (app *Connector) Walk(cb func(string, map[string]interface{})) er... method Save (line 109) | func (app *Connector) Save(file string, source map[string]interface{})... method Remove (line 133) | func (app *Connector) Remove(file string) error { method init (line 139) | func (app *Connector) init() error { function NewConnector (line 28) | func NewConnector(widgetID string, connectorName string, tableName strin... FILE: widget/driver/source.go type Source (line 13) | type Source struct method Walk (line 28) | func (app *Source) Walk(cb func(string, map[string]interface{})) error { method Save (line 75) | func (app *Source) Save(file string, source map[string]interface{}) er... method Remove (line 80) | func (app *Source) Remove(file string) error { function NewSource (line 20) | func NewSource(path string, exts []string) *Source { FILE: widget/instance.go function NewInstance (line 8) | func NewInstance(widgetID string, instanceID string, source map[string]i... method Load (line 13) | func (instance *Instance) Load() error { method Reload (line 27) | func (instance *Instance) Reload() error { method Unload (line 42) | func (instance *Instance) Unload() error { method exec (line 51) | func (instance *Instance) exec(processName string, args ...interface{}) ... FILE: widget/load.go function Load (line 18) | func Load(cfg config.Config) error { function LoadInstances (line 57) | func LoadInstances() error { function LoadFile (line 73) | func LoadFile(file string, id string) (*DSL, error) { function LoadSource (line 84) | func LoadSource(data []byte, file, id string) (*DSL, error) { FILE: widget/load_test.go function TestLoad (line 13) | func TestLoad(t *testing.T) { function check (line 21) | func check(t *testing.T) { FILE: widget/process.go function init (line 8) | func init() { function ProcessSave (line 16) | func ProcessSave(process *process.Process) interface{} { function ProcessRemove (line 36) | func ProcessRemove(process *process.Process) interface{} { FILE: widget/process_test.go function TestProcessSave (line 12) | func TestProcessSave(t *testing.T) { function TestProcessRemove (line 34) | func TestProcessRemove(t *testing.T) { FILE: widget/types.go type DSL (line 10) | type DSL struct type RemoteDSL (line 26) | type RemoteDSL struct type LoaderDSL (line 33) | type LoaderDSL struct type Instance (line 40) | type Instance struct type FS (line 49) | type FS interface FILE: widget/widget.go method LoadInstances (line 14) | func (widget *DSL) LoadInstances() error { method ReloadInstances (line 35) | func (widget *DSL) ReloadInstances() error { method UnloadInstances (line 58) | func (widget *DSL) UnloadInstances() error { method RegisterProcess (line 83) | func (widget *DSL) RegisterProcess() error { method RegisterAPI (line 102) | func (widget *DSL) RegisterAPI() error { method handler (line 123) | func (widget *DSL) handler(processName string) process.Handler { method Save (line 143) | func (widget *DSL) Save(file string, source map[string]interface{}) error { method Remove (line 179) | func (widget *DSL) Remove(file string) error { FILE: widget/widget_test.go function TestWidgetLoadInstances (line 19) | func TestWidgetLoadInstances(t *testing.T) { function TestWidgetReLoadInstances (line 38) | func TestWidgetReLoadInstances(t *testing.T) { function TestWidgetUnLoadInstances (line 63) | func TestWidgetUnLoadInstances(t *testing.T) { function TestWidgetRegisterProcess (line 90) | func TestWidgetRegisterProcess(t *testing.T) { function TestWidgetRegisterAPI (line 106) | func TestWidgetRegisterAPI(t *testing.T) { function TestWidgetSaveCreate (line 131) | func TestWidgetSaveCreate(t *testing.T) { function TestWidgetSaveUpdate (line 153) | func TestWidgetSaveUpdate(t *testing.T) { function preare (line 179) | func preare(t *testing.T) []*DSL { function testRouter (line 230) | func testRouter(t *testing.T, middlewares ...gin.HandlerFunc) *gin.Engine { FILE: widgets/action.go type WidgetAction (line 15) | type WidgetAction interface function Actions (line 20) | func Actions() []Item { function tableActions (line 33) | func tableActions(actions map[string]interface{}) { function formActions (line 40) | func formActions(actions map[string]interface{}) { function chartActions (line 47) | func chartActions(actions map[string]interface{}) { function widgetActions (line 54) | func widgetActions(actions map[string]interface{}, widget WidgetAction, ... FILE: widgets/action/action.go function NewProcess (line 4) | func NewProcess() *Process { function ProcessOf (line 11) | func ProcessOf(p *Process) *Process { FILE: widgets/action/action_test.go function TestNewProcess (line 10) | func TestNewProcess(t *testing.T) { function TestProcessOf (line 22) | func TestProcessOf(t *testing.T) { function testData (line 38) | func testData() map[string]*Process { function testHandler (line 49) | func testHandler(p *Process, process *process.Process) (interface{}, err... function testDefaults (line 54) | func testDefaults() map[string]*Process { FILE: widgets/action/guard.go method UseGuard (line 12) | func (p *Process) UseGuard(c *gin.Context, id string) error { FILE: widgets/action/process.go method Bind (line 16) | func (p *Process) Bind(processName string) { method SetName (line 21) | func (p *Process) SetName(name string) { method SetHandler (line 26) | func (p *Process) SetHandler(handler Handler) *Process { method Merge (line 32) | func (p *Process) Merge(newProcess *Process) *Process { method DefaultMerge (line 61) | func (p *Process) DefaultMerge(defaults []interface{}, option ...bool) { method WithBefore (line 94) | func (p *Process) WithBefore(before *hook.Before) *Process { method WithAfter (line 100) | func (p *Process) WithAfter(after *hook.After) *Process { method Args (line 106) | func (p *Process) Args(process *process.Process) []interface{} { method Exec (line 125) | func (p *Process) Exec(process *process.Process) (interface{}, error) { method MustExec (line 133) | func (p *Process) MustExec(process *process.Process) interface{} { method mergeDefaultValue (line 142) | func (p *Process) mergeDefaultValue(sid string, value interface{}, defau... method mergeDefaultMap (line 169) | func (p *Process) mergeDefaultMap(sid string, value interface{}, default... method mergeDefaultSlice (line 202) | func (p *Process) mergeDefaultSlice(sid string, value interface{}, defau... method mergeDefaultString (line 241) | func (p *Process) mergeDefaultString(sid string, value interface{}, defa... FILE: widgets/action/process_test.go function TestBind (line 9) | func TestBind(t *testing.T) { function TestDefaultMerge (line 15) | func TestDefaultMerge(t *testing.T) { function testProcessDefaults (line 116) | func testProcessDefaults() map[string]interface{} { FILE: widgets/action/types.go type Process (line 9) | type Process struct type Handler (line 22) | type Handler FILE: widgets/api.go function Apis (line 16) | func Apis() []Item { function userApis (line 30) | func userApis(apis map[string]interface{}) { function tableApis (line 86) | func tableApis(apis map[string]interface{}) { function formApis (line 116) | func formApis(apis map[string]interface{}) { function listApis (line 139) | func listApis(apis map[string]interface{}) { function chartApis (line 159) | func chartApis(apis map[string]interface{}) { function widgetApis (line 176) | func widgetApis(apis map[string]interface{}, apiInst *api.API, widgetID ... FILE: widgets/app/app.go function LoadAndExport (line 52) | func LoadAndExport(cfg config.Config) error { function Load (line 61) | func Load(cfg config.Config) error { function getAppFile (line 96) | func getAppFile() (string, error) { function exportAPI (line 117) | func exportAPI() error { function Export (line 241) | func Export() error { function exportProcess (line 246) | func exportProcess() { function processService (line 256) | func processService(process *process.Process) interface{} { function forwardAgentExecCommand (line 318) | func forwardAgentExecCommand(p *process.Process, name string, args ...in... function processCheck (line 332) | func processCheck(process *process.Process) interface{} { function processSetup (line 343) | func processSetup(process *process.Process) interface{} { function processIcons (line 377) | func processIcons(process *process.Process) interface{} { function processMenu (line 388) | func processMenu(p *process.Process) interface{} { function processSetting (line 412) | func processSetting(process *process.Process) interface{} { function processXgen (line 448) | func processXgen(process *process.Process) interface{} { method replaceAdminRoot (line 756) | func (dsl *DSL) replaceAdminRoot() error { method icons (line 773) | func (dsl *DSL) icons(cfg config.Config) { function getAPIBase (line 781) | func getAPIBase() string { function Permissions (line 790) | func Permissions(process *process.Process, widget string, id string) map... FILE: widgets/app/app_test.go function TestLoad (line 21) | func TestLoad(t *testing.T) { function TestLoadHK (line 39) | func TestLoadHK(t *testing.T) { function TestLoadCN (line 77) | func TestLoadCN(t *testing.T) { function TestExport (line 115) | func TestExport(t *testing.T) { function TestProcessSetting (line 158) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 198) | func TestProcessXgen(t *testing.T) { function TestProcessMenu (line 245) | func TestProcessMenu(t *testing.T) { function TestProcessIcons (line 261) | func TestProcessIcons(t *testing.T) { function TestProcessCheck (line 274) | func TestProcessCheck(t *testing.T) { function TestProcessSetup (line 290) | func TestProcessSetup(t *testing.T) { function TestProcessService (line 306) | func TestProcessService(t *testing.T) { function loadApp (line 324) | func loadApp(t *testing.T) { FILE: widgets/app/types.go type DSL (line 4) | type DSL struct type MenuDSL (line 23) | type MenuDSL struct type OptionalDSL (line 29) | type OptionalDSL type CFUN (line 32) | type CFUN struct FILE: widgets/chart/action.go method SetDefaultProcess (line 28) | func (act *ActionDSL) SetDefaultProcess() { FILE: widgets/chart/api.go function Guard (line 14) | func Guard(c *gin.Context) { function abort (line 42) | func abort(c *gin.Context, code int, message string) { method getAction (line 47) | func (chart *DSL) getAction(path string) (*action.Process, error) { function exportAPI (line 62) | func exportAPI() error { FILE: widgets/chart/chart.go function New (line 38) | func New(id string) *DSL { function LoadAndExport (line 48) | func LoadAndExport(cfg config.Config) error { function Load (line 57) | func Load(cfg config.Config) error { function LoadFile (line 89) | func LoadFile(root string, file string) error { method parse (line 113) | func (dsl *DSL) parse(id string, root string) error { function Get (line 140) | func Get(chart interface{}) (*DSL, error) { function MustGet (line 159) | func MustGet(chart interface{}) *DSL { method Xgen (line 168) | func (dsl *DSL) Xgen(data map[string]interface{}, excludes map[string]bo... method Actions (line 215) | func (dsl *DSL) Actions() []component.ActionsExport { FILE: widgets/chart/chart_test.go function TestLoad (line 12) | func TestLoad(t *testing.T) { function prepare (line 25) | func prepare(t *testing.T, language ...string) { FILE: widgets/chart/export.go function Export (line 4) | func Export() error { FILE: widgets/chart/fields.go method Xgen (line 9) | func (fields *FieldsDSL) Xgen(layout *LayoutDSL) (map[string]interface{}... FILE: widgets/chart/handler.go function processHandler (line 16) | func processHandler(p *action.Process, process *gouProcess.Process) (int... FILE: widgets/chart/layout.go method Xgen (line 10) | func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[... method Clone (line 67) | func (layout *LayoutDSL) Clone() (*LayoutDSL, error) { FILE: widgets/chart/mapping.go method getField (line 11) | func (dsl *DSL) getField() func(string) (*field.ColumnDSL, string, strin... method getFilter (line 21) | func (dsl *DSL) getFilter() func(string) (*field.FilterDSL, string, stri... method mapping (line 31) | func (dsl *DSL) mapping() error { method mappingActions (line 123) | func (dsl *DSL) mappingActions() { FILE: widgets/chart/process.go function exportProcess (line 13) | func exportProcess() { function processXgen (line 20) | func processXgen(process *process.Process) interface{} { function processComponent (line 33) | func processComponent(process *process.Process) interface{} { function processSetting (line 62) | func processSetting(process *process.Process) interface{} { function processData (line 68) | func processData(process *process.Process) interface{} { FILE: widgets/chart/process_test.go function TestProcessData (line 17) | func TestProcessData(t *testing.T) { function TestProcessComponent (line 34) | func TestProcessComponent(t *testing.T) { function TestProcessComponentError (line 63) | func TestProcessComponentError(t *testing.T) { function TestProcessSetting (line 81) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 99) | func TestProcessXgen(t *testing.T) { function TestProcessXgenWithPermissions (line 117) | func TestProcessXgenWithPermissions(t *testing.T) { function testData (line 158) | func testData(t *testing.T) { function clear (line 173) | func clear(t *testing.T) { FILE: widgets/chart/types.go type DSL (line 13) | type DSL struct type ActionDSL (line 26) | type ActionDSL struct type FieldsDSL (line 35) | type FieldsDSL struct type LayoutDSL (line 43) | type LayoutDSL struct type FilterLayoutDSL (line 50) | type FilterLayoutDSL struct type OperationLayoutDSL (line 56) | type OperationLayoutDSL struct type ViewLayoutDSL (line 61) | type ViewLayoutDSL struct FILE: widgets/chart/vaildate.go method Validate (line 4) | func (dsl *DSL) Validate() error { FILE: widgets/component/action.go method UnmarshalJSON (line 13) | func (action *ActionDSL) UnmarshalJSON(data []byte) error { method UnmarshalJSON (line 79) | func (nodes *ActionNodes) UnmarshalJSON(data []byte) error { method Parse (line 140) | func (nodes *ActionNodes) Parse() error { method Custom (line 151) | func (node ActionNode) Custom() bool { method Hash (line 159) | func (action ActionDSL) Hash() (string, error) { method Filter (line 168) | func (actions Actions) Filter(excludes map[string]bool) Actions { FILE: widgets/component/action_test.go function TestActionUnmarshalJSON (line 10) | func TestActionUnmarshalJSON(t *testing.T) { function testActionData (line 104) | func testActionData() map[string][]byte { FILE: widgets/component/component.go function Export (line 52) | func Export() error { method MarshalJSON (line 58) | func (dsl DSL) MarshalJSON() ([]byte, error) { method Map (line 63) | func (dsl DSL) Map() map[string]interface{} { method FontendProps (line 80) | func (dsl DSL) FontendProps() map[string]interface{} { method Parse (line 97) | func (dsl *DSL) Parse() { method setRemoteParams (line 124) | func (dsl *DSL) setRemoteParams(props interface{}, key string) { method Clone (line 144) | func (dsl *DSL) Clone() *DSL { method copy (line 160) | func (dsl *DSL) copy(v interface{}) interface{} { FILE: widgets/component/compute.go function NewExp (line 23) | func NewExp(key string) CArg { method Value (line 28) | func (compute *Compute) Value(data maps.MapStr, sid string, global map[s... method GetArgs (line 59) | func (compute *Compute) GetArgs(data maps.MapStr) []interface{} { method Value (line 68) | func (arg CArg) Value(data maps.MapStr) interface{} { method MarshalJSON (line 76) | func (compute Compute) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 86) | func (compute *Compute) UnmarshalJSON(data []byte) error { method MarshalJSON (line 118) | func (arg CArg) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 131) | func (arg *CArg) UnmarshalJSON(data []byte) error { FILE: widgets/component/compute_test.go function TestComputeUnmarshalJSON (line 12) | func TestComputeUnmarshalJSON(t *testing.T) { function TestComputeMarshalJSON (line 65) | func TestComputeMarshalJSON(t *testing.T) { function TestComputeValue (line 125) | func TestComputeValue(t *testing.T) { function testComputeData (line 164) | func testComputeData() map[string][]byte { FILE: widgets/component/handlers.go function Trim (line 26) | func Trim(args ...interface{}) (interface{}, error) { function Concat (line 44) | func Concat(args ...interface{}) (interface{}, error) { function Get (line 56) | func Get(args ...interface{}) (interface{}, error) { function Hide (line 64) | func Hide(args ...interface{}) (interface{}, error) { function Upload (line 69) | func Upload(args ...interface{}) (interface{}, error) { function Download (line 149) | func Download(args ...interface{}) (interface{}, error) { FILE: widgets/component/process.go type QueryProp (line 19) | type QueryProp struct method format (line 175) | func (q *QueryProp) format(options *[]Option, row map[string]interface... method parse (line 207) | func (q *QueryProp) parse(query map[string]interface{}) error { method replaceString (line 290) | func (q *QueryProp) replaceString(format string, data map[string]inter... method replaceWhere (line 311) | func (q *QueryProp) replaceWhere(where map[string]interface{}, data ma... type Option (line 38) | type Option struct function exportProcess (line 46) | func exportProcess() { function processGetOptions (line 52) | func processGetOptions(process *process.Process) interface{} { function parseOptionsProps (line 145) | func parseOptionsProps(params, props map[string]interface{}) (*QueryProp... function processSelectOptions (line 359) | func processSelectOptions(process *process.Process) interface{} { FILE: widgets/component/process_test.go function TestProcessGetOptions (line 13) | func TestProcessGetOptions(t *testing.T) { function TestProcessSelectOptions (line 140) | func TestProcessSelectOptions(t *testing.T) { function prepare (line 153) | func prepare(t *testing.T) map[string]map[string]interface{} { FILE: widgets/component/props.go method CloudProps (line 15) | func (p PropsDSL) CloudProps(xpath, component string) (map[string]CloudP... method Path (line 25) | func (cProp CloudPropsDSL) Path() string { method UploadPath (line 30) | func (cProp CloudPropsDSL) UploadPath() string { method ExecUpload (line 35) | func (cProp CloudPropsDSL) ExecUpload(process *gouProcess.Process, uploa... method ExecQuery (line 69) | func (cProp CloudPropsDSL) ExecQuery(process *gouProcess.Process, query ... method Replace (line 110) | func (cProp CloudPropsDSL) Replace(data interface{}, replace func(cProp ... method replaceAny (line 114) | func (cProp CloudPropsDSL) replaceAny(data interface{}, root string, rep... method replaceMap (line 122) | func (cProp CloudPropsDSL) replaceMap(data map[string]interface{}, root ... method parseCloudProps (line 152) | func (p PropsDSL) parseCloudProps(xpath string, component string, props ... method Has (line 193) | func (p PropsDSL) Has(name string) bool { method Parse (line 205) | func (cProp *CloudPropsDSL) Parse(v interface{}) error { FILE: widgets/component/types.go type DSL (line 4) | type DSL struct type Actions (line 13) | type Actions type Instances (line 16) | type Instances type InstanceDSL (line 19) | type InstanceDSL struct type ActionsExport (line 28) | type ActionsExport struct type aliasActionDSL (line 34) | type aliasActionDSL type ActionDSL (line 37) | type ActionDSL struct type DisabledDSL (line 56) | type DisabledDSL struct type aliasActionNodes (line 64) | type aliasActionNodes type ActionNodes (line 67) | type ActionNodes type ActionNode (line 70) | type ActionNode type ConfirmActionDSL (line 73) | type ConfirmActionDSL struct type PropsDSL (line 79) | type PropsDSL type Compute (line 82) | type Compute struct type computeAlias (line 88) | type computeAlias type CArg (line 91) | type CArg struct type ComputeHanlder (line 98) | type ComputeHanlder type CloudPropsDSL (line 101) | type CloudPropsDSL struct FILE: widgets/compute/compute.go method ComputeEdit (line 17) | func (c *Computable) ComputeEdit(name string, process *process.Process, ... method editRow (line 89) | func (c *Computable) editRow(process *process.Process, res map[string]in... method editRows (line 124) | func (c *Computable) editRows(process *process.Process, columns []string... method ComputeView (line 160) | func (c *Computable) ComputeView(name string, process *process.Process, ... method viewRows (line 183) | func (c *Computable) viewRows(name string, process *process.Process, res... method viewRow (line 217) | func (c *Computable) viewRow(name string, process *process.Process, res ... method ComputeFilter (line 270) | func (c *Computable) ComputeFilter(name string, process *process.Process... FILE: widgets/compute/types.go constant View (line 5) | View uint8 = iota constant Edit (line 7) | Edit constant Filter (line 9) | Filter type Computable (line 13) | type Computable struct type Maps (line 18) | type Maps struct type Unit (line 25) | type Unit struct FILE: widgets/dashboard/action.go method SetDefaultProcess (line 28) | func (act *ActionDSL) SetDefaultProcess() { FILE: widgets/dashboard/api.go function Guard (line 14) | func Guard(c *gin.Context) { function abort (line 42) | func abort(c *gin.Context, code int, message string) { method getAction (line 47) | func (dashboard *DSL) getAction(path string) (*action.Process, error) { function exportAPI (line 62) | func exportAPI() error { FILE: widgets/dashboard/dashboard.go function New (line 38) | func New(id string) *DSL { function LoadAndExport (line 48) | func LoadAndExport(cfg config.Config) error { function Load (line 57) | func Load(cfg config.Config) error { function LoadFile (line 89) | func LoadFile(root string, file string) error { method parse (line 113) | func (dsl *DSL) parse(id string, root string) error { function Get (line 140) | func Get(dashboard interface{}) (*DSL, error) { function MustGet (line 159) | func MustGet(dashboard interface{}) *DSL { method Xgen (line 168) | func (dsl *DSL) Xgen(data map[string]interface{}, excludes map[string]bo... method Actions (line 228) | func (dsl *DSL) Actions() []component.ActionsExport { FILE: widgets/dashboard/dashboard_test.go function TestLoad (line 14) | func TestLoad(t *testing.T) { function prepare (line 26) | func prepare(t *testing.T, language ...string) { FILE: widgets/dashboard/export.go function Export (line 4) | func Export() error { FILE: widgets/dashboard/fields.go method Xgen (line 9) | func (fields *FieldsDSL) Xgen(layout *LayoutDSL) (map[string]interface{}... FILE: widgets/dashboard/handler.go function processHandler (line 16) | func processHandler(p *action.Process, process *gouProcess.Process) (int... FILE: widgets/dashboard/layout.go method Xgen (line 10) | func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[... method Clone (line 92) | func (layout *LayoutDSL) Clone() (*LayoutDSL, error) { FILE: widgets/dashboard/mapping.go method getField (line 11) | func (dsl *DSL) getField() func(string) (*field.ColumnDSL, string, strin... method getFilter (line 21) | func (dsl *DSL) getFilter() func(string) (*field.FilterDSL, string, stri... method mapping (line 31) | func (dsl *DSL) mapping() error { method mappingActions (line 149) | func (dsl *DSL) mappingActions() { FILE: widgets/dashboard/process.go function exportProcess (line 13) | func exportProcess() { function processXgen (line 20) | func processXgen(process *process.Process) interface{} { function processComponent (line 33) | func processComponent(process *process.Process) interface{} { function processSetting (line 62) | func processSetting(process *process.Process) interface{} { function processData (line 68) | func processData(process *process.Process) interface{} { FILE: widgets/dashboard/process_test.go function TestProcessData (line 17) | func TestProcessData(t *testing.T) { function TestProcessComponent (line 31) | func TestProcessComponent(t *testing.T) { function TestProcessComponentError (line 90) | func TestProcessComponentError(t *testing.T) { function TestProcessSetting (line 105) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 123) | func TestProcessXgen(t *testing.T) { function TestProcessXgenWithPermissions (line 141) | func TestProcessXgenWithPermissions(t *testing.T) { function testData (line 182) | func testData(t *testing.T) { function clear (line 197) | func clear(t *testing.T) { FILE: widgets/dashboard/types.go type DSL (line 13) | type DSL struct type ActionDSL (line 26) | type ActionDSL struct type FieldsDSL (line 35) | type FieldsDSL struct type LayoutDSL (line 43) | type LayoutDSL struct type FilterLayoutDSL (line 50) | type FilterLayoutDSL struct type ViewLayoutDSL (line 56) | type ViewLayoutDSL struct FILE: widgets/dashboard/vaildate.go method Validate (line 4) | func (dsl *DSL) Validate() error { FILE: widgets/expression/expression.go function Export (line 19) | func Export() error { function Replace (line 30) | func Replace(ptr interface{}, data map[string]interface{}) error { function replace (line 123) | func replace(value string, data maps.MapStrAny) (interface{}, bool) { function computeOf (line 170) | func computeOf(processName string, argsvars []string, data maps.MapStrAn... function valueOf (line 194) | func valueOf(name string, data maps.MapStrAny) (interface{}, bool) { FILE: widgets/expression/expression_test.go type TestMap (line 10) | type TestMap type TestSlice (line 11) | type TestSlice type TestStruct (line 12) | type TestStruct struct type TestOption (line 19) | type TestOption struct type TestNest (line 28) | type TestNest struct function TestReplaceString (line 36) | func TestReplaceString(t *testing.T) { function TestReplaceMap (line 131) | func TestReplaceMap(t *testing.T) { function TestReplaceSlice (line 144) | func TestReplaceSlice(t *testing.T) { function TestReplaceNest (line 158) | func TestReplaceNest(t *testing.T) { function TestReplaceStruct (line 179) | func TestReplaceStruct(t *testing.T) { function TestReplaceAny (line 201) | func TestReplaceAny(t *testing.T) { function prepare (line 330) | func prepare(t *testing.T) { function testMap (line 334) | func testMap() TestMap { function testSlice (line 341) | func testSlice() TestSlice { function testStruct (line 348) | func testStruct() TestStruct { function testNest (line 370) | func testNest() TestMap { function testData (line 378) | func testData() map[string]interface{} { FILE: widgets/expression/process.go function exportProcess (line 13) | func exportProcess() { function processSelectOption (line 18) | func processSelectOption(process *process.Process) interface{} { function processTrimSpace (line 72) | func processTrimSpace(process *process.Process) interface{} { FILE: widgets/field.go function Fields (line 17) | func Fields() []Item { function Filters (line 32) | func Filters() []Item { function tableFields (line 43) | func tableFields(fields map[string]interface{}) { function formFields (line 50) | func formFields(fields map[string]interface{}) { function chartFields (line 57) | func chartFields(fields map[string]interface{}) { function listFields (line 64) | func listFields(fields map[string]interface{}) { function tableFilters (line 71) | func tableFilters(filters map[string]interface{}) { function chartFilters (line 78) | func chartFilters(filters map[string]interface{}) { function widgetFields (line 85) | func widgetFields(items map[string]interface{}, fields map[string]field.... function widgetFilters (line 116) | func widgetFilters(items map[string]interface{}, fields map[string]field... FILE: widgets/field/column.go method UnmarshalJSON (line 14) | func (column *ColumnDSL) UnmarshalJSON(data []byte) error { method Hash (line 31) | func (column ColumnDSL) Hash() (string, error) { method Replace (line 40) | func (column ColumnDSL) Replace(data map[string]interface{}) (*ColumnDSL... method ViewBind (line 75) | func (column ColumnDSL) ViewBind() string { method EditBind (line 83) | func (column ColumnDSL) EditBind() string { method Parse (line 91) | func (column ColumnDSL) Parse() { method Clone (line 101) | func (column *ColumnDSL) Clone() *ColumnDSL { method Map (line 119) | func (column ColumnDSL) Map() map[string]interface{} { method CPropsMerge (line 148) | func (columns Columns) CPropsMerge(cloudProps map[string]component.Cloud... function mergeCProps (line 187) | func mergeCProps(cloudProps map[string]component.CloudPropsDSL, cProps m... FILE: widgets/field/column_test.go function TestColumnReplace (line 10) | func TestColumnReplace(t *testing.T) { function testColumn (line 29) | func testColumn() ColumnDSL { FILE: widgets/field/field.go function LoadAndExport (line 14) | func LoadAndExport(cfg config.Config) error { function SelectTransform (line 42) | func SelectTransform(name string) (*Transform, error) { function ModelTransform (line 51) | func ModelTransform() (*Transform, error) { FILE: widgets/field/field_test.go function TestLoadAndExport (line 13) | func TestLoadAndExport(t *testing.T) { function testData (line 42) | func testData() map[string]interface{} { function prepare (line 57) | func prepare(t *testing.T) { FILE: widgets/field/filter.go method UnmarshalJSON (line 14) | func (filter *FilterDSL) UnmarshalJSON(data []byte) error { method Parse (line 31) | func (filter FilterDSL) Parse() { method Hash (line 38) | func (filter FilterDSL) Hash() (string, error) { method Replace (line 47) | func (filter FilterDSL) Replace(data map[string]interface{}) (*FilterDSL... method Clone (line 75) | func (filter *FilterDSL) Clone() *FilterDSL { method Map (line 87) | func (filter FilterDSL) Map() map[string]interface{} { method FilterBind (line 102) | func (filter FilterDSL) FilterBind() string { method CPropsMerge (line 110) | func (filters Filters) CPropsMerge(cloudProps map[string]component.Cloud... FILE: widgets/field/filter_test.go function TestFilterReplace (line 10) | func TestFilterReplace(t *testing.T) { function testFilter (line 29) | func testFilter() FilterDSL { FILE: widgets/field/transform.go function OpenTransform (line 15) | func OpenTransform(data []byte, name string) (*Transform, error) { function IsNotFound (line 26) | func IsNotFound(err error) bool { method Filter (line 31) | func (t *Transform) Filter(typeName string, data map[string]interface{})... method Table (line 50) | func (t *Transform) Table(typeName string, data map[string]interface{}) ... method Form (line 69) | func (t *Transform) Form(typeName string, data map[string]interface{}) (... method column (line 88) | func (t *Transform) column(column *ColumnDSL, data map[string]interface{... method filter (line 101) | func (t *Transform) filter(filter *FilterDSL, data map[string]interface{... FILE: widgets/field/transform_test.go function TestOpenTransformReplace (line 13) | func TestOpenTransformReplace(t *testing.T) { function TestTransformFilter (line 28) | func TestTransformFilter(t *testing.T) { function TestTransformTable (line 46) | func TestTransformTable(t *testing.T) { function TestTransformForm (line 61) | func TestTransformForm(t *testing.T) { function testTransformData (line 76) | func testTransformData(t *testing.T) []byte { function testDefaultTransform (line 85) | func testDefaultTransform(t *testing.T) *Transform { FILE: widgets/field/types.go type Filters (line 8) | type Filters type Columns (line 11) | type Columns type ComputeFields (line 14) | type ComputeFields type CloudProps (line 17) | type CloudProps type ColumnDSL (line 20) | type ColumnDSL struct type aliasColumnDSL (line 31) | type aliasColumnDSL type FilterDSL (line 34) | type FilterDSL struct type aliasFilterDSL (line 41) | type aliasFilterDSL type Compute (line 44) | type Compute type Transform (line 47) | type Transform struct type TransformField (line 54) | type TransformField struct FILE: widgets/form/action.go method getDefaults (line 63) | func (act *ActionDSL) getDefaults() map[string]*action.Process { method SetDefaultProcess (line 76) | func (act *ActionDSL) SetDefaultProcess() { method BindModel (line 123) | func (act *ActionDSL) BindModel(m *model.Model) { method BindForm (line 139) | func (act *ActionDSL) BindForm(form *DSL) error { method BindTable (line 164) | func (act *ActionDSL) BindTable(tab *table.DSL) error { FILE: widgets/form/api.go function Guard (line 14) | func Guard(c *gin.Context) { function abort (line 42) | func abort(c *gin.Context, code int, message string) { method getAction (line 47) | func (form *DSL) getAction(path string) (*action.Process, error) { function exportAPI (line 74) | func exportAPI() error { FILE: widgets/form/bind.go method Bind (line 11) | func (dsl *DSL) Bind() error { method bindModel (line 36) | func (dsl *DSL) bindModel() error { method bindForm (line 50) | func (dsl *DSL) bindForm() error { method bindTable (line 89) | func (dsl *DSL) bindTable() error { method bindStore (line 125) | func (dsl *DSL) bindStore() error { FILE: widgets/form/export.go function Export (line 4) | func Export() error { FILE: widgets/form/fields.go method BindModel (line 14) | func (fields *FieldsDSL) BindModel(m *model.Model) error { method BindForm (line 59) | func (fields *FieldsDSL) BindForm(form *DSL) error { method BindTable (line 74) | func (fields *FieldsDSL) BindTable(tab *table.DSL) error { method Xgen (line 112) | func (fields *FieldsDSL) Xgen(layout *LayoutDSL) (map[string]interface{}... FILE: widgets/form/form.go function New (line 58) | func New(id string, file string, source []byte) *DSL { function LoadAndExport (line 71) | func LoadAndExport(cfg config.Config) error { function Load (line 80) | func Load(cfg config.Config) error { function Unload (line 112) | func Unload(id string) { function LoadFileSync (line 117) | func LoadFileSync(root string, file string) error { function LoadFile (line 124) | func LoadFile(root string, file string) error { function LoadID (line 140) | func LoadID(id string) error { function LoadSourceSync (line 161) | func LoadSourceSync(source []byte, id string) (*DSL, error) { function LoadSource (line 168) | func LoadSource(source []byte, id string) (*DSL, error) { function load (line 174) | func load(source []byte, id string, file string) (*DSL, error) { method parse (line 191) | func (dsl *DSL) parse(id string) error { function Get (line 229) | func Get(form interface{}) (*DSL, error) { function MustGet (line 248) | func MustGet(form interface{}) *DSL { method Xgen (line 257) | func (dsl *DSL) Xgen(data map[string]interface{}, excludes map[string]bo... method Actions (line 347) | func (dsl *DSL) Actions() []component.ActionsExport { method Reload (line 365) | func (dsl *DSL) Reload() (*DSL, error) { method Read (line 370) | func (dsl *DSL) Read() []byte { function Exists (line 375) | func Exists(id string) bool { FILE: widgets/form/form_test.go function TestLoad (line 16) | func TestLoad(t *testing.T) { function TestLoadID (line 28) | func TestLoadID(t *testing.T) { function TestLoadSourceSync (line 40) | func TestLoadSourceSync(t *testing.T) { function TestRead (line 74) | func TestRead(t *testing.T) { function prepare (line 94) | func prepare(t *testing.T) { FILE: widgets/form/handler.go function processHandler (line 22) | func processHandler(p *action.Process, process *gouProcess.Process) (int... method translate (line 102) | func (dsl *DSL) translate(name string, process *gouProcess.Process, data... FILE: widgets/form/layout.go method BindModel (line 14) | func (layout *LayoutDSL) BindModel(m *model.Model, formID string, fields... method BindForm (line 100) | func (layout *LayoutDSL) BindForm(form *DSL, fields *FieldsDSL) error { method BindTable (line 119) | func (layout *LayoutDSL) BindTable(tab *table.DSL, formID string, fields... method listColumns (line 198) | func (layout *LayoutDSL) listColumns(fn func(string, Column), path strin... method Xgen (line 235) | func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[... method Filter (line 266) | func (section SectionDSL) Filter(excludes map[string]bool, mapping *mapp... method filterColumns (line 276) | func (section SectionDSL) filterColumns(columns []Column, excludes map[s... method Clone (line 309) | func (layout *LayoutDSL) Clone() (*LayoutDSL, error) { FILE: widgets/form/mapping.go method getField (line 11) | func (dsl *DSL) getField() func(string) (*field.ColumnDSL, string, strin... method mapping (line 21) | func (dsl *DSL) mapping() error { method mappingActions (line 91) | func (dsl *DSL) mappingActions() { FILE: widgets/form/process.go function exportProcess (line 20) | func exportProcess() { function processXgen (line 38) | func processXgen(process *gouProcess.Process) interface{} { function processComponent (line 51) | func processComponent(process *gouProcess.Process) interface{} { function processDownload (line 80) | func processDownload(process *gouProcess.Process) interface{} { function processUpload (line 130) | func processUpload(process *gouProcess.Process) interface{} { function processSetting (line 165) | func processSetting(process *gouProcess.Process) interface{} { function processSave (line 171) | func processSave(process *gouProcess.Process) interface{} { function processCreate (line 176) | func processCreate(process *gouProcess.Process) interface{} { function processFind (line 181) | func processFind(process *gouProcess.Process) interface{} { function processUpdate (line 186) | func processUpdate(process *gouProcess.Process) interface{} { function processDelete (line 191) | func processDelete(process *gouProcess.Process) interface{} { function processLoad (line 197) | func processLoad(process *gouProcess.Process) interface{} { function processReload (line 222) | func processReload(process *gouProcess.Process) interface{} { function processUnload (line 233) | func processUnload(process *gouProcess.Process) interface{} { function processRead (line 240) | func processRead(process *gouProcess.Process) interface{} { function processExists (line 252) | func processExists(process *gouProcess.Process) interface{} { FILE: widgets/form/process_test.go function TestProcessFind (line 23) | func TestProcessFind(t *testing.T) { function TestProcessSave (line 42) | func TestProcessSave(t *testing.T) { function TestProcessCreate (line 75) | func TestProcessCreate(t *testing.T) { function TestProcessUpdate (line 109) | func TestProcessUpdate(t *testing.T) { function TestProcessDelete (line 141) | func TestProcessDelete(t *testing.T) { function TestProcessComponent (line 161) | func TestProcessComponent(t *testing.T) { function TestProcessComponentError (line 190) | func TestProcessComponentError(t *testing.T) { function TestProcessUpload (line 208) | func TestProcessUpload(t *testing.T) { function TestProcessDownload (line 233) | func TestProcessDownload(t *testing.T) { function TestProcessSetting (line 271) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 292) | func TestProcessXgen(t *testing.T) { function TestProcessXgenWithPermissions (line 313) | func TestProcessXgenWithPermissions(t *testing.T) { function TestProcessLoad (line 357) | func TestProcessLoad(t *testing.T) { function TestProcessRead (line 399) | func TestProcessRead(t *testing.T) { function testData (line 410) | func testData(t *testing.T) { function tempFile (line 425) | func tempFile(t *testing.T) string { function clear (line 440) | func clear(t *testing.T) { FILE: widgets/form/types.go type DSL (line 13) | type DSL struct type ActionDSL (line 28) | type ActionDSL struct type BindActionDSL (line 53) | type BindActionDSL struct type LayoutDSL (line 62) | type LayoutDSL struct type FieldsDSL (line 70) | type FieldsDSL struct type ViewLayoutDSL (line 76) | type ViewLayoutDSL struct type FrameDSL (line 83) | type FrameDSL struct type SectionDSL (line 91) | type SectionDSL struct type Column (line 101) | type Column struct FILE: widgets/form/vaildate.go method Validate (line 4) | func (dsl *DSL) Validate() error { FILE: widgets/hook/hook.go function CopyBefore (line 10) | func CopyBefore(hook *Before, new *Before) { function CopyAfter (line 17) | func CopyAfter(hook *After, new *After) { method Exec (line 24) | func (hook *Before) Exec(args []interface{}, sid string, global map[stri... method Exec (line 49) | func (hook *After) Exec(value interface{}, sid string, global map[string... method String (line 73) | func (hook *Before) String() string { method String (line 78) | func (hook *After) String() string { FILE: widgets/hook/types.go type Before (line 4) | type Before type After (line 7) | type After FILE: widgets/item.go type Item (line 10) | type Item struct function Sort (line 17) | func Sort(items []Item, orders []string) { function Grouping (line 45) | func Grouping(items map[string]interface{}) map[string]interface{} { function Array (line 65) | func Array(groupingItems map[string]interface{}, res []Item) []Item { FILE: widgets/list/action.go method SetDefaultProcess (line 47) | func (act *ActionDSL) SetDefaultProcess() { method BindModel (line 77) | func (act *ActionDSL) BindModel(m *model.Model) error { method BindTable (line 82) | func (act *ActionDSL) BindTable(tab *table.DSL) error { FILE: widgets/list/api.go function Guard (line 14) | func Guard(c *gin.Context) { function abort (line 42) | func abort(c *gin.Context, code int, message string) { method getAction (line 47) | func (list *DSL) getAction(path string) (*action.Process, error) { function exportAPI (line 66) | func exportAPI() error { FILE: widgets/list/bind.go method Bind (line 11) | func (dsl *DSL) Bind() error { method bindModel (line 36) | func (dsl *DSL) bindModel() error { method bindTable (line 50) | func (dsl *DSL) bindTable() error { method bindStore (line 86) | func (dsl *DSL) bindStore() error { FILE: widgets/list/export.go function Export (line 4) | func Export() error { FILE: widgets/list/fields.go method BindModel (line 14) | func (fields *FieldsDSL) BindModel(m *model.Model) error { method BindTable (line 56) | func (fields *FieldsDSL) BindTable(tab *table.DSL) error { method Xgen (line 93) | func (fields *FieldsDSL) Xgen(layout *LayoutDSL, query map[string]interf... FILE: widgets/list/handler.go function processHandler (line 22) | func processHandler(p *action.Process, process *gouProcess.Process) (int... method translate (line 102) | func (dsl *DSL) translate(name string, process *gouProcess.Process, data... FILE: widgets/list/layout.go method BindModel (line 12) | func (layout *LayoutDSL) BindModel(m *model.Model, listID string, fields... method BindTable (line 67) | func (layout *LayoutDSL) BindTable(tab *table.DSL, listID string, fields... method Xgen (line 124) | func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[... method Clone (line 151) | func (layout *LayoutDSL) Clone() (*LayoutDSL, error) { FILE: widgets/list/list.go function New (line 50) | func New(id string) *DSL { function LoadAndExport (line 61) | func LoadAndExport(cfg config.Config) error { function Load (line 70) | func Load(cfg config.Config) error { function LoadFile (line 101) | func LoadFile(root string, file string) error { function LoadID (line 125) | func LoadID(id string, root string) error { method parse (line 145) | func (dsl *DSL) parse(id string, root string) error { function Get (line 183) | func Get(list interface{}) (*DSL, error) { function MustGet (line 202) | func MustGet(list interface{}) *DSL { method Xgen (line 211) | func (dsl *DSL) Xgen(data map[string]interface{}, excludes map[string]bo... FILE: widgets/list/list_test.go function TestLoad (line 16) | func TestLoad(t *testing.T) { function prepare (line 27) | func prepare(t *testing.T, language ...string) { FILE: widgets/list/mapping.go method getField (line 11) | func (dsl *DSL) getField() func(string) (*field.ColumnDSL, string, strin... method mapping (line 21) | func (dsl *DSL) mapping() error { FILE: widgets/list/process.go function exportProcess (line 18) | func exportProcess() { function processXgen (line 27) | func processXgen(process *gouProcess.Process) interface{} { function processComponent (line 39) | func processComponent(process *gouProcess.Process) interface{} { function processDownload (line 68) | func processDownload(process *gouProcess.Process) interface{} { function processUpload (line 112) | func processUpload(process *gouProcess.Process) interface{} { function processSetting (line 147) | func processSetting(process *gouProcess.Process) interface{} { function processGet (line 167) | func processGet(process *gouProcess.Process) interface{} { function processSave (line 172) | func processSave(process *gouProcess.Process) interface{} { FILE: widgets/list/process_test.go function TestProcessSetting (line 17) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 35) | func TestProcessXgen(t *testing.T) { function TestProcessXgenWithPermissions (line 53) | func TestProcessXgenWithPermissions(t *testing.T) { function load (line 91) | func load(t *testing.T) { function testData (line 99) | func testData(t *testing.T) { function tempFile (line 114) | func tempFile(t *testing.T) string { function clear (line 129) | func clear(t *testing.T) { FILE: widgets/list/types.go type DSL (line 13) | type DSL struct type ActionDSL (line 27) | type ActionDSL struct type BindActionDSL (line 42) | type BindActionDSL struct type LayoutDSL (line 50) | type LayoutDSL struct type OperationLayoutDSL (line 56) | type OperationLayoutDSL struct type FieldsDSL (line 62) | type FieldsDSL struct type ViewLayoutDSL (line 68) | type ViewLayoutDSL struct FILE: widgets/list/vaildate.go method Validate (line 4) | func (dsl *DSL) Validate() error { FILE: widgets/login/login.go function LoadAndExport (line 23) | func LoadAndExport(cfg config.Config) error { function Load (line 32) | func Load(cfg config.Config) error { function LoadFile (line 53) | func LoadFile(root string, file string) error { function Export (line 72) | func Export() error { function exportAPI (line 78) | func exportAPI() error { FILE: widgets/login/login_test.go function TestLoad (line 15) | func TestLoad(t *testing.T) { function TestLoadHK (line 48) | func TestLoadHK(t *testing.T) { function TestLoadCN (line 105) | func TestLoadCN(t *testing.T) { function TestExport (line 146) | func TestExport(t *testing.T) { FILE: widgets/login/process.go function exportProcess (line 24) | func exportProcess() { function processLoginAdmin (line 29) | func processLoginAdmin(process *process.Process) interface{} { function auth (line 68) | func auth(field string, value string, password string, sid string) maps.... FILE: widgets/login/types.go type DSL (line 4) | type DSL struct type ActionDSL (line 13) | type ActionDSL struct type LayoutDSL (line 19) | type LayoutDSL struct type ThirdPartyLoginDSL (line 28) | type ThirdPartyLoginDSL struct FILE: widgets/mapping/mapping.go type Mapping (line 4) | type Mapping struct FILE: widgets/models.go function Models (line 12) | func Models() []Item { FILE: widgets/process.go function init (line 16) | func init() { function processApis (line 21) | func processApis(process *process.Process) interface{} { function processActions (line 26) | func processActions(process *process.Process) interface{} { function processModels (line 31) | func processModels(process *process.Process) interface{} { function processFields (line 36) | func processFields(process *process.Process) interface{} { function processFilters (line 41) | func processFilters(process *process.Process) interface{} { function processFlows (line 46) | func processFlows() {} function processScripts (line 49) | func processScripts() {} FILE: widgets/process_test.go function TestProcessApis (line 12) | func TestProcessApis(t *testing.T) { function TestProcessActions (line 25) | func TestProcessActions(t *testing.T) { function TestProcessModels (line 38) | func TestProcessModels(t *testing.T) { function TestProcessFields (line 51) | func TestProcessFields(t *testing.T) { function TestProcessFilters (line 64) | func TestProcessFilters(t *testing.T) { function testData (line 77) | func testData(t *testing.T) { FILE: widgets/table/action.go method getDefaults (line 97) | func (act *ActionDSL) getDefaults() map[string]*action.Process { method SetDefaultProcess (line 110) | func (act *ActionDSL) SetDefaultProcess() { method BindModel (line 191) | func (act *ActionDSL) BindModel(m *model.Model) error { method BindTable (line 218) | func (act *ActionDSL) BindTable(tab *DSL) error { FILE: widgets/table/api.go function Guard (line 14) | func Guard(c *gin.Context) { function abort (line 42) | func abort(c *gin.Context, code int, message string) { method getAction (line 47) | func (table *DSL) getAction(path string) (*action.Process, error) { function exportAPI (line 88) | func exportAPI() error { FILE: widgets/table/api_test.go function TestAPISetting (line 20) | func TestAPISetting(t *testing.T) { function TestAPISearch (line 51) | func TestAPISearch(t *testing.T) { function TestAPISave (line 82) | func TestAPISave(t *testing.T) { function TestAPICustomGuard (line 118) | func TestAPICustomGuard(t *testing.T) { function TestAPIGlobalCustomGuard (line 151) | func TestAPIGlobalCustomGuard(t *testing.T) { function start (line 185) | func start(t *testing.T) int { function stop (line 195) | func stop() { function token (line 199) | func token(t *testing.T) string { FILE: widgets/table/bind.go method Bind (line 10) | func (dsl *DSL) Bind() error { method bindModel (line 31) | func (dsl *DSL) bindModel() error { method bindTable (line 57) | func (dsl *DSL) bindTable() error { method bindStore (line 98) | func (dsl *DSL) bindStore() error { FILE: widgets/table/excel.go method Export (line 17) | func (dsl *DSL) Export(filename string, data interface{}, page int, chun... method exportSetting (line 95) | func (dsl *DSL) exportSetting() ([]map[string]string, error) { FILE: widgets/table/export.go function Export (line 4) | func Export() error { FILE: widgets/table/fields.go method TableMap (line 14) | func (fields *FieldsDSL) TableMap() map[string]field.ColumnDSL { method BindModel (line 19) | func (fields *FieldsDSL) BindModel(m *model.Model) error { method BindTable (line 87) | func (fields *FieldsDSL) BindTable(tab *DSL) error { method Xgen (line 117) | func (fields *FieldsDSL) Xgen(layout *LayoutDSL) (map[string]interface{}... FILE: widgets/table/fields_test.go function TestFiledsBindModel (line 12) | func TestFiledsBindModel(t *testing.T) { FILE: widgets/table/handler.go function processHandler (line 23) | func processHandler(p *action.Process, process *gouProcess.Process) (int... method translate (line 109) | func (dsl *DSL) translate(name string, process *gouProcess.Process, data... FILE: widgets/table/layout.go method BindModel (line 13) | func (layout *LayoutDSL) BindModel(m *model.Model, fields *FieldsDSL, op... method BindTable (line 145) | func (layout *LayoutDSL) BindTable(tab *DSL, fields *FieldsDSL) error { method Xgen (line 165) | func (layout *LayoutDSL) Xgen(data map[string]interface{}, excludes map[... method Clone (line 260) | func (layout *LayoutDSL) Clone() (*LayoutDSL, error) { FILE: widgets/table/mapping.go method getField (line 11) | func (dsl *DSL) getField() func(string) (*field.ColumnDSL, string, strin... method getFilter (line 21) | func (dsl *DSL) getFilter() func(string) (*field.FilterDSL, string, stri... method mapping (line 32) | func (dsl *DSL) mapping() error { method mappingActions (line 138) | func (dsl *DSL) mappingActions() { FILE: widgets/table/mapping_test.go function TestMapping (line 14) | func TestMapping(t *testing.T) { function TestMappingFind (line 35) | func TestMappingFind(t *testing.T) { function TestMappingGet (line 53) | func TestMappingGet(t *testing.T) { function TestMappingSearch (line 75) | func TestMappingSearch(t *testing.T) { function TestMappingSave (line 94) | func TestMappingSave(t *testing.T) { function TestMappingUpdate (line 127) | func TestMappingUpdate(t *testing.T) { function TestMappingInsert (line 159) | func TestMappingInsert(t *testing.T) { FILE: widgets/table/process.go function exportProcess (line 26) | func exportProcess() { function processXgen (line 58) | func processXgen(process *gouProcess.Process) interface{} { function processDownload (line 70) | func processDownload(process *gouProcess.Process) interface{} { function processUpload (line 120) | func processUpload(process *gouProcess.Process) interface{} { function processComponent (line 155) | func processComponent(process *gouProcess.Process) interface{} { function processSetting (line 184) | func processSetting(process *gouProcess.Process) interface{} { function processSearch (line 190) | func processSearch(process *gouProcess.Process) interface{} { function processGet (line 195) | func processGet(process *gouProcess.Process) interface{} { function processSave (line 200) | func processSave(process *gouProcess.Process) interface{} { function processCreate (line 205) | func processCreate(process *gouProcess.Process) interface{} { function processFind (line 210) | func processFind(process *gouProcess.Process) interface{} { function processInsert (line 215) | func processInsert(process *gouProcess.Process) interface{} { function processUpdate (line 220) | func processUpdate(process *gouProcess.Process) interface{} { function processUpdateWhere (line 225) | func processUpdateWhere(process *gouProcess.Process) interface{} { function processUpdateIn (line 230) | func processUpdateIn(process *gouProcess.Process) interface{} { function processDelete (line 242) | func processDelete(process *gouProcess.Process) interface{} { function processDeleteWhere (line 247) | func processDeleteWhere(process *gouProcess.Process) interface{} { function processDeleteIn (line 252) | func processDeleteIn(process *gouProcess.Process) interface{} { function processExport (line 265) | func processExport(process *gouProcess.Process) interface{} { function processLoad (line 327) | func processLoad(process *gouProcess.Process) interface{} { function processReload (line 351) | func processReload(process *gouProcess.Process) interface{} { function processUnload (line 362) | func processUnload(process *gouProcess.Process) interface{} { function processRead (line 369) | func processRead(process *gouProcess.Process) interface{} { function processExists (line 376) | func processExists(process *gouProcess.Process) interface{} { function processList (line 382) | func processList(process *gouProcess.Process) interface{} { function GetTables (line 388) | func GetTables() map[string]*DSL { function processDSL (line 393) | func processDSL(process *gouProcess.Process) interface{} { FILE: widgets/table/process_test.go function TestProcessSearch (line 23) | func TestProcessSearch(t *testing.T) { function TestProcessGet (line 51) | func TestProcessGet(t *testing.T) { function TestProcessFind (line 81) | func TestProcessFind(t *testing.T) { function TestProcessSave (line 100) | func TestProcessSave(t *testing.T) { function TestProcessCreate (line 133) | func TestProcessCreate(t *testing.T) { function TestProcessUpdate (line 167) | func TestProcessUpdate(t *testing.T) { function TestProcessUpdateWhere (line 199) | func TestProcessUpdateWhere(t *testing.T) { function TestProcessUpdateIn (line 233) | func TestProcessUpdateIn(t *testing.T) { function TestProcessInsert (line 266) | func TestProcessInsert(t *testing.T) { function TestProcessDelete (line 296) | func TestProcessDelete(t *testing.T) { function TestProcessDeleteWhere (line 315) | func TestProcessDeleteWhere(t *testing.T) { function TestProcessDeleteIn (line 337) | func TestProcessDeleteIn(t *testing.T) { function TestProcessComponent (line 356) | func TestProcessComponent(t *testing.T) { function TestProcessComponentError (line 384) | func TestProcessComponentError(t *testing.T) { function TestProcessUpload (line 402) | func TestProcessUpload(t *testing.T) { function TestProcessDownload (line 427) | func TestProcessDownload(t *testing.T) { function TestProcessSetting (line 464) | func TestProcessSetting(t *testing.T) { function TestProcessXgen (line 487) | func TestProcessXgen(t *testing.T) { function TestProcessXgenWithPermissions (line 511) | func TestProcessXgenWithPermissions(t *testing.T) { function TestProcessExport (line 562) | func TestProcessExport(t *testing.T) { function TestProcessLoad (line 585) | func TestProcessLoad(t *testing.T) { function TestProcessRead (line 632) | func TestProcessRead(t *testing.T) { function TestProcessList (line 643) | func TestProcessList(t *testing.T) { function TestProcessDSL (line 663) | func TestProcessDSL(t *testing.T) { function testData (line 683) | func testData(t *testing.T) { function tempFile (line 698) | func tempFile(t *testing.T) string { function clear (line 713) | func clear(t *testing.T) { FILE: widgets/table/table.go function New (line 88) | func New(id string, file string, source []byte) *DSL { function LoadAndExport (line 100) | func LoadAndExport(cfg config.Config) error { function Load (line 109) | func Load(cfg config.Config) error { function Unload (line 141) | func Unload(id string) { function LoadID (line 146) | func LoadID(id string) error { function LoadFileSync (line 167) | func LoadFileSync(root string, file string) error { function LoadFile (line 174) | func LoadFile(root string, file string) error { function LoadSourceSync (line 190) | func LoadSourceSync(source []byte, id string) (*DSL, error) { function LoadSource (line 197) | func LoadSource(source []byte, id string) (*DSL, error) { function load (line 203) | func load(source []byte, id string, file string) (*DSL, error) { method parse (line 220) | func (dsl *DSL) parse(id string) error { function Get (line 268) | func Get(table interface{}) (*DSL, error) { function MustGet (line 287) | func MustGet(table interface{}) *DSL { method Xgen (line 296) | func (dsl *DSL) Xgen(data map[string]interface{}, excludes map[string]bo... method Actions (line 378) | func (dsl *DSL) Actions() []component.ActionsExport { method Reload (line 425) | func (dsl *DSL) Reload() (*DSL, error) { method Read (line 430) | func (dsl *DSL) Read() []byte { function Exists (line 435) | func Exists(id string) bool { FILE: widgets/table/table_test.go function TestLoad (line 17) | func TestLoad(t *testing.T) { function TestLoadID (line 30) | func TestLoadID(t *testing.T) { function TestLoadSourceSync (line 40) | func TestLoadSourceSync(t *testing.T) { function TestRead (line 79) | func TestRead(t *testing.T) { function prepare (line 100) | func prepare(t *testing.T) { FILE: widgets/table/types.go type DSL (line 13) | type DSL struct type ActionDSL (line 29) | type ActionDSL struct type BindActionDSL (line 75) | type BindActionDSL struct type LayoutDSL (line 84) | type LayoutDSL struct type HeaderLayoutDSL (line 93) | type HeaderLayoutDSL struct type PresetHeaderDSL (line 99) | type PresetHeaderDSL struct type BatchPresetDSL (line 105) | type BatchPresetDSL struct type ImportPresetDSL (line 111) | type ImportPresetDSL struct type FilterLayoutDSL (line 117) | type FilterLayoutDSL struct type ViewLayoutDSL (line 123) | type ViewLayoutDSL struct type OperationTableDSL (line 130) | type OperationTableDSL struct type FieldsDSL (line 138) | type FieldsDSL struct FILE: widgets/table/validate.go method Validate (line 4) | func (dsl *DSL) Validate() error { FILE: widgets/widgets.go function Load (line 21) | func Load(cfg config.Config) error { FILE: widgets/widgets_test.go function TestLoad (line 11) | func TestLoad(t *testing.T) { FILE: workspace/bench_test.go function BenchmarkWriteFile (line 13) | func BenchmarkWriteFile(b *testing.B) { function BenchmarkReadFile (line 32) | func BenchmarkReadFile(b *testing.B) { function BenchmarkReadWriteCycle (line 57) | func BenchmarkReadWriteCycle(b *testing.B) { function BenchmarkWriteLargeFile (line 84) | func BenchmarkWriteLargeFile(b *testing.B) { function BenchmarkListDir (line 107) | func BenchmarkListDir(b *testing.B) { function BenchmarkFSWalkDir (line 133) | func BenchmarkFSWalkDir(b *testing.B) { function BenchmarkCreateDelete (line 177) | func BenchmarkCreateDelete(b *testing.B) { FILE: workspace/fileio_test.go function TestReadWriteFile (line 14) | func TestReadWriteFile(t *testing.T) { function TestWriteFile_NestedPath (line 31) | func TestWriteFile_NestedPath(t *testing.T) { function TestListDir (line 48) | func TestListDir(t *testing.T) { function TestRemoveFile (line 70) | func TestRemoveFile(t *testing.T) { function TestFS_ReadFile (line 88) | func TestFS_ReadFile(t *testing.T) { function TestFS_WriteFile (line 107) | func TestFS_WriteFile(t *testing.T) { function TestFS_MkdirAll (line 127) | func TestFS_MkdirAll(t *testing.T) { function TestFS_Rename (line 147) | func TestFS_Rename(t *testing.T) { function TestFS_WalkDir (line 173) | func TestFS_WalkDir(t *testing.T) { function TestFS_Remove (line 203) | func TestFS_Remove(t *testing.T) { function TestFS_NotFound (line 224) | func TestFS_NotFound(t *testing.T) { function TestManagerRename (line 234) | func TestManagerRename(t *testing.T) { function TestManagerRename_NotFound (line 254) | func TestManagerRename_NotFound(t *testing.T) { function TestManagerMkdirAll (line 264) | func TestManagerMkdirAll(t *testing.T) { function TestManagerMkdirAll_NotFound (line 281) | func TestManagerMkdirAll_NotFound(t *testing.T) { function TestManagerVolume (line 291) | func TestManagerVolume(t *testing.T) { function TestManagerVolume_NotFound (line 311) | func TestManagerVolume_NotFound(t *testing.T) { FILE: workspace/jsapi/fs.go function NewFSObject (line 22) | func NewFSObject(v8ctx *v8go.Context, workspaceID string) (*v8go.Value, ... function archiveHandler (line 294) | func archiveHandler(iso *v8go.Isolate, wsID, op string) v8go.FunctionCal... function readDirRecursive (line 351) | func readDirRecursive(info *v8go.FunctionCallbackInfo, wsID, path string... function fileInfoToJS (line 383) | func fileInfoToJS(info *v8go.FunctionCallbackInfo, fi fs.FileInfo) *v8go... function copyHandler (line 395) | func copyHandler(info *v8go.FunctionCallbackInfo, wsID string) *v8go.Val... function syncResultToJS (line 447) | func syncResultToJS(info *v8go.FunctionCallbackInfo, r *volume.SyncResul... function mapHostURI (line 461) | func mapHostURI(raw string) string { function parseStringArray (line 491) | func parseStringArray(val *v8go.Value) []string { FILE: workspace/jsapi/jsapi.go function init (line 13) | func init() { function ExportObject (line 17) | func ExportObject(iso *v8go.Isolate) *v8go.ObjectTemplate { function wsCreate (line 26) | func wsCreate(info *v8go.FunctionCallbackInfo) *v8go.Value { function wsGet (line 72) | func wsGet(info *v8go.FunctionCallbackInfo) *v8go.Value { function wsList (line 94) | func wsList(info *v8go.FunctionCallbackInfo) *v8go.Value { function wsDelete (line 144) | func wsDelete(info *v8go.FunctionCallbackInfo) *v8go.Value { function throwError (line 159) | func throwError(info *v8go.FunctionCallbackInfo, msg string) *v8go.Value { function parseStringMapFromValue (line 166) | func parseStringMapFromValue(v8ctx *v8go.Context, val *v8go.Value) map[s... FILE: workspace/jsapi/jsapi_test.go type testMode (line 19) | type testMode struct function testModes (line 24) | func testModes() []testMode { function setupForMode (line 33) | func setupForMode(t *testing.T, m testMode) { function taiIDFromAddr (line 64) | func taiIDFromAddr(addr string) string { function parseHostPort (line 70) | func parseHostPort(addr string) (string, int) { function setupGlobal (line 82) | func setupGlobal(t *testing.T) { function runJS (line 87) | func runJS(t *testing.T, source string) interface{} { function toInt (line 100) | func toInt(v interface{}) int { function TestWSCreateAndDelete (line 117) | func TestWSCreateAndDelete(t *testing.T) { function TestWSGet (line 134) | func TestWSGet(t *testing.T) { function TestWSGetNotFound (line 152) | func TestWSGetNotFound(t *testing.T) { function TestWSList (line 167) | func TestWSList(t *testing.T) { function TestWSReadWriteFile (line 187) | func TestWSReadWriteFile(t *testing.T) { function TestWSReadDir (line 205) | func TestWSReadDir(t *testing.T) { function TestWSReadDirRecursive (line 225) | func TestWSReadDirRecursive(t *testing.T) { function TestWSStat (line 246) | func TestWSStat(t *testing.T) { function TestWSExistsIsDirIsFile (line 264) | func TestWSExistsIsDirIsFile(t *testing.T) { function TestWSRemoveAndRename (line 290) | func TestWSRemoveAndRename(t *testing.T) { function TestWSBase64 (line 320) | func TestWSBase64(t *testing.T) { function TestWSCopyInternal (line 340) | func TestWSCopyInternal(t *testing.T) { function TestWSCopyLocalToLocal (line 359) | func TestWSCopyLocalToLocal(t *testing.T) { function TestWSZipUnzip (line 385) | func TestWSZipUnzip(t *testing.T) { function TestWSGzipGunzip (line 407) | func TestWSGzipGunzip(t *testing.T) { function TestWSTarUntar (line 427) | func TestWSTarUntar(t *testing.T) { function TestWSTgzUntgz (line 448) | func TestWSTgzUntgz(t *testing.T) { function TestWSZipExcludes (line 469) | func TestWSZipExcludes(t *testing.T) { FILE: workspace/manager.go function M (line 19) | func M() *Manager { type Manager (line 24) | type Manager struct method Create (line 32) | func (m *Manager) Create(ctx context.Context, opts CreateOptions) (*Wo... method Get (line 75) | func (m *Manager) Get(ctx context.Context, id string) (*Workspace, err... method List (line 94) | func (m *Manager) List(ctx context.Context, opts ListOptions) ([]*Work... method Update (line 129) | func (m *Manager) Update(ctx context.Context, id string, opts UpdateOp... method Delete (line 154) | func (m *Manager) Delete(ctx context.Context, id string, force bool) e... method Nodes (line 166) | func (m *Manager) Nodes() []NodeInfo { method FS (line 179) | func (m *Manager) FS(ctx context.Context, id string) (taiworkspace.FS,... method ReadFile (line 188) | func (m *Manager) ReadFile(ctx context.Context, id string, path string... method WriteFile (line 198) | func (m *Manager) WriteFile(ctx context.Context, id string, path strin... method ListDir (line 207) | func (m *Manager) ListDir(ctx context.Context, id string, path string)... method Remove (line 228) | func (m *Manager) Remove(ctx context.Context, id string, path string) ... method Rename (line 237) | func (m *Manager) Rename(ctx context.Context, id string, oldPath, newP... method MkdirAll (line 246) | func (m *Manager) MkdirAll(ctx context.Context, id string, path string... method Volume (line 255) | func (m *Manager) Volume(ctx context.Context, id string) (volume.Volum... method NodeForWorkspace (line 264) | func (m *Manager) NodeForWorkspace(ctx context.Context, id string) (st... method MountPath (line 273) | func (m *Manager) MountPath(ctx context.Context, id string) (string, e... method resolve (line 284) | func (m *Manager) resolve(ctx context.Context, id string) (*Workspace,... function NewManager (line 27) | func NewManager() *Manager { function readMeta (line 299) | func readMeta(ctx context.Context, vol volume.Volume, id string) (*Works... function listNodes (line 307) | func listNodes() []taitypes.NodeMeta { type DirEntry (line 316) | type DirEntry struct FILE: workspace/testutils_test.go type poolConfig (line 18) | type poolConfig struct function testPools (line 23) | func testPools() []poolConfig { function taiIDFromAddr (line 34) | func taiIDFromAddr(addr string) string { function ensureRegistry (line 56) | func ensureRegistry(tb testing.TB) { function setupManagerForPool (line 61) | func setupManagerForPool(tb testing.TB, pc poolConfig) *workspace.Manager { function registerForTest (line 68) | func registerForTest(tb testing.TB, pc poolConfig) { function registerLocalForTest (line 87) | func registerLocalForTest(tb testing.TB, dataDir string) { function parseHostPort (line 100) | func parseHostPort(addr string) (string, int) { function setupManagerMultiNode (line 112) | func setupManagerMultiNode(t *testing.T) (*workspace.Manager, string, st... function createWorkspace (line 140) | func createWorkspace(tb testing.TB, m *workspace.Manager, node string, o... FILE: workspace/workspace.go type MountMode (line 13) | type MountMode constant MountRW (line 16) | MountRW MountMode = "rw" constant MountRO (line 17) | MountRO MountMode = "ro" constant metadataFile (line 20) | metadataFile = ".workspace.json" type Workspace (line 25) | type Workspace struct type CreateOptions (line 36) | type CreateOptions struct type ListOptions (line 45) | type ListOptions struct type UpdateOptions (line 52) | type UpdateOptions struct type NodeInfo (line 58) | type NodeInfo struct function generateID (line 64) | func generateID() string { function marshalMeta (line 68) | func marshalMeta(ws *Workspace) ([]byte, error) { function unmarshalMeta (line 72) | func unmarshalMeta(data []byte) (*Workspace, error) { FILE: workspace/workspace_test.go function TestCreate (line 13) | func TestCreate(t *testing.T) { function TestCreate_AutoID (line 29) | func TestCreate_AutoID(t *testing.T) { function TestCreate_ExplicitID (line 41) | func TestCreate_ExplicitID(t *testing.T) { function TestCreate_WithLabels (line 54) | func TestCreate_WithLabels(t *testing.T) { function TestCreate_InvalidNode (line 68) | func TestCreate_InvalidNode(t *testing.T) { function TestCreate_NodeNotFound (line 82) | func TestCreate_NodeNotFound(t *testing.T) { function TestGet (line 96) | func TestGet(t *testing.T) { function TestGet_NotFound (line 112) | func TestGet_NotFound(t *testing.T) { function TestList (line 122) | func TestList(t *testing.T) { function TestList_FilterOwner (line 136) | func TestList_FilterOwner(t *testing.T) { function TestList_FilterNode (line 157) | func TestList_FilterNode(t *testing.T) { function TestUpdate_Name (line 172) | func TestUpdate_Name(t *testing.T) { function TestUpdate_Labels (line 190) | func TestUpdate_Labels(t *testing.T) { function TestUpdate_NotFound (line 208) | func TestUpdate_NotFound(t *testing.T) { function TestDelete (line 218) | func TestDelete(t *testing.T) { function TestDelete_NotFound (line 236) | func TestDelete_NotFound(t *testing.T) { function TestNodes (line 246) | func TestNodes(t *testing.T) { function TestNodeForWorkspace (line 259) | func TestNodeForWorkspace(t *testing.T) { function TestNodeForWorkspace_NotFound (line 272) | func TestNodeForWorkspace_NotFound(t *testing.T) { function TestRegistryDrivenNodes (line 282) | func TestRegistryDrivenNodes(t *testing.T) { function TestMountPath (line 295) | func TestMountPath(t *testing.T) { function TestMountPath_NotFound (line 304) | func TestMountPath_NotFound(t *testing.T) { FILE: yao/assistants/keyword/src/index.ts type Keyword (line 10) | interface Keyword { function Next (line 19) | function Next( function parseKeywordArray (line 65) | function parseKeywordArray(items: (string | any)[]): Keyword[] { function parseKeywordString (line 91) | function parseKeywordString(str: string): Keyword | null { function extractKeywordsFromText (line 117) | function extractKeywordsFromText(text: string): Keyword[] { FILE: yao/assistants/needsearch/src/index.ts type SearchResult (line 8) | interface SearchResult { function Next (line 18) | function Next( function extractFromText (line 75) | function extractFromText(text: string): SearchResult { FILE: yao/assistants/querydsl/src/index.ts constant VALID_SCENARIOS (line 15) | const VALID_SCENARIOS = ["filter", "aggregation", "join", "complex"]; function Create (line 20) | function Create( function Next (line 41) | function Next(