- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 2,412 for ErrorS (0.08 sec)
-
internal/store/batch_test.go
CommitTimeout: 5 * time.Minute, Log: func(ctx context.Context, err error, id string, errKind ...interface{}) { t.Log(err) }, }) defer batch.Close() var wg sync.WaitGroup for i := 0; i < int(limit); i++ { wg.Add(1) go func(key int) { defer wg.Done() if err := batch.Add(testItem); err != nil { t.Errorf("failed to add item %v; %v", key, err) return } }(i) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 5.6K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer.go
} // NewAnalyzer creates a new analyzer for a given pod based on its envoy config. func NewAnalyzer(envoyConfig *configdump.Wrapper) (*Analyzer, error) { listeners, err := envoyConfig.GetDynamicListenerDump(true) if err != nil { return nil, fmt.Errorf("failed to get dynamic listener dump: %s", err) } return &Analyzer{listenerDump: listeners}, nil } // Print print the analysis results.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 13 01:59:17 UTC 2022 - 2.1K bytes - Viewed (0) -
internal/logger/target/console/console.go
func (c *Target) Validate() error { return nil } // Endpoint returns the backend endpoint func (c *Target) Endpoint() string { return "" } func (c *Target) String() string { return "console" } // Send log message 'e' to console func (c *Target) Send(e interface{}) error { entry, ok := e.(log.Entry) if !ok { return fmt.Errorf("Uexpected log entry structure %#v", e) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package lifecycle import ( "encoding/xml" ) var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed") // And - a tag to combine a prefix and multiple tags for lifecycle configuration rule. type And struct { XMLName xml.Name `xml:"And"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
// parse size from content-range header func parseSizeFromContentRange(h http.Header) (sz int64, err error) { cr := h.Get(xhttp.ContentRange) if cr == "" { return sz, fmt.Errorf("Content-Range not set") } parts := contentRangeRegexp.FindStringSubmatch(cr) if len(parts) != 4 { return sz, fmt.Errorf("invalid Content-Range header %s", cr) } if parts[3] == "*" { return -1, nil } var usz uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 26.3K bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
import ( "bytes" "fmt" "testing" ) func TestParseAndValidateReplicationConfig(t *testing.T) { testCases := []struct { inputConfig string expectedParsingErr error expectedValidationErr error destBucket string sameTarget bool }{ { // 1 Invalid delete marker status in replication config
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0) -
src/cmd/api/api_test.go
defer func() { if x := recover(); x != nil { t.Errorf("expected no panic; recovered %v", x) } }() testenv.MustHaveGoBuild(t) for _, context := range contexts { w := NewWalker(context, "testdata/src/issue64958") pkg, err := w.importFrom("p", "", 0) if err != nil { t.Errorf("expected no error importing; got %T", err) } w.export(pkg) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/metacache-stream_test.go
if entry.name != want[i] { t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name) } } } func Test_metacacheReader_readFn(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() i := 0 err := r.readFn(func(entry metaCacheEntry) bool { want := loadMetacacheSampleNames[i] if entry.name != want { t.Errorf("entry %d, want %q, got %q", i, want, entry.name) } i++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
schema/index.go
} if name == "" { subName := field.Name const key = "COMPOSITE" if composite, found := settings[key]; found { if len(composite) == 0 || composite == key { err = fmt.Errorf( "The composite tag of %s.%s cannot be empty", field.Schema.Name, field.Name) return } subName = composite } name = field.Schema.namer.IndexName(
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0) -
istioctl/pkg/tag/revision.go
revisions := map[string]*RevisionDescription{} // Get a list of control planes which are installed in remote clusters // In this case, it is possible that they only have webhooks installed. webhooks, err := Webhooks(context.Background(), client) if err != nil { return nil, fmt.Errorf("error while listing mutating webhooks: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.5K bytes - Viewed (0)