Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for nation (0.23 sec)

  1. internal/logger/target/testlogger/testlogger.go

    func (t *testLogger) SetFatalTB(tb testing.TB) func() {
    	return t.setTB(tb, fatalMessage)
    }
    
    func (t *testLogger) setTB(tb testing.TB, action int32) func() {
    	old := t.action.Swap(action)
    	t.current.Store(&tb)
    	return func() {
    		t.current.Store(nil)
    		t.action.Store(old)
    	}
    }
    
    func (t *testLogger) String() string {
    	tb := t.current.Load()
    	if tb != nil {
    		tbb := *tb
    		return tbb.Name()
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. docs/iam/access-manager-plugin.go

    	actionValue := m["action"].(string)
    
    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator_test.go

    				"get":   true,
    				"list":  true,
    				"watch": true,
    			}
    
    			actions := extendedClient.Kube().(*fake.Clientset).Actions()
    			for _, action := range actions {
    				if v := readActions[action.GetVerb()]; !v {
    					t.Fatalf("unexpected action: %+v, expected %s", action.GetVerb(), "get")
    				}
    			}
    		})
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-audit.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. cmd/post-policy_test.go

    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    	req, perr := newPostRequestV4Generic("", bucketName, keyName, []byte("objData"),
    		credentials.AccessKey, credentials.SecretKey, region, curTime,
    		[]byte(policy), map[string]string{"success_action_redirect": redirectURL.String()}, false, false, false)
    
    	if perr != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    		if o.Lifecycle != nil {
    			evt := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, o.Replication.Config, objInfo)
    			if evt.Action.Delete() {
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    				if !evt.Action.DeleteRestored() {
    					continue
    				} // queue version for replication upon expired restored copies if needed.
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	var e error
    	// Save date in native time.Time.
    	preSignV4Values.Date, e = time.Parse(iso8601Format, query.Get(xhttp.AmzDate))
    	if e != nil {
    		return psv, ErrMalformedPresignedDate
    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/policies.go

    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE")
    
    	for _, pol := range pols {
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			pol.Namespace, pol.Name, pol.Action, pol.Scope)
    	}
    	return w.Flush()
    }
    
    // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    		Versioned:  globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    		Expiration: ExpirationOptions{Expire: true},
    	}
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = oi.VersionID
    	}
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    	if lcEvent.Action.DeleteRestored() {
    		// delete locally restored copy of object or object version
    		// from the source, while leaving metadata behind. The data on
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/sts-errors.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top