Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResultListKind = "FunctionResultList" ResultListGroup = kptfilev1alpha2.KptFileGroup ResultListVersion = kptfilev1alpha2.KptFileVersion ResultListAPIVersion = ResultListGroup + "/" + ResultListVersion )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
// Image is the full name of the image that generates this result
// Image and Exec are mutually exclusive
Image string `yaml:"image,omitempty"`
// ExecPath is the the absolute os-specific path to the executable file
ExecPath string `yaml:"exec,omitempty"`
// Stderr is the content in function stderr
Stderr string `yaml:"stderr,omitempty"`
// ExitCode is the exit code from running the function
ExitCode int `yaml:"exitCode,omitempty"`
// Results is the list of results for the function
Results []framework.ResultItem `yaml:"results,omitempty"`
}
Result contains the structured result from an individual function
type ResultList ¶
type ResultList struct {
yaml.ResourceMeta `yaml:",inline"`
// ExitCode is the exit code of kpt command
ExitCode int `yaml:"exitCode,omitempty"`
// Items contain a list of function result
Items []Result `yaml:"items,omitempty"`
}
ResultList contains aggregated results from multiple functions
Click to show internal directories.
Click to hide internal directories.