Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 701 for todolist (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*PodList)(nil), (*example.PodList)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_PodList_To_example_PodList(a.(*PodList), b.(*example.PodList), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*example.PodList)(nil), (*PodList)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
    func (in *PodList) DeepCopy() *PodList {
    	if in == nil {
    		return nil
    	}
    	out := new(PodList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PodList) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    		return c
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/lister_watcher_test.go

    		t.Fatalf("List failed: %v", err)
    	}
    	pl, ok := obj.(*example.PodList)
    	if !ok {
    		t.Fatalf("Expected PodList but got %v", pl)
    	}
    	if len(pl.Items) != 3 {
    		t.Errorf("Expected PodList of length 3 but got %d", len(pl.Items))
    	}
    }
    
    func TestCacherListerWatcherPagination(t *testing.T) {
    	prefix := "pods"
    	fn := func() runtime.Object { return &example.PodList{} }
    	server, store := newEtcdTestStorage(t, prefix)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. pkg/registry/registrytest/node.go

    type NodeRegistry struct {
    	Err   error
    	Node  string
    	Nodes api.NodeList
    
    	sync.Mutex
    }
    
    // MakeNodeList constructs api.NodeList from list of node names and a NodeResource.
    func MakeNodeList(nodes []string, nodeResources api.ResourceList) *api.NodeList {
    	list := api.NodeList{
    		Items: make([]api.Node, len(nodes)),
    	}
    	for i := range nodes {
    		list.Items[i].Name = nodes[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomDomParser.java

    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import java.io.*;
    import java.util.LinkedList;
    import java.util.List;
    
    public final class PomDomParser {
        private PomDomParser() {}
    
        public static String getTextContent(Element element) {
            StringBuilder result = new StringBuilder();
    
            NodeList childNodes = element.getChildNodes();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
    func (in *PodList) DeepCopy() *PodList {
    	if in == nil {
    		return nil
    	}
    	out := new(PodList)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *PodList) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    		return c
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class ModelBuilderSupport {
        protected List<Element> children(Element element, String childName) {
            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  8. pkg/controller/controller_utils_test.go

    	rc := newReplicationController(0)
    	podList := newPodList(nil, 7, v1.PodRunning, rc)
    	podList.Items[0].Status.Phase = v1.PodSucceeded
    	podList.Items[1].Status.Phase = v1.PodFailed
    	podList.Items[2].Status.Phase = v1.PodPending
    	podList.Items[2].SetDeletionTimestamp(&now)
    	podList.Items[3].Status.Phase = v1.PodRunning
    	podList.Items[3].SetDeletionTimestamp(&now)
    	var podPointers []*v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            given:
            container.add(a)
    
            when:
            container.add(a)
    
            then:
            toList(container) == [a]
    
            when:
            container.addAll([a, b])
    
            then:
            toList(container) == [a, b]
        }
    
        def "element added using provider is not realized when added"() {
            containerAllowsExternalProviders()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  10. pkg/apis/core/install/install_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if version != "10" {
    		t.Errorf("unexpected version %v", version)
    	}
    
    	podList := internal.PodList{ListMeta: metav1.ListMeta{ResourceVersion: "10"}}
    	version, err = meta.NewAccessor().ResourceVersion(&podList)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if version != "10" {
    		t.Errorf("unexpected version %v", version)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 27 06:11:15 UTC 2019
    - 2.1K bytes
    - Viewed (0)
Back to top