Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- Variables
- func ApplyClusterScopeManifests(ctx context.Context, hubClient client.Client) error
- func CleanupAll(hubClient client.Client) error
- func MeasureOnePlacement(ctx context.Context, hubClient client.Client, deadline, interval time.Duration, ...) error
- func PrintTestMetrics(useTestResources bool)
- type ClusterNames
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LoadTestApplyCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "workload_apply_total", Help: "Total number of placement", }, []string{"concurrency", "numTargetCluster", "result"}) ApplyLatencyCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "apply_crp_latency_count", Help: "latency of placement", }, []string{"concurrency", "numTargetCluster", "latency"}) LoadTestUpdateCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "workload_update_total", Help: "Total number of placement updates", }, []string{"concurrency", "numTargetCluster", "result"}) UpdateLatencyCountMetric = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "update_crp_latency_count", Help: "update of placement", }, []string{"concurrency", "numTargetCluster", "latency"}) )
Functions ¶
func CleanupAll ¶
func MeasureOnePlacement ¶
func PrintTestMetrics ¶
func PrintTestMetrics(useTestResources bool)
Types ¶
type ClusterNames ¶
type ClusterNames []string
func (*ClusterNames) Set ¶
func (i *ClusterNames) Set(value string) error
func (*ClusterNames) String ¶
func (i *ClusterNames) String() string
Click to show internal directories.
Click to hide internal directories.