Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for isfile (0.25 sec)

  1. cmd/common-main.go

    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    		// - "CAs" directory
    		// - any directory which starts with ".."
    		if file.Mode().IsRegular() || file.Name() == "CAs" || strings.HasPrefix(file.Name(), "..") {
    			continue
    		}
    		if file.Mode()&os.ModeSymlink == os.ModeSymlink {
    			file, err = Stat(filepath.Join(root.Name(), file.Name()))
    			if err != nil {
    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)
  2. cmd/data-usage_test.go

    	files := []usageTestFile{
    		{name: "rootfile", size: 10000},
    		{name: "rootfile2", size: 10000},
    		{name: "dir1/d1file", size: 2000},
    		{name: "dir2/d2file", size: 300},
    		{name: "dir1/dira/dafile", size: 100000},
    		{name: "dir1/dira/dbfile", size: 200000},
    		{name: "dir1/dira/dirasub/dcfile", size: 1000000},
    		{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    			}
    		case cmdApply:
    			objs, err = fakeApplyManifest(inFile, flags, chartSource)
    		case cmdController:
    			objs, err = fakeControllerReconcile(inFile, chartSource, nil)
    		default:
    		}
    		if err != nil {
    			return nil, err
    		}
    		out[cmd] = objs
    	}
    
    	return out, nil
    }
    
    // fakeApplyManifest runs istioctl install.
    func fakeApplyManifest(inFile, flags string, chartSource chartSourceType) (*ObjectSet, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. cmd/batch-rotate.go

    //   retry:
    //     attempts: 10 # number of retries for the job before giving up
    //     delay: "500ms" # least amount of delay between each retry
    
    //go:generate msgp -file $GOFILE -unexported
    
    // BatchKeyRotationType defines key rotation type
    type BatchKeyRotationType string
    
    const (
    	sses3  BatchKeyRotationType = "sse-s3"
    	ssekms BatchKeyRotationType = "sse-kms"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    //
    //   retry:
    //     attempts: 10 # number of retries for the job before giving up
    //     delay: 500ms # least amount of delay between each retry
    
    //go:generate msgp -file $GOFILE
    
    // BatchJobExpirePurge type accepts non-negative versions to be retained
    type BatchJobExpirePurge struct {
    	line, col      int
    	RetainVersions int `yaml:"retainVersions" json:"retainVersions"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. cmd/object-api-datatypes.go

    	"net/http"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/hash"
    )
    
    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    	Unknown = BackendType(madmin.Unknown)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. internal/grid/handlers.go

    	"github.com/minio/minio/internal/hash/sha256"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/tinylib/msgp/msgp"
    )
    
    //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE
    
    // HandlerID is a handler identifier.
    // It is used to determine request routing on the server.
    // Handlers can be registered with a static subroute.
    // Do NOT remove or change the order of existing handlers.
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. internal/grid/connection.go

    	return fmt.Sprintf("%s->%s", c.Remote, c.Local)
    }
    
    // State is a connection state.
    type State uint32
    
    // MANUAL go:generate stringer -type=State -output=state_string.go -trimprefix=State $GOFILE
    
    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/utils.go

    		// Upon error just return Go-syntax representation of the value
    		return fmt.Sprintf("%#v", req)
    	}
    
    	// Formatted string.
    	return strings.TrimSpace(buffer.String())
    }
    
    // isFile - returns whether given path is a file or not.
    func isFile(path string) bool {
    	if fi, err := os.Stat(path); err == nil {
    		return fi.Mode().IsRegular()
    	}
    
    	return false
    }
    
    // UTCNow - returns current UTC time.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. cmd/sts-errors.go

    		Message string `xml:"Message"`
    	} `xml:"Error"`
    	RequestID string `xml:"RequestId"`
    }
    
    // STSErrorCode type of error status.
    type STSErrorCode int
    
    //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
    const (
    	ErrSTSNone STSErrorCode = iota
    	ErrSTSAccessDenied
    	ErrSTSMissingParameter
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top