Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,524 for var (0.01 sec)

  1. internal/bucket/lifecycle/filter_test.go

    								<Value>value1</Value>
    							</Tag>
    						</Filter>`,
    			expectedErr: errInvalidFilter,
    		},
    	}
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var filter Filter
    			err := xml.Unmarshal([]byte(tc.inputXML), &filter)
    			if err != nil {
    				t.Fatalf("%d: Expected no error but got %v", i+1, err)
    			}
    			err = filter.Validate()
    			if err != tc.expectedErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt_test.go

    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    		closeRespFn: func(rc io.ReadCloser) {
    			rc.Close()
    		},
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(context.Background(), DummyRoleARN, token, "", "", claims); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestJWT(t *testing.T) {
    	const jsonkey = `{"keys":
           [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/searchlist.js

    $(function() {
      var SEP_CHAR = "-",
          langCode,
          browserLang =
        (window.navigator.languages && window.navigator.languages[0]) ||
        window.navigator.language ||
        window.navigator.userLanguage ||
        window.navigator.browserLanguage;
    
      if (browserLang) {
        langCode = browserLang.split(SEP_CHAR)[0];
      } else {
        langCode = "en";
      }
    
      $.validate({
        modules: "html5",
        lang: langCode
      });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 422 bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	workloadNames := map[string]string{}
    	for _, s := range d.Services {
    		var ip string
    		if len(s.Addresses) != 0 {
    			_, ip, _ = strings.Cut(s.Addresses[0], "/")
    		}
    		if ip == "" {
    			// fallback to None when a service does not have a VIP
    			ip = "None"
    		}
    		serviceNames[ip] = s.Hostname
    	}
    	for _, s := range d.Workloads {
    		var ip string
    		if len(s.WorkloadIPs) != 0 {
    			ip = s.WorkloadIPs[0]
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    		subtle.ConstantTimeCompare([]byte(cred.SessionToken), []byte(ccred.SessionToken)) == 1)
    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/testdata/ecds/output.json

                                "runtime": "envoy.wasm.runtime.v8",
                                "code": {
                                    "local": {
                                        "filename": "/var/lib/istio/data/fe482be5ac123d3d387b0c68b9ed7f8ed65824e7d0bbc88a9a9a71dd8391d96c/d8ef3957b4cf09da9ed25e88bc75ac397ea875d88c5cbed356872f936a86d928.wasm"
                                    }
                                },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		for i := range errs {
    			errs[i] = ctx.Err()
    		}
    		return errs
    	}
    	defer func() {
    		if !skipAccessChecks(volume) {
    			var permanentDeletes uint64
    			var deleteMarkers uint64
    
    			for i, nerr := range errs {
    				if nerr != nil {
    					continue
    				}
    				for _, fi := range versions[i].Versions {
    					if fi.Deleted {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_iptables_unspecified.go

    // parses prevResult according to the cniVersion
    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/sts/assume-role.go

    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// STS API.
    
    	// Initialize credential options
    	var stsOpts cr.STSAssumeRoleOptions
    	stsOpts.AccessKey = minioUsername
    	stsOpts.SecretKey = minioPassword
    
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    			log.Fatalf("Unable to open session policy file: %v", err)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 17 01:24:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    			return err
    		}
    		for _, gw := range waypoints.Items {
    			names = append(names, gw.Name)
    		}
    	}
    
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, name := range names {
    		wg.Add(1)
    		go func(name string) {
    			defer wg.Done()
    			if err := kubeClient.GatewayAPI().GatewayV1().Gateways(namespace).
    				Delete(context.Background(), name, metav1.DeleteOptions{}); err != nil {
    				if kerrors.IsNotFound(err) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top