Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for getAction (0.16 sec)

  1. istioctl/pkg/authz/listener.go

    		policyToRule[name][rule] = struct{}{}
    	}
    
    	for _, parsed := range parsedListeners {
    		for _, fc := range parsed.filterChains {
    			for _, rbacHTTP := range fc.rbacHTTP {
    				action := rbacHTTP.GetRules().GetAction()
    				for name := range rbacHTTP.GetRules().GetPolicies() {
    					nameOfPolicy, indexOfRule := extractName(name)
    					addPolicy(action, nameOfPolicy, indexOfRule)
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route.go

    				route.Name = fmt.Sprintf("route/%s", route.Name)
    			}
    			if filter.Verbose {
    				for _, vhosts := range route.GetVirtualHosts() {
    					for _, r := range vhosts.Routes {
    						if !isPassthrough(r.GetAction()) {
    							fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n",
    								route.Name,
    								vhosts.Name,
    								describeRouteDomains(vhosts.GetDomains()),
    								describeMatch(r.GetMatch()),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    		return ""
    	}
    	if len(vh.GetRoutes()) != 1 {
    		return ""
    	}
    	r := vh.GetRoutes()[0]
    	if r.GetMatch().GetPrefix() != "/" {
    		return ""
    	}
    	a, ok := r.GetAction().(*route.Route_Route)
    	if !ok {
    		return ""
    	}
    	cl, ok := a.Route.ClusterSpecifier.(*route.RouteAction_Cluster)
    	if !ok {
    		return ""
    	}
    	if strings.Contains(cl.Cluster, "Cluster") {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. cmd/leak-detect_test.go

    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/util.go

    	secrets   configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump"
    	ecds      configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump"
    )
    
    // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL
    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  7. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/endpoint.go

    )
    
    // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump
    func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) {
    	endpointsDumpAny, err := w.getSection(endpoints)
    	if err != nil {
    		return nil, nil
    	}
    	endpointsDump := &admin.EndpointsConfigDump{}
    	err = endpointsDumpAny.UnmarshalTo(endpointsDump)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 14:14:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/bootstrap.go

    )
    
    // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump
    func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) {
    	bootstrapDumpAny, err := w.getSection(bootstrap)
    	if err != nil {
    		return nil, err
    	}
    	bootstrapDump := &admin.BootstrapConfigDump{}
    	err = bootstrapDumpAny.UnmarshalTo(bootstrapDump)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/secret.go

    )
    
    // GetSecretConfigDump retrieves a secret dump from a config dump wrapper
    func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
    	secretDumpAny, err := w.getSection(secrets)
    	if err != nil {
    		return nil, err
    	}
    	secretDump := &admin.SecretsConfigDump{}
    	err = secretDumpAny.UnmarshalTo(secretDump)
    	if err != nil {
    		return nil, err
    	}
    	return secretDump, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 25 04:09:53 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top