- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for cogs (0.21 sec)
-
cmd/api-router.go
{ api: "inventory", methods: []string{http.MethodGet, http.MethodPut, http.MethodDelete}, queries: []string{"inventory", ""}, }, { api: "cors", methods: []string{http.MethodPut, http.MethodDelete}, queries: []string{"cors", ""}, }, { api: "metrics", methods: []string{http.MethodGet, http.MethodPut, http.MethodDelete}, queries: []string{"metrics", ""}, }, {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 22.8K bytes - Viewed (0) -
internal/config/api/api.go
if corsList == "" { corsAllowOrigin = []string{"*"} // defaults to '*' } else { corsAllowOrigin = strings.Split(corsList, ",") for _, cors := range corsAllowOrigin { if cors == "" { return cfg, errors.New("invalid cors value") } } } cfg.CorsAllowOrigin = corsAllowOrigin if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 01:08:07 GMT 2024 - 11.1K bytes - Viewed (1) -
cmd/consolelogger.go
QueueLength: 0, } } // Content returns the console stdout log func (sys *HTTPConsoleLoggerSys) Content() (logs []log.Entry) { sys.RLock() sys.logBuf.Do(func(p interface{}) { if p != nil { lg, ok := p.(log.Info) if ok { if (lg.Entry != log.Entry{}) { logs = append(logs, lg.Entry) } } } }) sys.RUnlock() return } // Cancel - cancels the target
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 5.5K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
bucketName: bucketName, accessKey: creds.AccessKey, secretKey: creds.SecretKey, body: []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`), expectedRespStatus: http.StatusBadRequest,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 13 20:52:33 GMT 2023 - 11.2K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
gotLogs := strings.Split( strings.TrimSuffix(string(out), "\n"), "\n") if want, got := len(wantLevels), len(gotLogs); want != got { t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs) } for i, l := range gotLogs { // For each line, there should be two level string, e.g. // "2021-07-09T03:26:08.984951Z debug debug log"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
type args struct { slp string validationPattern string } tests := []struct { name string args args want *ScopeLevelPair wantErr bool }{ { name: "Fail when logs scope-level pair don't match pattern", args: args{validationPattern: validationPattern, slp: "invalid:pattern"}, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
if err != nil { return "", "", err } if podName != "" { return podName, namespace, nil } // We need to pass in a sorter, and the one used by `kubectl logs` is good enough. sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) } timeout := 2 * time.Second if getFirstPodFunc == nil { getFirstPodFunc = polymorphichelpers.GetFirstPod }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
cmd/admin-router.go
// done per-"handler function registration" in the router. // // The passed in handler function must be a method of `adminAPIHandlers` for the // name displayed in logs and trace to be accurate. The name is extracted via // reflection. // // When no flags are passed, gzip compression, http tracing of headers and // checking of object layer availability are all enabled. Use flags to modify
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 25.5K bytes - Viewed (0) -
cmd/peer-rest-client.go
select { case logCh <- *b: default: consoleLogRPC.PutResponse(b) // Do not block on slow receivers. } return nil }) } // ConsoleLog - sends request to peer nodes to get console logs func (client *peerRESTClient) ConsoleLog(ctx context.Context, kind madmin.LogMask, logCh chan<- []byte) { go func() { for { client.doConsoleLog(ctx, kind, logCh) select { case <-ctx.Done():
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.8K bytes - Viewed (0) -
cmd/peer-rest-server.go
if err != nil { peersLogIf(context.Background(), fmt.Errorf("Failed to reload remote tier config %s", err)) } }() return } // ConsoleLogHandler sends console logs of this node back to peer rest client func (s *peerRESTServer) ConsoleLogHandler(ctx context.Context, params *grid.MSS, out chan<- *grid.Bytes) *grid.RemoteErr { mask, err := strconv.Atoi(params.Get(peerRESTLogMask))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 51.8K bytes - Viewed (0)