Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for rubble (0.19 sec)

  1. cmd/sftp-server.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"crypto/subtle"
    	"errors"
    	"fmt"
    	"net"
    	"os"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    	xsftp "github.com/minio/pkg/v2/sftp"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ## other site
    id=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[] | select(.Expiration.Days==3) | .ID' | sed 's/"//g')
    # Remove rule from siteb
    ./mc ilm rule remove --id "${id}" siteb/bucket
    sleep 30s # allow to replicate
    
    # sitea should still contain the transition portion of rule
    transitionRuleDays=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Transition.Days')
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Filter contains more than (Prefix,Tag,And) rule
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/README.md

                "NoncurrentVersionExpiration": {
                    "NoncurrentDays": 365
                },
                "Status": "Enabled"
            }
        ]
    }
    ```
    
    This JSON rule is equivalent to the following MinIO Client command:
    ```
    mc ilm rule add --noncurrent-expire-days 365 --prefix "user-uploads/" myminio/mydata
    ```
    
    ### 3.2 Automatic removal of noncurrent versions keeping only most recent ones after noncurrent days
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 26 07:33:25 GMT 2023
    - 9K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    				}
    				for _, rule := range meta.lifecycleConfig.Rules {
    					if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
    						// copy the non transition details of the rule
    						ruleData, err := xml.Marshal(rule.CloneNonTransition())
    						if err != nil {
    							return info, errSRBackendIssue(err)
    						}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  6. cmd/batch-expire.go

    					toDel = toDel[:0] // resetting toDel
    				}
    				if done {
    					break
    				}
    			}
    			var match BatchJobExpireFilter
    			var found bool
    			for _, rule := range r.Rules {
    				if rule.Matches(result, now) {
    					match = rule
    					found = true
    					break
    				}
    			}
    			if !found {
    				continue
    			}
    
    			prevObj = result
    			matchedFilter = match
    			versionsCount = 1
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. internal/bucket/lifecycle/filter.go

    	"encoding/xml"
    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/bucket/lifecycle/DESIGN.md

    Lifecycle transition rules can be applied to buckets (both versioned and un-versioned) by specifying the tier name defined above as the transition storage class for the lifecycle rule.
    
    ## Implementation
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/transition.go

    // encodes empty string otherwise
    func (tDays TransitionDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	return e.EncodeElement(int(tDays), startElement)
    }
    
    // Transition - transition actions for a rule in lifecycle configuration.
    type Transition struct {
    	XMLName      xml.Name       `xml:"Transition"`
    	Days         TransitionDays `xml:"Days,omitempty"`
    	Date         TransitionDate `xml:"Date,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    	var arns []string
    	if rCfg.RoleArn != "" {
    		arns = append(arns, rCfg.RoleArn)
    	} else {
    		for _, rule := range rCfg.Rules {
    			arns = append(arns, rule.Destination.String())
    		}
    	}
    	var sameTarget bool
    	for _, arnStr := range arns {
    		arn, err := madmin.ParseARN(arnStr)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top