- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HandleGetAction (0.16 sec)
-
cmd/kubeadm/app/util/apiclient/init_dryrun_test.go
t.Run(rt.name, func(t *testing.T) { handled, obj, actualErr := idr.HandleGetAction(rt.action) objBytes := []byte(``) if obj != nil { var err error objBytes, err = json.Marshal(obj) if err != nil { t.Fatalf("couldn't marshal returned object") } } if handled != rt.expectedHandled { t.Errorf( "failed HandleGetAction:\n\texpected handled: %t\n\t actual: %t %v", rt.expectedHandled,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 09 04:58:02 UTC 2022 - 4.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go
return nil, errors.Wrap(err, "failed to create API client configuration from kubeconfig") } return NewClientBackedDryRunGetter(clientConfig) } // HandleGetAction handles GET actions to the dryrun clientset this interface supports func (clg *ClientBackedDryRunGetter) HandleGetAction(action core.GetAction) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 16 10:29:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/init_dryrun.go
return &InitDryRunGetter{ controlPlaneName: controlPlaneName, serviceSubnet: serviceSubnet, } } // HandleGetAction handles GET actions to the dryrun clientset this interface supports func (idr *InitDryRunGetter) HandleGetAction(action core.GetAction) (bool, runtime.Object, error) { funcs := []func(core.GetAction) (bool, runtime.Object, error){ idr.handleKubernetesService, idr.handleGetNode,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:50 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient.go
) // DryRunGetter is an interface that must be supplied to the NewDryRunClient function in order to construct a fully functional fake dryrun clientset type DryRunGetter interface { HandleGetAction(core.GetAction) (bool, runtime.Object, error) HandleListAction(core.ListAction) (bool, runtime.Object, error) } // MarshalFunc takes care of converting any object to a byte array for displaying the object to the user
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 10.3K bytes - Viewed (0)