Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesScrubber ¶
type Config ¶
type Config struct {
FilePath string `json:"file_path"`
Args []string `json:"args"`
Image string `json:"image"`
EnablePull bool `json:"enable_pull"`
ContainerID string `json:"container_id"`
ContainerName string `json:"container_name"`
Command string `json:"command"`
Scrub Scrub `json:"scrub"` // TODO: should we pull scrub up one level into Spec?
}
type DockerRunCommandOptions ¶
type DockerRunCommandOptions struct {
ContainerCreateConfig dockertypes.ContainerCreateConfig
EnablePull bool
}
type Result ¶
type Result struct {
Description string `json:"description"`
// The subpath within the bundle
Path string `json:"path"`
Error error `json:"error,omitempty"`
}
Result represents a single file within a support bundle or the failure to collect the data for a single file within a support bundle. A Result may have both a Pathname and an Error if the file written was corrupted or incomplete.
func (*Result) MarshalJSON ¶
Result.Error will be {} if it has no exported fields, so replace it with a string.
func (*Result) UnmarshalJSON ¶
convert Error from string to error
type StreamsProducer ¶
probably stdout and stderr
type StructuredProducer ¶
Click to show internal directories.
Click to hide internal directories.