options

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3SubstringFinderOptions

type S3SubstringFinderOptions struct {
	// AccessKey is the access key credentials for accessing AWS over client
	AccessKey string
	// SecretKey is the secret key credentials for accessing AWS over client
	SecretKey string
	// BucketName is the name of target bucket
	BucketName string
	// Region is the region of the target bucket
	Region string
	// Substring is the target string to find in a bucket
	Substring string
	// FileExtensions is a comma separated list of file extensions to search on S3 bucket (txt, json etc)
	FileExtensions string
	// VerboseLog is the verbosity of the logging library
	VerboseLog bool
}

S3SubstringFinderOptions contains frequent command line and application options.

func GetS3SubstringFinderOptions

func GetS3SubstringFinderOptions() *S3SubstringFinderOptions

GetS3SubstringFinderOptions returns the pointer of S3SubstringFinderOptions

func (*S3SubstringFinderOptions) SetAccessCredentialsFromEnv added in v1.1.3

func (opts *S3SubstringFinderOptions) SetAccessCredentialsFromEnv(cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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