application

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: 14 Imported by: 19

Documentation

Overview

Package application contains a application gatherer.

Package application contains application gatherer.

Index

Constants

View Source
const (
	// GathererName captures name of application gatherer
	GathererName = "AWS:Application"
	// SchemaVersionOfApplication represents schema version of application gatherer
	SchemaVersionOfApplication = "1.1"
)

Variables

View Source
var ApplicationData []model.ApplicationData

Functions

func CollectApplicationData

func CollectApplicationData(context context.T) (appData []model.ApplicationData)

CollectApplicationData collects all application data from the system using platform specific queries and merges in applications installed via configurePackage

Types

type InventoryApplicationFile

type InventoryApplicationFile struct {
	Content []model.ApplicationData
}

type T

type T struct{}

T represents application gatherer 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 application gatherer.

func (*T) Run

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

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

Jump to

Keyboard shortcuts

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