Documentation ¶
Index ¶
Constants ¶
View Source
const ( OfflineDumpDateFormat = "2006-01-02-15-04-05" OfflineDumpPrefix = "kubehound_" )
Variables ¶
This section is empty.
Functions ¶
func DumpIngestorResultName ¶
./<clusterName>/kubehound_<clusterName>_<run_id>
Types ¶
type DumpIngestor ¶
type DumpIngestor struct { ResultName string // contains filtered or unexported fields }
func NewDumpIngestor ¶
func NewDumpIngestor(ctx context.Context, collector collector.CollectorClient, compression bool, directoryOutput string, runID *config.RunID) (*DumpIngestor, error)
func NewDumpIngestor(ctx context.Context, collector collector.CollectorClient, compression bool, directoryOutput string) (*DumpIngestor, error) {
func (*DumpIngestor) Close ¶
func (d *DumpIngestor) Close(ctx context.Context) error
Close() is invoked by the collector to close all handlers used to dump k8s objects. The function flushes all writers and close all the handlers.
func (*DumpIngestor) DumpK8sObjects ¶
func (d *DumpIngestor) DumpK8sObjects(ctx context.Context) error
func (*DumpIngestor) OutputPath ¶
func (d *DumpIngestor) OutputPath() string
Click to show internal directories.
Click to hide internal directories.