Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Console (0.18 sec)

  1. internal/logger/console.go

    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/color"
    	c "github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // ConsoleLoggerTgt is a stringified value to represent console logging
    const ConsoleLoggerTgt = "console+http"
    
    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. internal/logger/target/console/console.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package console
    
    import (
    	"encoding/json"
    	"fmt"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // Target implements loggerTarget to send log
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	console  *console.Target
    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. internal/logger/config.go

    		},
    		config.KV{
    			Key:   QueueSize,
    			Value: "100000",
    		},
    		config.KV{
    			Key:   QueueDir,
    			Value: "",
    		},
    	}
    )
    
    // Config console and http logger targets
    type Config struct {
    	Console      Console                 `json:"console"`
    	HTTP         map[string]http.Config  `json:"http"`
    	AuditWebhook map[string]http.Config  `json:"audit"`
    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. internal/config/subnet/config.go

    }
    
    // ApplyEnv - applies the current subnet config to Console UI specific environment variables.
    func (c *Config) ApplyEnv() {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if c.License != "" {
    		os.Setenv("CONSOLE_SUBNET_LICENSE", c.License)
    	}
    	if c.APIKey != "" {
    		os.Setenv("CONSOLE_SUBNET_API_KEY", c.APIKey)
    	}
    	if c.Proxy != "" {
    		os.Setenv("CONSOLE_SUBNET_PROXY", c.Proxy)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    			if entName == "" || entName == folder.name {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no entity (%s,%s)\n", f.root, entName)
    				}
    				return nil
    			}
    			bucket, prefix := path2BucketObjectWithBasePath(f.root, entName)
    			if bucket == "" {
    				if f.dataUsageScannerDebug {
    					console.Debugf(scannerLogPrefix+" no bucket (%s,%s)\n", f.root, entName)
    				}
    				return errDoneForNow
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  7. cmd/main.go

    	app.CommandNotFound = func(ctx *cli.Context, command string) {
    		console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command)
    		closestCommands := findClosestCommands(command)
    		if len(closestCommands) > 0 {
    			console.Println()
    			console.Println("Did you mean one of these?")
    			for _, cmd := range closestCommands {
    				console.Printf("\t‘%s’\n", cmd)
    			}
    		}
    
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/globals.go

    	globalTrace = pubsub.New[madmin.TraceInfo, madmin.TraceType](8)
    
    	// global Listen system to send S3 API events to registered listeners
    	globalHTTPListen = pubsub.New[event.Event, pubsub.Mask](0)
    
    	// global console system to send console logs to
    	// registered listeners
    	globalConsoleSys *HTTPConsoleLoggerSys
    
    	// All unique drives for this deployment
    	globalEndpoints EndpointServerPools
    	// All unique nodes for this deployment
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. istioctl/cmd/options_test.go

    package cmd
    
    import (
    	"bytes"
    	"regexp"
    	"testing"
    )
    
    // nolint: lll
    var expectedOutput = `The following options can be passed to any command:
          --log_as_json: Whether to format output as JSON or in plain console-friendly format
          --log_caller: Comma-separated list of scopes for which to include caller information, scopes can be any of \[.*\]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. cmd/server-main.go

    		Value:  1,
    		Usage:  "bind N number of listeners per ADDRESS:PORT",
    		EnvVar: "MINIO_LISTENERS",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "console-address",
    		Usage:  "bind to a specific ADDRESS:PORT for embedded Console UI, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_CONSOLE_ADDRESS",
    	},
    	cli.DurationFlag{
    		Name:   "shutdown-timeout",
    		Value:  xhttp.DefaultShutdownTimeout,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top