Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for arn2 (0.02 sec)

  1. cmd/bucket-replication-utils_test.go

    		name: "replication status for 3 targets - one failed",
    		rs: ReplicationState{
    			ReplicationStatusInternal: "arn1=COMPLETED;arn2=COMPLETED;arn3=FAILED;",
    			Targets:                   map[string]replication.StatusType{"arn1": "COMPLETED", "arn2": "COMPLETED", "arn3": "FAILED"},
    		},
    		expStatus: replication.Failed,
    	},
    	{ // 5. replication status for replica version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. internal/arn/arn.go

    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    }
    
    // Parse - parses an ARN string into a type.
    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. internal/event/arn.go

    import (
    	"encoding/xml"
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:sqs:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // MarshalXML - encodes to XML data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. internal/config/lambda/event/arn.go

    package event
    
    import (
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. internal/bucket/replication/replication.go

    		if _, ok := tgtsMap[rule.Destination.ARN]; !ok {
    			tgtsMap[rule.Destination.ARN] = struct{}{}
    		}
    	}
    	for k := range tgtsMap {
    		arns = append(arns, k)
    	}
    	return arns
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. cmd/event-notification.go

    	}
    }
    
    // GetARNList - returns available ARNs.
    func (evnot *EventNotifier) GetARNList() []string {
    	arns := []string{}
    	if evnot == nil {
    		return arns
    	}
    	region := globalSite.Region()
    	for targetID := range evnot.targetList.TargetMap() {
    		// httpclient target is part of ListenNotification
    		// which doesn't need to be listed as part of the ARN list
    		// This list is only meant for external targets, filter
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    		return
    	}
    
    	arnMsg := color.Blue("Object Lambda ARNs: ")
    	for _, arn := range globalLambdaTargetList.List(globalSite.Region()) {
    		arnMsg += color.Bold(fmt.Sprintf("%s ", arn))
    	}
    	logger.Startup(arnMsg + "\n")
    }
    
    // Prints bucket notification configurations.
    func printEventNotifiers() {
    	if globalNotificationSys == nil {
    		return
    	}
    
    	arns := globalEventNotifier.GetARNList()
    	if len(arns) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

        public void info(String format, Object... arguments) {}
    
        public void info(String msg, Throwable t) {}
    
        public boolean isInfoEnabled(Marker marker) {
            return false;
        }
    
        public void info(Marker marker, String msg) {}
    
        public void info(Marker marker, String format, Object arg) {}
    
        public void info(Marker marker, String format, Object arg1, Object arg2) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(arg1.getArguments(), is(nullValue()));
    
            final ParameterizedClassDesc arg2 = args[1];
            assertThat(arg2.getRawClass(), is(sameClass(Set[].class)));
    
            final ParameterizedClassDesc[] args2 = arg2.getArguments();
            assertThat(args2.length, is(1));
    
            final ParameterizedClassDesc arg2_1 = args2[0];
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. internal/event/arn_test.go

    		data        []byte
    		expectedARN *ARN
    		expectErr   bool
    	}{
    		{[]byte("<ARN></ARN>"), nil, true},
    		{[]byte("<ARN>arn:minio:sqs:::</ARN>"), nil, true},
    		{[]byte("<ARN>arn:minio:sqs::1:webhook</ARN>"), &ARN{TargetID{"1", "webhook"}, ""}, false},
    		{[]byte("<ARN>arn:minio:sqs:us-east-1:1:webhook</ARN>"), &ARN{TargetID{"1", "webhook"}, "us-east-1"}, false},
    	}
    
    	for i, testCase := range testCases {
    		arn := &ARN{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top