Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 4,713 for meth (2.73 sec)

  1. pilot/pkg/model/authorization_test.go

    	}
    	environment := &Environment{
    		ConfigStore: store,
    		Watcher:     mesh.NewFixedWatcher(&meshconfig.MeshConfig{RootNamespace: "istio-config"}),
    	}
    	authzPolicies := GetAuthorizationPolicies(environment)
    	return authzPolicies
    }
    
    func newConfig(name, ns string, spec config.Spec) config.Config {
    	return config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.AuthorizationPolicy,
    			Name:             name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/conversion.go

    func kubeToIstioServiceAccount(saname string, ns string, mesh *meshconfig.MeshConfig) string {
    	return spiffe.MustGenSpiffeURI(mesh, ns, saname)
    }
    
    // SecureNamingSAN creates the secure naming used for SAN verification from pod metadata
    func SecureNamingSAN(pod *corev1.Pod, mesh *meshconfig.MeshConfig) string {
    	return spiffe.MustGenSpiffeURI(mesh, pod.Namespace, pod.Spec.ServiceAccountName)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder.go

    	if len(cb.req.Push.Mesh.InboundClusterStatName) != 0 {
    		localCluster.cluster.AltStatName = telemetry.BuildStatPrefix(cb.req.Push.Mesh.InboundClusterStatName,
    			string(instance.Service.Hostname), "", instance.Port.ServicePort, clusterPort, &instance.Service.Attributes)
    	}
    
    	opts := buildClusterOpts{
    		mesh:            cb.req.Push.Mesh,
    		mutable:         localCluster,
    		policy:          nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go

    // limitations under the License.
    
    package controller
    
    import (
    	"sort"
    	"strings"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	klabels "k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pilot/pkg/model"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. samples/multicluster/gen-eastwest-gateway.sh

          shift
        ;;
        --cluster)
          # No longer does anything, but keep it around to avoid breaking users
          shift 2
        ;;
        --network)
          NETWORK=$2
          shift 2
        ;;
        --mesh)
          # No longer does anything, but keep it around to avoid breaking users
          shift 2
        ;;
        --revision)
          REVISION=$2
          shift 2
        ;;
        -*)
          echo "Error: Unsupported flag $1" >&2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 04 02:52:25 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    // limitations under the License.
    
    package controller
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/types"
    	mcsapi "sigs.k8s.io/mcs-api/pkg/apis/v1alpha1"
    
    	"istio.io/istio/pilot/pkg/features"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/config/kube/ingress/conversion_test.go

    						},
    					},
    				},
    			}
    
    			mesh := mesh.DefaultMeshConfig()
    			mesh.IngressControllerMode = c.ingressMode
    
    			if c.annotation != "" {
    				ing.Annotations["kubernetes.io/ingress.class"] = c.annotation
    			}
    
    			if c.shouldProcess != shouldProcessIngressWithClass(mesh, &ing, c.ingressClass) {
    				t.Errorf("got %v, want %v",
    					!c.shouldProcess, c.shouldProcess)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 18:20:34 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top