envdetect

package
v0.0.0-...-a9ed6da Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	CollectData(log log.T) (*Environment, error)
}

type CollectorImp

type CollectorImp struct {
}

func (*CollectorImp) CollectData

func (cd *CollectorImp) CollectData(log log.T) (*Environment, error)

CollectData queries operating system and infrastructure data

type CollectorMock

type CollectorMock struct {
	mock.Mock
}

func (*CollectorMock) CollectData

func (cd *CollectorMock) CollectData(log log.T) (*Environment, error)

type Environment

type Environment struct {
	OperatingSystem   *osdetect.OperatingSystem
	Ec2Infrastructure *ec2infradetect.Ec2Infrastructure
}

Environment contains data for: * Operating system * Ec2 infrastructure

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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