utils

package
v0.0.0-...-5249fab Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMutations

func CreateMutations(keywords []string, dictionaryPath string, logger *slog.Logger) []string

func CreateProviderMutations

func CreateProviderMutations(provider string, mutations []string)

func ListBucketContents

func ListBucketContents(response, url string)

func ReadDictionaryFile

func ReadDictionaryFile(logger *slog.Logger, dictionaryPath string) []string

Types

type ListBucketResult

type ListBucketResult struct {
	XMLName     xml.Name `xml:"ListBucketResult"`
	Name        string   `xml:"Name"`
	Prefix      string   `xml:"Prefix"`
	Marker      string   `xml:"Marker"`
	MaxKeys     int      `xml:"MaxKeys"`
	IsTruncated bool     `xml:"IsTruncated"`
	Contents    []struct {
		Key          string `xml:"Key"`
		LastModified string `xml:"LastModified"`
		ETag         string `xml:"ETag"`
		Size         int    `xml:"Size"`
		StorageClass string `xml:"StorageClass"`
	} `xml:"Contents"`
}

type Mutations

type Mutations struct {
	Mutations []string
}

func (*Mutations) QuickScanMutations

func (m *Mutations) QuickScanMutations(keywords []string) Mutations

Jump to

Keyboard shortcuts

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