Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for custom (0.15 sec)

  1. docs/sts/custom-token-identity.go

    Aditya Manthramurthy <******@****.***> 1653613089 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-disk-id-check.go

    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Path:      path,
    		Error:     err,
    		Custom:    custom,
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    }
    
    // StandardClaims are basically standard claims with "accessKey"
    type StandardClaims struct {
    	AccessKey string `json:"accessKey,omitempty"`
    	jwtgo.StandardClaims
    }
    
    // UnmarshalJSON provides custom JSON unmarshal.
    // This is mainly implemented for speed.
    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    	return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. internal/config/dns/operator_dns.go

    type OperatorOption func(*OperatorDNS)
    
    // Authentication - custom username and password for authenticating at the endpoint
    func Authentication(username, password string) OperatorOption {
    	return func(args *OperatorDNS) {
    		args.username = username
    		args.password = password
    	}
    }
    
    // RootCAs - add custom trust certs pool
    func RootCAs(certPool *x509.CertPool) OperatorOption {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/http/server.go

    	return srv
    }
    
    // UseTLSConfig pass configured TLSConfig for this HTTP *Server
    func (srv *Server) UseTLSConfig(cfg *tls.Config) *Server {
    	srv.TLSConfig = cfg
    	return srv
    }
    
    // UseBaseContext use custom base context for this HTTP *Server
    func (srv *Server) UseBaseContext(ctx context.Context) *Server {
    	srv.BaseContext = func(listener net.Listener) context.Context {
    		return ctx
    	}
    	return srv
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. cmd/signals.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"net/http"
    	"os"
    	"strings"
    
    	"github.com/coreos/go-systemd/v22/daemon"
    	"github.com/minio/minio/internal/logger"
    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. internal/config/identity/openid/provider/keycloak.go

    }
    
    // Option is a function type that accepts a pointer Target
    type Option func(*KeycloakProvider)
    
    // WithTransport provide custom transport
    func WithTransport(transport http.RoundTripper) Option {
    	return func(p *KeycloakProvider) {
    		p.client = http.Client{
    			Transport: transport,
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  8. internal/http/dial_dnscache.go

    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 19:30:51 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. internal/config/identity/openid/jwt.go

    )
    
    func updateClaimsExpiry(dsecs string, claims map[string]interface{}) error {
    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  10. cmd/metrics.go

    func newMinioCollector() *minioCollector {
    	return &minioCollector{
    		desc: prometheus.NewDesc("minio_stats", "Statistics exposed by MinIO server", nil, nil),
    	}
    }
    
    // minioCollector is the Custom Collector
    type minioCollector struct {
    	desc *prometheus.Desc
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top