Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,371 for meth (3.56 sec)

  1. pkg/test/framework/components/istio/configmap.go

    	// Get the MeshConfig yaml from the config map.
    	mcYAML, ok := cm.Data["mesh"]
    	if !ok {
    		return "", fmt.Errorf("mesh config was missing in istio config map for %s", c.Name())
    	}
    	return mcYAML, nil
    }
    
    func setMeshConfigData(cm *corev1.ConfigMap, mcYAML string) {
    	cm.Data["mesh"] = mcYAML
    }
    
    func yamlToMeshConfig(mcYAML string) (*meshconfig.MeshConfig, error) {
    	// Parse the YAML.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	minFileLen  = 16 * 1024
    )
    
    func mappedHeader(meta string) ([]byte, error) {
    	if len(meta) > maxMetaLen {
    		return nil, fmt.Errorf("counter: metadata too large")
    	}
    	np := round(len(hdrPrefix), 4)
    	n := round(np+4+len(meta), 32)
    	hdr := make([]byte, n)
    	copy(hdr, hdrPrefix)
    	*(*uint32)(unsafe.Pointer(&hdr[np])) = uint32(n)
    	copy(hdr[np+4:], meta)
    	return hdr, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. pkg/bootstrap/config.go

    	return ret
    }
    
    func getStatsOptions(meta *model.BootstrapNodeMetadata) []option.Instance {
    	nodeIPs := meta.InstanceIPs
    	config := meta.ProxyConfig
    
    	tagAnno := meta.Annotations[annotation.SidecarExtraStatTags.Name]
    	prefixAnno := meta.Annotations[annotation.SidecarStatsInclusionPrefixes.Name]
    	RegexAnno := meta.Annotations[annotation.SidecarStatsInclusionRegexps.Name]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    		// ztunnel pods are never "added to/removed from the mesh", so do not fire
    		// spurious events for them to avoid triggering extra
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	k8sv1 "sigs.k8s.io/gateway-api/apis/v1"
    	"sigs.k8s.io/gateway-api/apis/v1beta1"
    
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/schema/gvr"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    */
    
    package handlers
    
    import (
    	"context"
    	"fmt"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"strings"
    	"time"
    
    	"go.opentelemetry.io/otel/attribute"
    
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion"
    	metainternalversionscheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. cmd/metacache-stream.go

    		}
    		if len(meta.metadata) == 0 {
    			metaDataPoolPut(meta.metadata)
    			meta.metadata = nil
    		}
    		if !inclDirs && (meta.isDir() || (!inclVersions && meta.isObjectDir() && meta.isLatestDeletemarker())) {
    			continue
    		}
    		if !inclDeleted && meta.isLatestDeletemarker() && meta.isObject() && !meta.isObjectDir() {
    			continue
    		}
    		res = append(res, meta)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/replica_calculator.go

    	replicaCount = statusReplicas
    	usageRatio := float64(usage) / (float64(targetAverageUsage) * float64(replicaCount))
    	if math.Abs(1.0-usageRatio) > c.tolerance {
    		// update number of replicas if change is large enough
    		replicaCount = int32(math.Ceil(float64(usage) / float64(targetAverageUsage)))
    	}
    	usage = int64(math.Ceil(float64(usage) / float64(statusReplicas)))
    	return replicaCount, usage, timestamp, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. pkg/adsc/delta.go

    	return v3.GetShortType(k.TypeURL) + "/" + k.Name
    }
    
    type keySet = sets.Set[resourceKey]
    
    // resourceNode represents a resource state in the dynamic tree structure of the service mesh.
    // It tracks the relationships of a resource with its parents and children within the mesh.
    //
    // Example: Consider a scenario where we have a direct wildcard CDS watch.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. pkg/istio-agent/agent_test.go

    		}
    	}
    	b, err := json.Marshal(m)
    	if err != nil {
    		t.Fatal(err)
    	}
    	meta := model.NodeMetadata{}
    	if err := json.Unmarshal(b, &meta); err != nil {
    		t.Fatal(err)
    	}
    	pc := (*model.NodeMetaProxyConfig)(proxyConfig)
    	meta.Namespace = "fake-namespace"
    	meta.ServiceAccount = "fake-sa"
    	meta.ProxyConfig = pc
    	return meta
    }
    
    func setupCa(t *testing.T, auth *security.FakeAuthenticator) *mock.CAServer {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top