- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 216 for Logger (0.15 sec)
-
operator/cmd/mesh/operator-init.go
return nil }, } } // operatorInit installs the Istio operator controller into the cluster. func operatorInit(cliClient kube.CLIClient, args *RootArgs, oiArgs *operatorInitArgs, l clog.Logger) { kubeClient, client, err := kubeClients(cliClient, l) if err != nil { l.LogAndFatal(err) } if oiArgs.common.revision == "default" { oiArgs.common.revision = "" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
if err != nil { t.Fatal(err) } if diff := util.YAMLDiff(wantYAML, gotYAML); diff != "" { t.Fatalf("diff: %s", diff) } } func MockKubernetesClients(_ kube.CLIClient, _ clog.Logger) (kube.CLIClient, client.Client, error) { extendedClient = kube.NewFakeClient() kubeClient, _ = client.New(&rest.Config{}, client.Options{}) return extendedClient, kubeClient, nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
sse "github.com/minio/minio/internal/bucket/encryption" "github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/event" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/s3select" xnet "github.com/minio/pkg/v2/net" "github.com/zeebo/xxh3" ) const ( // Disabled means the lifecycle rule is inactive Disabled = "Disabled"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 33.1K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
}) return err } // rebalanceBucket rebalances objects under bucket in poolIdx pool func (z *erasureServerPools) rebalanceBucket(ctx context.Context, bucket string, poolIdx int) (err error) { ctx = logger.SetReqInfo(ctx, &logger.ReqInfo{}) var vc *versioning.Versioning var lc *lifecycle.Lifecycle var lr objectlock.Retention var rcfg *replication.Config if bucket != minioMetaBucket {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 19:29:28 GMT 2024 - 27.2K bytes - Viewed (0) -
cmd/metrics-v2.go
} func getWebhookMetrics() *MetricsGroupV2 { mg := &MetricsGroupV2{ cacheInterval: 10 * time.Second, } mg.RegisterRead(func(ctx context.Context) []MetricV2 { tgts := append(logger.SystemTargets(), logger.AuditTargets()...) metrics := make([]MetricV2, 0, len(tgts)*4) for _, t := range tgts { isOnline := 0 if t.IsOnline(ctx) { isOnline = 1 } labels := map[string]string{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 132.6K bytes - Viewed (0) -
cmd/test-utils_test.go
globalIsDistErasure = false // Disable printing console messages during tests. color.Output = io.Discard // Disable Error logging in testing. logger.DisableErrorLog = true // Uncomment the following line to see trace logs during unit tests. // logger.AddTarget(console.New()) // Set system resources to maximum. setMaxResources(nil) // Initialize globalConsoleSys system
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
cmd/ftp-server.go
ExplicitFTPS: tls, Logger: &minioLogger{}, PassivePorts: portRange, PublicIP: publicIP, }) if err != nil { logger.Fatal(err, "unable to initialize FTP server") } logger.Info(fmt.Sprintf("%s listening on %s", name, net.JoinHostPort(publicIP, strconv.Itoa(port)))) if err = ftpServer.ListenAndServe(); err != nil { logger.Fatal(err, "unable to start FTP server") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 4.8K bytes - Viewed (2) -
cmd/notification.go
g.errs[index].Err = nil if err := f(); err != nil { g.errs[index].Err = err // Last iteration log the error. if i == g.retryCount-1 { reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String()) ctx := logger.SetReqInfo(ctx, reqInfo) peersLogOnceIf(ctx, err, addr.String()) } // Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 12 18:13:36 GMT 2024 - 44.5K bytes - Viewed (0) -
cmd/generic-handlers.go
// criticalErrorHandler handles panics and fatal errors by // `panic(logger.ErrCritical)` as done by `logger.CriticalIf`. // // It should be always the first / highest HTTP handler. func setCriticalErrorHandler(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { defer func() { if rec := recover(); rec == logger.ErrCritical { // handle stack := debug.Stack()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 01:08:52 GMT 2024 - 20.7K bytes - Viewed (0) -
internal/kms/kes.go
} } }() go c.refreshKMSMasterKeyCache(logger) return c, nil } // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) { ctx := context.Background()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 16 15:43:39 GMT 2024 - 14.9K bytes - Viewed (0)