Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for informal (0.17 sec)

  1. cni/pkg/nodeagent/informers.go

    	}
    	pod := s.pods.Get(podName, podNamespace)
    	if util.PodRedirectionEnabled(ns, pod) {
    		return pod, nil
    	}
    	return nil, nil
    }
    
    func (s *InformerHandlers) Start() {
    	kube.WaitForCacheSync("informer", s.ctx.Done(), s.pods.HasSynced, s.namespaces.HasSynced)
    	go s.queue.Run(s.ctx.Done())
    }
    
    func (s *InformerHandlers) GetAmbientPods() []*corev1.Pod {
    	var pods []*corev1.Pod
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    			object: "object",
    		},
    		// Test case 2 where url only has separator.
    		{
    			path:   SlashSeparator,
    			bucket: "",
    			object: "",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    		// Discard the remainder of the file and any padding.
    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  4. cmd/notification.go

    // 'freeze' is 'false' would resume all S3 API calls again.
    // NOTE: once a tenant is frozen either two things needs to
    // happen before resuming normal operations.
    //   - Server needs to be restarted 'mc admin service restart'
    //   - 'freeze' should be set to 'false' for this call
    //     to resume normal operations.
    func (sys *NotificationSys) ServiceFreeze(ctx context.Context, freeze bool) []NotificationPeerErr {
    	serviceSig := serviceUnFreeze
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  5. schema/field.go

    		if v != "<-" {
    			if !strings.Contains(v, "create") {
    				field.Creatable = false
    			}
    
    			if !strings.Contains(v, "update") {
    				field.Updatable = false
    			}
    		}
    	}
    
    	// Normal anonymous field or having `EMBEDDED` tag
    	if _, ok := field.TagSettings["EMBEDDED"]; ok || (field.GORMDataType != Time && field.GORMDataType != Bytes && !isValuer &&
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  6. src/archive/tar/strconv.go

    			}
    			x = x<<8 | uint64(c)
    		}
    		if (x >> 63) > 0 {
    			p.err = ErrHeader // Integer overflow
    			return 0
    		}
    		if inv == 0xff {
    			return ^int64(x)
    		}
    		return int64(x)
    	}
    
    	// Normal case is base-8 (octal) format.
    	return p.parseOctal(b)
    }
    
    // formatNumeric encodes x into b using base-8 (octal) encoding if possible.
    // Otherwise it will attempt to use base-256 (binary) encoding.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. cni/pkg/plugin/kubernetes.go

    			}
    		}
    	}
    	return pi
    }
    
    // containers fetches all containers in the pod.
    // This is used to extract init containers (istio-init and istio-validation), and the sidecar.
    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze.go

    				}
    			}
    			return returnError
    		},
    	}
    
    	analysisCmd.PersistentFlags().BoolVarP(&listAnalyzers, "list-analyzers", "L", false,
    		"List the analyzers available to run. Suppresses normal execution.")
    	analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true,
    		"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    	hr, err = er.healObject(healCtx, bucket, object, versionID, opts)
    	if errors.Is(err, errFileCorrupt) && opts.ScanMode != madmin.HealDeepScan {
    		// Instead of returning an error when a bitrot error is detected
    		// during a normal heal scan, heal again with bitrot flag enabled.
    		opts.ScanMode = madmin.HealDeepScan
    		hr, err = er.healObject(healCtx, bucket, object, versionID, opts)
    	}
    	return hr, toObjectErr(err, bucket, object, versionID)
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    // no holes in it). On the other hand, the zero value of sparseDatas implies
    // that the file has no data in it, which is rather odd.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top