Documentation
¶
Overview ¶
Package support builds daemon-owned support bundles and tracks bundle operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOperationNotFound = errors.New("support: bundle operation not found") ErrOperationNotReady = errors.New("support: bundle operation is not ready for download") )
Functions ¶
func BundlesDir ¶
Types ¶
type Builder ¶
type CreateRequest ¶
type CreateRequest struct {
IncludeStatus bool
}
type HomeTreeEntry ¶
type Manifest ¶
type Manifest struct {
SchemaVersion string `json:"schema_version"`
OperationID string `json:"operation_id"`
CreatedAt time.Time `json:"created_at"`
BundleMaxBytes int64 `json:"bundle_max_bytes"`
ArtifactMaxBytes int64 `json:"artifact_max_bytes"`
LogTailMaxBytes int64 `json:"log_tail_max_bytes"`
EventSummaryMaxBytes int64 `json:"event_summary_max_bytes"`
RedactionVersion string `json:"redaction_version"`
Artifacts []ManifestArtifact `json:"artifacts"`
}
type ManifestArtifact ¶
type OperationStatus ¶
type OperationStatus string
const ( OperationPending OperationStatus = "pending" OperationRunning OperationStatus = "running" OperationCompleted OperationStatus = "completed" OperationFailed OperationStatus = "failed" )
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) DownloadPath ¶
type Sources ¶
type Sources struct {
Status SnapshotFunc
Doctor SnapshotFunc
Providers SnapshotFunc
ConfigApplyRecords SnapshotFunc
EventSummaries SnapshotFunc
Sessions SnapshotFunc
}
Click to show internal directories.
Click to hide internal directories.