Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfiguration ¶
func ParseConfiguration()
func ValidateConfiguration ¶
func ValidateConfiguration()
Types ¶
type AttributeUpdateSpecifications ¶
type AttributeUpdateSpecifications []AttributeUpdateSpecification
func (*AttributeUpdateSpecifications) Decode ¶
func (s *AttributeUpdateSpecifications) Decode(value string) error
type Specification ¶
type Specification struct { ClusterName string `json:"clusterName" split_words:"true" required:"false" default:"cluster-loadtest"` PodUID string `json:"podUID" split_words:"true" required:"false" default:"PodUID1"` PodName string `json:"podName" split_words:"true" required:"false" default:"pod-0"` //2 containers per pod * 4 pods per deployment * 5 deployments per node * 400 nodes = 16000 containers Ec2NodeCount int `json:"ec2NodeCount" split_words:"true" required:"false" default:"2"` AzureNodeCount int `json:"azureNodeCount" split_words:"true" required:"false" default:"2"` GcpNodeCount int `json:"gcpNodeCount" split_words:"true" required:"false" default:"2"` DeploymentsPerNode int `json:"deploymentsPerNode" split_words:"true" required:"false" default:"5"` PodsPerDeployment int `json:"podsPerDeployment" split_words:"true" required:"false" default:"2"` ContainerPerPod int `json:"containerPerPod" split_words:"true" required:"false" default:"2"` AttributeUpdates AttributeUpdateSpecifications `` /* 635-byte string literal not displayed */ DiscoveryAttributesExcludesContainer []string `json:"discoveryAttributesExcludesContainer" split_words:"true" required:"false"` DiscoveryAttributesExcludesEc2 []string `json:"discoveryAttributesExcludesEc2" split_words:"true" required:"false"` DiscoveryAttributesExcludesHost []string `json:"discoveryAttributesExcludesHost" split_words:"true" required:"false"` DiscoveryAttributesExcludesKubernetesPod []string `json:"discoveryAttributesExcludesKubernetesPod" split_words:"true" required:"false"` DiscoveryAttributesExcludesKubernetesDeployment []string `json:"discoveryAttributesExcludesKubernetesDeployment" split_words:"true" required:"false"` DiscoveryAttributesExcludesKubernetesContainer []string `json:"discoveryAttributesExcludesKubernetesContainer" split_words:"true" required:"false"` DiscoveryAttributesExcludesKubernetesNode []string `json:"discoveryAttributesExcludesKubernetesNode" split_words:"true" required:"false"` }
Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig
var (
Config Specification
)
func (*Specification) FindAttributeUpdate ¶
func (s *Specification) FindAttributeUpdate(t string) *AttributeUpdateSpecification
Click to show internal directories.
Click to hide internal directories.