Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByCreated ¶
type ByCreated []*SupportBundle
type FileTree ¶
type FileTree struct {
Nodes []FileTreeNode `json:",inline"`
}
type FileTreeNode ¶
type FileTreeNode struct { Name string `json:"name"` Path string `json:"path"` Children []FileTreeNode `json:"children,omitempty"` }
type SupportBundle ¶
type SupportBundle struct { ID string `json:"id"` Slug string `json:"slug"` AppID string `json:"appId"` Name string `json:"name"` Size float64 `json:"size"` Status SupportBundleStatus `json:"status"` TreeIndex string `json:"treeIndex,omitempty"` CreatedAt time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` UploadedAt *time.Time `json:"uploadedAt"` IsArchived bool `json:"isArchived"` Progress SupportBundleProgress `json:"progress"` URI string `json:"uri"` RedactURIs []string `json:"redactURIs"` BundleSpec *troubleshootv1beta2.SupportBundle `json:"-"` AdditionalRedactors *troubleshootv1beta2.Redactor `json:"-"` Analysis *SupportBundleAnalysis `json:"-"` }
type SupportBundleAnalysis ¶
type SupportBundleAnalysis struct { Insights []SupportBundleInsight `json:"insights"` CreatedAt time.Time `json:"createdAt"` }
type SupportBundleInsight ¶
type SupportBundleInsight struct { Key string `json:"key"` Severity string `json:"severity"` Primary string `json:"primary"` Detail string `json:"detail"` Icon string `json:"icon"` IconKey string `json:"iconKey"` DesiredPosition float64 `json:"desiredPosition"` InvolvedObject *corev1.ObjectReference `json:"involvedObject"` }
type SupportBundleProgress ¶
type SupportBundleProgress struct { CollectorCount int `json:"collectorCount"` CollectorsCompleted int `json:"collectorsCompleted"` Message string `json:"message"` }
TODO(dan): analyzer progress
type SupportBundleStatus ¶
type SupportBundleStatus string
const ( BUNDLE_FAILED SupportBundleStatus = "failed" BUNDLE_UPLOADED SupportBundleStatus = "uploaded" BUNDLE_RUNNING SupportBundleStatus = "running" )
type TroubleshootOptions ¶
Click to show internal directories.
Click to hide internal directories.