- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExpectActions (0.17 sec)
-
pkg/controller/certificates/rootcacertpublisher/publisher_test.go
AddedNamespace *v1.Namespace UpdatedNamespace *v1.Namespace DeletedConfigMap *v1.ConfigMap UpdatedConfigMap *v1.ConfigMap ExpectActions []action }{ "create new namespace": { AddedNamespace: newNs, ExpectActions: []action{{verb: "create", name: RootCACertConfigMapName}}, }, "delete other configmap": { ExistingConfigMaps: []*v1.ConfigMap{otherConfigMap, caConfigMap},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
IP: fmt.Sprintf("1.2.3.%d", 4+n), }}, Conditions: []v1.PodCondition{ { Type: v1.PodReady, Status: status, }, }, }, } return p } func expectActions(t *testing.T, actions []k8stesting.Action, num int, verb, resource string) { t.Helper() // if actions are less the below logic will panic if num > len(actions) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0)