Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for interface (0.21 sec)

  1. cmd/storage-interface.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"io"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // StorageAPI interface.
    type StorageAPI interface {
    	// Stringified version of disk.
    	String() string
    
    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    func (o *ObjectOptions) SetEvalRetentionBypassFn(f EvalRetentionBypassFn) {
    	o.EvalRetentionBypassFn = f
    }
    
    // ObjectLayer implements primitives for object API layer.
    type ObjectLayer interface {
    	// Locking operations on object.
    	NewNSLock(bucket string, objects ...string) RWLocker
    
    	// Storage operations.
    	Shutdown(context.Context) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/object-api-interface_gen.go

    Klaus Post <******@****.***> 1709924898 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. internal/etag/reader.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package etag
    
    import (
    	"context"
    	"crypto/md5"
    	"fmt"
    	"hash"
    	"io"
    )
    
    // Tagger is the interface that wraps the basic ETag method.
    type Tagger interface {
    	ETag() ETag
    }
    
    type wrapReader struct {
    	io.Reader
    	Tagger
    }
    
    var _ Tagger = wrapReader{} // compiler check
    
    // ETag returns the ETag of the underlying Tagger.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. internal/kms/status-manager.go

    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // StatusManager is the generic interface that handles KMS status operations
    type StatusManager interface {
    	// Version retrieves version information
    	Version(ctx context.Context) (string, error)
    	// APIs retrieves a list of supported API endpoints
    	APIs(ctx context.Context) ([]kes.API, error)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. cmd/logging.go

    	logger.LogIf(ctx, "rebalance", err, errKind...)
    }
    
    func rebalanceLogEvent(ctx context.Context, msg string, args ...interface{}) {
    	logger.Event(ctx, "rebalance", msg, args...)
    }
    
    func adminLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "admin", err, errKind...)
    }
    
    func authNLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    		}
    		results = append(results, result)
    	}
    	return results
    }
    
    // Logger interface permits access to module specific logging, in this case, for KMS
    type Logger interface {
    	LogOnceIf(ctx context.Context, err error, id string, errKind ...interface{})
    	LogIf(ctx context.Context, err error, errKind ...interface{})
    }
    
    // RefreshKey checks the validity of the KMS Master Key
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    package sql
    
    import (
    	"strings"
    
    	"github.com/alecthomas/participle"
    	"github.com/alecthomas/participle/lexer"
    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. cmd/ftp-server.go

    type minioLogger struct{}
    
    // Print implement Logger
    func (log *minioLogger) Print(sessionID string, message interface{}) {
    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    			fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...))
    		} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
Back to top