Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 349 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() error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

      xml.namespace="http://maven.apache.org/LIFECYCLE/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/lifecycle-${version}.xsd">
      <id>lifecycle</id>
      <name>Lifecycle</name>
      <description>
        Configuration of custom lifecycle mappings for the plugin, as generally stored in
        {@code META-INF/maven/lifecycle.xml} in a plugin's jar artifact.
      </description>
      <classes>
    XML
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        }
    
        public Lifecycle(
                org.apache.maven.api.services.LifecycleRegistry registry, org.apache.maven.api.Lifecycle lifecycle) {
            this.lifecycle = lifecycle;
            this.id = lifecycle.id();
            this.phases = registry.computePhases(lifecycle);
            this.defaultPhases = getDefaultPhases(lifecycle);
        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

    import org.apache.maven.api.model.Plugin;
    
    /**
     * Lifecycle definition
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Lifecycle extends ExtensibleEnum {
    
        String CLEAN = "clean";
    
        String DEFAULT = "default";
    
        String SITE = "site";
    
        String WRAPPER = "wrapper";
    
        /**
         * Name or identifier of this lifecycle.
         *
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

     * under the License.
     */
    package org.apache.maven.lifecycle.mapping;
    
    import java.util.Collections;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    /**
     * Lifecycle definition for a packaging (multiple packagings share the same lifecycle id = usually "default").
     */
    public class Lifecycle {
        /**
         * Field id
         */
        private String id;
    
        /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    errDuplicatedXMLTag,
    			expectedValidationErr: nil,
    		},
    		{ // lifecycle config with no rules
    			inputConfig: `<LifecycleConfiguration>
    		                          </LifecycleConfiguration>`,
    			expectedParsingErr:    nil,
    			expectedValidationErr: errLifecycleNoRule,
    		},
    		{ // lifecycle config with rules having overlapping prefix
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. maven-core/lifecycle-executor.txt

    We have a lifecycle mapping for the packaging of *jar* below. You see that for this packaging we have a *default* lifecycle and a list of phases where each phase is a comma separated list of goals to run and they are in the form groupId:artifactId:version.
    
    <configuration>
      <lifecycles>
        <lifecycle>
          <id>default</id>
          <phases>
            <process-resources>org.apache.maven.plugins:maven-resources-plugin:resources</process-resources>
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle-handlers.go

    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// Lifecycle configuration file.
    	bucketLifecycleConfig = "lifecycle.xml"
    )
    
    // PutBucketLifecycleHandler - This HTTP handler stores given bucket lifecycle configuration as per
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle-audit.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 "github.com/minio/minio/internal/bucket/lifecycle"
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //revive:disable:var-naming Underscores is used here to indicate where common prefix ends and the enumeration name begins
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top