bytesSource is used to load an agent configuration from a []byte.
| 71 | |
| 72 | // bytesSource is used to load an agent configuration from a []byte. |
| 73 | type bytesSource struct { |
| 74 | name string |
| 75 | data []byte |
| 76 | } |
| 77 | |
| 78 | func NewBytesSource(name string, data []byte) Source { |
| 79 | return bytesSource{ |
nothing calls this directly
no outgoing calls
no test coverage detected