billinginfo

package
v0.0.0-...-da9a336 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package billinginfo contains a billinginfo gatherer.

Package billinginfo contains a billing info gatherer.

Index

Constants

View Source
const (
	// GathererName captures name of billinginfo gatherer
	GathererName = "AWS:BillingInfo"
	// SchemaVersionOfApplication represents schema version of billinginfo gatherer
	SchemaVersionOfBillingInfo = "1.0"
)

Variables

This section is empty.

Functions

func CollectBillingInfoData

func CollectBillingInfoData(context context.T) (data []model.BillingInfoData)

CollectBillingInfoData collects billing information for linux

Types

type T

type T struct{}

T represents billinginfo gatherer which implements all contracts for gatherers.

func Gatherer

func Gatherer(context context.T) *T

Gatherer returns new billinginfo gatherer

func (*T) Name

func (t *T) Name() string

Name returns name of billinginfo gatherer

func (*T) RequestStop

func (t *T) RequestStop() error

RequestStop stops the execution of BillingInfo gatherer.

func (*T) Run

func (t *T) Run(context context.T, configuration model.Config) (items []model.Item, err error)

Run executes billinginfo gatherer and returns list of inventory.Item comprising of billinginfo data

Jump to

Keyboard shortcuts

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