Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for extractNode (0.14 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/node.go

    	return extractNode(node, fieldManager, "")
    }
    
    // ExtractNodeStatus is the same as ExtractNode except
    // that it extracts the status subresource applied configuration.
    // Experimental!
    func ExtractNodeStatus(node *apicorev1.Node, fieldManager string) (*NodeApplyConfiguration, error) {
    	return extractNode(node, fieldManager, "status")
    }
    
    func extractNode(node *apicorev1.Node, fieldManager string, subresource string) (*NodeApplyConfiguration, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/pod.go

    }
    
    // ExtractPodStatus is the same as ExtractPod except
    // that it extracts the status subresource applied configuration.
    // Experimental!
    func ExtractPodStatus(pod *apicorev1.Pod, fieldManager string) (*PodApplyConfiguration, error) {
    	return extractPod(pod, fieldManager, "status")
    }
    
    func extractPod(pod *apicorev1.Pod, fieldManager string, subresource string) (*PodApplyConfiguration, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    }
    
    func bodyOrDie(response *http.Response) string {
    	defer response.Body.Close()
    	body, err := ioutil.ReadAll(response.Body)
    	if err != nil {
    		panic(err)
    	}
    	return string(body)
    }
    
    func extractBody(response *http.Response, object runtime.Object) (string, error) {
    	return extractBodyDecoder(response, object, codec)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler.go

    	}
    	informer := coreinformers.NewFilteredPodInformer(cs, metav1.NamespaceAll, resyncPeriod, cache.Indexers{}, tweakListOptions)
    
    	// Dropping `.metadata.managedFields` to improve memory usage.
    	// The Extract workflow (i.e. `ExtractPod`) should be unused.
    	trim := func(obj interface{}) (interface{}, error) {
    		if accessor, err := meta.Accessor(obj); err == nil {
    			if accessor.GetManagedFields() != nil {
    				accessor.SetManagedFields(nil)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top