Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 183 for Actions (0.18 sec)

  1. operator/cmd/mesh/operator_test.go

    			readActions := map[string]bool{
    				"get":   true,
    				"list":  true,
    				"watch": true,
    			}
    
    			actions := extendedClient.Kube().(*fake.Clientset).Actions()
    			for _, action := range actions {
    				if v := readActions[action.GetVerb()]; !v {
    					t.Fatalf("unexpected action: %+v, expected %s", action.GetVerb(), "get")
    				}
    			}
    		})
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    		m.LifeTimeOps = nil
    	}
    
    	m.LastMinute.Actions = make(map[string]madmin.TimedAction, scannerMetricLastRealtime)
    	for i := scannerMetric(0); i < scannerMetricLastRealtime; i++ {
    		lm := p.lastMinute(i)
    		if lm.N > 0 {
    			m.LastMinute.Actions[i.String()] = lm.asTimedAction()
    		}
    	}
    	if len(m.LastMinute.Actions) == 0 {
    		m.LastMinute.Actions = nil
    	}
    
    	// ILM
    	m.LifeTimeILM = make(map[string]uint64)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  3. cmd/admin-handler-utils.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return nil, auth.Credentials{}
    	}
    
    	for _, action := range actions {
    		// Validate request signature.
    		cred, adminAPIErr := checkAdminRequestAuth(ctx, r, action, "")
    		switch adminAPIErr {
    		case ErrNone:
    			return objectAPI, cred
    		case ErrAccessDenied:
    			// Try another
    			continue
    		default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle.go

    	TransitionPending = "pending"
    )
    
    // Action represents a delete action or other transition
    // actions that will be implemented later.
    type Action int
    
    //go:generate stringer -type Action $GOFILE
    
    const (
    	// NoneAction means no action required after evaluating lifecycle rules
    	NoneAction Action = iota
    	// DeleteAction means the object needs to be removed after evaluating lifecycle rules
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. cmd/metacache-server-pool.go

    		if o.Lifecycle != nil {
    			evt := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, o.Replication.Config, objInfo)
    			if evt.Action.Delete() {
    				globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    				if !evt.Action.DeleteRestored() {
    					continue
    				} // queue version for replication upon expired restored copies if needed.
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  6. cmd/policy_test.go

    			Resources: set.CreateStringSet(policy.NewResource(bucketName).String()),
    			Actions:   set.CreateStringSet("s3:GetBucketLocation", "s3:ListBucket"),
    		},
    		{
    			Effect:    string(policy.Allow),
    			Principal: miniogopolicy.User{AWS: set.CreateStringSet("*")},
    			Resources: set.CreateStringSet(policy.NewResource(bucketName + "/" + prefix).String()),
    			Actions:   set.CreateStringSet("s3:GetObject"),
    		},
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/expiration.go

    	DeleteMarker ExpireDeleteMarker `xml:"ExpiredObjectDeleteMarker"`
    	// Indicates whether MinIO will remove all versions. If set to true, all versions will be deleted;
    	// if set to false the policy takes no action. This action uses the Days/Date to expire objects.
    	// This check is verified for latest version of the object.
    	DeleteAll Boolean `xml:"ExpiredObjectAllVersions"`
    
    	set bool
    }
    
    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. 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)
  9. cmd/iam.go

    				if took > maxDurationSecondsForLog {
    					// Log if we took a lot of time to load.
    					logger.Info("IAM expired STS purge took %.2fs", took)
    				}
    			}
    
    			// The following actions are performed about once in 4 times that
    			// IAM is refreshed:
    			if r.Intn(4) == 0 {
    				// Poll and remove accounts for those users who were removed
    				// from LDAP/OpenID.
    				if sys.LDAPConfig.Enabled() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  10. src/archive/tar/writer.go

    	if tw.err != nil {
    		return tw.err
    	}
    
    	// Trailer: two zero blocks.
    	err := tw.Flush()
    	for i := 0; i < 2 && err == nil; i++ {
    		_, err = tw.w.Write(zeroBlock[:])
    	}
    
    	// Ensure all future actions are invalid.
    	tw.err = ErrWriteAfterClose
    	return err // Report IO errors
    }
    
    // regFileWriter is a fileWriter for writing data to a regular file entry.
    type regFileWriter struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top