runner

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

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

func GetUpdateCallback

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
	Providers          goflags.StringSlice // Providers specifies what providers to fetch assets for.
	Id                 goflags.StringSlice // Id specifies what id's to fetch assets for.
	Services           goflags.StringSlice // Services specifies what services to fetch assets for a provider.
	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