runner

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v1.0.0

func Contains(s []string, e string) bool

func GetUpdateCallback added in v1.0.3

func GetUpdateCallback() func()

GetUpdateCallback returns a callback function that updates cloudlist

Types

type Options

type Options struct {
	JSON               bool                // JSON returns JSON output
	Silent             bool                // Silent Display results only
	Version            bool                // Version returns the version of the tool.
	Verbose            bool                // Verbose prints verbose output.
	Hosts              bool                // Hosts specifies to fetch only DNS Names
	IPAddress          bool                // IPAddress specifes to fetch only IP Addresses
	Config             string              // Config is the location of the config file.
	Output             string              // Output is the file to write found results too.
	ExcludePrivate     bool                // ExcludePrivate excludes private IPs from results
	Provider           goflags.StringSlice // Provider specifies what providers to fetch assets for.
	Id                 goflags.StringSlice // Id specifies what id's to fetch assets for.
	ProviderConfig     string              // ProviderConfig is the location of the provider config file.
	DisableUpdateCheck bool                // DisableUpdateCheck disable automatic update check
}

Options contains the configuration options for cloudlist.

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line flags provided by a user

type Runner

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

Runner is a client for running cloud provider asset enumeration

func New

func New(options *Options) (*Runner, error)

New creates a new runner instance based on configuration options

func (*Runner) Enumerate

func (r *Runner) Enumerate()

Enumerate performs the cloudlist enumeration process

Jump to

Keyboard shortcuts

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