Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for lifecycle (0.18 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    // ParseLifecycleConfig - parses data in given reader to Lifecycle.
    func ParseLifecycleConfig(reader io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(reader).Decode(&lc); err != nil {
    		return nil, err
    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate(lr lock.Retention) error {
    	// Lifecycle config can't have more than 1000 rules
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    )
    
    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    // NewLifecycleSys - creates new lifecycle system.
    func NewLifecycleSys() *LifecycleSys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    }
    
    // Test S3 Bucket lifecycle APIs
    func TestBucketLifecycle(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testBucketLifecycleHandlers, endpoints: []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}})
    }
    
    // Simple tests of bucket lifecycle: PUT, GET, DELETE.
    // Tests are related and the order is important.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    	case lifecycle.DeleteVersionAction, lifecycle.DeleteAction,
    		lifecycle.DeleteRestoredAction, lifecycle.DeleteRestoredVersionAction,
    		lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    		success = applyExpiryRule(event, src, obj)
    	case lifecycle.TransitionAction, lifecycle.TransitionVersionAction:
    		success = applyTransitionRule(event, src, obj)
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

    import java.util.stream.Collectors;
    
    import org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle;
    import org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.lifecycle.io.LifecycleStaxReader;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

    import static org.apache.maven.api.Lifecycle.Phase.INSTALL;
    import static org.apache.maven.api.Lifecycle.Phase.INTEGRATION_TEST;
    import static org.apache.maven.api.Lifecycle.Phase.PACKAGE;
    import static org.apache.maven.api.Lifecycle.Phase.READY;
    import static org.apache.maven.api.Lifecycle.Phase.RESOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.SOURCES;
    import static org.apache.maven.api.Lifecycle.Phase.TEST;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    	}
    	return meta.objectLockConfig, meta.ObjectLockConfigUpdatedAt, nil
    }
    
    // GetLifecycleConfig returns configured lifecycle config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetLifecycleConfig(bucket string) (*lifecycle.Lifecycle, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Service.java

    import java.util.concurrent.TimeoutException;
    
    /**
     * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link
     * #stopAsync()} lifecycle methods to transition between states. Example services include
     * webservers, RPC servers and timers.
     *
     * <p>The normal lifecycle of a service is:
     *
     * <ul>
     *   <li>{@linkplain State#NEW NEW} -&gt;
     *   <li>{@linkplain State#STARTING STARTING} -&gt;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    		var (
    			vc   *versioning.Versioning
    			lc   *lifecycle.Lifecycle
    			lr   objectlock.Retention
    			rcfg *replication.Config
    		)
    
    		if !isMinioMetaBucketName(bucket) {
    			vc, err = globalBucketVersioningSys.Get(bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			// Check if the current bucket has a configured lifecycle policy
    			lc, err = globalLifecycleSys.Get(bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                    public Iterator<Lifecycle> iterator() {
                        return Collections.emptyIterator();
                    }
    
                    @Override
                    public Optional<Lifecycle> lookup(String id) {
                        return Optional.empty();
                    }
    
                    @Override
                    public List<String> computePhases(Lifecycle lifecycle) {
                        return List.of();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top