Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Monkey (0.2 sec)

  1. internal/config/identity/openid/openid.go

    			return c, err
    		}
    
    		arnKey := p.roleArn
    		if p.RolePolicy == "" {
    			arnKey = DummyRoleARN
    			// Ensure that at most one JWT policy claim based provider may be
    			// defined.
    			if _, ok := c.arnProviderCfgsMap[DummyRoleARN]; ok {
    				return c, errSingleProvider
    			}
    		}
    
    		c.arnProviderCfgsMap[arnKey] = &p
    		c.ProviderCfgs[cfgName] = &p
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. docs/debugging/inspect/main.go

    	export      = flag.Bool("export", false, "export xl.meta")
    	djson       = flag.Bool("djson", false, "expect djson format for xl.meta")
    	genkey      = flag.Bool("genkey", false, "generate key pair")
    )
    
    func main() {
    	flag.Parse()
    
    	if *genkey {
    		generateKeys()
    		os.Exit(0)
    	}
    	var privateKey []byte
    	if *keyHex == "" {
    		if b, err := os.ReadFile(*privKeyPath); err == nil {
    			privateKey = b
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. internal/jwt/parser_test.go

    		nil,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"basic nokey",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    	// `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky.
    	//
    	// But that's stunningly unlikely (and would still work either way)
    	iptVer, err := ext.DetectIptablesVersion(false)
    	if err != nil {
    		return nil, err
    	}
    	configurator.iptV = iptVer
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    		},
    		{
    			name:       "date_diff_year",
    			query:      `SELECT date_diff(month, '2010-01-01T', '2010-05T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":4}`,
    		},
    		{
    			name:       "date_diff_month_oney",
    			query:      `SELECT date_diff(month, '2010T', '2011T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":12}`,
    		},
    		{
    			name:       "date_diff_month_neg",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. internal/config/identity/openid/jwks_test.go

    package openid
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rsa"
    	"encoding/json"
    	"testing"
    )
    
    func TestAzurePublicKey(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt_test.go

    				t.Error("Expected failure, got success")
    			}
    		})
    	}
    }
    
    func initJWKSServer() *httptest.Server {
    	server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		const jsonkey = `{"keys":
           [
             {"kty":"RSA",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload_test.go

    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    			}
    		})
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  9. callbacks/preload.go

    				joinFieldValues[idx], _ = field.ValueOf(tx.Statement.Context, joinIndexValue)
    			}
    
    			if results, ok := joinIdentityMap[utils.ToStringKey(fieldValues...)]; ok {
    				joinKey := utils.ToStringKey(joinFieldValues...)
    				identityMap[joinKey] = append(identityMap[joinKey], results...)
    			}
    		}
    
    		_, foreignValues = schema.GetIdentityFieldValuesMap(tx.Statement.Context, joinResults, joinRelForeignFields)
    	} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/archive/tar/strconv_test.go

    	}
    
    	for _, v := range vectors {
    		got, err := formatPAXRecord(v.inKey, v.inVal)
    		ok := (err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatPAXRecord(%q, %q): got format failure, want success", v.inKey, v.inVal)
    			} else {
    				t.Errorf("formatPAXRecord(%q, %q): got format success, want failure", v.inKey, v.inVal)
    			}
    		}
    		if got != v.want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
Back to top