Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Tag (0.13 sec)

  1. internal/bucket/lifecycle/tag.go

    func (tag Tag) IsEmpty() bool {
    	return tag.Key == ""
    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. Makefile

    docker-hotfix-push: docker-hotfix
    	@docker push -q $(TAG) && echo "Published new container $(TAG)"
    
    docker-hotfix: hotfix-push checks ## builds minio docker container with hotfix tags
    	@echo "Building minio docker image '$(TAG)'"
    	@docker build -q --no-cache -t $(TAG) --build-arg RELEASE=$(VERSION) . -f Dockerfile.hotfix
    
    docker: build ## builds minio docker container
    	@echo "Building minio docker image '$(TAG)'"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  4. cmd/update.go

    	return time.Parse(time.RFC3339, version)
    }
    
    // releaseTimeToReleaseTag - converts a time to a string formatted as
    // an official MinIO release tag.
    //
    // An official minio release tag looks like:
    // `RELEASE.2017-09-29T19-16-56Z`
    func releaseTimeToReleaseTag(releaseTime time.Time) string {
    	return "RELEASE." + releaseTime.Format(MinioReleaseTagTimeLayout)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. internal/bucket/encryption/bucket-sse-config.go

    	return e.EncodeElement(string(*alg), start)
    }
    
    // EncryptionAction - for ApplyServerSideEncryptionByDefault XML tag
    type EncryptionAction struct {
    	Algorithm   Algorithm `xml:"SSEAlgorithm,omitempty"`
    	MasterKeyID string    `xml:"KMSMasterKeyID,omitempty"`
    }
    
    // Rule - for ServerSideEncryptionConfiguration XML tag
    type Rule struct {
    	DefaultEncryptionAction EncryptionAction `xml:"ApplyServerSideEncryptionByDefault"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  6. docs/hotfixes.md

    ```
    commit 99bf4d0c429f04dbd013ba98840d07b759ae1702 (tag: RELEASE.2019-06-15T23-07-18Z)
    Author: Harshavardhana <******@****.***>
    Date:   Sat Jun 15 11:27:17 2019 -0700
    
        [security] Match ${aws:username} exactly instead of prefix match (#7791)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 21:36:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. internal/bucket/replication/filter.go

    			return err
    		}
    	case !f.Tag.IsEmpty():
    		if err := e.EncodeElement(f.Tag, xml.StartElement{Name: xml.Name{Local: "Tag"}}); err != nil {
    			return err
    		}
    	default:
    		// Always print Prefix field when both And & Tag are empty
    		if err := e.EncodeElement(f.Prefix, xml.StartElement{Name: xml.Name{Local: "Prefix"}}); err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  8. .github/workflows/mint.yml

              go-version: 1.21.x
    
          - name: github sha short
            id: vars
            run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
    
          - name: build-minio
            run: |
              TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker
    
          - name: multipart uploads test
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. buildscripts/minio-upgrade.sh

    	## this is needed because github actions don't have
    	## docker-compose on all runners
    	go install github.com/docker/compose/v2/cmd@latest
    	mv -v /tmp/gopath/bin/cmd /tmp/gopath/bin/docker-compose
    
    	TAG=minio/minio:dev make docker
    
    	MINIO_VERSION=RELEASE.2019-12-19T22-52-26Z docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. buildscripts/gen-ldflags.go

    	ldflagsStr += " -X github.com/minio/minio/cmd.GOPATH=" + os.Getenv("GOPATH")
    	ldflagsStr += " -X github.com/minio/minio/cmd.GOROOT=" + os.Getenv("GOROOT")
    	return ldflagsStr
    }
    
    // genReleaseTag prints release tag to the console for easy git tagging.
    func releaseTag(version string) (string, time.Time) {
    	relPrefix := "DEVELOPMENT"
    	if prefix := os.Getenv("MINIO_RELEASE"); prefix != "" {
    		relPrefix = prefix
    	}
    
    	relSuffix := ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
Back to top