Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Console (0.19 sec)

  1. internal/logger/console.go

    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/logger/target/console/console.go

    	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)
    	}
    	if logger.IsJSON() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 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, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(w),
    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)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 24 17:59:35 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. cmd/common-main.go

    }
    
    const consolePrefix = "CONSOLE_"
    
    func minioConfigToConsoleFeatures() {
    	os.Setenv("CONSOLE_PBKDF_SALT", globalDeploymentID())
    	os.Setenv("CONSOLE_PBKDF_PASSPHRASE", globalDeploymentID())
    	if globalMinioEndpoint != "" {
    		os.Setenv("CONSOLE_MINIO_SERVER", globalMinioEndpoint)
    	} else {
    		// Explicitly set 127.0.0.1 so Console will automatically bypass TLS verification to the local S3 API.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. internal/config/identity/openid/providercfg.go

    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	xhttp "github.com/minio/minio/internal/http"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    type providerCfg struct {
    	// Used for user interface like console
    	DisplayName string
    
    	JWKS struct {
    		URL *xnet.URL
    	}
    	URL                *xnet.URL
    	ClaimPrefix        string
    	ClaimName          string
    	ClaimUserinfo      bool
    	RedirectURI        string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/root.go

    	DryRun bool
    }
    
    func addFlags(cmd *cobra.Command, rootArgs *RootArgs) {
    	cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "",
    		false, "Console/log output only, make no changes.")
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
    	rootCmd := &cobra.Command{
    		Use:          "mesh",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/metacache-entries.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"os"
    	"path"
    	"sort"
    	"strings"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/console"
    )
    
    // metaCacheEntry is an object or a directory within an unknown bucket.
    type metaCacheEntry struct {
    	// name is the full name of the object including prefixes
    	name string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top