Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for pkgname (0.22 sec)

  1. src/cmd/compile/internal/types2/api.go

    		obj = info.Implicits[imp]
    	}
    	pkgname, _ := obj.(*PkgName)
    	return pkgname
    }
    
    // TypeAndValue reports the type and value (for constants)
    // of the corresponding expression.
    type TypeAndValue struct {
    	mode  operandMode
    	Type  Type
    	Value constant.Value
    }
    
    // IsVoid reports whether the corresponding expression
    // is a function call without results.
    func (tv TypeAndValue) IsVoid() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	sh := b.Shell(a)
    	p := a.Package
    	p.Internal.Cover.Cfg = a.Objdir + "coveragecfg"
    	pcfg := covcmd.CoverPkgConfig{
    		PkgPath: p.ImportPath,
    		PkgName: p.Name,
    		// Note: coverage granularity is currently hard-wired to
    		// 'perblock'; there isn't a way using "go build -cover" or "go
    		// test -cover" to select it. This may change in the future
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    		return err
    	}
    
    	// Check if the workload is running under Kubernetes.
    	podNamespace := string(k8sArgs.K8S_POD_NAMESPACE)
    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/telemetry_logging.go

    	return al
    }
    
    func tcpGrpcAccessLogFromTelemetry(push *PushContext, prov *meshconfig.MeshConfig_ExtensionProvider_EnvoyTcpGrpcV3LogProvider) *accesslog.AccessLog {
    	logName := TCPEnvoyAccessLogFriendlyName
    	if prov != nil && prov.LogName != "" {
    		logName = prov.LogName
    	}
    
    	filterObjects := envoyWasmStateToLog
    	if len(prov.FilterStateObjectsToLog) != 0 {
    		filterObjects = prov.FilterStateObjectsToLog
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    			defer server.Terminate(t)
    			defer storage.Store.DestroyFunc()
    
    			client := fake.NewSimpleClientset(tc.pdb)
    			for _, podName := range []string{"foo-1", "foo-2"} {
    				pod := validNewPod()
    				pod.Labels = map[string]string{"a": "true"}
    				pod.ObjectMeta.Name = podName
    				pod.Spec.NodeName = "foo"
    				newPod, err := storage.Create(testContext, pod, nil, &metav1.CreateOptions{})
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/options.go

    		fn(p)
    	}
    
    	return p
    }
    
    // Apply default value to PilotArgs
    func (p *PilotArgs) applyDefaults() {
    	p.Namespace = PodNamespace
    	p.CniNamespace = PodNamespace
    	p.PodName = PodName
    	p.Revision = Revision
    	p.JwtRule = JwtRule
    	p.KeepaliveOptions = keepalive.DefaultOption()
    	p.RegistryOptions.DistributionTrackingEnabled = features.EnableDistributionTracking
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_logging_test.go

    	for _, tc := range []struct {
    		name        string
    		logName     string
    		clusterName string
    		hostname    string
    		body        string
    		labels      *structpb.Struct
    		expected    *otelaccesslog.OpenTelemetryAccessLogConfig
    	}{
    		{
    			name:        "default",
    			logName:     OtelEnvoyAccessLogFriendlyName,
    			clusterName: fakeCluster,
    			hostname:    fakeAuthority,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    func truncatePodHostnameIfNeeded(podName, hostname string) (string, error) {
    	// Cap hostname at 63 chars (specification is 64bytes which is 63 chars and the null terminating char).
    	const hostnameMaxLen = 63
    	if len(hostname) <= hostnameMaxLen {
    		return hostname, nil
    	}
    	truncated := hostname[:hostnameMaxLen]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name: nodeName,
    		},
    		Spec: v1.NodeSpec{
    			Taints: taints,
    		},
    	}
    }
    
    func podWithTolerations(podName string, tolerations []v1.Toleration) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: podName,
    		},
    		Spec: v1.PodSpec{
    			Tolerations: tolerations,
    		},
    	}
    }
    
    func TestTaintTolerationScore(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    }
    
    func TestDeleteWithCachedObject(t *testing.T) {
    	podName := "foo"
    	podWithFinalizer := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Finalizers: []string{"foo.com/x"}},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    	podWithNoFinalizer := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top