Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for Gugger (0.16 sec)

  1. internal/crypto/key_test.go

    	{ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    func TestGenerateKey(t *testing.T) {
    	defer func(l bool) { logger.DisableErrorLog = l }(logger.DisableErrorLog)
    	logger.DisableErrorLog = true
    
    	for i, test := range generateKeyTests {
    		i, test := i, test
    		func() {
    			defer recoverTest(i, test.ShouldPass, t)
    			key := GenerateKey(test.ExtKey[:], test.Random)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    	config.SetRegion(newCfg, cfg.Region)
    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    	for k, auditArgs := range cfg.Logger.AuditWebhook {
    		logger.SetLoggerHTTPAudit(newCfg, k, auditArgs)
    	}
    
    	xldap.SetIdentityLDAP(newCfg, cfg.LDAPServerConfig)
    	opa.SetPolicyOPAConfig(newCfg, cfg.Policy.OPA)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. cmd/dummy-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // Data types used for returning dummy tagging XML.
    // These variables shouldn't be used elsewhere.
    // They are only defined to be used in this file alone.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  4. cmd/metacache-bucket.go

    // If none can be found a new is created with the provided ID.
    func (b *bucketMetacache) findCache(o listPathOptions) metacache {
    	if b == nil {
    		logger.Info("bucketMetacache.findCache: nil cache for bucket %s", o.Bucket)
    		return metacache{}
    	}
    
    	if o.Bucket != b.bucket {
    		logger.Info("bucketMetacache.findCache: bucket %s does not match this bucket %s", o.Bucket, b.bucket)
    		debug.PrintStack()
    		return metacache{}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers.go

    package cmd
    
    import (
    	"encoding/xml"
    	"io"
    	"net/http"
    	"strconv"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// Lifecycle configuration file.
    	bucketLifecycleConfig = "lifecycle.xml"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  6. cmd/tier-mem-journal.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    type tierMemJournal struct {
    	entries chan jentry
    }
    
    func newTierMemJournal(nevents int) *tierMemJournal {
    	return &tierMemJournal{
    		entries: make(chan jentry, nevents),
    	}
    }
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Aug 03 21:16:15 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. internal/crypto/sse-s3.go

    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    	if keyID != "" && len(kmsKey) == 0 {
    		logger.CriticalIf(context.Background(), errors.New("The KMS data key must not be empty if a key ID is present"))
    	}
    
    	if metadata == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/main.go

    	appName := filepath.Base(args[0])
    
    	if env.Get("_MINIO_DEBUG_NO_EXIT", "") != "" {
    		freeze := func(_ int) {
    			// Infinite blocking op
    			<-make(chan struct{})
    		}
    
    		// Override the logger os.Exit()
    		logger.ExitFunc = freeze
    
    		defer func() {
    			if err := recover(); err != nil {
    				fmt.Println("panic:", err)
    				fmt.Println("")
    				fmt.Println(string(debug.Stack()))
    			}
    			freeze(-1)
    		}()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. internal/logger/logonce.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // LogOnce provides the function type for logger.LogOnceIf() function
    type LogOnce func(ctx context.Context, err error, id string, errKind ...interface{})
    
    type onceErr struct {
    	Err   error
    	Count int
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/jwt.go

    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/hashicorp/golang-lru/v2/expirable"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top