data

package
v0.56.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package data is a utility package

Index

Constants

View Source
const (
	// SourceUnknown is an unknown source
	SourceUnknown source = iota
	// SourceDatadog is a config from datadog
	SourceDatadog
	// SourceEmployee is a config from a datadog employee
	SourceEmployee
)
View Source
const (
	// ProductAPMSampling is the apm sampling product
	ProductAPMSampling Product = "APM_SAMPLING"
	// ProductCWSDD is the cloud workload security product
	ProductCWSDD Product = "CWS_DD"
	// ProductCWSCustom is the cloud workload security product
	ProductCWSCustom Product = "CWS_CUSTOM"
	// ProductCWSProfile is the cloud workload security product
	ProductCWSProfile Product = "CWS_SECURITY_PROFILES"
	// ProductAPMTracing is the apm tracing product
	ProductAPMTracing Product = "APM_TRACING"
	// ProductLiveDebugging is the dynamic instrumentation product
	ProductLiveDebugging = "LIVE_DEBUGGING"
	// ProductTesting1 is a testing product
	ProductTesting1 Product = "TESTING1"
	// ProductAgentTask is to receive agent task instruction, like a flare
	ProductAgentTask Product = "AGENT_TASK"
	// ProductAgentConfig is to receive agent configurations, like the log level
	ProductAgentConfig = "AGENT_CONFIG"
	// ProductAgentIntegrations is to receive integrations to schedule
	ProductAgentIntegrations = "AGENT_INTEGRATIONS"
	// ProductContainerAutoscalingSettings receives definition of container autoscaling
	ProductContainerAutoscalingSettings = "CONTAINER_AUTOSCALING_SETTINGS"
	// ProductContainerAutoscalingValues receives values for container autoscaling
	ProductContainerAutoscalingValues = "CONTAINER_AUTOSCALING_VALUES"
)

Variables

This section is empty.

Functions

func ProductListToString

func ProductListToString(products []Product) []string

ProductListToString converts a product list to string list

Types

type ConfigPath

type ConfigPath struct {
	Source   source
	OrgID    int64
	Product  string
	ConfigID string
	Name     string
}

ConfigPath is the extracted metadata of a config path

func ParseConfigPath

func ParseConfigPath(path string) (ConfigPath, error)

ParseConfigPath parses a config path

type Product

type Product string

Product is a remote configuration product

func StringListToProduct

func StringListToProduct(stringProducts []string) []Product

StringListToProduct converts a string list to product list

Jump to

Keyboard shortcuts

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