Documentation
¶
Overview ¶
Copyright 2025 The KubeFleet Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the 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.