Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for xmlns (0.01 sec)

  1. internal/bucket/encryption/bucket-sse-config_test.go

    				},
    			},
    		},
    	}
    
    	actualAES256Config := &BucketSSEConfig{
    		XMLNS: xmlNS,
    		XMLName: xml.Name{
    			Local: "ServerSideEncryptionConfiguration",
    		},
    		Rules: []Rule{
    			{
    				DefaultEncryptionAction: EncryptionAction{
    					Algorithm: AES256,
    				},
    			},
    		},
    	}
    
    	actualKMSConfig := &BucketSSEConfig{
    		XMLNS: xmlNS,
    		XMLName: xml.Name{
    			Local: "ServerSideEncryptionConfiguration",
    		},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        .artifactId("module-a")
                        .build();
    
                String moduleBPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.1.0">
                        <parent>
                            <groupId>com.example</groupId>
                            <artifactId>parent-project</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. internal/event/config_test.go

    			t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestConfigUnmarshalXML(t *testing.T) {
    	dataCase1 := []byte(`
    <NotificationConfiguration   xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
       <QueueConfiguration>
          <Id>1</Id>
          <Filter></Filter>
          <Queue>arn:minio:sqs:us-east-1:1:webhook</Queue>
          <Event>s3:ObjectAccessed:*</Event>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication_test.go

    		expectedValidationErr error
    		destBucket            string
    		sameTarget            bool
    	}{
    		{ // 1 Invalid delete marker status in replication config
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            void shouldNotModifyPluginWhenVersionAlreadySufficient() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.0.0">
                        <modelVersion>4.0.0</modelVersion>
                        <groupId>test</groupId>
                        <artifactId>test</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

     */
    class DomUtilsTest {
    
        @Test
        void testFindChildElement() throws Exception {
            String pomXml = """
                <?xml version="1.0" encoding="UTF-8"?>
                <project xmlns="http://maven.apache.org/POM/4.0.0">
                    <modelVersion>4.0.0</modelVersion>
                    <groupId>test</groupId>
                    <artifactId>test</artifactId>
                    <version>1.0.0</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  7. internal/bucket/versioning/versioning_test.go

    		excludedPrefixes []string
    		excludeFolders   bool
    	}{
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
                                    </VersioningConfiguration>`,
    			err: nil,
    		},
    		{
    			input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
                                      <Status>Enabled</Status>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun May 08 05:06:44 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  8. internal/bucket/replication/rule_test.go

    		inputConfig    string
    		opts           ObjectOpts
    		expectedResult bool
    	}{
    		// case 1 - rule with replica modification enabled; not a replica
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config.go

    type Rule struct {
    	DefaultEncryptionAction EncryptionAction `xml:"ApplyServerSideEncryptionByDefault"`
    }
    
    const xmlNS = "http://s3.amazonaws.com/doc/2006-03-01/"
    
    // BucketSSEConfig - represents default bucket encryption configuration
    type BucketSSEConfig struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    	XMLName xml.Name `xml:"ServerSideEncryptionConfiguration"`
    	Rules   []Rule   `xml:"Rule"`
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    		expectErr   bool
    	}{
    		{
    			value:       `<ObjectLockConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><ObjectLockEnabled>yes</ObjectLockEnabled></ObjectLockConfiguration>`,
    			expectedErr: fmt.Errorf("only 'Enabled' value is allowed to ObjectLockEnabled element"),
    			expectErr:   true,
    		},
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top