Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Provider string ProjectID string Providers struct { AWS struct { Profile string Region string Services StringSliceFlag } GCP struct { DefaultGCSDiscount int Projects StringSliceFlag Region string Services StringSliceFlag } Azure struct { Services StringSliceFlag SubscriptionId string } } Collector struct { ScrapeInterval time.Duration Timeout time.Duration } Server struct { Address string Path string Timeout time.Duration } LoggerOpts struct { Level string // Maps to slog levels: debug, info, warn, error Output string // io.Writer interface to write out to: stdout, stderr, file Type string // How to write out the logs: json, text } Logger *slog.Logger }
type StringSliceFlag ¶
type StringSliceFlag []string
func (*StringSliceFlag) Set ¶
func (f *StringSliceFlag) Set(value string) error
func (*StringSliceFlag) String ¶
func (f *StringSliceFlag) String() string
Click to show internal directories.
Click to hide internal directories.