Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isNaked (0.14 sec)

  1. tests/integration/security/pass_through_filter_chain_test.go

    								allow := allowValue(expect.mtlsSucceeds)
    								if from.Config().IsNaked() {
    									allow = allowValue(expect.plaintextSucceeds)
    								}
    
    								if allow {
    									opts.Check = check.OK()
    								} else {
    									opts.Check = check.ErrorOrStatus(http.StatusForbidden)
    								}
    
    								mtlsString := "mtls"
    								if from.Config().IsNaked() {
    									mtlsString = "plaintext"
    								}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/check/checkers.go

    			return fmt.Errorf("reached network not in %v, got %v", expectedByNetwork.Networks(), networkHits)
    		}
    	}
    	return nil
    }
    
    func isNaked(c echo.Caller) bool {
    	if c != nil {
    		if inst, ok := c.(echo.Instance); ok {
    			return inst.Config().IsNaked()
    		}
    	}
    	return false
    }
    
    func clusterFor(c echo.Caller) cluster.Cluster {
    	if c != nil {
    		// Determine the source network of the caller.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 16:19:07 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    func (c Config) IsHeadless() bool {
    	return c.Headless
    }
    
    func (c Config) IsStatefulSet() bool {
    	return c.StatefulSet
    }
    
    // IsNaked checks if the config has no sidecar.
    // Note: instances that mix subsets with and without sidecars are considered 'naked'.
    func (c Config) IsNaked() bool {
    	for _, s := range c.Subsets {
    		if s.Annotations != nil && s.Annotations[annotation.SidecarInject.Name] == "false" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tests/integration/security/reachability_test.go

    			}
    		}
    		return false
    	}
    }
    
    var fromNaked condition = func(from echo.Instance, _ echo.CallOptions) bool {
    	return from.Config().IsNaked()
    }
    
    var toNaked condition = func(_ echo.Instance, opts echo.CallOptions) bool {
    	return opts.To.Config().IsNaked()
    }
    
    var toHeadless condition = func(_ echo.Instance, opts echo.CallOptions) bool {
    	return opts.To.Config().IsHeadless()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val reservedFlag3 = b0 and B0_FLAG_RSV3 != 0
        if (reservedFlag3) throw ProtocolException("Unexpected rsv3 flag")
    
        val b1 = source.readByte() and 0xff
    
        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    			}
    
    			if schema.Properties != nil {
    				isNamed = true
    			} else if schema.AdditionalProperties != nil {
    				isNamed = false
    			} else {
    				return nil, nil, fmt.Errorf("does not refer to a valid field")
    			}
    			if err := appendToPath(unescaped, isNamed); err != nil {
    				return nil, nil, err
    			}
    			if !scanner.Scan() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/map.go

    func (t undLowerCaser) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
    	c := context{dst: dst, src: src, atEOF: atEOF}
    
    	for isInterWord := true; c.next(); {
    		if isInterWord {
    			if c.info.isCased() {
    				if !lower(&c) {
    					break
    				}
    				isInterWord = false
    			} else if !c.copy() {
    				break
    			}
    		} else {
    			if c.info.isNotCasedAndNotCaseIgnorable() {
    				if !c.copy() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    		addr := s.base() + i*s.elemsize
    		print(hex(addr))
    		alloc := i < uintptr(s.freeindex) || abits.isMarked()
    		if alloc {
    			print(" alloc")
    		} else {
    			print(" free ")
    		}
    		if mbits.isMarked() {
    			print(" marked  ")
    		} else {
    			print(" unmarked")
    		}
    		zombie := mbits.isMarked() && !alloc
    		if zombie {
    			print(" zombie")
    		}
    		print("\n")
    		if zombie {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/inl_test.go

    			"(*bmap).keys",
    			"(*bmap).overflow",
    			"(*waitq).enqueue",
    			"funcInfo.entry",
    
    			// GC-related ones
    			"cgoInRange",
    			"gclinkptr.ptr",
    			"guintptr.ptr",
    			"heapBitsSlice",
    			"markBits.isMarked",
    			"muintptr.ptr",
    			"puintptr.ptr",
    			"spanOf",
    			"spanOfUnchecked",
    			"typePointers.nextFast",
    			"(*gcWork).putFast",
    			"(*gcWork).tryGetFast",
    			"(*guintptr).set",
    			"(*markBits).advance",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/query.go

    // and simpler.
    func versionHasGoMod(_ context.Context, m module.Version) (bool, error) {
    	_, data, err := rawGoModData(m)
    	if err != nil {
    		return false, err
    	}
    	isFake := bytes.Equal(data, modfetch.LegacyGoMod(m.Path))
    	return !isFake, nil
    }
    
    // A versionRepo is a subset of modfetch.Repo that can report information about
    // available versions, but cannot fetch specific source files.
    type versionRepo interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
Back to top