instancedetailedinformation

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 5

Documentation

Overview

Package instancedetailedinformation contains a gatherer for the AWS:InstanceDetailedInformation inventory type.

Index

Constants

View Source
const (
	// GathererName captures name of gatherer
	GathererName = "AWS:InstanceDetailedInformation"
	// SchemaVersion represents the schema version of this gatherer
	SchemaVersion = "1.0"
)

Variables

This section is empty.

Functions

func CollectInstanceData

func CollectInstanceData(context context.T) []model.InstanceDetailedInformation

CollectInstanceData collects data from the system using platform specific queries.

Types

type T

type T struct{}

T represents the gatherer type, which implements all contracts for gatherers.

func Gatherer

func Gatherer(context context.T) *T

Gatherer returns new application gatherer

func (*T) Name

func (t *T) Name() string

Name returns name of application gatherer

func (*T) RequestStop

func (t *T) RequestStop() error

RequestStop stops the execution of gatherer

func (*T) Run

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

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

Jump to

Keyboard shortcuts

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