Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for CON (0.14 sec)

  1. pkg/config/analysis/analyzers/testdata/pod-con-sec-uid.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: con-sec-uid
      labels:
        app: helloworld
        version: v1
    spec:
      containers:
      - name: helloworld
        image: docker.io/istio/examples-helloworld-v1
        securityContext:
          runAsUser: 1337
        resources:
          requests:
            cpu: "100m"
        imagePullPolicy: IfNotPresent #Always
        ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 364 bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/deployment-con-sec-uid.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: deploy-con-sec-uid
      labels:
        app: helloworld
        version: v1
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: helloworld
          version: v1
      template:
        metadata:
          labels:
            app: helloworld
            version: v1
        spec:
          securityContext:
            runAsUser: 1337
          containers:
          - name: helloworld
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 651 bytes
    - Viewed (0)
  3. pilot/pkg/xds/pushqueue.go

    		return nil, nil, true
    	}
    
    	con = p.queue[0]
    	// The underlying array will still exist, despite the slice changing, so the object may not GC without this
    	// See https://github.com/grpc/grpc-go/issues/4758
    	p.queue[0] = nil
    	p.queue = p.queue[1:]
    
    	request = p.pending[con]
    	delete(p.pending, con)
    
    	// Mark the connection as in progress
    	p.processing[con] = nil
    
    	return con, request, false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 16 01:37:15 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/statusgen.go

    // isSidecar ad-hoc method to see if connection represents a sidecar
    func isProxy(con *Connection) bool {
    	return con != nil &&
    		con.proxy != nil &&
    		con.proxy.Metadata != nil &&
    		con.proxy.Metadata.ProxyConfig != nil
    }
    
    func isZtunnel(con *Connection) bool {
    	return con != nil &&
    		con.proxy != nil &&
    		con.proxy.Metadata != nil &&
    		con.proxy.Type == model.Ztunnel
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight/checks.go

    // can be reached, return true.
    func (con EtcdConnection) CheckEtcdServers() (done bool, err error) {
    	// Attempt to reach every Etcd server randomly.
    	serverNumber := len(con.ServerList)
    	serverPerms := rand.Perm(serverNumber)
    	for _, index := range serverPerms {
    		host, err := parseServerURI(con.ServerList[index])
    		if err != nil {
    			return false, err
    		}
    		if con.serverReachable(host) {
    			return true, nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 20 10:50:48 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  6. pilot/pkg/xds/auth.go

    	}
    	return nil, err
    }
    
    func (s *DiscoveryServer) authorize(con *Connection, identities []string) error {
    	if con == nil || con.proxy == nil {
    		return nil
    	}
    
    	if features.EnableXDSIdentityCheck && identities != nil {
    		// TODO: allow locking down, rejecting unauthenticated requests.
    		id, err := checkConnectionIdentity(con.proxy, identities)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. docs/es/docs/python-types.md

    Tú declaras la "forma" de los datos mediante clases con atributos.
    
    Cada atributo tiene un tipo.
    
    Luego creas un instance de esa clase con algunos valores y Pydantic validará los valores, los convertirá al tipo apropiado (si ese es el caso) y te dará un objeto con todos los datos.
    
    Y obtienes todo el soporte del editor con el objeto resultante.
    
    Tomado de la documentación oficial de Pydantic:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    Entonces lo puedes usar con:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Consejo"
        Podrías necesitar que el parámetro contenga `/home/johndoe/myfile.txt` con un slash inicial (`/`).
    
        En este caso la URL sería `/files//home/johndoe/myfile.txt` con un slash doble (`//`) entre `files` y `home`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/xdsgen.go

    	cp, _ := controlPlane.Get()
    	return cp
    }
    
    func (s *DiscoveryServer) findGenerator(typeURL string, con *Connection) model.XdsResourceGenerator {
    	if g, f := s.Generators[con.proxy.Metadata.Generator+"/"+typeURL]; f {
    		return g
    	}
    	if g, f := s.Generators[string(con.proxy.Type)+"/"+typeURL]; f {
    		return g
    	}
    
    	if g, f := s.Generators[typeURL]; f {
    		return g
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. internal/event/target/nats_contrib_test.go

    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top