Discover Packages
github.com/airlockrun/agentsdk
agenttest
examples
csv
package
Version:
v0.8.4
Opens a new window with list of versions in this module.
Published: Nov 9, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package csvexample declares an app-owned CSV task with a native artifact tool.
NewApp registers a real hosted task with an explicitly provisioned app-local
artifact directory. Models/resources are bound by Airlock, not the factory.
type Input struct {
Rows [][]string `json:"rows"`
}
Input supplies already structured table cells, preserving their exact strings.
type Output struct {
Filename string `json:"filename"`
Rows int `json:"rows"`
}
Output identifies the artifact and the number of data rows, excluding headers.
WriteCSV is deterministic domain work; it has no host/model dependency.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.