- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MockConfig (0.16 sec)
-
pkg/config/model_test.go
func(c Spec) Spec { c.(*k8s.GatewayClassSpec).ControllerName = "bar" return c }, nil, }, // mock type { &config.MockConfig{Key: "foobar"}, func(c Spec) Spec { c.(*config.MockConfig).Key = "bar" return c }, protocmp.Transform(), }, // XDS type, to test golang/proto { &cluster.Cluster{Name: "foobar"}, func(c Spec) Spec {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 7.9K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
} var lock k8sresourcelock.Interface = &k8sresourcelock.ConfigMapLock{ ConfigMapMeta: metav1.ObjectMeta{Namespace: l.namespace, Name: l.electionID}, Client: l.client.CoreV1(), LockConfig: k8sresourcelock.ResourceLockConfig{ Identity: l.name, Key: key, }, } if l.perRevision { lock = &k8sresourcelock.LeaseLock{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0)