Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for Walker (0.2 sec)

  1. cmd/s3-zip-handlers.go

    			return
    		}
    		return
    	}
    }
    
    // listObjectsV2InArchive generates S3 listing result ListObjectsV2Info from zip file, all parameters are already validated by the caller.
    func listObjectsV2InArchive(ctx context.Context, objectAPI ObjectLayer, bucket, prefix, token, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (ListObjectsV2Info, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	}
    
    	result.UserDefined = cloneMSS(fi.Metadata)
    	return result, nil
    }
    
    // ListObjectParts - lists all previously uploaded parts for a given
    // object and uploadID.  Takes additional input of part-number-marker
    // to indicate where the listing should begin from.
    //
    // Implements S3 compatible ListObjectParts API. The resulting
    // ListPartsInfo structure is marshaled directly into XML and
    // replied back to the client.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. schema/relationship.go

    			schema.guessRelation(relation, field, guessEmbeddedHas)
    		// case guessEmbeddedHas:
    		default:
    			schema.err = fmt.Errorf("invalid field found for struct %v's field %s: define a valid foreign key for relations or implement the Valuer/Scanner interface",
    				schema, field.Name)
    		}
    	}
    
    	switch gl {
    	case guessBelongs:
    		primarySchema, foreignSchema = relation.FieldSchema, schema
    	case guessEmbeddedBelongs:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    		return errInvalidArgument
    	}
    
    	if err := meta.Save(ctx, objAPI); err != nil {
    		return err
    	}
    
    	sys.Set(meta.Name, meta)
    	globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here
    	return nil
    }
    
    // Delete delete the bucket metadata for the specified bucket.
    // must be used by all callers instead of using Update() with nil configData.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    // such as ".." and "."
    func hasBadPathComponent(path string) bool {
    	if len(path) > 4096 {
    		// path cannot be greater than Linux PATH_MAX
    		// this is to avoid a busy loop, that can happen
    		// if the caller sends path of following style
    		// a/a/a/a/a/a/a/a...
    		return true
    	}
    	path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/'
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    		c.Fatalf("user must not be allowed to delete")
    	}
    
    	err = client.RemoveObject(ctx, bucket, "some-object", minio.RemoveObjectOptions{})
    	if err != nil {
    		c.Fatal("user must be able to create delete marker")
    	}
    }
    
    func (c *check) mustDownload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	rd, err := client.GetObject(ctx, bucket, "some-object", minio.GetObjectOptions{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/expiration.go

    	set bool
    }
    
    // MarshalXML encodes delete marker boolean into an XML form.
    func (b Boolean) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if !b.set {
    		return nil
    	}
    	return e.EncodeElement(b.val, startElement)
    }
    
    // UnmarshalXML decodes delete marker boolean from the XML form.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  8. cmd/api-resources_test.go

    			prefix:       "photos/",
    			marker:       "test",
    			delimiter:    SlashSeparator,
    			maxKeys:      100,
    			encodingType: "gzip",
    		},
    		{
    			values: url.Values{
    				"prefix":        []string{"photos/"},
    				"marker":        []string{"test"},
    				"delimiter":     []string{SlashSeparator},
    				"encoding-type": []string{"gzip"},
    			},
    			prefix:       "photos/",
    			marker:       "test",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  9. cmd/bucket-listobjects-handlers.go

    // Special conditions required by MinIO server are as below
    //   - delimiter if set should be equal to '/', otherwise the request is rejected.
    //   - marker if set should have a common prefix with 'prefix' param, otherwise
    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    		return ErrInvalidMaxKeys
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. schema/field_test.go

    				CreatedAt: time.Now(),
    				UpdatedAt: time.Now(),
    				DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true},
    			},
    			Name:     "valuer_and_setter",
    			Age:      18,
    			Birthday: tests.Now(),
    			Active:   true,
    		}
    		reflectValue = reflect.ValueOf(&user)
    	)
    
    	// test valuer
    	values := map[string]interface{}{
    		"name":       user.Name,
    		"id":         user.ID,
    		"created_at": user.CreatedAt,
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Viewed (0)
Back to top