SupportBundles: Build tars in memory (#61581)

* build tar in memory

* match tag
This commit is contained in:
Jo
2023-01-17 11:39:59 +01:00
committed by GitHub
parent be72e570cf
commit 9e097c531d
5 changed files with 41 additions and 93 deletions
+1 -1
View File
@@ -23,10 +23,10 @@ func (s State) String() string {
type Bundle struct {
UID string `json:"uid"`
State State `json:"state"`
FilePath string `json:"filePath"`
Creator string `json:"creator"`
CreatedAt int64 `json:"createdAt"`
ExpiresAt int64 `json:"expiresAt"`
TarBytes []byte `json:"tarBytes,omitempty"`
}
type CollectorFunc func(context.Context) (*SupportItem, error)