Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/docker/docker-agent
/ NewBytesSource
Function
NewBytesSource
pkg/config/sources.go:78–83 ·
view source on GitHub ↗
(name string, data []byte)
Source
from the content-addressed store, hash-verified
76
}
77
78
func
NewBytesSource(name string, data []byte) Source {
79
return
bytesSource{
80
name: name,
81
data: data,
82
}
83
}
84
85
func
(a bytesSource) Name() string {
86
return
a.name
Callers
15
TestBuildCreatorConfigYAML
Function · 0.92
TestBuildCreatorConfigYAML_MultilineStrings
Function · 0.92
Load
Function · 0.92
TestPackageFileAsOCIToStore_InlinesInstructionFile
Function · 0.92
TestResolveSource_ExactMatchPreferred
Function · 0.92
TestResolveSource_FallbackAcrossTag
Function · 0.92
TestResolveSource_AmbiguousFallbackFails
Function · 0.92
TestResolveSource_NoMatchFails
Function · 0.92
TestResolveSource_LocalFileKeyExactOnly
Function · 0.92
TestForkSkillToolsets_Resolved
Function · 0.92
TestForkSkillToolsets_AllowedToolsThreaded
Function · 0.92
TestForkSkillToolsets_ReadonlyAgentFiltersMutatingTools
Function · 0.92
Calls
no outgoing calls
Tested by
15
TestBuildCreatorConfigYAML
Function · 0.74
TestBuildCreatorConfigYAML_MultilineStrings
Function · 0.74
TestPackageFileAsOCIToStore_InlinesInstructionFile
Function · 0.74
TestResolveSource_ExactMatchPreferred
Function · 0.74
TestResolveSource_FallbackAcrossTag
Function · 0.74
TestResolveSource_AmbiguousFallbackFails
Function · 0.74
TestResolveSource_NoMatchFails
Function · 0.74
TestResolveSource_LocalFileKeyExactOnly
Function · 0.74
TestForkSkillToolsets_Resolved
Function · 0.74
TestForkSkillToolsets_AllowedToolsThreaded
Function · 0.74
TestForkSkillToolsets_ReadonlyAgentFiltersMutatingTools
Function · 0.74
TestTitleModelResolution
Function · 0.74