- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 2,461 for errors (0.06 sec)
-
cmd/signature-v4-utils_test.go
if expectedHost != extractedHost { t.Errorf("host header mismatch: expected `%s`, got `%s`", expectedHost, extractedHost) } // assert the result with the expected value. if expectedContentSha256 != extractedContentSha256 { t.Errorf("x-amz-content-sha256 header mismatch: expected `%s`, got `%s`", expectedContentSha256, extractedContentSha256) } if expectedTime != extractedDate {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump.go
func (c *ConfigWriter) Prime(b []byte) error { zDump := &ZtunnelDump{} rawDump := &rawDump{} // TODO(fisherxu): migrate this to jsonpb when issue fixed in golang // Issue to track -> https://github.com/golang/protobuf/issues/632 err := json.Unmarshal(b, rawDump) if err != nil { return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/jwt_test.go
}, }, expectedErr: errAuthentication, }, } for i, testCase := range testCases { _, _, _, gotErr := metricsRequestAuthenticate(testCase.req) if testCase.expectedErr != gotErr { t.Errorf("Test %d, expected err %s, got %s", i+1, testCase.expectedErr, gotErr) } } } func BenchmarkParseJWTStandardClaims(b *testing.B) { ctx, cancel := context.WithCancel(context.Background()) defer cancel()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/logger/target/testlogger/testlogger.go
return types.TargetStats{} } func (t *testLogger) Init(ctx context.Context) error { return nil } func (t *testLogger) IsOnline(ctx context.Context) bool { return t.current.Load() != nil } func (t *testLogger) Cancel() { t.current.Store(nil) } func (t *testLogger) Send(ctx context.Context, entry interface{}) error { tb := t.current.Load() var logf func(format string, args ...any)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
internal/net/net.go
func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) { proc, err := procfs.Self() if err != nil { return procfs.NetDevLine{}, err } netDev, err := proc.NetDev() if err != nil { return procfs.NetDevLine{}, err } ndl, ok := netDev[interf] if !ok { return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf) } return ndl, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 17 08:14:01 UTC 2023 - 1.2K bytes - Viewed (0) -
cmd/api-resources_test.go
if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode) } if prefix != testCase.prefix { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix) } if token != testCase.token { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token) } if startAfter != testCase.startAfter {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
api/go1.18.txt
pkg net/netip, func ParseAddr(string) (Addr, error) pkg net/netip, func ParseAddrPort(string) (AddrPort, error) pkg net/netip, func ParsePrefix(string) (Prefix, error) pkg net/netip, func PrefixFrom(Addr, int) Prefix pkg net/netip, method (*Addr) UnmarshalBinary([]uint8) error pkg net/netip, method (*Addr) UnmarshalText([]uint8) error pkg net/netip, method (*AddrPort) UnmarshalBinary([]uint8) error
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
} func (ns *mockNetNs) Do(toRun func(ns.NetNS) error) error { return toRun(ns) } func (*mockNetNs) Set() error { return nil } func (ns *mockNetNs) Path() string { return ns.path } func (*mockNetNs) Fd() uintptr { return 0 } func (*mockNetNs) Close() error { return nil } type netNsFunc func(nspath string) (ns.NetNS, error) func generateMockGetNsFunc(netNs string) netNsFunc {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
// ValidateControlPlaneFlags checks arguments for valid values and combinations func (o *CentralControlPlaneOptions) ValidateControlPlaneFlags() error { if o.Xds != "" && o.XdsPodLabel != "" { return fmt.Errorf("either --xds-address or --xds-label, not both") } if o.Plaintext && o.CertDir != "" { return fmt.Errorf("either --plaintext or --cert-dir, not both") } return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 3.2K bytes - Viewed (0) -
internal/event/name_test.go
{ObjectAccessedHead, []Name{ObjectAccessedHead}}, } for i, testCase := range testCases { result := testCase.name.Expand() if !reflect.DeepEqual(result, testCase.expectedResult) { t.Errorf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result) } } } func TestNameString(t *testing.T) { var blankName Name testCases := []struct { name Name
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0)