Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for event (0.25 sec)

  1. internal/event/name.go

    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    	// Single event types (does not require expansion)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    			event := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, objInfo)
    			if event.Action.Delete() {
    				// apply whatever the expiry rule is.
    				applyExpiryRule(event, lcEventSrc_s3GetObject, objInfo)
    				if !event.Action.DeleteRestored() {
    					// If the ILM action is not on restored object return error.
    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)
  3. cmd/api-errors.go

    		apiErr = ErrFilterNameInvalid
    	case *event.ErrFilterNamePrefix:
    		apiErr = ErrFilterNamePrefix
    	case *event.ErrFilterNameSuffix:
    		apiErr = ErrFilterNameSuffix
    	case *event.ErrInvalidFilterValue:
    		apiErr = ErrFilterValueInvalid
    	case *event.ErrDuplicateEventName:
    		apiErr = ErrOverlappingConfigs
    	case *event.ErrDuplicateQueueConfiguration:
    		apiErr = ErrOverlappingFilterNotification
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/erasure-object.go

    	fi.TransitionedObjName = destObj
    	fi.TransitionTier = opts.Transition.Tier
    	fi.TransitionVersionID = string(rv)
    	eventName := event.ObjectTransitionComplete
    
    	storageDisks := er.getDisks()
    
    	if err = er.deleteObjectVersion(ctx, bucket, object, fi, false); err != nil {
    		eventName = event.ObjectTransitionFailed
    	}
    
    	for _, disk := range storageDisks {
    		if disk != nil && disk.IsOnline() {
    			continue
    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)
  5. cmd/bucket-replication.go

    	// FIXME: add support for missing replication events
    	// - event.ObjectReplicationMissedThreshold
    	// - event.ObjectReplicationReplicatedAfterThreshold
    	eventName := event.ObjectReplicationComplete
    	if replicationStatus == replication.Failed {
    		eventName = event.ObjectReplicationFailed
    	}
    	newReplStatusInternal := rinfos.ReplicationStatusInternal()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. internal/event/name_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // 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 event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    	"github.com/minio/minio/internal/bucket/lifecycle"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		logger.Fatal(errors.New("no KMS configured"), "MINIO_KMS_AUTO_ENCRYPTION requires a valid KMS configuration")
    	}
    
    	transport := NewHTTPTransport()
    
    	bootstrapTraceMsg("initialize the event notification targets")
    	globalNotifyTargetList, err = notify.FetchEnabledTargets(GlobalContext, s, transport)
    	if err != nil {
    		configLogIf(ctx, fmt.Errorf("Unable to initialize notification target(s): %w", err))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom.go

    }
    
    func auditLogDecom(ctx context.Context, apiName, bucket, object, versionID string, err error) {
    	errStr := ""
    	if err != nil {
    		errStr = err.Error()
    	}
    	auditLogInternal(ctx, AuditLogOptions{
    		Event:     "decommission",
    		APIName:   apiName,
    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    		Error:     errStr,
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  10. internal/bucket/lifecycle/lifecycle.go

    						// This is a MinIO only extension.
    						event.Action = DeleteAllVersionsAction
    					}
    					events = append(events, event)
    				}
    			}
    
    			if obj.TransitionStatus != TransitionComplete {
    				if due, ok := rule.Transition.NextDue(obj); ok && (now.IsZero() || now.After(due)) {
    					events = append(events, Event{
    						Action:       TransitionAction,
    						RuleID:       rule.ID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top