Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for Se (0.02 sec)

  1. src/fmt/fmt_test.go

    	// Erroneous cases.
    	{"%[d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%]d", SE{2, 1}, "%!](int=2)d%!(EXTRA int=1)"},
    	{"%[]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[-3]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[99]d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%[3]", SE{2, 1}, "%!(NOVERB)"},
    	{"%[1].2d", SE{5, 6}, "%!d(BADINDEX)"},
    	{"%[1]2d", SE{2, 1}, "%!d(BADINDEX)"},
    	{"%3.[2]d", SE{7}, "%!d(BADINDEX)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/serviceentry_simulation_test.go

    // limitations under the License.
    package core_test
    
    import (
    	"fmt"
    	"testing"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/simulation"
    	"istio.io/istio/pilot/test/xds"
    )
    
    const se = `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: se1
    spec:
      hosts:
      - blah.somedomain
      addresses:
      - %s
      ports:
      - number: 9999
        name: TCP-9999
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/util/service_lookup.go

    		s := r.Message.(*corev1.ServiceSpec)
    		var se *v1alpha3.ServiceEntry
    		var ports []*v1alpha3.ServicePort
    		for _, p := range s.Ports {
    			ports = append(ports, &v1alpha3.ServicePort{
    				Number:   uint32(p.Port),
    				Name:     p.Name,
    				Protocol: string(p.Protocol),
    			})
    		}
    		host := ConvertHostToFQDN(r.Metadata.FullName.Namespace, r.Metadata.FullName.Name.String())
    		se = &v1alpha3.ServiceEntry{
    			Hosts: []string{host},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. pkg/kube/krt/join_test.go

    	})
    
    	se := &istioclient.ServiceEntry{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "svc-entry",
    			Namespace: "namespace",
    		},
    		Spec: istio.ServiceEntry{WorkloadSelector: &istio.WorkloadSelector{Labels: map[string]string{"app": "foo"}}},
    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pkg/dns/server/name_table.go

    			}
    			out.Table[hostName.String()] = nameInfo
    		} else if provider.ID(ni.Registry) != provider.Kubernetes {
    			// 2 possible cases:
    			// 1. If the SE has multiple addresses(vips) specified, merge the ips
    			// 2. If the previous SE is a decorator of the k8s service, give precedence to the k8s service
    			if svc.Attributes.ServiceRegistry == provider.Kubernetes {
    				ni.Ips = addressList
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    			case "Rule":
    				var r Rule
    				if err = d.DecodeElement(&r, &se); err != nil {
    					return err
    				}
    				lc.Rules = append(lc.Rules, r)
    			case "ExpiryUpdatedAt":
    				var t time.Time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/multiplecontrolplanes/main_test.go

    				{
    					name:       "workloads in SE configured namespace can reach external service",
    					statusCode: http.StatusOK,
    					from:       apps.NS[1].A,
    				},
    				{
    					name:       "workloads in non-SE configured namespace, but same usergroup can reach external service",
    					statusCode: http.StatusOK,
    					from:       apps.NS[2].A,
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	}
    	serviceInstanceTests := []struct {
    		name      string
    		wle       *networking.WorkloadEntry
    		se        *config.Config
    		clusterID cluster.ID
    		out       []*model.ServiceInstance
    	}{
    		{
    			name: "simple",
    			wle: &networking.WorkloadEntry{
    				Address: "1.1.1.1",
    				Labels:  labels,
    			},
    			se: selector,
    			out: []*model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  9. tests/integration/security/pass_through_filter_chain_test.go

    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    						//
    						// Since our client will talk directly to pods via IP, we have to configure the ports
    						// in the SE as TCP, since only TCP does will match based in IP address rather than host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go

    	return "error"
    }
    
    func (_ alwaysMatchingError) Is(_ error) bool {
    	return true
    }
    
    type someError struct{ msg string }
    
    func (se someError) Error() string {
    	if se.msg != "" {
    		return se.msg
    	}
    	return "err"
    }
    
    func TestAggregateWithErrorsIs(t *testing.T) {
    	testCases := []struct {
    		name         string
    		err          error
    		matchAgainst error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 13:16:21 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top