envdetect

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

type CollectorImp

type CollectorImp struct {
}

func (*CollectorImp) CollectData

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

CollectData queries operating system and infrastructure data

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