Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for PodList (0.11 sec)

  1. pkg/kubelet/config/file.go

    }
    
    func (s *sourceFile) listConfig() error {
    	path := s.path
    	statInfo, err := os.Stat(path)
    	if err != nil {
    		if !os.IsNotExist(err) {
    			return err
    		}
    		// Emit an update with an empty PodList to allow FileSource to be marked as seen
    		s.updates <- kubetypes.PodUpdate{Pods: []*v1.Pod{}, Op: kubetypes.SET, Source: kubetypes.FileSource}
    		return fmt.Errorf("path does not exist, ignoring")
    	}
    
    	switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 01 07:19:44 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  2. pkg/apis/core/register.go

    func addKnownTypes(scheme *runtime.Scheme) error {
    	if err := scheme.AddIgnoredConversionType(&metav1.TypeMeta{}, &metav1.TypeMeta{}); err != nil {
    		return err
    	}
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&Pod{},
    		&PodList{},
    		&PodStatusResult{},
    		&PodTemplate{},
    		&PodTemplateList{},
    		&ReplicationControllerList{},
    		&ReplicationController{},
    		&ServiceList{},
    		&Service{},
    		&ServiceProxyOptions{},
    		&NodeList{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 13 11:36:48 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/register.go

    	AddToScheme   = SchemeBuilder.AddToScheme
    )
    
    // Adds the list of known types to the given scheme.
    func addKnownTypes(scheme *runtime.Scheme) error {
    	scheme.AddKnownTypes(SchemeGroupVersion,
    		&Pod{},
    		&PodList{},
    		&PodStatusResult{},
    		&PodTemplate{},
    		&PodTemplateList{},
    		&ReplicationController{},
    		&ReplicationControllerList{},
    		&Service{},
    		&ServiceProxyOptions{},
    		&ServiceList{},
    		&Endpoints{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 13 11:36:48 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/audit/request_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "foo",
    					Namespace: "bar",
    				},
    			},
    			ok: true,
    		},
    		{
    			name: "object specified is a list and its items have managed fields",
    			object: &corev1.PodList{
    				Items: []corev1.Pod{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:      "foo",
    							Namespace: "ns1",
    							ManagedFields: []metav1.ManagedFieldsEntry{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/versiongetter.go

    // The function returns a map with the version as the key and a list of node names as the value.
    func (g *KubeVersionGetter) ComponentVersions(name string) (map[string][]string, error) {
    	podList, err := g.client.CoreV1().Pods(metav1.NamespaceSystem).List(
    		context.TODO(),
    		metav1.ListOptions{
    			LabelSelector: fmt.Sprintf("component=%s,tier=%s", name, constants.ControlPlaneTier),
    		},
    	)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/example/types.go

    	// If not specified, the pod will be dispatched by default scheduler.
    	// +optional
    	SchedulerName string
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // PodList is a list of Pods.
    type PodList struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ListMeta
    
    	Items []Pod
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 03 06:34:52 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/linearized_read_test.go

    			t.Fatalf("failed to get key: %v", err)
    		}
    	}
    
    	list := &example.PodList{}
    	if err := store.GetList(ctx, dir, storage.ListOptions{Predicate: storage.Everything, Recursive: true}, list); err != nil {
    		t.Errorf("Unexpected List error: %v", err)
    	}
    	finalRevision := list.ResourceVersion
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:08:59 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.proto

      // +optional
      optional string reason = 5;
    
      // Human-readable message indicating details about last transition.
      // +optional
      optional string message = 6;
    }
    
    // PodList is a list of Pods.
    message PodList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/example/v1/types.go

    	// +optional
    	SchedulerName string `json:"schedulername,omitempty" protobuf:"bytes,19,opt,name=schedulername"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // PodList is a list of Pods.
    type PodList struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard list metadata.
    	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go

    	utilruntime.Must(examplev1.AddToScheme(scheme))
    	utilruntime.Must(example2v1.AddToScheme(scheme))
    }
    
    func newPod() runtime.Object     { return &example.Pod{} }
    func newPodList() runtime.Object { return &example.PodList{} }
    
    func newEtcdTestStorage(t *testing.T, prefix string) (*etcd3testing.EtcdTestServer, storage.Interface) {
    	server, _ := etcd3testing.NewUnsecuredEtcd3TestClientServer(t)
    	storage := etcd3.New(
    		server.V3Client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 20:43:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top