Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for invalidIPs (0.15 sec)

  1. pkg/proxy/serviceport.go

    			info.loadBalancerVIPs = append(info.loadBalancerVIPs, ip)
    		} else {
    			invalidIPs = append(invalidIPs, ip)
    		}
    	}
    	if len(invalidIPs) > 0 {
    		klog.V(4).InfoS("Service change tracker ignored the following load balancer ingress IPs for given Service as they don't match the IP Family",
    			"ipFamily", ipFamily, "loadBalancerIngressIPs", invalidIPs, "service", klog.KObj(service))
    	}
    
    	if apiservice.NeedsHealthCheck(service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    			}
    			jswant := `"` + wants + `"`
    			jsback := string(jsb)
    			if jsback != jswant {
    				t.Errorf("Marshal(Unmarshal(%q)) = %s, want %s", test.in, jsback, jswant)
    			}
    		})
    	}
    
    	var invalidIPs = []string{
    		// Empty string
    		"",
    		// Garbage non-IP
    		"bad",
    		// Single number. Some parsers accept this as an IPv4 address in
    		// big-endian uint32 form, but we don't.
    		"1234",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. pkg/registry/apps/statefulset/strategy_test.go

    		if len(errs) != 0 {
    			t.Errorf("updating spec.Replicas and minReadySeconds is allowed on a statefulset: %v", errs)
    		}
    		invalidPs := ps
    		invalidPs.Spec.MinReadySeconds = int32(-1)
    		Strategy.PrepareForUpdate(ctx, validPs, invalidPs)
    		errs = Strategy.ValidateUpdate(ctx, validPs, ps)
    		if len(errs) != 0 {
    			t.Errorf("updating spec.Replicas and minReadySeconds is allowed on a statefulset: %v", errs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. pkg/registry/apps/controllerrevision/storage/storage_test.go

    		invalidNs   = stripObjectMeta(newControllerRevision("validname", "NoUppercaseOrSpecialCharsLike=Equals", newObject(), 100))
    		nilData     = stripObjectMeta(newControllerRevision("validname", "validns", nil, 0))
    	)
    	test.TestCreate(
    		valid,
    		badRevision,
    		emptyName,
    		invalidName,
    		emptyNs,
    		invalidNs,
    		nilData)
    }
    
    func TestUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 12 20:55:35 UTC 2019
    - 5.6K bytes
    - Viewed (0)
  5. pkg/registry/apps/controllerrevision/strategy_test.go

    		invalidName = newControllerRevision("NoUppercaseOrSpecialCharsLike=Equals", "validns", newObject(), 0)
    		emptyNs     = newControllerRevision("validname", "", newObject(), 100)
    		invalidNs   = newControllerRevision("validname", "NoUppercaseOrSpecialCharsLike=Equals", newObject(), 100)
    		nilData     = newControllerRevision("validname", "validns", nil, 0)
    	)
    
    	tests := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:08 UTC 2017
    - 4.5K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/handling-errors.md

    Você pode sobrescrever esses manipuladores de exceção com os seus próprios manipuladores.
    
    ## Sobrescreva exceções de validação da requisição
    
    Quando a requisição contém dados inválidos, **FastAPI** internamente lança para o `RequestValidationError`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conditions.go

    	InvalidParentRef ConfigErrorReason = "InvalidParentReference"
    	// InvalidFilter indicates an issue with the filters
    	InvalidFilter ConfigErrorReason = "InvalidFilter"
    	// InvalidTLS indicates an issue with TLS settings
    	InvalidTLS ConfigErrorReason = ConfigErrorReason(k8s.ListenerReasonInvalidCertificateRef)
    	// InvalidListenerRefNotPermitted indicates a listener reference was not permitted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/go/parser/short_test.go

    func TestSingle(t *testing.T) {
    	const src = `package p; var _ = T{}`
    	checkErrors(t, src, src, DeclarationErrors|AllErrors, true)
    }
    
    var invalids = []string{
    	`foo /* ERROR "expected 'package'" */ !`,
    	`package p; func f() { if { /* ERROR "missing condition" */ } };`,
    	`package p; func f() { if ; /* ERROR "missing condition" */ {} };`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str = Query(default=None, max_length=50)
    ```
    
    Isso irá validar os dados, mostrar um erro claro quando os dados forem inválidos, e documentar o parâmetro na *operação de rota* do esquema OpenAPI..
    
    ## Adicionando mais validações
    
    Você também pode incluir um parâmetro `min_length`:
    
    ```Python hl_lines="10"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. docs/es/docs/python-types.md

    * **Convertir datos**: desde el request al tipo requerido.
    * **Validar datos**: viniendo de cada request:
        * Generando **errores automáticos** devueltos al cliente cuando los datos son inválidos.
    * **Documentar** la API usando OpenAPI:
        * que en su caso es usada por las interfaces de usuario de la documentación automática e interactiva.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top