core

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset = "\033[0m"
	Red   = "\033[31m"
	Green = "\033[32m"
)

Variables

This section is empty.

Functions

func ReportResults

func ReportResults(writer *bufio.Writer, msgChannel chan Message)

Types

type AccountResult

type AccountResult struct {
	// contains filtered or unexported fields
}

type ContainerScanner

type ContainerScanner struct {
	// contains filtered or unexported fields
}

func (*ContainerScanner) Done added in v1.1.1

func (cs *ContainerScanner) Done()

func (*ContainerScanner) Init added in v1.1.1

func (cs *ContainerScanner) Init(
	httpClient *http.Client,
	maxGoroutines int,
	outputChannel chan Message,
	resultsMap *ResultsMap,
	blobsOnly bool,
	verboseMode int,
	maxPages int,
	invertSearch bool,
)

func (*ContainerScanner) ScanContainer added in v1.1.1

func (cs *ContainerScanner) ScanContainer(account string, containerName string, done chan struct{})

func (*ContainerScanner) ScanInput added in v1.1.1

func (cs *ContainerScanner) ScanInput(accounts []string, containerNames []string)

func (*ContainerScanner) ScanList added in v1.1.1

func (cs *ContainerScanner) ScanList(accounts []string, containerNames []string)

type ContainerStats

type ContainerStats struct {
	// contains filtered or unexported fields
}

type Message

type Message struct {
	// contains filtered or unexported fields
}

type ResultsMap

type ResultsMap struct {
	// contains filtered or unexported fields
}

func (*ResultsMap) Init added in v1.1.1

func (rm *ResultsMap) Init()

func (*ResultsMap) PrintResults

func (rm *ResultsMap) PrintResults()

func (*ResultsMap) StoreContainerResults added in v1.1.1

func (rm *ResultsMap) StoreContainerResults(
	account string,
	containerName string,
	numFiles int,
	contentLength int64,
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL