Documentation ¶
Index ¶
- Variables
- type BlobStore
- func (bs *BlobStore) Close(ctx context.Context, archivePath string) error
- func (bs *BlobStore) Extract(ctx context.Context, archivePath string) error
- func (bs *BlobStore) ListFiles(ctx context.Context, prefix string, recursive bool) ([]*puller.ListObject, error)
- func (bs *BlobStore) Pull(outer context.Context, key string) (string, error)
- func (bs *BlobStore) Put(outer context.Context, archivePath string, clusterName string, runID string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidBucketName = errors.New("empty bucket name")
)
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore struct {
// contains filtered or unexported fields
}
func NewBlobStorage ¶
func NewBlobStorage(cfg *config.KubehoundConfig, blobConfig *config.BlobConfig) (*BlobStore, error)
func (*BlobStore) Close ¶
Once downloaded and processed, we should cleanup the disk so we can reduce the disk usage required for large infrastructure
Click to show internal directories.
Click to hide internal directories.