Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr is type of detector.
TypeStr = "gcp"
)
Variables ¶
This section is empty.
Functions ¶
func NewDetector ¶
NewDetector returns a detector which can detect resource attributes on: * Google Compute Engine (GCE). * Google Kubernetes Engine (GKE). * Google App Engine (GAE). * Cloud Run. * Cloud Functions. * Bare Metal Solutions (BMS).
Types ¶
type Config ¶
type Config struct {
ResourceAttributes metadata.ResourceAttributesConfig `mapstructure:"resource_attributes"`
}
func CreateDefaultConfig ¶
func CreateDefaultConfig() Config
Click to show internal directories.
Click to hide internal directories.