awscomponent

package
v0.0.0-...-7638cb1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package awscomponent contains a aws component gatherer.

Index

Constants

View Source
const (
	// GathererName captures name of aws component gatherer
	GathererName = "AWS:AWSComponent"
	// SchemaVersionOfApplication represents schema version of aws component gatherer
	SchemaVersionOfApplication = "1.0"
)

Variables

This section is empty.

Functions

func CollectAWSComponentData

func CollectAWSComponentData(context context.T) (data []model.ApplicationData)

CollectAWSComponentData collects aws component specific inventory data

func FilterAWSComponent

func FilterAWSComponent(appData []model.ApplicationData) (awsComponent []model.ApplicationData)

FilterAWSComponent filters aws components data from generic applications data.

Types

type T

type T struct{}

T represents aws component gatherer which implements all contracts for gatherers.

func Gatherer

func Gatherer(context context.T) *T

Gatherer returns new aws component gatherer

func (*T) Name

func (t *T) Name() string

Name returns name of aws component gatherer

func (*T) RequestStop

func (t *T) RequestStop(stopType contracts.StopType) 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 aws component gatherer and returns list of inventory.Item containing aws component data

Jump to

Keyboard shortcuts

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