runner

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 21 Imported by: 0 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 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 specifies 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.
	ExcludeServices    goflags.StringSlice // ExcludeServices specifies what services to skip for a provider.
	ExtendedMetadata   bool                // ExtendedMetadata enables extended metadata for providers.
	ProviderConfig     string              // ProviderConfig is the location of the provider config file.
	DisableUpdateCheck bool                // DisableUpdateCheck disable automatic update check
	AutoDiscovery      bool                // AutoDiscovery discovers providers from environment credentials instead of the provider config.
}

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