- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CreateWithPodSuffix (0.17 sec)
-
cmd/kubeadm/test/resources/pods.go
// Create creates a fake static pod using the provided client func (p *FakeStaticPod) Create(client clientset.Interface) error { return p.CreateWithPodSuffix(client, "") } // CreateWithPodSuffix creates a fake static pod using the provided // client and suffix func (p *FakeStaticPod) CreateWithPodSuffix(client clientset.Interface, suffix string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 1.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
}, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { client := clientsetfake.NewSimpleClientset() for i, pod := range rt.pods { pod.NodeName = rt.nodeName if err := pod.CreateWithPodSuffix(client, strconv.Itoa(i)); err != nil { t.Errorf("error setting up test creating pod for node %q", pod.NodeName) return } } if rt.clientSetup != nil { rt.clientSetup(client) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/etcd/etcd_test.go
expectedErr: true, }, } for _, rt := range tests { t.Run(rt.name, func(t *testing.T) { client := clientsetfake.NewSimpleClientset() for i, pod := range rt.pods { if err := pod.CreateWithPodSuffix(client, strconv.Itoa(i)); err != nil { t.Errorf("error setting up test creating pod for node %q", pod.NodeName) } } if rt.clientSetup != nil { rt.clientSetup(client) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 20.3K bytes - Viewed (0)