internal

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoProviders = errors.New("please select at least one provider")

Functions

func Age

func Age(date time.Time) string

func CreateProviders

func CreateProviders(ctx context.Context, logger *logfmt.Logger, gcpProjects, awsProfiles, azureSubs []string) ([]unused.Provider, error)

func ProviderFlags

func ProviderFlags(fs *flag.FlagSet, gcp, aws, azure *StringSliceFlag)

ProviderFlags adds the provider configuration flags to the given flag set.

Types

type StringSliceFlag

type StringSliceFlag []string

func (*StringSliceFlag) Set

func (s *StringSliceFlag) Set(v string) error

func (*StringSliceFlag) String

func (s *StringSliceFlag) String() string

Jump to

Keyboard shortcuts

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