Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for when (0.16 sec)

  1. .github/stale.yml

    exemptAssignees: false
    
    # Label to use when marking as stale
    staleLabel: stale
    
    # Comment to post when marking as stale. Set to `false` to disable
    markComment: >-
      This issue has been automatically marked as stale because it has not had
      recent activity. It will be closed after 15 days if no further activity
      occurs. Thank you for your contributions.
    # Comment to post when removing the stale label.
    # unmarkComment: >
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Viewed (0)
  2. internal/grid/errors.go

    import (
    	"errors"
    	"fmt"
    )
    
    var (
    	// ErrUnknownHandler is returned when an unknown handler is requested.
    	ErrUnknownHandler = errors.New("unknown mux handler")
    
    	// ErrHandlerAlreadyExists is returned when a handler is already registered.
    	ErrHandlerAlreadyExists = errors.New("mux handler already exists")
    
    	// ErrIncorrectSequence is returned when an out-of-sequence item is received.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. docs/debugging/inspect/main.go

    	if err != nil {
    		fmt.Printf("error when create private.pem: %s n", err)
    		os.Exit(1)
    	}
    	err = pem.Encode(privatePem, privateKeyBlock)
    	if err != nil {
    		fmt.Printf("error when encode private pem: %s n", err)
    		os.Exit(1)
    	}
    
    	// dump public key to file
    	publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey)
    	if err != nil {
    		fmt.Printf("error when dumping publickey: %s n", err)
    		os.Exit(1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    	// DataDir of the file
    	DataDir string `msg:"dd"`
    
    	// Indicates if this object is still in V1 format.
    	XLV1 bool `msg:"v1"`
    
    	// Date and time when the file was last modified, if Deleted
    	// is 'true' this value represents when while was deleted.
    	ModTime time.Time `msg:"mt"`
    
    	// Total file size.
    	Size int64 `msg:"sz"`
    
    	// File mode bits.
    	Mode uint32 `msg:"m"`
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/tier-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    var (
    	// error returned when remote tier already exists
    	errTierAlreadyExists = AdminError{
    		Code:       "XMinioAdminTierAlreadyExists",
    		Message:    "Specified remote tier already exists",
    		StatusCode: http.StatusConflict,
    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. docs/metrics/healthcheck/README.md

    ## Liveness probe
    
    This probe always responds with '200 OK'. Only fails if 'etcd' is configured and unreachable. When liveness probe fails, Kubernetes like platforms restart the container.
    
    ```
    livenessProbe:
      httpGet:
        path: /minio/health/live
        port: 9000
        scheme: HTTP
      initialDelaySeconds: 120
      periodSeconds: 30
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jul 06 16:18:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. internal/config/browser/browser.go

    	referrerPolicy := env.Get(EnvBrowserReferrerPolicy, kvs.GetWithDefault(browserReferrerPolicy, DefaultKVS))
    	switch referrerPolicy {
    	case "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url":
    		cfg.ReferrerPolicy = referrerPolicy
    	default:
    		return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. internal/once/init.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package once
    
    import (
    	"context"
    	"sync"
    	"sync/atomic"
    )
    
    // Inspired from Golang sync.Once but it is only marked
    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 04:20:31 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. cmd/storage-errors.go

    // errInconsistentDisk - inconsistent disk found.
    var errInconsistentDisk = StorageErr("inconsistent drive found")
    
    // errUnsupporteDisk - when disk does not support O_DIRECT flag.
    var errUnsupportedDisk = StorageErr("drive does not support O_DIRECT")
    
    // errDiskFull - cannot create volume or files when disk is full.
    var errDiskFull = StorageErr("drive path full")
    
    // errDiskNotDir - cannot use storage disk if its not a directory
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    	}
    	switch dirent.Type {
    	case syscall.DT_REG:
    		typ = 0
    	case syscall.DT_DIR:
    		typ = os.ModeDir
    	case syscall.DT_LNK:
    		typ = os.ModeSymlink
    	default:
    		// Skip all other file types. Revisit if/when this code needs
    		// to handle such files, MinIO is only interested in
    		// files and directories.
    		typ = unexpectedFileMode
    	}
    
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top