Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "aks"
Variables ¶
View Source
var DefaultArguments = Config{ ResourceAttributes: ResourceAttributesConfig{ CloudPlatform: rac.ResourceAttributeConfig{Enabled: true}, CloudProvider: rac.ResourceAttributeConfig{Enabled: true}, K8sClusterName: rac.ResourceAttributeConfig{Enabled: false}, }, }
DefaultArguments holds default settings for Config.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ResourceAttributes ResourceAttributesConfig `alloy:"resource_attributes,block,optional"`
}
func (*Config) SetToDefault ¶
func (args *Config) SetToDefault()
SetToDefault implements syntax.Defaulter.
type ResourceAttributesConfig ¶
type ResourceAttributesConfig struct { CloudPlatform rac.ResourceAttributeConfig `alloy:"cloud.platform,block,optional"` CloudProvider rac.ResourceAttributeConfig `alloy:"cloud.provider,block,optional"` K8sClusterName rac.ResourceAttributeConfig `alloy:"k8s.cluster.name,block,optional"` }
ResourceAttributesConfig provides config for aks resource attributes.
func (ResourceAttributesConfig) Convert ¶
func (r ResourceAttributesConfig) Convert() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.