- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 594 for expect (0.14 sec)
-
cni/pkg/plugin/plugin_test.go
mockIntercept := testDoAddRun(t, buildMockConf(false, ""), testNSName, pod, ns) if len(mockIntercept.lastRedirect) == 0 { t.Fatalf("expected nsenterFunc to be called") } r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1] if r.includeInboundPorts != "*" { t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
obj := objs.kind(name2.MutatingWebhookConfigurationStr).nameEquals(mutatingWebhookConfigurationName) g.Expect(obj).Should(Not(BeNil())) return obj } // HavePathValueEqual matches map[string]interface{} tree against a PathValue. func HavePathValueEqual(expected any) types.GomegaMatcher { return &HavePathValueEqualMatcher{ expected: expected, } } // HavePathValueEqualMatcher is a matcher type for HavePathValueEqual.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
cmd/signature-v4-utils.go
} switch header { case "expect": // Golang http server strips off 'Expect' header, if the // client sent this as part of signed headers we need to // handle otherwise we would see a signature mismatch. // `aws-cli` sets this as part of signed headers. // // According to // http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20 // Expect header is always of form: //
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 18:56:45 GMT 2024 - 9K bytes - Viewed (0) -
docs/debugging/inspect/main.go
privKeyPath = flag.String("private-key", "support_private.pem", "private key") stdin = flag.Bool("stdin", false, "expect 'mc support inspect' json output from stdin") 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 {
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) -
src/cmd/asm/internal/asm/asm.go
func (p *Parser) asmData(operands [][]lex.Token) { if len(operands) != 2 { p.errorf("expect two operands for DATA") return } // Operand 0 has the general form foo<>+0x04(SB)/4. op := operands[0] n := len(op) if n < 3 || op[n-2].ScanToken != '/' || op[n-1].ScanToken != scanner.Int { p.errorf("expect /size for DATA argument") return } szop := op[n-1].String() sz, err := strconv.Atoi(szop)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
if len(c.delayedConfName) > 0 { // Delayed case t.Fatalf("did not expect to retrieve a CNI config file %s", result) } else if result != expectedFilepath { if len(expectedFilepath) > 0 { t.Fatalf("expected %s, got %s", expectedFilepath, result) } t.Fatalf("did not expect to retrieve a CNI config file %s", result) } // Successful test for non-delayed cases return
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 15.4K bytes - Viewed (0) -
src/bytes/reader_test.go
var l int if i > 0 { l = len(testString) / i } s := testString[:l] r := NewReader(testBytes[:l]) var b Buffer n, err := r.WriteTo(&b) if expect := int64(len(s)); n != expect { t.Errorf("got %v; want %v", n, expect) } if err != nil { t.Errorf("for length %d: got error = %v; want nil", l, err) } if b.String() != s { t.Errorf("got string %q; want %q", b.String(), s) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) } if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 6.9K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "valid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Succeed()) o = RemoteSecretOptions{} flags = pflag.NewFlagSet("test", pflag.ContinueOnError) o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "?-invalid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Not(Succeed()))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
operator/cmd/mesh/profile-list_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 03 06:27:07 GMT 2024 - 1.5K bytes - Viewed (0)