Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Constants
- func ValidateAdvancedDNSMetrics(scenarioName string, req *RequestValidationParams, ...) *types.Scenario
- func ValidateBasicDNSMetrics(scenarioName string, req *RequestValidationParams, ...) *types.Scenario
- type RequestValidationParams
- type ResponseValidationParams
- type ValidateAdvanceDNSResponseMetrics
- type ValidateAdvancedDNSRequestMetrics
Constants ¶
View Source
const (
EmptyResponse = "emptyResponse"
)
Variables ¶
This section is empty.
Functions ¶
func ValidateAdvancedDNSMetrics ¶
func ValidateAdvancedDNSMetrics(scenarioName string, req *RequestValidationParams, resp *ResponseValidationParams, kubeConfigFilePath string) *types.Scenario
ValidateAdvancedDNSMetrics validates the advanced DNS metrics present in the metrics endpoint
func ValidateBasicDNSMetrics ¶
func ValidateBasicDNSMetrics(scenarioName string, req *RequestValidationParams, resp *ResponseValidationParams) *types.Scenario
ValidateBasicDNSMetrics validates basic DNS metrics present in the metrics endpoint
Types ¶
type RequestValidationParams ¶
type ValidateAdvanceDNSResponseMetrics ¶
type ValidateAdvanceDNSResponseMetrics struct { Namespace string NumResponse string PodName string Query string QueryType string Response string ReturnCode string WorkloadKind string WorkloadName string KubeConfigFilePath string }
func (*ValidateAdvanceDNSResponseMetrics) Prevalidate ¶
func (v *ValidateAdvanceDNSResponseMetrics) Prevalidate() error
func (*ValidateAdvanceDNSResponseMetrics) Run ¶
func (v *ValidateAdvanceDNSResponseMetrics) Run() error
func (*ValidateAdvanceDNSResponseMetrics) Stop ¶
func (v *ValidateAdvanceDNSResponseMetrics) Stop() error
type ValidateAdvancedDNSRequestMetrics ¶
type ValidateAdvancedDNSRequestMetrics struct { Namespace string NumResponse string PodName string Query string QueryType string WorkloadKind string WorkloadName string KubeConfigFilePath string }
func (*ValidateAdvancedDNSRequestMetrics) Prevalidate ¶
func (v *ValidateAdvancedDNSRequestMetrics) Prevalidate() error
func (*ValidateAdvancedDNSRequestMetrics) Run ¶
func (v *ValidateAdvancedDNSRequestMetrics) Run() error
func (*ValidateAdvancedDNSRequestMetrics) Stop ¶
func (v *ValidateAdvancedDNSRequestMetrics) Stop() error
Click to show internal directories.
Click to hide internal directories.