- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 1,123 for Nil (0.02 sec)
-
internal/bucket/lifecycle/rule_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/rebalance-admin.go
} func rebalanceStatus(ctx context.Context, z *erasureServerPools) (r rebalanceAdminStatus, err error) { // Load latest rebalance status meta := &rebalanceMeta{} err = meta.load(ctx, z.serverPools[0]) if err != nil { return r, err } // Compute disk usage percentage si := z.StorageInfo(ctx, true) diskStats := make([]struct { AvailableSpace uint64 TotalSpace uint64 }, len(z.serverPools))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
istioctl/pkg/util/formatting/msg_threshold.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 17 12:28:05 UTC 2021 - 1.4K bytes - Viewed (0) -
clause/order_by.go
} // Name where clause name func (orderBy OrderBy) Name() string { return "ORDER BY" } // Build build where clause func (orderBy OrderBy) Build(builder Builder) { if orderBy.Expression != nil { orderBy.Expression.Build(builder) } else { for idx, column := range orderBy.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column.Column) if column.Desc {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Nov 03 02:30:05 UTC 2020 - 1.1K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# attempts: 10 # number of retries for the job before giving up # delay: "500ms" # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(replicateYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-replicate yaml", err) } if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) { t.Fatal("Failed to parse batch-job-replicate yaml", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/batch-replicate.go
func (t BatchJobReplicateResourceType) Validate() error { switch t { case BatchJobReplicateResourceMinIO: case BatchJobReplicateResourceS3: default: return errInvalidArgument } return nil } func (t BatchJobReplicateResourceType) isMinio() bool { return t == BatchJobReplicateResourceMinIO } // Different types of batch jobs.. const (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/object-api-options_test.go
}, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { rec := httptest.NewRecorder() req := httptest.NewRequest("GET", "/test", nil) req.Header = testCase.headers opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject") if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
{"2010-02-03T04:11:30.23-08:00", time.Date(2010, 2, 3, 4, 11, 30, 230000000, fakeLosAngeles)}, } for i, tc := range cases { tval, err := parseSQLTimestamp(tc.s) if err != nil { t.Errorf("Case %d: Unexpected error: %v", i+1, err) continue } if !tval.Equal(tc.t) { t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval) continue } tstr := FormatSQLTimestamp(tc.t)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
istioctl/cmd/options_test.go
` func TestLogHelp(t *testing.T) { var out bytes.Buffer rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil { t.Fatalf("options failed with %v and %q\n", fErr, out.String()) } if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) { t.Fatalf("'istioctl options' expected output\n%s\n got\n%s",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 14 02:38:54 UTC 2022 - 1.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
conf, err := parseConfig(args.StdinData) if err != nil { t.Fatalf("config parse failed with error: %v", err) } // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir) if err == nil { t.Fatal("expected to fail, but did not!") } return mockRedir }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)