Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Tiller (0.16 sec)

  1. internal/bucket/lifecycle/rule.go

    }
    
    // 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
    		for _, t := range r.Filter.And.Tags {
    			if buf.Len() > 0 {
    				buf.WriteString("&")
    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)
  2. cmd/erasure-server-pool.go

    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    // TotalAvailable - total available space
    func (p serverPoolsAvailableSpace) TotalAvailable() uint64 {
    	total := uint64(0)
    	for _, z := range p {
    		total += z.Available
    	}
    	return total
    }
    
    // FilterMaxUsed will filter out any pools that has used percent bigger than max,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			filter := ztunnelDump.ServiceFilter{
    				Namespace: serviceNamespace,
    			}
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintServiceSummary(filter)
    			case jsonOutput, yamlOutput:
    				return cw.PrintServiceDump(filter, common.outputFormat)
    			default:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    	                       <Filter></Filter>
    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    	                 </LifecycleConfiguration>`
    	delMarkerILM := `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration</ID>
                                  <Filter></Filter>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	},
    	ErrFilterNameInvalid: {
    		Code:           "InvalidArgument",
    		Description:    "filter rule name must be either prefix or suffix",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNamePrefix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one prefix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameSuffix: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  6. cmd/object-handlers.go

    		}
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// filter object lock metadata if permission does not permit
    	getRetPerms := checkRequestAuthType(ctx, r, policy.GetObjectRetentionAction, bucket, object)
    	legalHoldPerms := checkRequestAuthType(ctx, r, policy.GetObjectLegalHoldAction, bucket, object)
    
    	// filter object lock metadata if permission does not permit
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    				offline++
    			}
    		}
    		if offline > 0 {
    			tags["offline"] = offline
    		}
    
    		_, file, line, cok := runtime.Caller(1)
    		if cok {
    			tags["caller"] = fmt.Sprintf("%s:%d", file, line)
    		}
    
    		defer auditDanglingObjectDeletion(ctx, bucket, object, m.VersionID, tags)
    
    		err = errFileNotFound
    		if opts.VersionID != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Days: ExpirationDays(3)},
    			},
    			{
    				Status:     "Enabled",
    				Filter:     Filter{Prefix: Prefix{string: "prefix-1", set: true}},
    				Expiration: Expiration{Date: midnightTS},
    			},
    			{
    				Status:                      "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/rule_test.go

    				<Expiration>
    					<Days>365</Days>
    				</Expiration>
                                <Status>Enabled</Status>
    	                    </Rule>`,
    			expectedErr: errXMLNotWellFormed,
    		},
    		{
    			inputXML: `<Rule>
    				<ID>Rule with a tag and DelMarkerExpiration</ID>
    				<Filter><Tag><Key>k1</Key><Value>v1</Value></Tag></Filter>
    				<DelMarkerExpiration>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    // filter will apply the options and return the number of objects requested by the limit.
    // Will return io.EOF if there are no more entries with the same filter.
    // The last entry can be used as a marker to resume the listing.
    func (r *metacacheReader) filter(o listPathOptions) (entries metaCacheEntriesSorted, err error) {
    	// Forward to prefix, if any
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top